예제 #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);
     }
 }
예제 #2
0
        public CommandKeyBinding Load(string category, string pageName)
        {
            CommandKeyBinding lResult = null;

            using (DecoupledStorage lStorage = new DecoupledStorage(category, pageName))
            {
                lStorage.LoadSubFolders();
                lResult = Load(lStorage, "");
            }
            return(lResult);
        }