question

basti-1372 avatar image
0 Votes"
basti-1372 asked Castorix31 edited

How can i make a button bee clicked on a selected time

How can i make a button bee clicked on a selected time

I think i can use a timer but not sure how

The timer needs to click the button on a custom time.

Thanks

-Basti

windows-forms
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Castorix31 avatar image
0 Votes"
Castorix31 answered Castorix31 edited

See for example this thread How to start a thread at specific time

(and in the function, to simulate a click : button2.Invoke((Action)(() => button2.PerformClick())); )





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.