Click event in Windows Form

  • Thread starter Thread starter Hadi
  • Start date Start date
H

Hadi

Say I have a Form and in that form I have a group box/other panel. If I have
handling for the click event on the form, this won't be called if I click on
the group box/panel. How do I make this click event on the form still
processed even if the user click on the groupbox/panel.

thanks,

Hadi
 
* "Hadi said:
Say I have a Form and in that form I have a group box/other panel. If I have
handling for the click event on the form, this won't be called if I click on
the group box/panel. How do I make this click event on the form still
processed even if the user click on the groupbox/panel.

Call 'MyBase.OnClick' from the event handler.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top