protected virtual void OnWheel(int val) { var args = new WheelArgs(val, HasControlKey, HasShiftKey, HasAltKey); var handler = Wheel; if (handler != null) handler(this, args); }
protected virtual void OnWheel(WheelArgs e) { var handler = Wheel; if (handler != null) handler(this, e); }