By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,639 Members | 1,326 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,639 IT Pros & Developers. It's quick & easy.

Mimic mouse event

P: n/a
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


Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
* "Suresh Kumar" <ms*******@hotmail.com> scripsit:
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.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.