Click here to Skip to main content
16,010,268 members
Home / Discussions / C#
   

C#

 
GeneralRe: IDE hangs up on executing ! Pin
Anonymous20-Aug-02 4:15
Anonymous20-Aug-02 4:15 
GeneralRe: IDE hangs up on executing ! Pin
James T. Johnson20-Aug-02 5:42
James T. Johnson20-Aug-02 5:42 
GeneralRe: IDE hangs up on executing ! Pin
EdgarBM20-Aug-02 23:04
EdgarBM20-Aug-02 23:04 
GeneralCombobox and SetItemData Pin
Michael P Butler19-Aug-02 23:51
Michael P Butler19-Aug-02 23:51 
GeneralRe: Combobox and SetItemData Pin
Nnamdi Onyeyiri20-Aug-02 0:02
Nnamdi Onyeyiri20-Aug-02 0:02 
GeneralRe: Combobox and SetItemData Pin
Michael P Butler20-Aug-02 0:25
Michael P Butler20-Aug-02 0:25 
GeneralRe: Combobox and SetItemData Pin
Nnamdi Onyeyiri20-Aug-02 0:53
Nnamdi Onyeyiri20-Aug-02 0:53 
GeneralRe: Combobox and SetItemData Pin
Russell Morris20-Aug-02 3:57
Russell Morris20-Aug-02 3:57 
Make the object you want to associate with the list item override the ToString() method. In ToString(), write code that will spit out the string that represents that object in the list box. Then just add your objects to the list (or combo) via the Items.Add() method. Then use the list (or combo)'s .SelectedItem property to get a reference to the object that is selected.

--
Russell Morris

"Have you gone mad Frink? Put down that science pole!"
GeneralRe: Combobox and SetItemData Pin
Michael P Butler20-Aug-02 4:19
Michael P Butler20-Aug-02 4:19 
GeneralC# and COM InterOp problems Pin
Rodney S. Foley19-Aug-02 21:03
Rodney S. Foley19-Aug-02 21:03 
GeneralRe: C# and COM InterOp problems Pin
Sijin19-Aug-02 21:15
Sijin19-Aug-02 21:15 
GeneralRe: C# and COM InterOp problems Pin
Stephane Rodriguez.19-Aug-02 21:45
Stephane Rodriguez.19-Aug-02 21:45 
GeneralRe: C# and COM InterOp problems Pin
leppie20-Aug-02 2:14
leppie20-Aug-02 2:14 
GeneralRe: C# and COM InterOp problems Pin
Stephane Rodriguez.20-Aug-02 3:25
Stephane Rodriguez.20-Aug-02 3:25 
GeneralRe: C# and COM InterOp problems Pin
leppie20-Aug-02 4:13
leppie20-Aug-02 4:13 
GeneralRe: C# and COM InterOp problems Pin
Stephane Rodriguez.20-Aug-02 4:49
Stephane Rodriguez.20-Aug-02 4:49 
GeneralRe: C# and COM InterOp problems Pin
Stephane Rodriguez.20-Aug-02 4:52
Stephane Rodriguez.20-Aug-02 4:52 
GeneralRe: C# and COM InterOp problems Pin
leppie20-Aug-02 5:02
leppie20-Aug-02 5:02 
GeneralRe: C# and COM InterOp problems Pin
Stephane Rodriguez.20-Aug-02 6:13
Stephane Rodriguez.20-Aug-02 6:13 
GeneralRe: C# and COM InterOp problems Pin
leppie20-Aug-02 6:50
leppie20-Aug-02 6:50 
GeneralRe: C# and COM InterOp problems Pin
Stephane Rodriguez.20-Aug-02 7:29
Stephane Rodriguez.20-Aug-02 7:29 
GeneralRe: C# and COM InterOp problems Pin
James T. Johnson20-Aug-02 7:32
James T. Johnson20-Aug-02 7:32 
GeneralRe: C# and COM InterOp problems Pin
leppie20-Aug-02 7:40
leppie20-Aug-02 7:40 
GeneralRe: C# and COM InterOp problems Pin
James T. Johnson20-Aug-02 7:47
James T. Johnson20-Aug-02 7:47 
GeneralRe: C# and COM InterOp problems Pin
leppie20-Aug-02 7:57
leppie20-Aug-02 7:57 

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.