Event Problem
-
Hi, In my project, Code is written for an event in the application level to display a dialog box after a fixed interval of time. I don't have that code I have only the reference for that code. So when that event is getting fired i want to handle that event not to display that dialog box. How can i do that.
Thanks & Regards Mishra
-
Hi, In my project, Code is written for an event in the application level to display a dialog box after a fixed interval of time. I don't have that code I have only the reference for that code. So when that event is getting fired i want to handle that event not to display that dialog box. How can i do that.
Thanks & Regards Mishra
-
Hi, In my project, Code is written for an event in the application level to display a dialog box after a fixed interval of time. I don't have that code I have only the reference for that code. So when that event is getting fired i want to handle that event not to display that dialog box. How can i do that.
Thanks & Regards Mishra
If the event isn't exposed to you but is only handled internally in the code, you can't handle the event. You'll never see it. Otherwise, you'll need the signature of the event handler that the code is expecting you to implement. After that, it's a simple matter of writing the event handler and wiring it to the event using the
AddHandler
statement.A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008