private void Dgv_Invoices_MouseDoubleClick(object sender, MouseEventArgs e) { try { Program.i2 = Convert.ToInt32(dgv_Invoices.CurrentRow.Cells[0].Value); ViewAch view = new ViewAch(); view.Show(); } catch { return; } }
void mousedblClick() { try { Program.i2 = Convert.ToInt32(dgv_Invoices.CurrentRow.Cells[0].Value); ViewAch view = new ViewAch(); view.Show(); } catch { return; } }