示例#1
0
        private void SetStylerToControls()
        {

            _extender = new MetroStyleExtender(components);
            _extender.StyleManager = Program.Styler;
            _extender.SetApplyMetroTheme(fpSubbedShows, true);
            _extender.SetApplyMetroTheme(fPanelSearchResults, true);
            _extender.SetApplyMetroTheme(layoutStyles, true);
            tbSearch.StyleManager = Program.Styler;
            metroProgressBar1.StyleManager = Program.Styler;
            Tabs.StyleManager = Program.Styler;
            tab_Settings.StyleManager = Program.Styler;
            tabUserCollection.StyleManager = Program.Styler;
            tabSearch.StyleManager = Program.Styler;
            btnSearch.StyleManager = Program.Styler;
            metroPanel1.StyleManager = Program.Styler;
            metroLabel1.StyleManager = Program.Styler;
            thmDark.StyleManager = Program.Styler;
            thmLight.StyleManager = Program.Styler;
            metroLabel2.StyleManager = Program.Styler;
            lblSetCheckInterval.StyleManager = Program.Styler;
            tbCheckForNewEpInterval.StyleManager = Program.Styler;
        }
示例#2
0
 private static MetroStyleExtender GetExtender()
 {
     if (EXTENDER == null)
     {
         EXTENDER = new MetroStyleExtender();
         EXTENDER.StyleManager = MANAGER;
         EXTENDER.Style = MetroColorStyle.Default;
         EXTENDER.Theme = MetroThemeStyle.Default;
     }
     return EXTENDER;
 }
示例#3
0
 private void SetFormStyle()
 {
     MetroStyleExtender _extender = new MetroStyleExtender(components);
     _extender.StyleManager = Program.Styler;
     StyleManager = Program.Styler;
     _extender.SetApplyMetroTheme(poster, true);
     tbDescription.StyleManager = Program.Styler;
     metroLabel1.StyleManager = Program.Styler;
     metroLabel2.StyleManager = Program.Styler;
     _extender.SetApplyMetroTheme(panelEpisodes, true);
     _extender.SetApplyMetroTheme(panelSeasons, true);
     UpdateStyles();
 }