blah blah blah is here! blah blah » Close

up0down
link

hello,

i want code like this

this.Button1.Click();

last answered 2 years ago

1 answers

link

I thought I'd already answered this here but, if there's any doubt, the code required is:

this.Button1.PerformClick();

Any Click eventhandler you've defined for Button1 will then be called just as if the user had pressed the button manually.

king_888
153

thank you for the good answer

Feedback