private void bunifuCustomDataGrid1_DoubleClick(object sender, EventArgs e) { try { PL.showDoc frm = new showDoc(); frm.docID = Convert.ToInt32(this.dataGridView1.CurrentRow.Cells[0].Value); frm.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void bunifuCustomDataGrid1_DoubleClick(object sender, EventArgs e) { PL.showDoc frm = new showDoc(); frm.docID = Convert.ToInt32(this.bunifuCustomDataGrid1.CurrentRow.Cells[0].Value); frm.ShowDialog(); }