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); }
public override void Execute(CallStackCtxMenuContext context) => SwitchToFrameCallStackCtxMenuCommand.Execute(moduleIdProvider, stackFrameService.Value, documentTabService, moduleLoader.Value, SwitchToFrameCallStackCtxMenuCommand.GetFrame(context), true);
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); }
public override void Execute(CallStackCtxMenuContext context) { SwitchToFrameCallStackCtxMenuCommand.Execute(stackFrameManager.Value, fileTabManager, moduleLoader.Value, SwitchToFrameCallStackCtxMenuCommand.GetFrame(context), true); }