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