?
Solved

Windows forms application Color Scheme colors

Posted on 2012-09-13
2
Medium Priority
?
1,653 Views
Last Modified: 2012-09-28
Hi Experts,

I have a Windows forms application where I'm using Infragistics windows forms controls.
I'm using VB as the language and Visual Studio 2010.

I read this article

http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.1/CLR2.0/HTML/Win_About_the_Office_2007_Look_and_Feel.html

The article mentions that I can change the color scheme from black to blue by changing this:

Infragistics.Win.Office2007ColorTable.ColorScheme = _
  Infragistics.Win.Office2007ColorScheme.Black

to this:

Infragistics.Win.Office2007ColorTable.ColorScheme = _
  Infragistics.Win.Office2007ColorScheme.Blue


Can I put the color code for Blue or Black instead of the name?
What color code system does windows forms use?
Does it use the same color codes as HTML or WPF?
What would be the color code for black or blue?


I'm using to working with web applications not windows forms.

In html the color black is represented by the color code #000000
In html the color bllue is represented by the color code #000000

In WPF the color black is represented by the color code #FF000000
In WPF the color bllue is represented by the color code #FF0000FF

This where I get the wpf colors

http://msdn.microsoft.com/en-us/library/system.windows.media.colors.aspx


Thanks for any help.
0
Comment
Question by:maqskywalker
2 Comments
 
LVL 1

Author Comment

by:maqskywalker
ID: 38397436
I'm not sure if I was clear but to rephrase my question:

In one of my windows forms the the Office2007Black theme was being used and it had a custom color added. The custom color had a code of this:    -6697729

I'm trying to find out what color this is.

I found this link on the internet that is also using this color.

https://track.softhotel.net/?W338

Does anyone know what color -6697729  is?

Is this an RGB or CMYK color? or is there a chart where I can look up this color?

Thanks
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 38398123
I think the

 Infragistics.Win.Office2007ColorScheme

enumeration would only have a predefined set of themes. What other options do you get there?
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question