public void SetStyle(ToolStrip strip, VsVersion version, ThemeBase theme) { ToolStripProperties properties = null; if (!strips.ContainsKey(strip)) { properties = new ToolStripProperties(strip) { VsVersion = version }; strips.Add(strip, properties); } else { properties = strips[strip]; } if (theme == null) { if (DefaultRenderer != null) { strip.Renderer = DefaultRenderer; } } else { theme.ApplyTo(strip); } properties.VsVersion = version; }
public DockPanel.IPanelIndicator CreatePanelIndicator(DockStyle style, ThemeBase theme) { return(new VS2005MultithreadingPanelIndicator(style)); }
public DockPanel.IPaneIndicator CreatePaneIndicator(ThemeBase theme) { return(new VS2005MultithreadingPaneIndicator()); }