打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
刚刚出炉的 IrisSkin,来个鲜的(附:换肤控件对比) - Programming &...


满怀希望的看了看新版本的东东,没想到,还是老样子,

窗体颤动,不如skinpp,不过,毕竟是.net的。

最近,收集了大致几种换肤的东东:

appface.dll使用
1、需要添加的API声明:
        //------------------------------------------------------------------------
        //The declare for AppFace
        [DllImport("appface.dll")]
        public static extern int SkinStart(string SkinFile, int nDefWinType, string CheckSum, int nType,
            int hInstance, int nLen);
        [DllImport("appface.dll")]
        public static extern int SkinRemove();
        [DllImport("appface.dll")]
        public static extern int SkinWindowSet(IntPtr hWnd, int nSkintype);
        [DllImport("appface.dll")]
        public static extern int SkinWindowSetEx(IntPtr hWnd, int nSkintype, int nResourceId,
            int nUrfLoadType, string SkinFile, int hInstance, int nLen);
        //------------------------------------------------------------------------
2、在Main函数或者首先启动的窗体添加:
            if (Form1.SkinStart(Application.StartupPath + "\\belv.urf", 4, "", 1, 0, 0) == 0)
            {
                //Load a basic URF skin if failed (may be expired)
                Form1.SkinStart(Application.StartupPath + "\\gtclassicex.urf", 4, "", 1, 0, 0);
            }
其中Form1为窗体的name

===================================================================
actskn43.ocx
ActiveSkin 4.3  对于窗体的控件支持最少,甚至button。
使用:将ocx添加到toolbox,拖放到窗体上,在load事件中添加:
axSkin1.ApplySkin((int)Handle);
即可
====================================================================
DirectSkin.dll
不支持的控件要比active少,但是仍然不支持button等。
使用方法:
在使用skin的窗体上添加:
            axWbocx1.Show();

            // Try setting up a skin (requires dogmax in sample skins)
            axWbocx1.InitWB();
            axWbocx1.SetRootPathStr(Environment.CurrentDirectory + "\\skins\\");
            axWbocx1.LoadUIS("xp corona\\xp corona.uis");
            axWbocx1.DoWindow(this.Handle.ToInt32());

注意皮肤的路径
======================================================================
DotNetSkin.dll 和 IrisSkin2.dll
支持.NET的大部分控件,但是对strip不支持
且刷新严重,使用方法简单
======================================================================
SkinPlusPlus.VS.Net 支持的控件最全,支持部分第三方控件,dock窗体拖动时,效果不好。
很好用,但是没有皮肤编辑器
破解的是不是完整,未知----没有皮肤测试
使用 方法:
引用:using SKINPPDOTNETLib;
声明;public static SKINPPDOTNETLib.SkinPPDotNetClass SkinPPObj;

在Main函数中添加:
            SkinPPObj = new SkinPPDotNetClass();
            SkinPPObj.LoadSkin("PixOS.ssk", false);
注:必须在main中,不然对menustrip支持不好

 以上是个人的测试,可能不是很准确,不过大致如此。

 ---------------------------------

下载 IrisSkin

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Winform
VS2008中C#调用Matlab生成的DLL文件
DevExpress之Skin自定义使用 - CookBlack - 博客园
开源皮肤组件库FreeCL 2.03正式发布
asp.net常用的第三方控件
SkinH_EL.dll
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服