示例#1
0
        private void Manejador(object sender, EventArgs e)
        {
            frmPersona frmPersona = new frmPersona();

            if ((Button)sender == this.btnModificar && frmPersona.ShowDialog(this) == DialogResult.OK)
            {
            }
            if ((Button)sender == this.btnBorrar && frmPersona.ShowDialog(this) == DialogResult.OK)
            {
            }
        }
示例#2
0
        void toolAgregarPsna_Click(object sender, EventArgs e)
        {
            frmPersona frmPersona = new frmPersona();

            frmPersona.Show(this);
        }