コード例 #1
0
        private void create_Click(object sender, EventArgs e)
        {
            AltaModificacionRol m = new AltaModificacionRol();

            m.FormClosed += new System.Windows.Forms.FormClosedEventHandler(AltaModificacionRolCerrada);
            m.ShowDialog();
        }
コード例 #2
0
        private void dgvRol_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            DataGridViewRow     unRol = this.dgvRol.SelectedRows[0];
            AltaModificacionRol a     = new AltaModificacionRol(unRol);

            a.FormClosed += new System.Windows.Forms.FormClosedEventHandler(AltaModificacionRolCerrada);
            a.ShowDialog();
        }