void TextArea_MouseWheel(object sender, MouseEventArgs e) { if (windowHtml != null && windowHtml.Visible) { windowHtml.HandleMouseWheel(e); } }
protected override void OnMouseWheel(System.Windows.Forms.MouseEventArgs e) { base.OnMouseWheel(e); if (FCompletionWindow != null && !FCompletionWindow.IsDisposed) { FCompletionWindow.HandleMouseWheel(e); } }
void TextAreaMouseWheel(object sender, MouseEventArgs e) { TextAreaControl textAreaControl = (TextAreaControl)sender; if (IsCodeCompletionWindowOpen && codeCompletionWindow.Visible) { codeCompletionWindow.HandleMouseWheel(e); } else { textAreaControl.HandleMouseWheel(e); } }
void TextAreaMouseWheel(object sender, MouseEventArgs e) { TextAreaControl textAreaControl = (TextAreaControl)sender; if (insightWindow != null && !insightWindow.IsDisposed && insightWindow.Visible) { insightWindow.HandleMouseWheel(e); } else if (codeCompletionWindow != null && !codeCompletionWindow.IsDisposed && codeCompletionWindow.Visible) { codeCompletionWindow.HandleMouseWheel(e); } else { textAreaControl.HandleMouseWheel(e); } }
private void TextArea_MouseWheel(object sender, MouseEventArgs e) { TextAreaControl textAreaControl = (TextAreaControl)sender; if (_insightWindow != null && !_insightWindow.IsDisposed && _insightWindow.Visible) { _insightWindow.HandleMouseWheel(e); textAreaControl.DoHandleMousewheel = false; } else if (_codeCompletionWindow != null && !_codeCompletionWindow.IsDisposed && _codeCompletionWindow.Visible) { _codeCompletionWindow.HandleMouseWheel(e); textAreaControl.DoHandleMousewheel = false; } else { textAreaControl.HandleMouseWheel(e); } }
private void CodeCompletionWindowOnMouseWheel(object sender, MouseEventArgs args) { _codeCompletionWindow.HandleMouseWheel(args); }