I get the error \"Cross-thread operation not valid: Control \'label1\' accessed from a thread other than the thread it was created on.\" when I run this code:
I am not a winform developer. But i heard something regararding Timer class which you are using. I think you might want to set these properties and check.