Beispiel #1
0
        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");
        }
Beispiel #2
0
        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");
        }
Beispiel #3
0
		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");
		}