Example #1
0
        private void AbreTelaInclusaoAlteracao(Lanche lancheSelecionado)
        {
            ManterLanche tela = new ManterLanche();

            tela.MdiParent         = this.MdiParent;
            tela.LancheSelecionado = lancheSelecionado;
            tela.FormClosed       += Tela_FormClosed;
            tela.Show();
        }
Example #2
0
        private void abrirTela(Lanche lanche)
        {
            ManterLanche tela = new ManterLanche();

            tela.MdiParent   = this.MdiParent;
            tela.lanches     = lanche;
            tela.FormClosed += Tela_FormClosed;
            tela.Show();
        }