Exemple #1
0
        public void AbrirCadastroClientes()
        {
            TelaCadastroCliente tela = new TelaCadastroCliente();

            try {
                tela.ShowDialog();
            } finally {
                tela.Dispose();
                tela = null;
            }
        }
Exemple #2
0
 private void btnCadastroClientes_Click(object sender, EventArgs e)
 {
     if (telaCadClientes.Visible == false)
     {
         telaCadClientes         = new TelaCadastroCliente();
         telaCadClientes.Visible = true;
     }
     else if (telaCadClientes.Visible == true)
     {
         telaCadClientes.Focus();
     }
 }
Exemple #3
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);
        }
Exemple #4
0
        private void button1_Click(object sender, EventArgs e)
        {
            TelaCadastroCliente TeladeCadastroCliente = new TelaCadastroCliente();

            TeladeCadastroCliente.ShowDialog();
        }