System.Windows.Forms.HexBox.OnMouseWheel C# (CSharp) Method

OnMouseWheel() protected method

Raises the MouseWhell event
protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs An EventArgs that contains the event data.
return void
        protected override void OnMouseWheel(MouseEventArgs e)
        {
            int linesToScroll = -(e.Delta * SystemInformation.MouseWheelScrollLines / 120);
            this.PerformScrollLines(linesToScroll);

            base.OnMouseWheel (e);
        }