예제 #1
0
파일: FrmMain.cs 프로젝트: xmalmorthen/gym
 private void btnRegistro_Click(object sender, EventArgs e)
 {
     if (!detectarFormularioAbierto("frmRegistro"))
     {
         Registro.frmRegistro frmM = new Registro.frmRegistro();
         frmM.Show();
         frmM.WindowState = FormWindowState.Maximized;
     }
 }
예제 #2
0
파일: FrmMain.cs 프로젝트: xmalmorthen/gym
 private void FrmMain_KeyDown(object sender, KeyEventArgs e)
 {
     //SE ABRE REGISTRO CON F12
     if (e.KeyCode == Keys.F12)
     {
         if (!detectarFormularioAbierto("frmRegistro"))
         {
             Registro.frmRegistro frmM = new Registro.frmRegistro();
             frmM.Show();
             frmM.WindowState = FormWindowState.Maximized;
         }
     }
 }
예제 #3
0
 private void FrmMain_KeyDown(object sender, KeyEventArgs e)
 {
     //SE ABRE REGISTRO CON F12
     if (e.KeyCode == Keys.F12)
     {
         if (!detectarFormularioAbierto("frmRegistro"))
         {
             Registro.frmRegistro frmM = new Registro.frmRegistro();
             frmM.Show();
             frmM.WindowState = FormWindowState.Maximized;
         }
     }
 }
예제 #4
0
 private void button8_Click(object sender, EventArgs e)
 {
     if (!detectarFormularioAbierto("frmRegistro"))
     {
         Registro.frmRegistro frmM = new Registro.frmRegistro();
         frmM.Show();
         frmM.WindowState = FormWindowState.Maximized;
     }
 }