title: How can I write text on a panel in c#?
body: <p>I want to click a button and than a specific text is written on a panel</p>
  
  <p>I have tried "panel.items.add(Text1);" but it did not work</p>
  
  <pre><code>    private void Button1_Click(object sender, EventArgs e)
      {
          TextSchreiben("Text");
      }
  
      private void Panel1_Paint(object sender, PaintEventArgs e)
      {
  
      }
  
      public string TextSchreiben(string Text1)
      {
          panel1.items.add(Text1);
          return Text1;
      }
  </code></pre>