IrisSkin2.dll is a great free skin control that makes it easy to make WinForm form peels.
However, IrisSkin2.dll can only be used in. NET Faremwork 4.0 and earlier, so to use it in VS2010 requires that you set your project framework to the. NET Framework 4.0, there is another way is to use IrisSkin4.dll, his method of use and IrisSkin2.dll basically is exactly the same
First, download the IrisSkin4.dll on the Internet (packaged with the skin), copy the IrisSkin4.dll with skins (skin) to the \Bin\Debug folder of the project
Second, right-click on "References" in the program's Explorer, select "Add Reference", locate the IrisSkin4.dll file you just copied, and click "OK".
Three, "Tools"-"SELECT toolbox item--". NET Framework Components "-" Browse "-Find irisskin4.dll--> click" OK ", skinengine control to the Toolbox
Iv. Add the control to the main form of the program and edit the following line of code in the main form's constructor to select the skin to complete the rendering
" \\Skins\\ The selected skin name (suffix. SSK) "; // Select Skin File
The effect of using IrisSkin4.dll is limited, sometimes it renders us crazy (for example, I used a sportsblue skin, and then found that although the skin style I like, but in its rendering under the form of the button is very low), then we want to customize their own dissatisfied with the control Instead of needing the skin to render these controls, simply add the following line of code:
9999; // set the control that does not need to be rendered tag value is 9999
You can then display the control's custom style by setting the Tag Value property of the control that does not need to be rendered to 9999.
WinForm form skinning is easy to use with IrisSkin4.dll in C#.net vs2010