Click here to Skip to main content
15,893,487 members
Home / Discussions / C#
   

C#

 
GeneralRe: Toolbars, Toolbars, Toolbars Pin
romeok1-Sep-03 15:15
romeok1-Sep-03 15:15 
GeneralMeasureString returns incorrect sizeF! Pin
FruitBatInShades5-Jun-03 0:46
FruitBatInShades5-Jun-03 0:46 
GeneralRe: MeasureString returns incorrect sizeF! Pin
KingTermite5-Jun-03 1:48
KingTermite5-Jun-03 1:48 
GeneralRe: MeasureString returns incorrect sizeF! Pin
FruitBatInShades5-Jun-03 8:11
FruitBatInShades5-Jun-03 8:11 
GeneralRe: MeasureString returns incorrect sizeF! Pin
FruitBatInShades5-Jun-03 11:05
FruitBatInShades5-Jun-03 11:05 
GeneralRe: MeasureString returns incorrect sizeF! Pin
FruitBatInShades6-Jun-03 3:42
FruitBatInShades6-Jun-03 3:42 
Generalunicode searching Pin
grv5754-Jun-03 23:00
grv5754-Jun-03 23:00 
Generalstreaming file over webservice Pin
SimonS4-Jun-03 22:55
SimonS4-Jun-03 22:55 
GeneralRe: streaming file over webservice Pin
SimonS4-Jun-03 23:58
SimonS4-Jun-03 23:58 
QuestionPossible to Embed cmd.exe / command prompt control for C# Windows Forms? Pin
imoz4-Jun-03 17:06
imoz4-Jun-03 17:06 
AnswerRe: Possible to Embed cmd.exe / command prompt control for C# Windows Forms? Pin
Daniel Turini5-Jun-03 7:01
Daniel Turini5-Jun-03 7:01 
GeneralRe: Possible to Embed cmd.exe / command prompt control for C# Windows Forms? Pin
imoz5-Jun-03 17:56
imoz5-Jun-03 17:56 
GeneralRe: Possible to Embed cmd.exe / command prompt control for C# Windows Forms? Pin
Daniel Turini6-Jun-03 4:01
Daniel Turini6-Jun-03 4:01 
GeneralSingle TreeView , different content with different event handling (events) Pin
Chris Richner4-Jun-03 12:56
Chris Richner4-Jun-03 12:56 
GeneralBackground mode and GDI+ Pin
Patrick Lassalle4-Jun-03 12:06
Patrick Lassalle4-Jun-03 12:06 
Generalbyte[] to int32 conversion Pin
stonee744-Jun-03 11:43
stonee744-Jun-03 11:43 
GeneralRe: byte[] to int32 conversion Pin
dynamic4-Jun-03 12:49
dynamic4-Jun-03 12:49 
GeneralRe: byte[] to int32 conversion Pin
stonee744-Jun-03 21:24
stonee744-Jun-03 21:24 
GeneralRe: byte[] to int32 conversion Pin
Paresh Gheewala4-Jun-03 13:11
Paresh Gheewala4-Jun-03 13:11 
GeneralRe: byte[] to int32 conversion Pin
stonee744-Jun-03 22:05
stonee744-Jun-03 22:05 
GeneralSet SelectedValue in combobox Pin
haezeban4-Jun-03 9:10
haezeban4-Jun-03 9:10 
Hey,

I have a Windows form apllication with form1 and form2.

Form1 :
Combobox1 : bind to a dataset and have a displaymemeber
and valuemember.
Button1 : to go to form2 and also save the
combobox1.selectedvalue in a static variable string (ex.
val).

Form2 :
Combobox2 : bind to the same dataset, dislaymember and
valuemeber like combobox1 (When i checked it have the
same contents like combobox1).

But here I want to set the selectedvalue = val (the
selectedvalue of Form1.combobox1 saved in memory).

I'am sure that combobox2 have a selectedvalue=val.
But after combobox2.SelectedValue = val; The
selectedvalue of combobox2 stays null.

I don't know why.
Somebody knows the reason?

Set the selectedvalue of a combobox works fine, if i stay
on the same form, with the same combo. (So the combo is not constructed in the initialisecomponent again)

Nic

GeneralRe: Set SelectedValue in combobox Pin
haezeban4-Jun-03 11:07
haezeban4-Jun-03 11:07 
GeneralAccess Assemby in Console App Pin
haezeban4-Jun-03 9:07
haezeban4-Jun-03 9:07 
Generalremoving file lock Pin
grv5754-Jun-03 8:57
grv5754-Jun-03 8:57 
GeneralCombo Boxes in Windows Forms (Data Binding) Pin
codycaillet4-Jun-03 8:21
codycaillet4-Jun-03 8:21 

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.