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

C#

 
AnswerRe: scan using Twain in c#.net Pin
DaveyM6920-Jul-09 4:17
professionalDaveyM6920-Jul-09 4:17 
AnswerRe: scan using Twain in c#.net Pin
DaveyM6920-Jul-09 4:31
professionalDaveyM6920-Jul-09 4:31 
GeneralRe: scan using Twain in c#.net Pin
Luc Pattyn20-Jul-09 4:50
sitebuilderLuc Pattyn20-Jul-09 4:50 
GeneralRe: scan using Twain in c#.net Pin
DaveyM6920-Jul-09 5:18
professionalDaveyM6920-Jul-09 5:18 
Questionread a excel and show it in datagrid c# Pin
Bird3720-Jul-09 4:07
Bird3720-Jul-09 4:07 
AnswerRe: read a excel and show it in datagrid c# Pin
Adam R Harris20-Jul-09 5:53
Adam R Harris20-Jul-09 5:53 
GeneralRe: read a excel and show it in datagrid c# Pin
Wendelldh21-Jul-09 3:52
Wendelldh21-Jul-09 3:52 
GeneralRe: read a excel and show it in datagrid c# Pin
Adam R Harris21-Jul-09 6:20
Adam R Harris21-Jul-09 6:20 
QuestionLPR failed after 10 jobs Pin
balu1234520-Jul-09 4:06
balu1234520-Jul-09 4:06 
QuestionFramework Version - using 2.0 instead of 3.5 Pin
chrisx5120-Jul-09 3:43
chrisx5120-Jul-09 3:43 
AnswerRe: Framework Version - using 2.0 instead of 3.5 Pin
jo H20-Jul-09 4:52
jo H20-Jul-09 4:52 
GeneralRe: Framework Version - using 2.0 instead of 3.5 Pin
chrisx5120-Jul-09 4:59
chrisx5120-Jul-09 4:59 
GeneralRe: Framework Version - using 2.0 instead of 3.5 Pin
mypicturefaded20-Jul-09 5:03
mypicturefaded20-Jul-09 5:03 
GeneralRe: Framework Version - using 2.0 instead of 3.5 Pin
chrisx5120-Jul-09 5:27
chrisx5120-Jul-09 5:27 
GeneralRe: Framework Version - using 2.0 instead of 3.5 Pin
jo H20-Jul-09 5:33
jo H20-Jul-09 5:33 
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 

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.