private void datagridview1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { Form2 form = new Form2(); if (datagridview1.CurrentRow.Cells[5].Value == null) { datagridview1.CurrentRow.Cells[5].Value = true; form.MdiParent = this.MdiParent; form.Show(); form.Closing += Frm_Closing; } else { form.Activate(); form.BringToFront(); } }
private Form2 form;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)