Exemple #1
0
 private void consultarToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (TelaConsultarGerente == null)
     {
         TelaConsultarGerente             = new TelaConsultaGerente();
         TelaConsultarGerente.MdiParent   = this;
         TelaConsultarGerente.FormClosed += TelaConsultarGerente_FormClosed;
         TelaConsultarGerente.Show();
     }
 }
Exemple #2
0
 private void TelaConsultarGerente_FormClosed(object sender, FormClosedEventArgs e)
 {
     TelaConsultarGerente = null;
 }