dotnetmonitor.com

 
Index
Previous
Next

 

For one ToolStrip

ProfessionalColorTable colorTable = new ProfessionalColorTable();

colorTable.UseSystemColors = true;

toolStrip.Renderer = new ToolStripProfessionalRenderer(colorTable);

For the entire app:

ToolStripManager.VisualStylesEnabled = false;

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