Пример #1
0
        private void biNuevo_Click(object sender, EventArgs e)
        {
            frmGestionSucursal frm = new frmGestionSucursal();

            frm.Proceso = 1;
            frm.ShowDialog();
            CargaLista();
        }
Пример #2
0
 private void dgvEmpresas_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (dgvEmpresas.SelectedRows.Count > 0)
     {
         frmGestionSucursal frm = new frmGestionSucursal();
         frm.Proceso = 3;
         frm.suc     = suc;
         frm.ShowDialog();
     }
 }
Пример #3
0
 private void biModificar_Click(object sender, EventArgs e)
 {
     if (dgvEmpresas.SelectedRows.Count > 0)
     {
         frmGestionSucursal frm = new frmGestionSucursal();
         frm.Proceso = 2;
         frm.suc     = suc;
         frm.ShowDialog();
         CargaLista();
     }
 }