Hello
Im extending the Windows Forms Button to make my own control called TimedButton. The only difference would be, that my control would include a property called Span(which is integer). The function of this property is to make a dynamic button and for less user interaction. If this Span is set for a value greater than 0, than the button's text would automatically show time in it, the number of seconds remaining according to the value provided in span.
Say for e.g. Span is 10, then the button text would automatically get updated after every second to display somthing like this "Button 1 (10)" .. "Button 1 (9)" ... "Button 1 (8) .. n so on until it reaches 0. Which means that the span has expired n now i want to raise the click event of the button. how would i do that.
I have attached the code as well to have a look.
Women ...r like tea bags, you neva know how strong they really r untill u put them in hot water
Huzefa Yousuf
Software Engineer
Verticity Inc.
+92-345-2235303 [email protected]