Re: Button click event handler not called.
- From: v-jetan@xxxxxxxxxxxxxxxxxxxx ("Jeffrey Tan[MSFT]")
- Date: Fri, 02 Sep 2005 08:51:49 GMT
Hi Dave,
Currently, I am not sure the root cause for your issue. But I have some
suggestions to your problem.
First, in Winform multithreading programming, any manipulating to the
controls' members from another thread must be marshaled with
Control.Invoke/BeginInvoke methods. This is because the underlying Win32
controls is not thread safe, so the calling must be marshaled to the
creation thread. Does your application obey this rule?
Also, have you tried your application on other machines? Then we can
determine if this issue is machines-specific.
For me, I will place a breakpoint in normal Button.Click event handler,
then get the fulll call stack for the Button.Click event(Make sure the
symbol is setup well). Then I will place the breakpoint above the call
stack methods one-by-one to see when clicking the button, which method
failed to execute. By using Reflector to tracing the source code of this
method, we will get some more internal detailed information of why the
calling is failed. I think you may also benefit from this troubleshooting
way.
At last, is there any way for you to level your application down to a
little sample project to demonstrate out this problem? If we can reproduce
out this problem, we can understand it better.
Thanks
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
.
- References:
- Re: Button click event handler not called.
- From: Dave Leach
- Re: Button click event handler not called.
- Prev by Date: Problem in Viewing data from DataGrid
- Next by Date: Detect if Form is still redrawing
- Previous by thread: Re: Button click event handler not called.
- Next by thread: Re: Button click event handler not called.
- Index(es):
Relevant Pages
|