Пример #1
0
 protected virtual void OnWheel(int val)
 {
     var args = new WheelArgs(val, HasControlKey, HasShiftKey, HasAltKey);
       var handler = Wheel;
       if (handler != null)
     handler(this, args);
 }
Пример #2
0
 protected virtual void OnWheel(WheelArgs e)
 {
     var handler = Wheel;
       if (handler != null) handler(this, e);
 }