Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: Keyboard in C# Pin
Jim MacDonald22-Sep-03 6:10
Jim MacDonald22-Sep-03 6:10 
Generalsingle applications with multiple forms Pin
jerrycainjr21-Sep-03 14:56
jerrycainjr21-Sep-03 14:56 
GeneralRe: single applications with multiple forms Pin
Blake Coverett21-Sep-03 17:27
Blake Coverett21-Sep-03 17:27 
GeneralRe: single applications with multiple forms Pin
Azel Low21-Sep-03 20:51
Azel Low21-Sep-03 20:51 
GeneralRe: single applications with multiple forms Pin
Blake Coverett21-Sep-03 22:25
Blake Coverett21-Sep-03 22:25 
GeneralRe: single applications with multiple forms Pin
Azel Low21-Sep-03 22:57
Azel Low21-Sep-03 22:57 
GeneralRe: single applications with multiple forms Pin
Blake Coverett21-Sep-03 23:42
Blake Coverett21-Sep-03 23:42 
GeneralEnum Question Pin
Wjousts21-Sep-03 11:23
Wjousts21-Sep-03 11:23 
I have a question about enumeration types. I'd like to know if there is a way to iterate through all the literal values? I know if you have:
<br />
enum enumtype {field1, field2, field3};<br />


You can get the symbolic names from the enum using:
<br />
enumtype.field1.ToString();<br />


And I'd like to be able to go through all the posible symbolic names in my enum and add them to a combobox without having to know what all the symbolic names might be right now (because it'll probably change and I'm too lazy to have to change it multiple times!). But enum's don't seem to support and kind of a count property or have anyway of getting the symbolic name when all you know is the underlying int value.
Does anybody know if such a thing is possible with an enum, or should I probably define an array of structs or something similar?

Cheers
GeneralRe: Enum Question Pin
J. Dunlap21-Sep-03 11:31
J. Dunlap21-Sep-03 11:31 
GeneralRe: Enum Question Pin
Wjousts21-Sep-03 11:44
Wjousts21-Sep-03 11:44 
GeneralCOM+ object pooling Pin
devvvy21-Sep-03 0:27
devvvy21-Sep-03 0:27 
GeneralRe: COM+ object pooling Pin
Daniel Turini22-Sep-03 0:36
Daniel Turini22-Sep-03 0:36 
GeneralRe: COM+ object pooling Pin
devvvy22-Sep-03 0:48
devvvy22-Sep-03 0:48 
GeneralCustom Namespaces Pin
maraymer20-Sep-03 23:42
maraymer20-Sep-03 23:42 
GeneralRe: Custom Namespaces Pin
Paul Watson21-Sep-03 10:43
sitebuilderPaul Watson21-Sep-03 10:43 
GeneralIcon for a control Pin
CGi0320-Sep-03 22:49
CGi0320-Sep-03 22:49 
GeneralRe: Icon for a control Pin
leppie20-Sep-03 23:12
leppie20-Sep-03 23:12 
GeneralBinding multiple file collections to a form control Pin
Member 52585820-Sep-03 19:01
Member 52585820-Sep-03 19:01 
GeneralRe: Binding multiple file collections to a form control Pin
Blake Coverett20-Sep-03 20:12
Blake Coverett20-Sep-03 20:12 
Generalinterrupt mousemove or scrollbar Pin
novachen20-Sep-03 18:43
novachen20-Sep-03 18:43 
Generali want the code of to upload file with c# Pin
182720-Sep-03 14:39
182720-Sep-03 14:39 
GeneralGetting nested User Control item instance Pin
n3d3us20-Sep-03 13:15
n3d3us20-Sep-03 13:15 
GeneralRe: Getting nested User Control item instance Pin
n3d3us20-Sep-03 13:56
n3d3us20-Sep-03 13:56 
QuestionSockets: Threaded &amp; Async? Pin
oblius20-Sep-03 12:43
oblius20-Sep-03 12:43 
AnswerRe: Sockets: Threaded &amp; Async? Pin
Blake Coverett20-Sep-03 14:01
Blake Coverett20-Sep-03 14:01 

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.