private new void ApplyTheme() { if (ThemeManager.getInstance().ThemingActive) { base.ApplyTheme(); this.vsToolStripExtender = new WeifenLuo.WinFormsUI.Docking.VisualStudioToolStripExtender(this.components); vsToolStripExtender.DefaultRenderer = _toolStripProfessionalRenderer; vsToolStripExtender.SetStyle(cMenScreenshot, ThemeManager.getInstance().ActiveTheme.Version, ThemeManager.getInstance().ActiveTheme.Theme); } }
private void EnableVSRenderer(VisualStudioToolStripExtender.VsVersion version, ThemeBase theme) { vsToolStripExtender1.SetStyle(mainMenu, version, theme); vsToolStripExtender1.SetStyle(toolBar, version, theme); vsToolStripExtender1.SetStyle(statusBar, version, theme); }