how to call button click event

  • Thread starter Thread starter anthonymelillo
  • Start date Start date
* "Tony Vitonis said:
That's true. The PerformClick method probably has to instantiate the
two objects, then, and call the event handler. A separate routine
would eliminate the objects and the extra call. On the other hand,
there'd be an extra call in the button click event.

As mentioned previously, I use 'PerformClick' if it is semantically
correct and I don't use it if it is not correct.
 

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