dotnetmonitor.com

 
Index
Previous
Next

 

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).
Painting
When should I use Paint/OnPaint and when should I override the ToolStripRenderer?
Do I need to worry about double buffering?
Parenting
Partial Trust
Usage