Exemplo n.º 1
0
        protected override void OnMouseWheel(MouseWheelEventArgs e)
        {
            if (browser != null)
            {
                var point     = e.GetPosition(this);
                var modifiers = e.GetModifiers();

                browser.SendMouseWheelEvent(
                    (int)point.X,
                    (int)point.Y,
                    deltaX: 0,
                    deltaY: e.Delta,
                    modifiers: modifiers);
            }
        }