Ejemplo n.º 1
0
        void listView_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            if (!UIUtils.IsLeftDoubleClick <ListViewItem>(listView, e))
            {
                return;
            }
            bool newTab = Keyboard.Modifiers == ModifierKeys.Shift || Keyboard.Modifiers == ModifierKeys.Control;

            SwitchToFrameCallStackCtxMenuCommand.Execute(listView.SelectedItem as CallStackFrameVM, newTab);
        }
Ejemplo n.º 2
0
 public override void Execute(CallStackCtxMenuContext context) =>
 SwitchToFrameCallStackCtxMenuCommand.Execute(moduleIdProvider, stackFrameService.Value, documentTabService, moduleLoader.Value, SwitchToFrameCallStackCtxMenuCommand.GetFrame(context), true);
Ejemplo n.º 3
0
        void CallStackControl_CallStackListViewDoubleClick(object sender, EventArgs e)
        {
            bool newTab = Keyboard.Modifiers == ModifierKeys.Shift || Keyboard.Modifiers == ModifierKeys.Control;

            SwitchToFrameCallStackCtxMenuCommand.Execute(moduleIdProvider, stackFrameManager.Value, fileTabManager, moduleLoader.Value, callStackControl.ListView.SelectedItem as CallStackFrameVM, newTab);
        }
Ejemplo n.º 4
0
 public override void Execute(CallStackCtxMenuContext context)
 {
     SwitchToFrameCallStackCtxMenuCommand.Execute(stackFrameManager.Value, fileTabManager, moduleLoader.Value, SwitchToFrameCallStackCtxMenuCommand.GetFrame(context), true);
 }