J
Jason Allred
I have this form in a VB.NET windows application that has a simple
"Cancel" button on it that is simply supposed to close a form. There is an
event handler for the "Click" event, and everything appears to be correct in
the code. The form does not have anything assigned for the CancelButton or
AcceptButton properties. However, when I run the application and an
instance of this window is created, this and two other buttons that are on
the main form don't do anything. It's as if the event handlers were never
set up. Has anyone ever run into this problem? If so, how do you fix it?
To complicate matters, on the same form are several tabpages, and any
buttons in these work fine.
Regards,
Jason.
"Cancel" button on it that is simply supposed to close a form. There is an
event handler for the "Click" event, and everything appears to be correct in
the code. The form does not have anything assigned for the CancelButton or
AcceptButton properties. However, when I run the application and an
instance of this window is created, this and two other buttons that are on
the main form don't do anything. It's as if the event handlers were never
set up. Has anyone ever run into this problem? If so, how do you fix it?
To complicate matters, on the same form are several tabpages, and any
buttons in these work fine.
Regards,
Jason.