///<summary>Shows the Operatories window and allows the user to edit them.  Does not show the window if user does not have Setup permission.
        ///Refreshes all corresponding grids within the Web Sched tab that display Operatory information.  Feel free to add to this method.</summary>
        private void ShowOperatoryEditAndRefreshGrids()
        {
            if (!Security.IsAuthorized(Permissions.Setup))
            {
                return;
            }
            FormOperatories FormO = new FormOperatories();

            FormO.ShowDialog();
            if (FormO.ListConflictingAppts.Count > 0)
            {
                FormApptConflicts FormAC = new FormApptConflicts(FormO.ListConflictingAppts);
                FormAC.Show();
                FormAC.BringToFront();
            }
            FillGridWebSchedOperatories();
            FillGridWebSchedTimeSlotsThreaded();
            FillGridWebSchedNewPatApptOps();
            FillGridWebSchedNewPatApptTimeSlotsThreaded();
            SecurityLogs.MakeLogEntry(Permissions.Setup, 0, "Operatories accessed via EServices Setup window.");
        }
Example #2
0
 private void menuItemOperatories_Click(object sender, System.EventArgs e)
 {
     if(!Security.IsAuthorized(Permissions.Setup)){
         return;
     }
     FormOperatories FormO=new FormOperatories();
     FormO.ShowDialog();
     SecurityLogs.MakeLogEntry(Permissions.Setup,0,"Operatories");
 }
Example #3
0
		private void butOperatories_Click(object sender,EventArgs e) {
			FormOperatories FormO=new FormOperatories();
			FormO.ShowDialog();
			SecurityLogs.MakeLogEntry(Permissions.EServicesSetup,0,"Operatories accessed via EServices Setup window.");
		}