title: Windows form show list items
body: <p>I have saved the input to the list how do I make it appear in the textboxes in the next form?
  This is my code so far.</p>
  
  <p>Form1 (where the textbox is)</p>
  
  <pre><code>namespace WindowsFormsApplication4
  {
      public partial class Form1 : Form
      {
  
          public Form1()
          {
              InitializeComponent();
  
  
          }
  
          public void button1_Click(object sender, EventArgs e)
          {
              Class1 a = new Class1();
              a.minLista.Add(textBox1.Text);
              Form2 Form1 = new Form2();
              this.Hide();
              Form1.Show();
          }
      }
  }
  </code></pre>
  
  <p>the class where the list is</p>
  
  <pre><code>namespace WindowsFormsApplication4
  {
  
      public class Class1
  
      {
          public List&lt;string&gt; minLista = new List&lt;string&gt;();
      }
  
  }
  </code></pre>