Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello,

I've recently created a vb.net windows form application which i used the background worker component in it, Now i'm trying to do 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 :)
Posted
Updated 21-Nov-12 1:18am
v2

1 solution

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 :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900