private void Nuevo_Button_Click(object sender, EventArgs e) { Rol rolNuevo = new Rol(Convert.ToInt64(tablaRoles.RowCount), "", true); EditorDeRoles editorForm = new EditorDeRoles(rolNuevo, false, this); editorForm.ShowDialog(); }
private void Modificar_Button_Click(object sender, EventArgs e) { EditorDeRoles editorForm = new EditorDeRoles(rolSeleccionado, true, this); editorForm.ShowDialog(); }