I'm getting exception Cross-thread operation since i'm using ui var in a thread operation how should i handle it?
Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on