title: Windows Application (C#.Net)- Retain TextBox Values
body: <p>Here is my Scenario: (Windows Application/C#.Net)</p>
  
  <p>I have a Form1 in that is doing some calculations with the option selected as Case 1 and On Button Click it Pushes all the textbox values to Form2. This is working fine.</p>
  
  <p>Now if I come to Form 1 again and change the option to case 2 and calculate and press Button it erases the values that were added earlier.</p>
  
  <p>I want to retain those values and add this values to another set of textboxes that are in Form2.</p>
  
  <p>Code: In Form 1 After Clicking ADD button:</p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
      {
          Form2 eigthForm = new Form2();
          if(comboBox1.Text == "Case 1")
          {
              eigthForm.text2.Text = textBox1.Text;
              eigthForm.text3.Text = textBox8.Text;
          }   
          if (comboBox1.Text == "Case 2")
          {
              eigthForm.text4.Text = textBox1.Text;
              eigthForm.text5.Text = textBox8.Text;
          }
  </code></pre>