Пример #1
0
 protected override void OnMouseWheel(MouseEventArgs e)
 {
     if (_drawable.MouseWheel(e.Delta))
     {
         Invalidate();
     }
 }
Пример #2
0
 public override bool MouseWheel(int d)
 {
     if (_drawable == null)
     {
         return(false);
     }
     return(_drawable.MouseWheel(d));
 }
Пример #3
0
 public bool MouseWheel(int d)
 {
     if (_target == null)
     {
         return(false);
     }
     else
     {
         return(_target.MouseWheel(d));
     }
 }