Beispiel #1
0
 public void Save(string category, string pageName, CommandKeyBinding lastSelected)
 {
     using (DecoupledStorage lStorage = new DecoupledStorage(category, pageName))
     {
         lStorage.LoadSubFolders();
         RemoveDeletedFolders(lStorage);
         lStorage.ClearAll();
         Save(lStorage, lastSelected);
     }
 }
        public void Save()
        {
            DecoupledStorage storage = OptXkeysLayout.Storage;

            storage.ClearAll();
            storage.WriteInt32("Layout", "Count", keys.Count);
            for (int i = 0; i < Keys.Count; i++)
            {
                Keys[i].Save(storage, "Layout", i);
            }
        }