System.Windows.Forms.HexBox.OnMouseWheel C# (CSharp) Méthode

OnMouseWheel() protected méthode

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

            base.OnMouseWheel (e);
        }