« Microsoft Visual C# 2005 Express | Main | Mono 2.0 »

Scrollable control fixed in 2.0 Framework

In my first .NET Annoyances post, I talked about how the ScrollableControl class was broken. There was no way to be notified when a scroll occurred. Well, this seems to have been remedied in the .NET Framework 2.0.

All I had to do was to write a delegate to handle their new Scroll event. The new Scroll event addresses my earlier concerns about knowing the type of scroll. They address this with a new ScrollEventArgs class, which has a Type property of type ScrollEventType.

Anyway, life is good now.