Click here to Skip to main content
15,916,378 members
Home / Discussions / C#
   

C#

 
GeneralRe: Making a .DLL out of C# project and using it in VC++ Pin
lechium12120-Jun-07 14:14
lechium12120-Jun-07 14:14 
QuestionSQL Server 2005 and C#.Net Pin
Software_Specialist20-Jun-07 9:33
Software_Specialist20-Jun-07 9:33 
AnswerRe: SQL Server 2005 and C#.Net Pin
Not Active20-Jun-07 9:42
mentorNot Active20-Jun-07 9:42 
AnswerRe: SQL Server 2005 and C#.Net Pin
Christian Graus20-Jun-07 12:47
protectorChristian Graus20-Jun-07 12:47 
QuestionTake Picture using Digital Camera in C# Pin
salman_syed_0120-Jun-07 9:32
salman_syed_0120-Jun-07 9:32 
AnswerRe: Take Picture using Digital Camera in C# Pin
led mike20-Jun-07 10:01
led mike20-Jun-07 10:01 
AnswerRe: Take Picture using Digital Camera in C# Pin
Christian Graus20-Jun-07 12:05
protectorChristian Graus20-Jun-07 12:05 
QuestionDataGridViewComboBoxColumn Values Pin
~~~Johnny~~~20-Jun-07 9:07
~~~Johnny~~~20-Jun-07 9:07 
AnswerRe: DataGridViewComboBoxColumn Values Pin
~~~Johnny~~~20-Jun-07 12:38
~~~Johnny~~~20-Jun-07 12:38 
Questiontable like excel Pin
daniel9920-Jun-07 6:53
daniel9920-Jun-07 6:53 
AnswerRe: table like excel Pin
joe carbone20-Jun-07 7:46
joe carbone20-Jun-07 7:46 
QuestionHelp with random numbers Pin
amatbrewer20-Jun-07 6:16
amatbrewer20-Jun-07 6:16 
AnswerRe: Help with random numbers Pin
led mike20-Jun-07 6:25
led mike20-Jun-07 6:25 
GeneralRe: Help with random numbers Pin
amatbrewer20-Jun-07 6:28
amatbrewer20-Jun-07 6:28 
GeneralRe: Help with random numbers Pin
Luc Pattyn20-Jun-07 6:34
sitebuilderLuc Pattyn20-Jun-07 6:34 
GeneralRe: Help with random numbers Pin
led mike20-Jun-07 6:37
led mike20-Jun-07 6:37 
GeneralRe: Help with random numbers Pin
amatbrewer20-Jun-07 6:38
amatbrewer20-Jun-07 6:38 
AnswerRe: Help with random numbers Pin
Thomas Stockwell20-Jun-07 12:56
professionalThomas Stockwell20-Jun-07 12:56 
QuestionDefault value selected in Combo Box after another form closes. Pin
bhoomi kakaiya20-Jun-07 5:45
bhoomi kakaiya20-Jun-07 5:45 
AnswerRe: Default value selected in Combo Box after another form closes. Pin
~~~Johnny~~~20-Jun-07 12:37
~~~Johnny~~~20-Jun-07 12:37 
GeneralRe: Default value selected in Combo Box after another form closes. Pin
atulonweb@hotmail.com20-Jun-07 21:27
atulonweb@hotmail.com20-Jun-07 21:27 
GeneralRe: Default value selected in Combo Box after another form closes. Pin
bhoomi kakaiya21-Jun-07 4:27
bhoomi kakaiya21-Jun-07 4:27 
AnswerRe: Default value selected in Combo Box after another form closes. Pin
atulonweb@hotmail.com20-Jun-07 21:31
atulonweb@hotmail.com20-Jun-07 21:31 
GeneralRe: Default value selected in Combo Box after another form closes. Pin
bhoomi kakaiya21-Jun-07 4:24
bhoomi kakaiya21-Jun-07 4:24 
GeneralRe: Default value selected in Combo Box after another form closes. Pin
~~~Johnny~~~21-Jun-07 6:20
~~~Johnny~~~21-Jun-07 6:20 
Not sure why exactely but this is not the only strange behavior I see.

I now that forms run on the STA threading model so a form that doesn't have the control is actually not "running". I think that when a form regains the control, it reinitilizes partly its controls, so behaviors like this are to be expected. I learned with time to be very carefull about this. There must be reading to do on this but I never took the time to do it. try to at least understand the difference between STA and MTA, it will answer many of your questions on forms.

Good luck Wink | ;)

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.