Exemple #1
0
        private void tsbEditar_Click(object sender, EventArgs e)
        {
            Form entityForm;

            entityForm = new Forms.PersonaForm(((Persona)this.dgvPersonas.SelectedRows[0].DataBoundItem).ID, FormMode.Modificación);
            entityForm.ShowDialog();
            Listar();
        }
Exemple #2
0
        private void tsbNuevo_Click(object sender, EventArgs e)
        {
            Form entityForm;

            entityForm = new Forms.PersonaForm(FormMode.Alta);
            entityForm.ShowDialog();
            Listar();
        }