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