Click here to Skip to main content
14,664,179 members
Home » Discussions » C#
   

C#

 
AnswerRe: Hide My Window Form Pin
DaveyM6930-Jul-08 2:54
professionalDaveyM6930-Jul-08 2:54 
AnswerRe: Hide My Window Form Pin
Ajay.k_Singh30-Jul-08 3:03
MemberAjay.k_Singh30-Jul-08 3:03 
AnswerRe: Hide My Window Form Pin
Thomas Stockwell30-Jul-08 10:26
professionalThomas Stockwell30-Jul-08 10:26 
QuestionHow to go to the next color? Pin
bouli30-Jul-08 1:03
Memberbouli30-Jul-08 1:03 
AnswerRe: How to go to the next color? Pin
User 665830-Jul-08 1:06
MemberUser 665830-Jul-08 1:06 
GeneralRe: How to go to the next color? Pin
bouli30-Jul-08 1:57
Memberbouli30-Jul-08 1:57 
AnswerRe: How to go to the next color? Pin
leppie30-Jul-08 2:30
Memberleppie30-Jul-08 2:30 
AnswerRe: How to go to the next color? Pin
DaveyM6930-Jul-08 2:45
professionalDaveyM6930-Jul-08 2:45 
I've had a look and it appears there is no emumeration available for the colours or tabs. The colours themselves (the names) are each public static read only properties that return a Color rather than an enum.

<EDIT>
System.Drawing.KnownColor is an enum of course!
</EDIT>

Using reflection I can loop through the properties and get the ones that are of type Color and exclude any that are SystemColor (WindowText etc...) but the list is alphabetical and not in the order you require (same as Web tab).

I think you'll have to hardcode your own list or enum and refer to the corresponding .Net colour from there.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)

GeneralRe: How to go to the next color? Pin
ElSpinos30-Jul-08 2:58
MemberElSpinos30-Jul-08 2:58 
GeneralRe: How to go to the next color? Pin
bouli30-Jul-08 4:40
Memberbouli30-Jul-08 4:40 
AnswerRe: How to go to the next color? Pin
Jason Henderson30-Jul-08 4:25
MemberJason Henderson30-Jul-08 4:25 
GeneralRe: How to go to the next color? Pin
bouli30-Jul-08 23:06
Memberbouli30-Jul-08 23:06 
GeneralRe: How to go to the next color? Pin
Jason Henderson31-Jul-08 3:43
MemberJason Henderson31-Jul-08 3:43 
GeneralRe: How to go to the next color? Pin
bouli1-Aug-08 3:13
Memberbouli1-Aug-08 3:13 
GeneralRe: How to go to the next color? Pin
DaveyM691-Aug-08 3:42
professionalDaveyM691-Aug-08 3:42 
AnswerRe: How to go to the next color? Pin
Frank Horn30-Jul-08 4:44
MemberFrank Horn30-Jul-08 4:44 
GeneralRe: How to go to the next color? Pin
bouli30-Jul-08 23:07
Memberbouli30-Jul-08 23:07 
QuestionProperty Attributes Pin
cecildt30-Jul-08 0:49
Membercecildt30-Jul-08 0:49 
AnswerRe: Property Attributes Pin
Tuwing.Sabado30-Jul-08 3:36
MemberTuwing.Sabado30-Jul-08 3:36 
GeneralRe: Property Attributes Pin
cecildt30-Jul-08 3:52
Membercecildt30-Jul-08 3:52 
GeneralRe: Property Attributes Pin
Tuwing.Sabado30-Jul-08 4:10
MemberTuwing.Sabado30-Jul-08 4:10 
AnswerRe: Property Attributes Pin
Wendelius30-Jul-08 8:46
mveWendelius30-Jul-08 8:46 
GeneralRe: Property Attributes Pin
cecildt30-Jul-08 10:19
Membercecildt30-Jul-08 10:19 
GeneralRe: Property Attributes Pin
Wendelius30-Jul-08 10:23
mveWendelius30-Jul-08 10:23 
QuestionDirect3D Wrapper - C# or Managed C++ ? Pin
Kel_30-Jul-08 0:44
MemberKel_30-Jul-08 0:44 

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.