In Windows Forms, buttons provide a 'PerformClick' method (see
documentation).
If you want to simulate clicking as if it was done by the computer's
mouse, you may want to take a look at the 'SendInput' and 'mouse_event'
Win32 functions, which can be accessed via p/invoke.
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.