title: C# UserControl generate label on button click
body: <p>I know how to create labels using the toolbox on design files but I would like a label to be generated every time a button is clicked on my UserControl and not entirely sure how to do so - below is the method called whenever the button is clicked:</p>
  <pre><code>        private void button1_Click(object sender, EventArgs e)
          {
  
          }
  </code></pre>
  <p>I would be grateful for a code snippet inside the method that will generate a label with my choice of text, location, tooltip.</p>