Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# & Core 2 due CPUs Pin
Joe Woodbury13-May-09 15:38
professionalJoe Woodbury13-May-09 15:38 
Questionhow to add numbers to form with specified position Pin
Aljaz11113-May-09 12:27
Aljaz11113-May-09 12:27 
AnswerRe: how to add numbers to form with specified position Pin
Tony Richards13-May-09 12:43
Tony Richards13-May-09 12:43 
GeneralRe: how to add numbers to form with specified position Pin
Aljaz11113-May-09 12:46
Aljaz11113-May-09 12:46 
GeneralRe: how to add numbers to form with specified position Pin
Luc Pattyn13-May-09 13:20
sitebuilderLuc Pattyn13-May-09 13:20 
AnswerRe: how to add numbers to form with specified position Pin
Henry Minute13-May-09 14:42
Henry Minute13-May-09 14:42 
QuestionHow to stop an Event Pin
Payam Rastogi13-May-09 10:11
Payam Rastogi13-May-09 10:11 
AnswerRe: How to stop an Event Pin
Dave Kreskowiak13-May-09 10:47
mveDave Kreskowiak13-May-09 10:47 
You're going to have to move the code that iterates through each frame to a background thread (look into the BackgroundWorker component) and modify the loop so that it checks a flag to know that it has to stop.

Get rid of the Application.DoEvents call when you move the code to the background thread. Like using "Goto" in your code, it's the second reason why a kitten gets punched in the face every time it's used.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: How to stop an Event Pin
PIEBALDconsult13-May-09 14:59
mvePIEBALDconsult13-May-09 14:59 
GeneralRe: How to stop an Event Pin
Luc Pattyn13-May-09 15:39
sitebuilderLuc Pattyn13-May-09 15:39 
GeneralRe: How to stop an Event Pin
Dave Kreskowiak13-May-09 19:12
mveDave Kreskowiak13-May-09 19:12 
GeneralRe: How to stop an Event Pin
Payam Rastogi14-May-09 11:05
Payam Rastogi14-May-09 11:05 
GeneralRe: How to stop an Event Pin
Dave Kreskowiak14-May-09 17:54
mveDave Kreskowiak14-May-09 17:54 
AnswerRe: How to stop an Event Pin
DaveyM6913-May-09 10:51
professionalDaveyM6913-May-09 10:51 
QuestionSimple Interest Problem Pin
ctreed72813-May-09 10:05
ctreed72813-May-09 10:05 
AnswerRe: Simple Interest Problem Pin
Luc Pattyn13-May-09 10:12
sitebuilderLuc Pattyn13-May-09 10:12 
AnswerRe: Simple Interest Problem Pin
Christian Graus13-May-09 11:20
protectorChristian Graus13-May-09 11:20 
QuestionForce CG Pin
Jammer13-May-09 9:43
Jammer13-May-09 9:43 
AnswerRe: Force CG Pin
Dave Kreskowiak13-May-09 9:55
mveDave Kreskowiak13-May-09 9:55 
GeneralRe: Force CG Pin
Jammer13-May-09 10:12
Jammer13-May-09 10:12 
GeneralRe: Force CG Pin
Dave Kreskowiak13-May-09 10:44
mveDave Kreskowiak13-May-09 10:44 
GeneralRe: Force CG Pin
Jammer13-May-09 10:49
Jammer13-May-09 10:49 
GeneralRe: Force CG Pin
Christian Graus13-May-09 11:18
protectorChristian Graus13-May-09 11:18 
GeneralRe: Force CG Pin
Dave Kreskowiak13-May-09 14:24
mveDave Kreskowiak13-May-09 14:24 
AnswerRe: Force CG Pin
Christian Graus13-May-09 11:15
protectorChristian Graus13-May-09 11:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.