Click here to Skip to main content
15,914,820 members
Home / Discussions / C#
   

C#

 
GeneralRe: Insert a line into the begining of the text file Pin
Dave Kreskowiak7-Jan-05 3:10
mveDave Kreskowiak7-Jan-05 3:10 
GeneralBest way to accomplish... Pin
Matt Newman6-Jan-05 15:03
Matt Newman6-Jan-05 15:03 
GeneralRe: Best way to accomplish... Pin
Christian Graus6-Jan-05 15:09
protectorChristian Graus6-Jan-05 15:09 
GeneralRe: Best way to accomplish... Pin
Matt Newman6-Jan-05 15:12
Matt Newman6-Jan-05 15:12 
GeneralRe: Best way to accomplish... Pin
Christian Graus6-Jan-05 21:14
protectorChristian Graus6-Jan-05 21:14 
GeneralRe: Best way to accomplish... Pin
Vega026-Jan-05 15:33
Vega026-Jan-05 15:33 
GeneralRe: Best way to accomplish... Pin
Matt Newman6-Jan-05 16:31
Matt Newman6-Jan-05 16:31 
GeneralRe: Best way to accomplish... Pin
Vega026-Jan-05 16:54
Vega026-Jan-05 16:54 
From what I understand about Combobox controls in .NET:

- The Add() method accepts an object as a parameter, and the object's ToString() return value is what actually gets displayed in the Combobox.
- The SelectedItem property returns the object (not the ToString() result) that is selected.

Perhaps it would be possible to create a new struct containing an InterfaceType field, a string field, and a simple ToString() method to make this work. When you use the SelectedItem property of the Combobox to return the currently selected object, you could simply read back its InterfaceType field.

Like I said, I've not used Windows Forms since VB6, so hopefully somebody will correct me if I am in error.

Good luck!
~ Levi
GeneralRe: Best way to accomplish... Pin
leppie6-Jan-05 20:27
leppie6-Jan-05 20:27 
Generalclear viewstate when postback Pin
esakal6-Jan-05 14:38
esakal6-Jan-05 14:38 
GeneralRe: clear viewstate when postback Pin
Heath Stewart6-Jan-05 14:52
protectorHeath Stewart6-Jan-05 14:52 
GeneralAngry DBA Pin
Anonymous6-Jan-05 14:26
Anonymous6-Jan-05 14:26 
GeneralImageList - MissingMainfest exception Pin
Christian Graus6-Jan-05 12:24
protectorChristian Graus6-Jan-05 12:24 
GeneralRe: ImageList - MissingMainfest exception Pin
Heath Stewart6-Jan-05 13:16
protectorHeath Stewart6-Jan-05 13:16 
GeneralRe: ImageList - MissingMainfest exception Pin
Christian Graus6-Jan-05 13:24
protectorChristian Graus6-Jan-05 13:24 
GeneralRe: ImageList - MissingMainfest exception Pin
Christian Graus6-Jan-05 13:49
protectorChristian Graus6-Jan-05 13:49 
GeneralRe: ImageList - MissingMainfest exception Pin
Heath Stewart6-Jan-05 13:59
protectorHeath Stewart6-Jan-05 13:59 
GeneralRe: ImageList - MissingMainfest exception Pin
Christian Graus6-Jan-05 14:08
protectorChristian Graus6-Jan-05 14:08 
GeneralRe: ImageList - MissingMainfest exception Pin
Heath Stewart6-Jan-05 14:49
protectorHeath Stewart6-Jan-05 14:49 
GeneralRe: ImageList - MissingMainfest exception Pin
Christian Graus6-Jan-05 14:54
protectorChristian Graus6-Jan-05 14:54 
GeneralRe: ImageList - MissingMainfest exception Pin
Heath Stewart6-Jan-05 15:00
protectorHeath Stewart6-Jan-05 15:00 
GeneralRe: ImageList - MissingMainfest exception Pin
Christian Graus6-Jan-05 15:07
protectorChristian Graus6-Jan-05 15:07 
GeneralRe: ImageList - MissingMainfest exception Pin
Heath Stewart6-Jan-05 15:48
protectorHeath Stewart6-Jan-05 15:48 
GeneralRe: ImageList - MissingMainfest exception Pin
Christian Graus6-Jan-05 21:21
protectorChristian Graus6-Jan-05 21:21 
GeneralRe: ImageList - MissingMainfest exception Pin
Heath Stewart7-Jan-05 5:49
protectorHeath Stewart7-Jan-05 5:49 

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.