示例#1
0
 public GeneralSettingsBKPController(GeneralSettingsBL sl)
 {
     settingsLogic = sl;
     settingsForm  = new HacerBackup();
     settingsLogic.UpdateObject(GeneralSettings.Instance);
     settingsForm.Setting                  = GeneralSettings.Instance;
     settingsForm.SaveObject              += new ObjectEvent(SaveObject);
     settingsForm.GetObjectById           += new GetObjectEvent(GetObjectById);
     settingsForm.PropertyValueListNeeded += new PropertyValueListNeeded(PropertyValueListNeeded);
 }
示例#2
0
 public void SetSettingsLogic(GeneralSettingsBL sl)
 {
     settingsLogic = sl;
 }