How to error handle overclicking in C#

101 views Asked by At

i have a program. If i over click a button, the whole program freezes. i don't know the code to error handle this. does anyone know how to error handle this.

thanks

1

There are 1 answers

0
Bassam Alugili On

Put your button clicked code in another thread see this examples:

Gui freeezing when using threading