Beispiel #1
0
 // private methods...
 #region AddFoldersToCollection
 private void AddFoldersToCollection(CommandKeyBindingCollection collection)
 {
     for (int i = 0; i < _Folders.Count; i++)
     {
         CommandKeyFolder lFolder = _Folders[i] as CommandKeyFolder;
         lFolder.ToPlainCollection(collection);
     }
 }
        // private methods...

        #region LoadShortcuts
        private void LoadShortcuts()
        {
            _RootFolder = new CommandKeyFolder();
            _RootFolder.Load(OptXkeysShortcuts.GetCategory(), OptXkeysShortcuts.GetPageName());
            _Shortcuts = _RootFolder.ToPlainCollection();
        }