Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
		private void formBilling_GoToChanged(object sender,PatientSelectedEventArgs e) {
			OnPatientSelected(e.Pat);
			GotoModule.GotoAccount(0);
		}
Ejemplo n.º 3
0
 private void formBilling_GoToChanged(object sender,PatientSelectedEventArgs e)
 {
     OnPatientSelected(e.PatNum,e.PatName,e.HasEmail,e.ChartNumber);
     GotoModule.GotoAccount(0);
 }
Ejemplo n.º 4
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;
			//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);
		}
Ejemplo n.º 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);
		}