Click here to Skip to main content
15,900,461 members
Home / Discussions / C#
   

C#

 
GeneralRe: Error:unable to cast object of type Pin
mjawadkhatri9-Nov-09 18:32
mjawadkhatri9-Nov-09 18:32 
QuestionCan't get depth chart to display Pin
rooster21549-Nov-09 18:09
rooster21549-Nov-09 18:09 
QuestionDataGridViewComboBoxColumn not showing values Pin
sachinkalse9-Nov-09 17:42
sachinkalse9-Nov-09 17:42 
QuestionHow to select rectangles and return value from the selected rectangles? Pin
Zar Ni9-Nov-09 17:19
Zar Ni9-Nov-09 17:19 
AnswerRe: How to select rectangles and return value from the selected rectangles? Pin
Christian Graus9-Nov-09 17:23
protectorChristian Graus9-Nov-09 17:23 
Questiontreeview question? Pin
miss YY9-Nov-09 15:33
miss YY9-Nov-09 15:33 
AnswerRe: treeview question? Pin
PIEBALDconsult9-Nov-09 15:35
mvePIEBALDconsult9-Nov-09 15:35 
QuestionHow to design? [modified] Pin
konglx sir9-Nov-09 14:47
konglx sir9-Nov-09 14:47 
AnswerRe: How to design? Pin
Christian Graus9-Nov-09 15:23
protectorChristian Graus9-Nov-09 15:23 
AnswerRe: How to design? Pin
PIEBALDconsult9-Nov-09 15:37
mvePIEBALDconsult9-Nov-09 15:37 
QuestionHow to call List[int] in other class [modified] Pin
laurisp9-Nov-09 13:57
laurisp9-Nov-09 13:57 
AnswerRe: How to call List[int] in other class Pin
Julianne_juju9-Nov-09 19:19
Julianne_juju9-Nov-09 19:19 
GeneralRe: How to call List[int] in other class Pin
laurisp9-Nov-09 21:29
laurisp9-Nov-09 21:29 
Questionnullrefererence exception Pin
hobbsjas9-Nov-09 13:31
hobbsjas9-Nov-09 13:31 
AnswerRe: nullrefererence exception Pin
Luc Pattyn9-Nov-09 14:33
sitebuilderLuc Pattyn9-Nov-09 14:33 
GeneralRe: nullrefererence exception Pin
hobbsjas9-Nov-09 15:26
hobbsjas9-Nov-09 15:26 
GeneralRe: nullrefererence exception Pin
Luc Pattyn9-Nov-09 15:31
sitebuilderLuc Pattyn9-Nov-09 15:31 
GeneralRe: nullrefererence exception Pin
hobbsjas9-Nov-09 15:53
hobbsjas9-Nov-09 15:53 
GeneralRe: nullrefererence exception Pin
N a v a n e e t h9-Nov-09 16:02
N a v a n e e t h9-Nov-09 16:02 
GeneralRe: nullrefererence exception Pin
Luc Pattyn9-Nov-09 16:05
sitebuilderLuc Pattyn9-Nov-09 16:05 
OK, pass some Control on your Form, or the Form itself.
And change the "functional part" to directly set the GUI part you need, assuming it is always the same.

BTW: Navaneeth's approach is valid too, it is probably easier than mine for BackgroundWorker stuff; it does not exist for general Threads though.
Suggestion: Use the ReportProgress() overload with a userState parameter to pass the string you want displayed.

PS: once you got it working, make sure to apply my original remark (5) for performance.

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


GeneralRe: nullrefererence exception Pin
N a v a n e e t h9-Nov-09 15:59
N a v a n e e t h9-Nov-09 15:59 
GeneralRe: nullrefererence exception Pin
hobbsjas10-Nov-09 9:25
hobbsjas10-Nov-09 9:25 
QuestionInconsistent accessibility: property type is less accessible than property Pin
Kevin Marois9-Nov-09 13:28
professionalKevin Marois9-Nov-09 13:28 
AnswerRe: Inconsistent accessibility: property type is less accessible than property Pin
J$9-Nov-09 13:36
J$9-Nov-09 13:36 
GeneralRe: Inconsistent accessibility: property type is less accessible than property Pin
Kevin Marois9-Nov-09 13:49
professionalKevin Marois9-Nov-09 13:49 

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.