예제 #1
0
 private CommandKeyBinding FindInFolders(string name)
 {
     if (_Folders == null)
     {
         return(null);
     }
     for (int i = 0; i < _Folders.Count; i++)
     {
         CommandKeyFolder  lFolder  = _Folders[i] as CommandKeyFolder;
         CommandKeyBinding lBinding = lFolder.Find(name);
         if (lBinding != null)
         {
             return(lBinding);
         }
     }
     return(null);
 }
예제 #2
0
 private CommandKeyBinding FindInFolders(EditorCustomInputEventArgs ea)
 {
     if (_Folders == null)
     {
         return(null);
     }
     for (int i = 0; i < _Folders.Count; i++)
     {
         CommandKeyFolder  folder   = _Folders[i] as CommandKeyFolder;
         CommandKeyBinding lBinding = folder.Find(ea);
         if (lBinding != null)
         {
             return(lBinding);
         }
     }
     return(null);
 }