Пример #1
0
 /// <summary>
 ///     Open a command promopt (console) with the given path as current directory
 /// </summary>
 /// <param name="crossViewManager">The current cross view manager</param>
 /// <param name="path">The current directory of the console</param>
 public static void OpenCommandPrompt(this ICrossViewManager crossViewManager, string path)
 {
     crossViewManager.ExecuteMethod(ConsoleOpenCommandPrompt, path);
 }
Пример #2
0
 /// <summary>
 ///     Open the window manager which is filtered by the given process id
 /// </summary>
 /// <param name="crossViewManager">The current cross view manager</param>
 /// <param name="processId">The id of the process which windows should be visible</param>
 public static void OpenWindowManagerWithProcessId(this ICrossViewManager crossViewManager, int processId)
 {
     crossViewManager.ExecuteMethod(WindowManagerShowProcessWindows, processId);
 }
Пример #3
0
 /// <summary>
 ///     Open the given path in the file explorer of Orcus
 /// </summary>
 /// <param name="crossViewManager">The current cross view manager</param>
 /// <param name="path">The path which should be opened</param>
 public static void OpenPathInFileExplorer(this ICrossViewManager crossViewManager, string path)
 {
     crossViewManager.ExecuteMethod(FileExplorerOpenPathMethodGuid, path);
 }