Ejemplo n.º 1
0
        public TelaAtendimento()
        {
            InitializeComponent();

            this._telaCliente = new TelaCadastroCliente();
            this._telaFormaPagamento = new TelaCadastroFormaPagamento();
            this._telaServico = new TelaCadastroServico();
            this._telaRecebimento = null;

            this._telaCliente.EmBusca = true;
            this._telaFormaPagamento.EmBusca = true;
            this._telaServico.EmBusca = true;

            this._controlador = new ControladorAtendimento(this);
        }
Ejemplo n.º 2
0
        public void AbrirCadastroServicos()
        {
            TelaCadastroServico tela = new TelaCadastroServico();

            try
            {
                tela.ShowDialog();
            }
            finally
            {
                tela.Dispose();
                tela = null;
            }
        }