Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

Can I make the ProfessionalRenderer look like the old Office?

Yes...

Create a class which overrides the ToolStripProfessionalRenderer called OldProfessionalRenderer

Pass in a new ProfessionalColorTable with professionalColorTable.UseSystemColors = false;

In the OldProfessionalRenderer class, override the following methods:

  • OnRenderImageMargin (clear with ControlLight),
  • OnRenderBorder (do nothing),
  • OnRenderToolStripBackground (clear with ControlLight).