Beispiel #1
0
 private void menuItemSites_Click(object sender, System.EventArgs e)
 {
     if(!Security.IsAuthorized(Permissions.Setup)){
         return;
     }
     FormSites FormS=new FormSites();
     FormS.ShowDialog();
     RefreshCurrentModule();
     SecurityLogs.MakeLogEntry(Permissions.Setup,0,"Sites");
 }
Beispiel #2
0
 private void butPickSite_Click(object sender,EventArgs e)
 {
     FormSites FormS=new FormSites();
     FormS.IsSelectionMode=true;
     FormS.SelectedSiteNum=PatCur.SiteNum;
     FormS.ShowDialog();
     if(FormS.DialogResult!=DialogResult.OK) {
         return;
     }
     PatCur.SiteNum=FormS.SelectedSiteNum;
     textSite.Text=Sites.GetDescription(PatCur.SiteNum);
 }