Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: Universal Patch Finder .NET plug-ins Pin
Hypercube Softwares3-Mar-13 8:35
Hypercube Softwares3-Mar-13 8:35 
AnswerRe: Universal Patch Finder .NET plug-ins Pin
Mycroft Holmes12-Aug-14 0:36
professionalMycroft Holmes12-Aug-14 0:36 
QuestionC#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)-) Pin
S Akshay6-Dec-12 17:03
S Akshay6-Dec-12 17:03 
AnswerRe: C#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)-) Pin
lukeer6-Dec-12 20:50
lukeer6-Dec-12 20:50 
AnswerRe: C#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)-) Pin
Mycroft Holmes6-Dec-12 21:51
professionalMycroft Holmes6-Dec-12 21:51 
AnswerRe: C#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)-) Pin
Simon_Whale6-Dec-12 22:54
Simon_Whale6-Dec-12 22:54 
QuestionRecursive data object and Tree View WPF Pin
radkrish6-Dec-12 13:38
radkrish6-Dec-12 13:38 
QuestionColorDialog. Pin
Septimus Hedgehog6-Dec-12 11:22
Septimus Hedgehog6-Dec-12 11:22 
The standard color dialog lets you select from a pallette of fixed colours or, if you click the define custom colors button, you can select your own variations. Now, compare this to say the BackColor of a button. that lets you select from three tabs, Custom, Web and system. If you click the Web tab you can select colours by name such Fuschia, Goldenrod, and what have you.

I'm creating a property editor for a custom control and I'd like to implement something similar. I know I could have a form in my property and have a ColorDialog on it but I like the idea of selecting colours by name which ColorDialog can't do. Does anyone know of some easier way to do this at the custom level or perhaps knows of a freeware component I could use that does.

Another way I could approach it is to run through the KnownColor enumeration and then get the colou's ARGB values and then somehow perhaps have a listbox and paint small rectangles in it with the colour and its name. I guess it's do-able but hardly convenient.

Anyone have any ideas I can investigate and research further?
"I do not have to forgive my enemies, I have had them all shot." — Ramón Maria Narváez (1800-68).
"I don't need to shoot my enemies, I don't have any." - Me (2012).

AnswerRe: ColorDialog. Pin
Brisingr Aerowing7-Dec-12 17:12
professionalBrisingr Aerowing7-Dec-12 17:12 
GeneralRe: ColorDialog. Pin
Septimus Hedgehog8-Dec-12 0:05
Septimus Hedgehog8-Dec-12 0:05 
GeneralRe: ColorDialog. Pin
Brisingr Aerowing8-Dec-12 7:35
professionalBrisingr Aerowing8-Dec-12 7:35 
GeneralRe: ColorDialog. Pin
Septimus Hedgehog8-Dec-12 9:27
Septimus Hedgehog8-Dec-12 9:27 
GeneralRe: ColorDialog. Pin
Brisingr Aerowing8-Dec-12 12:46
professionalBrisingr Aerowing8-Dec-12 12:46 
GeneralRe: ColorDialog. Pin
Septimus Hedgehog8-Dec-12 22:09
Septimus Hedgehog8-Dec-12 22:09 
GeneralRe: ColorDialog. Pin
Brisingr Aerowing9-Dec-12 5:52
professionalBrisingr Aerowing9-Dec-12 5:52 
GeneralRe: ColorDialog. Pin
Septimus Hedgehog9-Dec-12 21:35
Septimus Hedgehog9-Dec-12 21:35 
GeneralRe: ColorDialog. Pin
Brisingr Aerowing10-Dec-12 6:10
professionalBrisingr Aerowing10-Dec-12 6:10 
GeneralRe: ColorDialog. Pin
Brisingr Aerowing10-Dec-12 6:15
professionalBrisingr Aerowing10-Dec-12 6:15 
GeneralRe: ColorDialog. Pin
Septimus Hedgehog10-Dec-12 6:21
Septimus Hedgehog10-Dec-12 6:21 
GeneralRe: ColorDialog. Pin
Brisingr Aerowing10-Dec-12 9:16
professionalBrisingr Aerowing10-Dec-12 9:16 
QuestionDbConnectionBuilder and class question Pin
Darkmatter56-Dec-12 8:21
Darkmatter56-Dec-12 8:21 
AnswerRe: DbConnectionBuilder and class question Pin
Eddy Vluggen6-Dec-12 14:30
professionalEddy Vluggen6-Dec-12 14:30 
QuestionNo scrollbars when executing program on another PC [Solved] Pin
Member 96474616-Dec-12 7:43
Member 96474616-Dec-12 7:43 
AnswerRe: No scrollbars when executing program on another PC Pin
Alan N6-Dec-12 13:32
Alan N6-Dec-12 13:32 
QuestionCompare rows of a datagridview and remove repeated rows Pin
GREG_DORIANcod6-Dec-12 6:12
professionalGREG_DORIANcod6-Dec-12 6:12 

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.