protected override void InitializeView(IClientController clientController, ICrossViewManager crossViewManager) { _windowManagerCommand = clientController.Commander.GetCommand <WindowManagerCommand>(); _windowManagerCommand.WindowsReceived += WindowManagerCommandOnWindowsReceived; crossViewManager.RegisterMethod(this, new Guid(0xcf23f35b, 0x9e90, 0x634b, 0xbb, 0x60, 0x34, 0xcb, 0xb8, 0x78, 0x7c, 0x2c), new EventHandler <int>(OpenProcessWindows)); }
protected override void InitializeView(IClientController clientController, ICrossViewManager crossViewManager) { ConsoleCommand = clientController.Commander.GetCommand <ConsoleCommand>(); ConsoleCommand.Stopped += ConsoleCommand_Stopped; ConsoleCommand.Started += ConsoleCommand_Started; ConsoleCommand.ConsoleLineReceived += ConsoleCommand_ConsoleLineReceived; ConsoleOutput = new ObservableCollection <string>(); EventHandler <string> method = OpenConsoleWithPath; crossViewManager.RegisterMethod(this, new Guid(0xa8644e87, 0x2509, 0xa247, 0x9f, 0x5f, 0x2d, 0xa4, 0xbc, 0x70, 0xc9, 0x89), method); }