Click here to Skip to main content
15,912,897 members
Home / Discussions / C#
   

C#

 
GeneralRe: get files one by one in the lable Pin
sanforjackass26-Jan-10 22:18
sanforjackass26-Jan-10 22:18 
GeneralRe: get files one by one in the lable Pin
OriginalGriff26-Jan-10 22:10
mveOriginalGriff26-Jan-10 22:10 
Questiondatagridview scrolling Pin
prithaa26-Jan-10 20:26
prithaa26-Jan-10 20:26 
QuestionEventHandler for Textbox Pin
Anu_Bala26-Jan-10 20:21
Anu_Bala26-Jan-10 20:21 
QuestionThread issue Pin
Mycroft Holmes26-Jan-10 18:50
professionalMycroft Holmes26-Jan-10 18:50 
AnswerRe: Thread issue Pin
Rob Philpott26-Jan-10 20:52
Rob Philpott26-Jan-10 20:52 
GeneralRe: Thread issue Pin
Mycroft Holmes26-Jan-10 21:04
professionalMycroft Holmes26-Jan-10 21:04 
GeneralRe: Thread issue Pin
David Skelly26-Jan-10 22:18
David Skelly26-Jan-10 22:18 
Mycroft Holmes wrote:
Would it be reasonable to put the started thread into a local property and check whether it is alive in the form closing event, then call thread abort if it is still running.


If you are going to do this, you might want to consider using a BackgroundWorker. That wraps up an asynchronous thread into a convenient class that you can monitor for progress, get callbacks when it completes (including a notification if it ends abnormally with an error) and cancel it in a controlled manner if you want to end it early. There doesn't seem much point in writing your own code to do all that when .NET gives it to you anyway.
Questionre:vs C# versus vsC++ Pin
Alan Kurlansky26-Jan-10 17:28
Alan Kurlansky26-Jan-10 17:28 
AnswerRe: re:vs C# versus vsC++ Pin
tolw26-Jan-10 19:56
tolw26-Jan-10 19:56 
GeneralRe: re:vs C# versus vsC++ Pin
Alan Kurlansky27-Jan-10 4:08
Alan Kurlansky27-Jan-10 4:08 
GeneralRe: re:vs C# versus vsC++ Pin
tolw27-Jan-10 6:14
tolw27-Jan-10 6:14 
Questionregex help Pin
uglyeyes26-Jan-10 13:34
uglyeyes26-Jan-10 13:34 
Answerrepost Pin
Luc Pattyn26-Jan-10 13:40
sitebuilderLuc Pattyn26-Jan-10 13:40 
AnswerRe: regex help Pin
vivasaayi26-Jan-10 18:19
vivasaayi26-Jan-10 18:19 
GeneralRe: regex help Pin
uglyeyes26-Jan-10 21:15
uglyeyes26-Jan-10 21:15 
GeneralRe: regex help Pin
#realJSOP27-Jan-10 1:24
professional#realJSOP27-Jan-10 1:24 
GeneralRe: regex help Pin
uglyeyes27-Jan-10 2:26
uglyeyes27-Jan-10 2:26 
GeneralRe: regex help Pin
basantakumar27-Jan-10 3:20
basantakumar27-Jan-10 3:20 
GeneralRe: regex help [modified] Pin
uglyeyes27-Jan-10 11:35
uglyeyes27-Jan-10 11:35 
GeneralRe: regex help Pin
uglyeyes27-Jan-10 16:48
uglyeyes27-Jan-10 16:48 
GeneralRe: regex help Pin
uglyeyes27-Jan-10 18:41
uglyeyes27-Jan-10 18:41 
GeneralRe: regex help Pin
uglyeyes28-Jan-10 12:50
uglyeyes28-Jan-10 12:50 
GeneralRe: regex help Pin
Ravi Sant14-Apr-11 1:42
Ravi Sant14-Apr-11 1:42 
GeneralRe: regex help [modified] Pin
ahmed_elshiwy4-Jan-13 0:59
ahmed_elshiwy4-Jan-13 0:59 

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.