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