Ejemplo n.º 1
0
 public ControlVM(ICodeBreakpointsVM vm, CodeBreakpointsOperations operations, IMessageBoxService messageBoxService, DependencyObject control)
 {
     VM                     = vm;
     Operations             = operations;
     this.messageBoxService = messageBoxService;
     this.control           = control;
 }
Ejemplo n.º 2
0
        CodeBreakpointsContent(IWpfCommandService wpfCommandService, ICodeBreakpointsVM codeBreakpointsVM, CodeBreakpointsOperations codeBreakpointsOperations, IMessageBoxService messageBoxService)
        {
            Operations                         = codeBreakpointsOperations;
            codeBreakpointsControl             = new CodeBreakpointsControl();
            this.codeBreakpointsVM             = codeBreakpointsVM;
            codeBreakpointsControl.DataContext = new ControlVM(codeBreakpointsVM, codeBreakpointsOperations, messageBoxService, codeBreakpointsControl);
            codeBreakpointsControl.CodeBreakpointsListViewDoubleClick += CodeBreakpointsControl_CodeBreakpointsListViewDoubleClick;

            wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_CODEBREAKPOINTS_CONTROL, codeBreakpointsControl);
            wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_CODEBREAKPOINTS_LISTVIEW, codeBreakpointsControl.ListView);

            codeBreakpointsControl.ListView.PreviewKeyDown += ListView_PreviewKeyDown;
        }
Ejemplo n.º 3
0
 public CodeBreakpointsCtxMenuContext(CodeBreakpointsOperations operations) => Operations = operations;