コード例 #1
0
        private void agregarBoton_Click(object sender, EventArgs e)
        {
            personas = this;
            PersonaEditor personaEditor = new PersonaEditor();

            personaEditor.ShowDialog();
        }
コード例 #2
0
        private void PersonasGridView_DoubleClick(object sender, EventArgs e)
        {
            personas = this;
            Persona       persona       = personasGridView.SelectedRows[0].DataBoundItem as Persona;
            PersonaEditor personaEditor = new PersonaEditor(persona);

            personaEditor.ShowDialog();
        }