title: Pass value form one window form to another Windows form
body: <p>I have a DataGridView on my first windows Form. where a user click then it open a popup where is second DataGridView, click on row of DataGridView that will display on first page DataGridView. </p>
  
  <p>The problem is that when i click on <code>Form</code> one DataGridView it open popup of second Form, where user select any row. I take my required data from that DataGridView and send these data on First page that is previously open on my window. From this line of code i pass the value from Second Form to First Form .</p>
  
  <pre><code>FrmSetting _frmSetting = new FrmSetting(string _val,string code)
  </code></pre>
  
  <p>I think because of new keyword it open a new page or something like that . How can i send on First Form please suggest me . </p>
  
  <p>Thanks </p>