views:

113

answers:

2

System.Windows.Forms.Form has only one scroll event-Scroll, but it is necessary to recognize scrolling up and scrolling down.Could you tell me,how to do this?

+3  A: 

Use the passed System.Windows.Forms.ScrollEventArgs arguments' OldValue and NewValue properties to detect the scroll direction.

M.A. Hanin
A: 

Checkout ScrollEventArgs Class and this answer.

KMan