Beispiel #1
0
 ///<summary></summary>
 protected static void OnModuleSelected(ModuleEventArgs e)
 {
     if (ModuleSelected != null)
     {
         ModuleSelected(e);
     }
 }
		///<summary></summary>
		protected static void OnModuleSelected(ModuleEventArgs e){
			if(ModuleSelected !=null){
				ModuleSelected(e);
			}
		}
Beispiel #3
0
 private void GotoModule_ModuleSelected(ModuleEventArgs e)
 {
     if(e.DateSelected.Year>1880){
         AppointmentL.DateSelected=e.DateSelected;
     }
     if(e.SelectedAptNum>0){
         ContrApptSingle.SelectedAptNum=e.SelectedAptNum;
     }
     //patient can also be set separately ahead of time instead of doing it this way:
     if(e.PatNum !=0) {
         CurPatNum=e.PatNum;
         Patient pat=Patients.GetPat(CurPatNum);
         FillPatientButton(CurPatNum,pat.GetNameLF(),pat.Email!="",pat.ChartNumber,pat.SiteNum);
     }
     UnselectActive();
     allNeutral();
     if(e.ClaimNum>0){
         myOutlookBar.SelectedIndex=e.IModule;
         ContrAccount2.Visible=true;
         this.ActiveControl=this.ContrAccount2;
         ContrAccount2.ModuleSelected(CurPatNum,e.ClaimNum);
     }
     else if(e.PinAppts.Count!=0){
         myOutlookBar.SelectedIndex=e.IModule;
         ContrAppt2.Visible=true;
         this.ActiveControl=this.ContrAppt2;
         ContrAppt2.ModuleSelected(CurPatNum,e.PinAppts);
     }
     else if(e.DocNum>0) {
         myOutlookBar.SelectedIndex=e.IModule;
         ContrImages2.Visible=true;
         this.ActiveControl=this.ContrImages2;
         ContrImages2.ModuleSelected(CurPatNum,e.DocNum);
     }
     else if(e.IModule!=-1){
         myOutlookBar.SelectedIndex=e.IModule;
         SetModuleSelected();
     }
     myOutlookBar.Invalidate();
 }
Beispiel #4
0
 ///<summary></summary>
 protected static void OnModuleSelected(ModuleEventArgs e)
 {
     FormOpenDental.S_GotoModule_ModuleSelected(e);
 }