private void create_Click(object sender, EventArgs e) { AltaModificacionRol m = new AltaModificacionRol(); m.FormClosed += new System.Windows.Forms.FormClosedEventHandler(AltaModificacionRolCerrada); m.ShowDialog(); }
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(); }