Ejemplo n.º 1
0
 ///<summary>Loading routine for the WebSchedVerify tab.</summary>
 private void FillTabWebSchedVerify()
 {
     //Load in an existing list of clinicprefs so we can keep in in-memory record of changes
     ClinicPrefs.RefreshCache();
     foreach (PrefName prefName in _listWebSchedVerifyPrefNames)
     {
         _listWebSchedVerifyClinicPrefs.AddRange(ClinicPrefs.GetPrefAllClinics(prefName));
         Pref pref = Prefs.GetPref(prefName.ToString());
         _listWebSchedVerifyClinicPrefs.Add(new ClinicPref()
         {
             ClinicNum = CLINIC_NUM_DEFAULT, PrefName = prefName, ValueString = pref.ValueString
         });
     }
     _listWebSchedVerifyClinicPrefs_Old = _listWebSchedVerifyClinicPrefs.Select(x => x.Clone()).ToList();
     //Fill in the UI
     WebSchedVerifyFillClinics();
     WebSchedVerifyFillTemplates();
 }