winform 如何加载皮肤
2018-04-24 本文已影响0人
your_god
代码如下:
#region //加载皮肤
Sunisoft.IrisSkin.SkinEngine skin = new Sunisoft.IrisSkin.SkinEngine();
skin.SkinFile = Application.StartupPath.Replace(@"\Debug", "") + @"\IrisSkin4\Skins\DiamondGreen.ssk";
skin.Active = true;
skin.DisableTag = 9999; //设置不需要被渲染的控件Tag值为9999 DiamondRed SteelBlack DiamondGreen
#endregion