Click here to Skip to main content
15,909,530 members
Home / Discussions / C#
   

C#

 
AnswerRe: Adding Thumbnail Images to a listbox control Pin
Luc Pattyn26-Oct-07 13:12
sitebuilderLuc Pattyn26-Oct-07 13:12 
GeneralRe: Adding Thumbnail Images to a listbox control Pin
Dino2Dino26-Oct-07 13:19
Dino2Dino26-Oct-07 13:19 
GeneralRe: Adding Thumbnail Images to a listbox control Pin
Luc Pattyn26-Oct-07 14:04
sitebuilderLuc Pattyn26-Oct-07 14:04 
GeneralRe: Adding Thumbnail Images to a listbox control Pin
Dino2Dino27-Oct-07 8:49
Dino2Dino27-Oct-07 8:49 
QuestionProperties page of an Image Pin
Dino2Dino26-Oct-07 12:46
Dino2Dino26-Oct-07 12:46 
AnswerRe: Properties page of an Image Pin
TJoe27-Oct-07 13:51
TJoe27-Oct-07 13:51 
GeneralRe: Properties page of an Image Pin
Dino2Dino30-Oct-07 8:32
Dino2Dino30-Oct-07 8:32 
QuestionRunning a new form inside BackgroundWorker DoWork method Pin
Laex26-Oct-07 10:00
Laex26-Oct-07 10:00 
I was testing BackgroundWorker and ran into this problem.

<br />
BackgroundWorker bw = new BackgroundWorker();<br />
            <br />
bw.DoWork += new DoWorkEventHandler(bw_DoWork);<br />
bw.RunWorkerAsync();<br />
<br />
void bw_DoWork(object sender, DoWorkEventArgs e)<br />
{<br />
  Form3 f  = new Form3(); //A Windows Form that exists in the solution<br />
  f.Show();<br />
}<br />


The Form f, is unresponsive. How can this problem be solved?

Using this code though, the form runs fine.
<br />
void bw_DoWork(object sender, DoWorkEventArgs e)<br />
{<br />
  Application.Run(new Form3());  <br />
}<br />


Thanks.

The next great innovation - A built-in coffee maker in your computer table.
AnswerRe: Running a new form inside BackgroundWorker DoWork method - Solved Pin
Laex26-Oct-07 10:32
Laex26-Oct-07 10:32 
AnswerRe: Running a new form inside BackgroundWorker DoWork method Pin
Dave Kreskowiak26-Oct-07 10:33
mveDave Kreskowiak26-Oct-07 10:33 
GeneralRe: Running a new form inside BackgroundWorker DoWork method Pin
Laex26-Oct-07 11:18
Laex26-Oct-07 11:18 
QuestionReflection Pin
ilango gandhi26-Oct-07 6:52
ilango gandhi26-Oct-07 6:52 
AnswerRe: Reflection Pin
pmarfleet26-Oct-07 6:59
pmarfleet26-Oct-07 6:59 
AnswerRe: Reflection Pin
il_masacratore26-Oct-07 12:17
il_masacratore26-Oct-07 12:17 
QuestionCan I access a user form object programmatically? Pin
humblepgmr26-Oct-07 6:50
humblepgmr26-Oct-07 6:50 
AnswerRe: Can I access a user form object programmatically? Pin
Anthony Mushrow26-Oct-07 7:08
professionalAnthony Mushrow26-Oct-07 7:08 
GeneralRe: Can I access a user form object programmatically? Pin
humblepgmr26-Oct-07 8:22
humblepgmr26-Oct-07 8:22 
GeneralRe: Can I access a user form object programmatically? Pin
Michael Potter26-Oct-07 8:35
Michael Potter26-Oct-07 8:35 
GeneralRe: Can I access a user form object programmatically? Pin
humblepgmr26-Oct-07 10:30
humblepgmr26-Oct-07 10:30 
GeneralRe: Can I access a user form object programmatically? Pin
Michael Potter26-Oct-07 12:00
Michael Potter26-Oct-07 12:00 
QuestionClient is Not Receiving Data though Server sends it Pin
nayabsiddiqi26-Oct-07 5:40
nayabsiddiqi26-Oct-07 5:40 
QuestionIs there a method to change a text box back to it's original state? Pin
humblepgmr26-Oct-07 5:19
humblepgmr26-Oct-07 5:19 
AnswerRe: Is there a method to change a text box back to it's original state? Pin
Dave Kreskowiak26-Oct-07 7:03
mveDave Kreskowiak26-Oct-07 7:03 
AnswerRe: Is there a method to change a text box back to it's original state? Pin
Luc Pattyn26-Oct-07 12:34
sitebuilderLuc Pattyn26-Oct-07 12:34 
GeneralRe: Is there a method to change a text box back to it's original state? Pin
Dave Kreskowiak26-Oct-07 12:36
mveDave Kreskowiak26-Oct-07 12:36 

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.