public void WriteToXML() { UserConfiguration userConfiguration = new UserConfiguration(UserSettings); userConfiguration.Save(); ClickerConfiguration ClickerConfiguration = new ClickerConfiguration(UserSettings); ClickerConfiguration.Save(this.ClickerSettings); ExcelClassConfiguration ExcelClassConfiguration = new ExcelClassConfiguration(UserSettings); ExcelClassConfiguration.Save(this.ExcelClassSettings); ExcelRollConfiguration ExcelRollConfiguration = new ExcelRollConfiguration(UserSettings); ExcelRollConfiguration.Save(this.ExcelRollSettings); MTGConfiguration MTGConfiguration = new MTGConfiguration(UserSettings); MTGConfiguration.Save(this.MTGSettings); OutlookConfiguration OutlookConfiguration = new OutlookConfiguration(UserSettings); OutlookConfiguration.Save(this.OutlookSettings); WebAssignConfiguration WebAssignConfiguration = new WebAssignConfiguration(UserSettings); WebAssignConfiguration.Save(this.WebAssignSettings); WamapConfiguration WamapConfiguration = new WamapConfiguration(UserSettings); WamapConfiguration.Save(this.WamapSettings); Quarter2MonthConfiguration MyQuarters = new Quarter2MonthConfiguration(UserSettings); MyQuarters.Save(this.Quarter2Month); }
private void ReadFromXML() { UserConfiguration UserConfiguration = new UserConfiguration(UserSettings); this.UserSettings = UserConfiguration.Load(); ClickerConfiguration ClickerConfiguration = new ClickerConfiguration(UserSettings); this.ClickerSettings = ClickerConfiguration.Load(); ExcelClassConfiguration ExcelClassConfiguration = new ExcelClassConfiguration(UserSettings); this.ExcelClassSettings = ExcelClassConfiguration.Load(); ExcelRollConfiguration ExcelRollConfiguration = new ExcelRollConfiguration(UserSettings); this.ExcelRollSettings = ExcelRollConfiguration.Load(); MTGConfiguration MTGConfiguration = new MTGConfiguration(UserSettings); this.MTGSettings = MTGConfiguration.Load(); OutlookConfiguration OutlookConfiguration = new OutlookConfiguration(UserSettings); this.OutlookSettings = OutlookConfiguration.Load(); WebAssignConfiguration WebAssignConfiguration = new WebAssignConfiguration(UserSettings); this.WebAssignSettings = WebAssignConfiguration.Load(); WamapConfiguration WamapConfiguration = new WamapConfiguration(UserSettings); this.WamapSettings = WamapConfiguration.Load(); Quarter2MonthConfiguration MyQuarters = new Quarter2MonthConfiguration(UserSettings); this.Quarter2Month = MyQuarters.Load(); }