Пример #1
0
 public ControlVM(IProcessesVM vm, ProcessesOperations operations, IMessageBoxService messageBoxService, DependencyObject control)
 {
     VM                     = vm;
     Operations             = operations;
     this.messageBoxService = messageBoxService;
     this.control           = control;
 }
Пример #2
0
        ProcessesContent(IWpfCommandService wpfCommandService, IProcessesVM processesVM, ProcessesOperations processesOperations, IMessageBoxService messageBoxService)
        {
            Operations                   = processesOperations;
            processesControl             = new ProcessesControl();
            this.processesVM             = processesVM;
            processesControl.DataContext = new ControlVM(processesVM, processesOperations, messageBoxService, processesControl);
            processesControl.ProcessesListViewDoubleClick += ProcessesControl_ProcessesListViewDoubleClick;

            wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_PROCESSES_CONTROL, processesControl);
            wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_PROCESSES_LISTVIEW, processesControl.ListView);
        }
Пример #3
0
 public ControlVM(IProcessesVM vm, ProcessesOperations operations)
 {
     VM         = vm;
     Operations = operations;
 }
Пример #4
0
 public ProcessesCtxMenuContext(ProcessesOperations operations) => Operations = operations;