Beispiel #1
0
        /// <summary>
        /// Default constructor for collection of themes (application skins)
        /// from <seealso cref="ThemesVM.EnTheme"/> enumeration entry as theme
        /// to initialize to.
        /// </summary>
        /// <param name="thisCurrentTheme"></param>
        public ThemesVM(EnTheme thisCurrentTheme)
        {
            this.Themes = ThemesVM.ListAllThemes(this);

            this.mCurrentTheme = thisCurrentTheme; // Construct with this theme as current theme
        }
Beispiel #2
0
        /// <summary>
        /// Default constructor for collection of themes (application skins).
        /// </summary>
        public ThemesVM()
        {
            this.Themes = ThemesVM.ListAllThemes(this);

            this.mCurrentTheme = EnTheme.Aero; // Just select any theme as default
        }