Пример #1
0
 private string think(Tool needToMadeTool)
 {
     foreach (Tool tool in AllTools)
     {
         if ((tool.getContent(false) == needToMadeTool.getContent(true))
         && (tool.getPath(true) == currentPathWindowExplorer) && (tool.getContent(true) == currentContentWindowExplorer))
         {
             return (tool.getCommandsInKeys() + needToMadeTool.getCommandsInKeys());
         }
     }
     return null;
 }
Пример #2
0
 private void additionalTools(Tool first, Tool second)
 {
     Tool newTool = new Tool(second.getRecognedSoundCommand(), first.getCommandsInKeys() 
         + second.getCommandsInKeys(), first.getPath(true), first.getContent(true), second.getContent(false), second.getPath(false));
 }