Example #1
0
        private void BtnNuevo_Click(object sender, EventArgs e)
        {
            frmABMCliente formulario = new frmABMCliente();

            formulario.ShowDialog();
            Button1_Click(sender, e);
        }
Example #2
0
        private void BtnQuitar_Click(object sender, EventArgs e)
        {
            frmABMCliente formulario = new frmABMCliente();
            var           cliente    = (Cliente)dgvClientes.CurrentRow.DataBoundItem;

            formulario.SeleccionarCliente(frmABMCliente.FormMode.delete, cliente);
            formulario.ShowDialog();
            Button1_Click(sender, e);
        }