title: Add datagridview cell content into textbox in other form c#
body: <p>I have 2 forms. One have a textbox to show name of chosen Customer and one have datagridview to show list of customers.
  When i click on textbox the second form will open. I want to know is it possible to double click on datagridview cell then the text of textbox change by datagridview selected cell on first form?
  Here is my codes.</p>
  
  <p>I wrote this code to open form2:</p>
  
  <pre><code>private void textBox1_Click(object sender, EventArgs e) 
  {
      frmCustomer customer = new frmCustomer();            
      customer.ShowDialog();
  }
  </code></pre>
  
  <p>and in form2 :</p>
  
  <pre><code>private void dataGridView1_CellDoubleClick(object sender,DataGridViewCellEventArgs e)
  {
     string name =  dataGridView1.CurrentRow.Cells["clmName"].Value.ToString();
     form1 f = new form1();
     f.txtCustomer.Text = name;
     this.close();
   }
  </code></pre>
  
  <p>there is nothing in textbox when form2 closed.</p>
  
  <p>any Help? Thanks a milion</p>