Click here to Skip to main content
15,886,422 members
Home / Discussions / C#
   

C#

 
GeneralRe: Framework Version - using 2.0 instead of 3.5 Pin
chrisx5120-Jul-09 5:38
chrisx5120-Jul-09 5:38 
GeneralRe: Framework Version - using 2.0 instead of 3.5 Pin
jo H20-Jul-09 6:18
jo H20-Jul-09 6:18 
GeneralRe: Framework Version - using 2.0 instead of 3.5 Pin
chrisx5120-Jul-09 21:39
chrisx5120-Jul-09 21:39 
AnswerRe: Framework Version - using 2.0 instead of 3.5 Pin
Wendelldh21-Jul-09 3:58
Wendelldh21-Jul-09 3:58 
GeneralRe: Framework Version - using 2.0 instead of 3.5 Pin
chrisx5121-Jul-09 4:47
chrisx5121-Jul-09 4:47 
GeneralRe: Framework Version - using 2.0 instead of 3.5 Pin
Wendelldh21-Jul-09 5:09
Wendelldh21-Jul-09 5:09 
Questionexecute powershell script on remote machine Pin
arkiboys20-Jul-09 3:38
arkiboys20-Jul-09 3:38 
QuestionWindows Form does not show if created in other thread Pin
gehbitte20-Jul-09 3:33
gehbitte20-Jul-09 3:33 
Hi,

I have the Class 'Buy.cs'. The method 'openBuyWindow' contains code to create and open a new Windows Form.

In the Program.cs class following code works correctly and the new Form is shown:

Buy b = new Buy();
     b.openBuyWindow();


In the class Buy.cs I also have the method 'buy'. The method 'buy' calls 'openBuyWindow'. If i start the method 'buy' via threading, all procedures are done correctly, but the new Form is not shown:

Buy buy = new Buy();
Thread t1 = new Thread(new ThreadStart(buy.buy));
t1.Start();


Why?

Any suggestions appreciated Smile | :)
AnswerRe: Windows Form does not show if created in other thread Pin
stancrm20-Jul-09 3:39
stancrm20-Jul-09 3:39 
GeneralRe: Windows Form does not show if created in other thread Pin
gehbitte20-Jul-09 4:27
gehbitte20-Jul-09 4:27 
GeneralRe: Windows Form does not show if created in other thread Pin
DaveyM6920-Jul-09 4:41
professionalDaveyM6920-Jul-09 4:41 
GeneralRe: Windows Form does not show if created in other thread Pin
gehbitte20-Jul-09 4:59
gehbitte20-Jul-09 4:59 
GeneralRe: Windows Form does not show if created in other thread Pin
gehbitte20-Jul-09 5:04
gehbitte20-Jul-09 5:04 
GeneralRe: Windows Form does not show if created in other thread Pin
gehbitte20-Jul-09 5:40
gehbitte20-Jul-09 5:40 
GeneralRe: Windows Form does not show if created in other thread Pin
DaveyM6920-Jul-09 7:51
professionalDaveyM6920-Jul-09 7:51 
GeneralRe: Windows Form does not show if created in other thread Pin
gehbitte20-Jul-09 21:41
gehbitte20-Jul-09 21:41 
AnswerRe: Windows Form does not show if created in other thread Pin
Luc Pattyn20-Jul-09 3:51
sitebuilderLuc Pattyn20-Jul-09 3:51 
QuestionHorizontal ScrollBar does not work in the TextBox control... anymore. Pin
iscript20-Jul-09 3:21
iscript20-Jul-09 3:21 
AnswerRe: Horizontal ScrollBar does not work in the TextBox control... anymore. Pin
DaveyM6920-Jul-09 3:31
professionalDaveyM6920-Jul-09 3:31 
GeneralRe: Horizontal ScrollBar does not work in the TextBox control... anymore. Pin
iscript20-Jul-09 3:39
iscript20-Jul-09 3:39 
AnswerRe: Horizontal ScrollBar does not work in the TextBox control... anymore. Pin
stancrm20-Jul-09 3:31
stancrm20-Jul-09 3:31 
GeneralRe: Horizontal ScrollBar does not work in the TextBox control... anymore. [modified] Pin
iscript20-Jul-09 3:43
iscript20-Jul-09 3:43 
GeneralRe: Horizontal ScrollBar does not work in the TextBox control... anymore. Pin
Luc Pattyn20-Jul-09 3:53
sitebuilderLuc Pattyn20-Jul-09 3:53 
GeneralRe: Horizontal ScrollBar does not work in the TextBox control... anymore. Pin
iscript20-Jul-09 4:28
iscript20-Jul-09 4:28 
GeneralRe: Horizontal ScrollBar does not work in the TextBox control... anymore. Pin
Luc Pattyn20-Jul-09 4:45
sitebuilderLuc Pattyn20-Jul-09 4:45 

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.