/// <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); }
/// <summary> /// 设置背景图 /// </summary> /// <param name="skin"></param> public void SetBackImage(Skin skin) { var path = Picture.SkinOriginalPath(skin); MainW.ReLoadImageBmp(path); }