Click here to Skip to main content
15,892,927 members
Home / Discussions / C#
   

C#

 
Questionusing Directive clarification Pin
But_Im_a_Lady23-Jul-08 0:58
But_Im_a_Lady23-Jul-08 0:58 
AnswerRe: using Directive clarification Pin
Luc Pattyn23-Jul-08 1:06
sitebuilderLuc Pattyn23-Jul-08 1:06 
GeneralRe: using Directive clarification Pin
But_Im_a_Lady23-Jul-08 1:11
But_Im_a_Lady23-Jul-08 1:11 
GeneralRe: using Directive clarification Pin
Luc Pattyn23-Jul-08 1:27
sitebuilderLuc Pattyn23-Jul-08 1:27 
QuestionUsing Threads in Windows Forms Pin
Megidolaon23-Jul-08 0:35
Megidolaon23-Jul-08 0:35 
AnswerRe: Using Threads in Windows Forms Pin
DaveyM6923-Jul-08 0:53
professionalDaveyM6923-Jul-08 0:53 
AnswerRe: Using Threads in Windows Forms Pin
MrKalinka23-Jul-08 1:00
MrKalinka23-Jul-08 1:00 
AnswerRe: Using Threads in Windows Forms Pin
Megidolaon24-Jul-08 4:28
Megidolaon24-Jul-08 4:28 
Thanks!
I've tried it and it seems the BackgroundWorker is indeed a good solution.

It's just a hassle, because during the test the worker thread needs to access a variety of lists and update several controls on the form.
I'm using ArrayLists as arguments to provide data for the worker thread and send the results of it to the form.

It's a bit awkward as I have to cast not only the argument object but also the content, is there any better solution that is more type safe?
GeneralRe: Using Threads in Windows Forms Pin
DaveyM6925-Jul-08 11:50
professionalDaveyM6925-Jul-08 11:50 
AnswerRe: Using Threads in Windows Forms Pin
Megidolaon29-Jul-08 21:46
Megidolaon29-Jul-08 21:46 
Questionpivot table not showing any data Pin
Shuaib wasif khan23-Jul-08 0:18
Shuaib wasif khan23-Jul-08 0:18 
AnswerRepost of earlier questions. Pin
Pete O'Hanlon23-Jul-08 2:09
mvePete O'Hanlon23-Jul-08 2:09 
QuestionXML comparision Pin
Princeyuva23-Jul-08 0:16
Princeyuva23-Jul-08 0:16 
AnswerRe: XML comparision Pin
led mike23-Jul-08 5:03
led mike23-Jul-08 5:03 
Questionchecked dateTimePicker Pin
kaustavG23-Jul-08 0:13
kaustavG23-Jul-08 0:13 
AnswerRe: checked dateTimePicker Pin
DaveyM6923-Jul-08 0:19
professionalDaveyM6923-Jul-08 0:19 
AnswerRe: checked dateTimePicker Pin
Aaron849823-Jul-08 5:27
Aaron849823-Jul-08 5:27 
Questionretrieving the flag value of one form in other Pin
preetpal23-Jul-08 0:00
preetpal23-Jul-08 0:00 
AnswerRe: retrieving the flag value of one form in other Pin
DaveyM6923-Jul-08 0:12
professionalDaveyM6923-Jul-08 0:12 
AnswerRe: retrieving the flag value of one form in other Pin
Elroy Dsilva23-Jul-08 0:57
Elroy Dsilva23-Jul-08 0:57 
QuestionGlade , monodevelop or sharpdevelop Pin
adnane22-Jul-08 23:58
adnane22-Jul-08 23:58 
AnswerRe: Glade , monodevelop or sharpdevelop Pin
Simon P Stevens23-Jul-08 1:57
Simon P Stevens23-Jul-08 1:57 
GeneralRe: Glade , monodevelop or sharpdevelop Pin
adnane24-Jul-08 9:37
adnane24-Jul-08 9:37 
GeneralRe: Glade , monodevelop or sharpdevelop Pin
Simon P Stevens24-Jul-08 10:34
Simon P Stevens24-Jul-08 10:34 
QuestionMAGIC: modifying a class memeber affects another member, HOW? Pin
Muhammad Gouda22-Jul-08 23:43
Muhammad Gouda22-Jul-08 23:43 

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.