示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MouseWheelInternalEventArgs"/> class.
 /// </summary>
 /// <param name="button">The button.</param>
 /// <param name="clicks">The clicks.</param>
 /// <param name="x">The executable.</param>
 /// <param name="y">The asynchronous.</param>
 /// <param name="delta">The delta.</param>
 /// <param name="wheelType">Type of the wheel.</param>
 internal MouseWheelInternalEventArgs(MouseButtons button, int clicks, int x, int y, int delta, MouseWheelTypeEnum wheelType)
     : base(button, clicks, x, y, delta)
 {
     this.WheelType = wheelType;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MouseWheelEventArgs"/> class.
 /// </summary>
 /// <param name="wheelType">Type of the wheel.</param>
 /// <param name="amount">The amount.</param>
 public MouseWheelEventArgs(MouseWheelTypeEnum wheelType, int amount)
 {
     this.WheelType = wheelType;
     this.Amount    = amount;
 }