Ejemplo n.º 1
0
 private void cadastrarComandaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (telaCadastrarComanda == null)
     {
         telaCadastrarComanda = new Cadastrar_Comanda();
         telaCadastrarComanda.Show();
         telaCadastrarComanda.MdiParent = this;
         telaCadastrarComanda.Disposed += new EventHandler(telaAbrirConsumo_Disposed);
     }
 }
Ejemplo n.º 2
0
 void telaCadastrarComanda_Disposed(object sender, EventArgs e)
 {
     telaCadastrarComanda = null;
 }