This post originated from an RSS feed registered with .NET Buzz
by Jason Nadal.
Original Post: Longhorn RepeatButton Control
Feed Title: Jason Nadal
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/jnadal/Rss.aspx
Feed Description: Restless C#ding
So, while I was scanning throught the Longhorn SDK, I came across a rather interesting gem of a control: the RepeatButton. This control shares a parent, ButtonBase, with it's siblings, Button, CheckBox, HyperLink, and RadioButton.
What this bit of code does, is call the DoCount(object, ClickEventArgs) method every second, after a delay of a second. I imagine this could be used to do some very interesting things with animation....