Passing data to Datagrid textbox in another form
<p>I open a datagrid when I double-click the textbox in my form1. I need to give two clicks on a cell of datagrid in form2 and when I click it already bring value to the textbox in form1. I've tried many ways no longer works, which he already ran automatically adds the value in the textbox before I click the cell, can anyone help?</p>

<p>I tried this:</p>

<p>in form1</p>

<pre><code>         Ncm Ncm formNcm = new ();
         formNcm.Show ();
         ncmcb.Text formNcm.getNCM = ();
         ncmcb.Focus ();
</code></pre>

<p>the form2</p>

<p>public string getNCM ()
         {
             = dataGridView1.CurrentCell.Value.ToString value2 string ();
             return value2;
         }
Only this way it selects already own the value of the datagrid and I can not change, if I change it does not take the value for the textbox in form1</p>
