T
Tim Jarvis
Hi,
I have a really frustrating problem....
I have a custom windows form control that contains a collection of
controls, these controls in turn contain other controls, a titlebar for
example a client scrollable area etc. My component needs to be able to
generate a custom click (cardpanelclicked) event that has a custom
eventargs class that shows which control was clicked, and what area of
the control was clicked, so this means I need to have my contained
classes propogate up through the parent controls....with me so far ?
Now the thing is, this works fine if I step through the code in the
debugger, however when I run the app normally the event does not fire
or actually it may, it may just be the paint event getting lost, I
can't tell for sure as when I debug, it works as designed....I am doing
my head in on this, please help if you can !!!
Regards Tim.
PS in groping at straws mode I have tried a DoEvents() and also a
Thread.Sleep(100) as well, to no avail.
I have a really frustrating problem....
I have a custom windows form control that contains a collection of
controls, these controls in turn contain other controls, a titlebar for
example a client scrollable area etc. My component needs to be able to
generate a custom click (cardpanelclicked) event that has a custom
eventargs class that shows which control was clicked, and what area of
the control was clicked, so this means I need to have my contained
classes propogate up through the parent controls....with me so far ?
Now the thing is, this works fine if I step through the code in the
debugger, however when I run the app normally the event does not fire
or actually it may, it may just be the paint event getting lost, I
can't tell for sure as when I debug, it works as designed....I am doing
my head in on this, please help if you can !!!
Regards Tim.
PS in groping at straws mode I have tried a DoEvents() and also a
Thread.Sleep(100) as well, to no avail.