title: How to add Buttons in WinForm in Runtime?
body: <p>I have the following Code :</p>
  
  <pre><code>public GUIWevbDav()
  {
      InitializeComponent();
  }
  
  private void Form1_Load(object sender, EventArgs e)
  {
      try
      {
          //My XML Loading and other Code Here
  
          //Trying to add Buttons here
          if (DisplayNameNodes.Count &gt; 0)
          {
              for (int i = 0; i &lt; DisplayNameNodes.Count; i++)
              {
                  Button folderButton = new Button();
                  folderButton.Width = 150;
                  folderButton.Height = 70;
                  folderButton.ForeColor = Color.Black;
                  folderButton.Text = DisplayNameNodes[i].InnerText;
  
                  Now trying to do  GUIWevbDav.Controls.Add
                  (unable to get GUIWevbDav.Controls method )
  
              }
          }
  </code></pre>
  
  <p>I dont want to create a form at run time but add the dynamically created buttons to my Current Winform i.e: GUIWevDav</p>
  
  <p>Thanks</p>