Beispiel #1
0
 private void crearToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (crear == null)
     {
         crear             = new Crear();
         crear.MdiParent   = this;
         crear.FormClosed += new FormClosedEventHandler(Crear_FormClosed);
         crear.Show();
         lblLogo.Visible = false;
         picLogo.Visible = false;
     }
     else
     {
         crear.Activate();
         lblLogo.Visible = false;
         picLogo.Visible = false;
     }
 }
Beispiel #2
0
 void Crear_FormClosed(object sender, EventArgs e)
 {
     crear           = null;
     lblLogo.Visible = true;
     picLogo.Visible = true;
 }