Exemple #1
0
 private void jornadasToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (jornadas == null)
     {
         jornadas             = new Jornadas();
         jornadas.MdiParent   = this;
         jornadas.FormClosed += new FormClosedEventHandler(CerrarFormaJornada);
         jornadas.Show();
         jornadas.WindowState = FormWindowState.Normal;
     }
     else
     {
         try
         {
             jornadas.Activate();
         }
         catch
         {
         }
     }
 }
Exemple #2
0
 private void CerrarFormaJornada(object sender, FormClosedEventArgs e)
 {
     jornadas = null;
 }