title: C# datagridview double click event wont trigger
body: <p>i have 2 forms, form1 has datagridview that contain data from my database. </p>
  
  <p>everytime i click a cell on that datagridview, form2 show up,</p>
  
  <p>after i click Edit_button on form2, form2 close and form1 show up</p>
  
  <p>the problem is after form1 show up, the doubleclick event wont trigger again
  here is my code :</p>
  
  <p>form1</p>
  
  <pre><code>private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
  {
      Form2 form2 = new Form2();
      form2.textBox1.text = this.dataGridView1.CurrentRow.Cells[0].Value.ToString();
      this.Hide();
      if (form2.ShowDialog() == DialogResult.OK)
      {
          this.Show();
          load_DGV();
      }
  }
  </code></pre>
  
  <p>form2</p>
  
  <pre><code>private void edit_button_Click(object sender, EventArgs e)
  {
      // EDIT METHOD
  
      this.DialogResult = DialogResult.OK;
  }
  </code></pre>
  
  <p>if i'm not using load_DGV(), the doubleclick event still work, but i want to refresh my datagridview with newest data everytime form1 loaded.</p>
  
  <p>sorry about my english anyway.</p>