Exemple #1
0
 private void consultarToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (ob == null)
     {
         ob             = new Consultar();
         ob.MdiParent   = this;
         ob.FormClosed += new FormClosedEventHandler(ob_FormClosed);
         ob.Show();
         lblLogo.Visible = false;
         picLogo.Visible = false;
     }
     else
     {
         ob.Activate();
         lblLogo.Visible = false;
         picLogo.Visible = false;
     }
 }
Exemple #2
0
 void ob_FormClosed(object sender, EventArgs e)
 {
     ob = null;
     lblLogo.Visible = true;
     picLogo.Visible = true;
 }