I've recently created a vb.net windows form application which i user the background worker component in it, Now i'm trying to do the the same for smart devices in C#.NET or VB.NET, how to do threading in smart devices , what i basically wanna do is start a loop after pressing one button then stopping it after pressing another, how can i do that in smart devices ?

thanks in advance for helping :)

I found a way to do that , i used a timer and i enabled/disabled the timer depending on my need , then i included the needed code to be repeated on the timer.tick event , hope this would help someone :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.