Click here to Skip to main content
15,915,703 members
Home / Discussions / C#
   

C#

 
AnswerRe: string range Pin
N a v a n e e t h27-Aug-08 20:51
N a v a n e e t h27-Aug-08 20:51 
AnswerRe: string range Pin
Blue_Boy28-Aug-08 0:08
Blue_Boy28-Aug-08 0:08 
AnswerRe: string range Pin
Guffa28-Aug-08 2:27
Guffa28-Aug-08 2:27 
QuestionCapture Video Pin
M Riaz Bashir27-Aug-08 19:15
M Riaz Bashir27-Aug-08 19:15 
AnswerRe: Capture Video Pin
leppie27-Aug-08 21:25
leppie27-Aug-08 21:25 
GeneralHide items in a list box but still be able to reference them later Pin
vfrrick27-Aug-08 15:42
vfrrick27-Aug-08 15:42 
GeneralRe: Hide items in a list box but still be able to reference them later Pin
N a v a n e e t h27-Aug-08 19:35
N a v a n e e t h27-Aug-08 19:35 
GeneralRe: Hide items in a list box but still be able to reference them later Pin
DaveyM6927-Aug-08 23:23
professionalDaveyM6927-Aug-08 23:23 
It's not very clear what you want to do.

If you want to add all items but have no text for items that match a particular ID then you have two options. Both require overriding the ToString method of the objects you are adding to return string.Empty for the ones you want empty.

You can then either add the object itself to the listbox (handy cause you can cast back to the object itself later)
or
When you add the items, call the ToString method and use the ID property to set the Tag.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Expect everything to be hard and then enjoy the things that come easy. (code-frog)

GeneralRe: Hide items in a list box but still be able to reference them later Pin
vfrrick27-Aug-08 23:31
vfrrick27-Aug-08 23:31 
GeneralRe: Hide items in a list box but still be able to reference them later Pin
DaveyM6927-Aug-08 23:53
professionalDaveyM6927-Aug-08 23:53 
GeneralRe: Hide items in a list box but still be able to reference them later Pin
#realJSOP28-Aug-08 3:23
professional#realJSOP28-Aug-08 3:23 
QuestionUsing Events? Pin
Donosguy27-Aug-08 14:43
Donosguy27-Aug-08 14:43 
AnswerRe: Using Events? Pin
N a v a n e e t h27-Aug-08 19:20
N a v a n e e t h27-Aug-08 19:20 
Questionqueue method to print out Pin
Angelinna27-Aug-08 12:17
Angelinna27-Aug-08 12:17 
AnswerRe: queue method to print out Pin
JoeRip27-Aug-08 13:02
JoeRip27-Aug-08 13:02 
GeneralRe: queue method to print out Pin
Angelinna27-Aug-08 19:24
Angelinna27-Aug-08 19:24 
GeneralRe: queue method to print out Pin
JoeRip27-Aug-08 19:28
JoeRip27-Aug-08 19:28 
GeneralRe: queue method to print out Pin
Angelinna27-Aug-08 20:08
Angelinna27-Aug-08 20:08 
QuestionWhat is my interim pattern for readonly structs Pin
JoeRip27-Aug-08 12:15
JoeRip27-Aug-08 12:15 
AnswerRe: What is my interim pattern for readonly structs Pin
PIEBALDconsult27-Aug-08 13:25
mvePIEBALDconsult27-Aug-08 13:25 
GeneralRe: What is my interim pattern for readonly structs Pin
JoeRip27-Aug-08 13:37
JoeRip27-Aug-08 13:37 
GeneralRe: What is my interim pattern for readonly structs Pin
JoeRip27-Aug-08 14:40
JoeRip27-Aug-08 14:40 
GeneralRe: What is my interim pattern for readonly structs Pin
PIEBALDconsult27-Aug-08 16:07
mvePIEBALDconsult27-Aug-08 16:07 
GeneralRe: What is my interim pattern for readonly structs Pin
JoeRip27-Aug-08 17:10
JoeRip27-Aug-08 17:10 
GeneralRe: What is my interim pattern for readonly structs Pin
N a v a n e e t h27-Aug-08 17:26
N a v a n e e t h27-Aug-08 17:26 

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.