怎么样在c#中使用IrisSkin2.dll皮肤C#ssk皮肤
1个回答
展开全部
在项目中引用这个dll
1
2
3
4
5
//加载皮肤
Sunisoft.IrisSkin.SkinEngine skin = new Sunisoft.IrisSkin.SkinEngine();
skin.SkinFile = Application.StartupPath.Replace(@"\bin\Debug", "") + @"\skins\SteelBlue.ssk";
//skin.SkinFile = System.Environment.CurrentDirectory + "\\skins\\" + "Emerald.ssk";
skin.Active = true;
1
2
3
4
5
//加载皮肤
Sunisoft.IrisSkin.SkinEngine skin = new Sunisoft.IrisSkin.SkinEngine();
skin.SkinFile = Application.StartupPath.Replace(@"\bin\Debug", "") + @"\skins\SteelBlue.ssk";
//skin.SkinFile = System.Environment.CurrentDirectory + "\\skins\\" + "Emerald.ssk";
skin.Active = true;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询