예제 #1
0
 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);
     }
 }
예제 #2
0
 private void EnableVSRenderer(VisualStudioToolStripExtender.VsVersion version, ThemeBase theme)
 {
     vsToolStripExtender1.SetStyle(mainMenu, version, theme);
     vsToolStripExtender1.SetStyle(toolBar, version, theme);
     vsToolStripExtender1.SetStyle(statusBar, version, theme);
 }