Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# 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 Smile | :)
Posted 20-Nov-12 23:41pm
Edited 21-Nov-12 2: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 Smile | :)

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

  Print Answers RSS
0 Maciej Los 295
1 OriginalGriff 273
2 Aajmot Sk 234
3 Marcin Kozub 205
4 Richard MacCutchan 200
0 OriginalGriff 7,903
1 Sergey Alexandrovich Kryukov 7,127
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820

Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 21 Nov 2012
Copyright © CodeProject, 1999-2014
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