Click here to Skip to main content
15,893,663 members
Home / Discussions / C#
   

C#

 
GeneralRe: Dynamically adding a action to a datagrid Pin
Mycroft Holmes13-May-09 23:23
professionalMycroft Holmes13-May-09 23:23 
GeneralRe: Dynamically adding a action to a datagrid Pin
Henry Minute14-May-09 0:04
Henry Minute14-May-09 0:04 
GeneralRe: Dynamically adding a action to a datagrid Pin
Brad Wick14-May-09 4:58
Brad Wick14-May-09 4:58 
GeneralRe: Dynamically adding a action to a datagrid Pin
Henry Minute14-May-09 11:13
Henry Minute14-May-09 11:13 
GeneralRe: Dynamically adding a action to a datagrid Pin
Brad Wick14-May-09 13:00
Brad Wick14-May-09 13:00 
GeneralRe: Dynamically adding a action to a datagrid Pin
Henry Minute14-May-09 13:13
Henry Minute14-May-09 13:13 
QuestionC# & Core 2 due CPUs Pin
Mohammad Dayyan13-May-09 12:30
Mohammad Dayyan13-May-09 12:30 
AnswerRe: C# & Core 2 due CPUs Pin
Luc Pattyn13-May-09 12:46
sitebuilderLuc Pattyn13-May-09 12:46 
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 
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 
This is always a problem with long running synchronous (blocking) event handlers.

The easiest way of the top of my head:
Add a background worker component and set WorkerSupportsCancellation to true then call RunWorkerAsync() in the button_Click event handler. Put the code above in the DoWork event handler, then you can check the CancellationPending on each iteration.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus)

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 

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.