Esempio n. 1
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     AddEditCust cust = new AddEditCust();
     cust.ShowDialog();
 }
Esempio n. 2
0
 private void _dgv1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (globalData.UserAccess == 1)
     {
         AddEditCust cust = new AddEditCust(_dgv1.Rows[_dgv1.SelectedCells[0].RowIndex].Cells["cust_id"].Value.ToString());
         cust.ShowDialog();
     }
 }