protected virtual void onScroll(ScrollEventArgs e) { if (Scroll != null) { Scroll(this, e); } }
protected void tmrFeedback_Tick(object sender, EventArgs e) { var a = new ScrollEventArgs { DeltaX = CurrentDelta.X, DeltaY = CurrentDelta.Y }; onScroll(a); }
protected void tmrFeedback_Tick(object sender, EventArgs e) { ScrollEventArgs a = new ScrollEventArgs(); a.DeltaX = CurrentDelta.X; a.DeltaY = CurrentDelta.Y; onScroll(a); }