Пример #1
0
 void TextArea_MouseWheel(object sender, MouseEventArgs e)
 {
     if (windowHtml != null && windowHtml.Visible)
     {
         windowHtml.HandleMouseWheel(e);
     }
 }
Пример #2
0
 protected override void OnMouseWheel(System.Windows.Forms.MouseEventArgs e)
 {
     base.OnMouseWheel(e);
     if (FCompletionWindow != null && !FCompletionWindow.IsDisposed)
     {
         FCompletionWindow.HandleMouseWheel(e);
     }
 }
Пример #3
0
        void TextAreaMouseWheel(object sender, MouseEventArgs e)
        {
            TextAreaControl textAreaControl = (TextAreaControl)sender;

            if (IsCodeCompletionWindowOpen && codeCompletionWindow.Visible)
            {
                codeCompletionWindow.HandleMouseWheel(e);
            }
            else
            {
                textAreaControl.HandleMouseWheel(e);
            }
        }
Пример #4
0
        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);
            }
        }
Пример #6
0
 private void CodeCompletionWindowOnMouseWheel(object sender, MouseEventArgs args)
 {
     _codeCompletionWindow.HandleMouseWheel(args);
 }