示例#1
0
 public void Save()
 {
     // Сохранение в реестр
     using (Registry.RegExt reg = new Registry.RegExt(REGKEY))
     {
         reg.Save(KeySortTabOrName, SortTabOrName);
         reg.Save(KeyOnePdfOrEachDwg, OnePdfOrEachDwg);
         reg.Save(KeyFilterByNumbers, FilterByNumbers);
         reg.Save(KeyFilterByNames, FilterByNames);
         reg.Save(KeyFilterState, FilterState);
     }
 }
示例#2
0
 public void Load()
 {
     // загрузка настроек из реестра
     using (Registry.RegExt reg = new Registry.RegExt(REGKEY))
     {
         SortTabOrName = reg.Load(KeySortTabOrName, true);
         OnePdfOrEachDwg = reg.Load(KeyOnePdfOrEachDwg, true);
         FilterByNumbers = reg.Load(KeyFilterByNumbers, "");
         FilterByNames = reg.Load(KeyFilterByNames, "");
         FilterState = reg.Load(KeyFilterState, false);
     }
 }