示例#1
0
 private void mlnkModificar_Click(object sender, EventArgs e)
 {
     try
     {
         frmEmpresaMant vfrmEmpresaMant = new frmEmpresaMant();
         vfrmEmpresaMant.Show();
         Close();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#2
0
 private void mgvEmpresas_KeyDown(object sender, KeyEventArgs e)
 {
     try
     {
         switch (e.KeyCode)
         {
         case Keys.Enter:
             frmEmpresaMant vfrmEmpresaMant = new frmEmpresaMant();
             vfrmEmpresaMant.Show();
             Close();
             break;
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }