Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void InitializePanel(ToolStripPanel)

Declaration

protected override void InitializePanel(
    ToolStripPanel toolStripPanel
)

Summary

Using just ToolStripManager.Renderer without setting the Renderer individually per ToolStrip means that the ToolStrip is not passed to the Initialize method. ToolStripPanels, however, are. So we can simply initialize it here too, and this should guarantee that the ToolStrip is initialized at least once. Hopefully it isn't any more complicated than this.