closet geek
Newcomer
- Joined
- Apr 2, 2006
- Messages
- 21
How do you simulate a button being clicked by the user in C# or J#?
I have a button called "Button1" and it performs a task when the user clicks on it. How do I then say "pretend the user has clicked Button1" from a different method so that the actions of Button1 can be invoked by the software.
So simple I imagine but I can't spot it.
I have a button called "Button1" and it performs a task when the user clicks on it. How do I then say "pretend the user has clicked Button1" from a different method so that the actions of Button1 can be invoked by the software.
So simple I imagine but I can't spot it.