예제 #1
0
 ///<summary>Happens when any of the modules changes the current patient or when this main form changes the patient.  The calling module should refresh itself.  The current patNum is stored here in the parent form so that when switching modules, the parent form knows which patient to call up for that module.</summary>
 private void Contr_PatientSelected(object sender,PatientSelectedEventArgs e)
 {
     CurPatNum=e.PatNum;
     long siteNum=0;
     if(PrefC.GetBool(PrefName.TitleBarShowSite) && e.PatNum!=0){
         Patient pat=Patients.GetPat(e.PatNum);
         siteNum=pat.SiteNum;
     }
     FillPatientButton(CurPatNum,e.PatName,e.HasEmail,e.ChartNumber,siteNum);
 }
예제 #2
0
파일: ContrStaff.cs 프로젝트: mnisl/OD
		private void formBilling_GoToChanged(object sender,PatientSelectedEventArgs e) {
			OnPatientSelected(e.Pat);
			GotoModule.GotoAccount(0);
		}
예제 #3
0
파일: ContrStaff.cs 프로젝트: nampn/ODental
 private void formBilling_GoToChanged(object sender,PatientSelectedEventArgs e)
 {
     OnPatientSelected(e.PatNum,e.PatName,e.HasEmail,e.ChartNumber);
     GotoModule.GotoAccount(0);
 }
예제 #4
0
파일: FormOpenDental.cs 프로젝트: mnisl/OD
		///<summary>Happens when any of the modules changes the current patient or when this main form changes the patient.  The calling module should refresh itself.  The current patNum is stored here in the parent form so that when switching modules, the parent form knows which patient to call up for that module.</summary>
		private void Contr_PatientSelected(object sender,PatientSelectedEventArgs e) {
			CurPatNum=e.Pat.PatNum;
			//RefreshCurrentModule();//We think this should be here because this function does the same thing as menuPatient_Click, but we're unsure of the extent of the change so left it out for now.
			FillPatientButton(e.Pat);
		}
예제 #5
0
		///<summary>Happens when any of the modules changes the current patient or when this main form changes the patient.  The calling module should refresh itself.  The current patNum is stored here in the parent form so that when switching modules, the parent form knows which patient to call up for that module.</summary>
		private void Contr_PatientSelected(object sender,PatientSelectedEventArgs e) {
			CurPatNum=e.Pat.PatNum;
			FillPatientButton(e.Pat);
		}