コード例 #1
0
        private void BtnCancel_Click(object sender, EventArgs e)
        {
            FormCliente frm = new FormCliente();

            frm.refreshGrid();
            this.Dispose();
        }
コード例 #2
0
        public void serviçosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormServicos formsevices = new FormServicos();

            FormCliente formCliente = new FormCliente();

            formsevices.Show();
        }
コード例 #3
0
        private void BtnCadNovo(object sender, EventArgs e)
        {
            NovoCliente cliform = new NovoCliente();

            cliform.Show();
            cliform.TopMost = true;
            FormCliente frmCli = new FormCliente();

            this.Close();
        }
コード例 #4
0
        private void btnCadastrar_Click(object sender, EventArgs e)
        {
            Controls ctrl = new Controls();

            ctrl.SalvarTable(TextNome.Text, textEndereco.Text, textDataEntrada.Text);
            TextNome.Clear();
            textEndereco.Clear();
            textDataEntrada.Clear();
            FormCliente frm = new FormCliente();

            frm.refreshGrid();
        }
コード例 #5
0
        private void btnCliente_Click(object sender, EventArgs e)
        {
            FormCliente cli = new FormCliente();

            cli.ShowDialog();
        }
コード例 #6
0
        private void clienteToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormCliente cli = new FormCliente();

            cli.ShowDialog();
        }
コード例 #7
0
        private void btnHome_Click(object sender, EventArgs e)
        {
            FormCliente frmCli = new FormCliente();

            this.Close();
        }