Example #1
0
        /// <summary>
        /// 设置背景图
        /// </summary>
        /// <param name="enname"></param>
        public void SetBackImage(string enname)
        {
            var path = Picture.HeroOriginalPath(enname);

            if (!File.Exists(path))
            {
                path = Soft.LogoIcoPath;
            }
            MainW.ReLoadImageBmp(path);
        }
Example #2
0
        /// <summary>
        /// 设置背景图
        /// </summary>
        /// <param name="skin"></param>
        public void SetBackImage(Skin skin)
        {
            var path = Picture.SkinOriginalPath(skin);

            MainW.ReLoadImageBmp(path);
        }