ToolStripRenderer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Would anyone have an example showing the ToolStripRenderer using Whidbey
like colors.

Regards

Craig
 
For those interested, I went through the color scheme of VS.NET 2005 creating
a class derived from ProfessionalColorTable.

You can write the following code to get the 'Whidbey' look and feel:

WhidbeyColorTable whidbeyColorTable = new WhidbeyColorTable(); // custom
class derived from ProfessionalColorTable.
ToolStripProfessionalRendered toolStripProfessionalRendered = new
ToolStripProfessionalRendered(whidbeyColorTable);
menuStrip.Renderer = toolStripProfessionalRendered;

If anyone is interested in my WhidbeyColorTable class, let me know.

Craig
 
I'd be keen to see it, Craig (sorry it has taken so long to post this
response)!

If you don't want to post it here, you can email it to me by removing
the "nospam" from my address.

Cheers,
Matt
 
Back
Top