Пример #1
0
 public ControlVM(IModuleBreakpointsVM vm, ModuleBreakpointsOperations operations, IMessageBoxService messageBoxService, DependencyObject control)
 {
     VM                     = vm;
     Operations             = operations;
     this.messageBoxService = messageBoxService;
     this.control           = control;
 }
Пример #2
0
        ModuleBreakpointsContent(IWpfCommandService wpfCommandService, IModuleBreakpointsVM moduleBreakpointsVM, ModuleBreakpointsOperations moduleBreakpointsOperations, IMessageBoxService messageBoxService)
        {
            Operations = moduleBreakpointsOperations;
            moduleBreakpointsControl             = new ModuleBreakpointsControl();
            this.moduleBreakpointsVM             = moduleBreakpointsVM;
            moduleBreakpointsControl.DataContext = new ControlVM(moduleBreakpointsVM, moduleBreakpointsOperations, messageBoxService, moduleBreakpointsControl);

            wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_MODULEBREAKPOINTS_CONTROL, moduleBreakpointsControl);
            wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_MODULEBREAKPOINTS_LISTVIEW, moduleBreakpointsControl.ListView);

            moduleBreakpointsControl.ListView.PreviewKeyDown += ListView_PreviewKeyDown;
        }
Пример #3
0
 public ModuleBreakpointsCtxMenuContext(ModuleBreakpointsOperations operations) => Operations = operations;