event trigger

G

Guest

Hi
How can I trigger a button_click event in c#, please? I have tried calling
the event directly, but it event was looking for some parameters such as
sender and eventarguments which I don't know what to send?!

TIA

--
 
H

Harolds

Send (null,null) if you don't use the parameters.

Better yet create a seperate function that is called by the event and
anywhere else.
 

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

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top