//To Change the Back color of the GradientPanel this.gradientPanel1.BackColor = ColorTranslator.FromHtml("#808080"); |
//To change the color scheme for the Office2007Form this.ColorScheme = Office2007Theme.Black; //To change the color scheme for the Office2010Form this.ColorScheme = Office2010Theme.Black; |
Query 1: Note that Office2010Form Blue is a slightly different color?
We would like to let you know that, we have implemented the Office 2007 and Office2010 based on the Microsoft office2007 and office2010 Outlook respectively. Hence both the control have the office2010 is different from office2007.
Query 2 : if possible, I would like to know these RGB values for both Office2007Form and Office2010Form color schemes (as I said before, the RGB values may not be the same for both form types).
Yes. Please refer the below code snippet, that we have initialized for the Office2007Form and Office2010Form. We have also prepared the sample for your reference and it can be downloaded from the following location.
//To Change the Back color of the GradientPanel to Office2007Black this.gradientPanel1.BackColor = Color.FromArgb(113, 113, 113); //To Change the Back color of the GradientPanel to Office2007Blue this.gradientPanel1.BackColor = Color.FromArgb(187, 212, 246); //To Change the Back color of the GradientPanel to Office2007Silver this.gradientPanel1.BackColor = Color.FromArgb(202, 207, 217);
//To Change the Back color of the GradientPanel to Office2007Black this.gradientPanel1.BackColor = Color.FromArgb(137, 137, 137); //To Change the Back color of the GradientPanel to Office2007Blue this.gradientPanel1.BackColor = Color.FromArgb(206, 220, 237); //To Change the Back color of the GradientPanel to Office2007Silver this.gradientPanel1.BackColor = Color.FromArgb(232, 236, 240); |
Query 1: Note that Office2010Form Blue is a slightly different color?
We would like to let you know that, we have implemented the Office 2007 and Office2010 based on the Microsoft office2007 and office2010 Outlook respectively. Hence both the control have the office2010 is different from office2007.
Query 2 : if possible, I would like to know these RGB values for both Office2007Form and Office2010Form color schemes (as I said before, the RGB values may not be the same for both form types).
Yes. Please refer the below code snippet, that we have initialized for the Office2007Form and Office2010Form. We have also prepared the sample for your reference and it can be downloaded from the following location.
//To Change the Back color of the GradientPanel to Office2007Black this.gradientPanel1.BackColor = Color.FromArgb(113, 113, 113); //To Change the Back color of the GradientPanel to Office2007Blue this.gradientPanel1.BackColor = Color.FromArgb(187, 212, 246); //To Change the Back color of the GradientPanel to Office2007Silver this.gradientPanel1.BackColor = Color.FromArgb(202, 207, 217);
//To Change the Back color of the GradientPanel to Office2010Black this.gradientPanel1.BackColor = Color.FromArgb(137, 137, 137); //To Change the Back color of the GradientPanel to Office2010Blue this.gradientPanel1.BackColor = Color.FromArgb(206, 220, 237); //To Change the Back color of the GradientPanel to Office2010Silver this.gradientPanel1.BackColor = Color.FromArgb(232, 236, 240); |