Exemplo n.º 1
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();
     }
 }
Exemplo n.º 2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            AddEditCust cust = new AddEditCust();

            cust.ShowDialog();
        }