T
theinvisibleGhost
I think I've found a bug in the timer control.
I've got a class which uses a timer control.
It imports it from System.Windows.Forms
This timer ticks once a second, and then updates a
label which represents a clock on a form, to which the original class
has a reference. (MVC style)
If the user clicks and holds the X button on the form
being updated, the timer stops.
On moving the mouse cursor off of the X button and releasing
the timer continues, however my clock has not moved on.
I think this indicates they are on the same thread or something?
I'd imagine I can get round this by creating another thread,
but this seems wrong, surely a timer by nature should be on another
thread.
Just thought I'd mention it somewhere.
Hope thats ok!
Cheers
Chris.
I've got a class which uses a timer control.
It imports it from System.Windows.Forms
This timer ticks once a second, and then updates a
label which represents a clock on a form, to which the original class
has a reference. (MVC style)
If the user clicks and holds the X button on the form
being updated, the timer stops.
On moving the mouse cursor off of the X button and releasing
the timer continues, however my clock has not moved on.
I think this indicates they are on the same thread or something?
I'd imagine I can get round this by creating another thread,
but this seems wrong, surely a timer by nature should be on another
thread.
Just thought I'd mention it somewhere.
Hope thats ok!
Cheers
Chris.