title: Adding new user control programmatically in windows forms
body: <p>Hey so first off i would like to point out that I know that there are several other questions about this topic up here, I have even done this exact thing myself before. I am asking on here because I do not know what my problem is. </p>
  
  <p>Here is the code where I attempt to display the new user control</p>
  
  <pre><code>private void ValidationLabel_Click(object sender, EventArgs e)
      {
          EntrySuggestion t_ES = new EntrySuggestion();
          t_ES.Show();
          MainScreen home = new MainScreen();
          home.Show();
      }
  </code></pre>
  
  <p>I was trying to get the t_ES to display (which it does not) but the main Screen does. Both of these are User Controls.</p>
  
  <p>Here is the code for my EntrySuggestion User control</p>
  
  <pre><code> using System;
  using System.Collections;
  using System.Windows.Forms;
  
  namespace TeamManagementSystem
  {
      public partial class EntrySuggestion : UserControl
      {
          private ArrayList items = new ArrayList();
  
          public EntrySuggestion()
          {
              InitializeComponent();
          }
  
          public EntrySuggestion(ArrayList i)
          {
              InitializeComponent();
              items = (ArrayList)i.Clone();
          }
  
          private void EntrySuggestion_Load(object sender, EventArgs e)
          {
              foreach (string item in items)
              {
                  RadioButton t_RB = new RadioButton();
                  t_RB.Text = item;
                  ItemSuggestionTable.Controls.Add(t_RB);
              }
          }
      }
  }
  </code></pre>
  
  <p>I do want to use the second constructor but I cannot get this to work with either. Any help would be great</p>