コード例 #1
0
ファイル: FormOpenDental.cs プロジェクト: nampn/ODental
 ///<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);
		}