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

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

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