Click here to Skip to main content
12,546,064 members (55,385 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# VB VB.NET

I've recently created a 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 20-Nov-12 22:41pm
Updated 21-Nov-12 1:18am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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 :)

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.161018.1 | Last Updated 21 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100