private void setupToolStripMenuItem_Click(object sender, EventArgs e) { if (!Security.IsAuthorized(Permissions.Setup)) { return; } FormMapSetup FormMS = new FormMapSetup(); FormMS.ShowDialog(); FillMapAreaPanel(); SecurityLogs.MakeLogEntry(Permissions.Setup, 0, "MapHQ layout changed"); }
private void mapToolStripMenuItem_Click(object sender, EventArgs e) { if (!Security.IsAuthorized(Permissions.Setup)) { return; } FormMapSetup FormMS = new FormMapSetup(); FormMS.ShowDialog(); if (FormMS.DialogResult != DialogResult.OK) { return; } _listMaps = FormMS.ListMaps; _mapCur = _listMaps[comboRoom.SelectedIndex]; FillCombo(); FillMapAreaPanel(); SecurityLogs.MakeLogEntry(Permissions.Setup, 0, "MapHQ layout changed"); }
private void mapToolStripMenuItem_Click(object sender,EventArgs e) { if(!Security.IsAuthorized(Permissions.Setup)) { return; } FormMapSetup FormMS=new FormMapSetup(); FormMS.ShowDialog(); FillMapAreaPanel(); SecurityLogs.MakeLogEntry(Permissions.Setup,0,"MapHQ layout changed"); }