示例#1
0
        private void btnNuevo_Click(object sender, EventArgs e)
        {
            frmABMCliente formulario = new frmABMCliente();

            formulario.ShowDialog();
            btnConsultar_Click(sender, e);
        }
示例#2
0
        private void btnQuitar_Click(object sender, EventArgs e)
        {
            frmABMCliente formulario = new frmABMCliente();
            var           cliente    = (BugTracker.Entities.Clientes)dgvClientes.CurrentRow.DataBoundItem;

            formulario.InicializarFormulario(frmABMCliente.FormMode.delete, cliente);
            formulario.ShowDialog();
            btnConsultar_Click(sender, e);
        }