Mimic mouse event

  • Thread starter Thread starter Suresh Kumar
  • Start date Start date
S

Suresh Kumar

Hi,
I would like to generate an event automatically without user's input. I have
a form which is inherited from a baseform. The base form has a command
button control and I cannot call that event directly in my code coz the base
class event handler is private.

So I want to generate that event, it automatically fires that event.

Pls help me. I appreciate your help
thanks
Suresh
 
* "Suresh Kumar said:
I would like to generate an event automatically without user's input. I have
a form which is inherited from a baseform. The base form has a command
button control and I cannot call that event directly in my code coz the base
class event handler is private.

So I want to generate that event, it automatically fires that event.

Call the button's 'PerformClick' method.
 
Back
Top