Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# coding style question Pin
Ricardo Kajihara4-Sep-13 21:33
Ricardo Kajihara4-Sep-13 21:33 
AnswerRe: C# coding style question Pin
Christopher Kenis5-Sep-13 1:04
professionalChristopher Kenis5-Sep-13 1:04 
AnswerRe: C# coding style question Pin
Eytukan5-Sep-13 7:21
Eytukan5-Sep-13 7:21 
GeneralRe: C# coding style question Pin
BillWoodruff5-Sep-13 18:35
professionalBillWoodruff5-Sep-13 18:35 
GeneralRe: C# coding style question Pin
Eytukan5-Sep-13 19:02
Eytukan5-Sep-13 19:02 
AnswerRe: C# coding style question Pin
V.6-Sep-13 1:48
professionalV.6-Sep-13 1:48 
QuestionThread Progress Bar Pin
juliogyn4-Sep-13 8:31
juliogyn4-Sep-13 8:31 
AnswerRe: Thread Progress Bar Pin
Forbiddenx4-Sep-13 9:01
Forbiddenx4-Sep-13 9:01 
Threads can be tricky, what you are running into is a problem with access.. threads by default can not access the ui to update a progress bar because that may create a deadlock.

For the background worker there is a function built in for report progress, but it is limited to only allow for simple updates.

You can however, get around this requirement by doing
.Invoke((Action)delegate() which allows safe access to the ui through a delegate.

I have used this method to update multiple labels, etc.

That should do the trick.
=)

GeneralRe: Thread Progress Bar Pin
BillWoodruff4-Sep-13 17:23
professionalBillWoodruff4-Sep-13 17:23 
GeneralRe: Thread Progress Bar Pin
Forbiddenx6-Sep-13 1:16
Forbiddenx6-Sep-13 1:16 
AnswerRe: Thread Progress Bar Pin
Dave Kreskowiak4-Sep-13 9:03
mveDave Kreskowiak4-Sep-13 9:03 
AnswerRe: Thread Progress Bar Pin
V.6-Sep-13 1:51
professionalV.6-Sep-13 1:51 
QuestionAny Ideas or feedback for a C# final year programming project? Pin
johnmolo4-Sep-13 4:11
johnmolo4-Sep-13 4:11 
AnswerRe: Any Ideas or feedback for a C# final year programming project? Pin
Forbiddenx4-Sep-13 4:51
Forbiddenx4-Sep-13 4:51 
AnswerRe: Any Ideas or feedback for a C# final year programming project? Pin
Richard MacCutchan4-Sep-13 4:56
mveRichard MacCutchan4-Sep-13 4:56 
GeneralRe: Any Ideas or feedback for a C# final year programming project? Pin
Mycroft Holmes4-Sep-13 12:51
professionalMycroft Holmes4-Sep-13 12:51 
AnswerRe: Any Ideas or feedback for a C# final year programming project? Pin
Praveen Maniyath4-Sep-13 20:31
Praveen Maniyath4-Sep-13 20:31 
GeneralRe: Any Ideas or feedback for a C# final year programming project? Pin
AmitGajjar4-Sep-13 21:03
professionalAmitGajjar4-Sep-13 21:03 
GeneralRe: Any Ideas or feedback for a C# final year programming project? Pin
Praveen Maniyath4-Sep-13 23:49
Praveen Maniyath4-Sep-13 23:49 
GeneralRe: Any Ideas or feedback for a C# final year programming project? Pin
Pete O'Hanlon4-Sep-13 21:11
mvePete O'Hanlon4-Sep-13 21:11 
GeneralRe: Any Ideas or feedback for a C# final year programming project? Pin
AmitGajjar4-Sep-13 21:15
professionalAmitGajjar4-Sep-13 21:15 
GeneralRe: Any Ideas or feedback for a C# final year programming project? Pin
Praveen Maniyath4-Sep-13 23:52
Praveen Maniyath4-Sep-13 23:52 
GeneralRe: Any Ideas or feedback for a C# final year programming project? Pin
Pete O'Hanlon5-Sep-13 0:39
mvePete O'Hanlon5-Sep-13 0:39 
AnswerRe: Any Ideas or feedback for a C# final year programming project? Pin
AmitGajjar4-Sep-13 21:12
professionalAmitGajjar4-Sep-13 21:12 
AnswerRe: Any Ideas or feedback for a C# final year programming project? Pin
V.6-Sep-13 1:56
professionalV.6-Sep-13 1:56 

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.