The control skinengine provided by IrisSkin2.dll is used in C # to add skins to the form. This method is the simplest
Specific steps:
. Add control Skinengine.
1. Right-click the Toolbox. "Add Tab", named "Skin".
2. Right Button "Skin", "Select item" Pop-up dialog box.
3. Click "Browse" to find IrisSkin2.dll, then you will find that the Skinengine control has been ticked-OK.
After this step, I found that I did not add the control to the Skin tab, I copied the DLL file directly, select the Skin tab, right-click Paste to import the control.
4. Add the Skinengine control to the form.
5. Place the skin file (suffix SSK) in the "~\bin\debug" folder.
6. Add code to the form Load event or constructor: This.SkinEngine.SkinFile = "**.ssk";
IrisSkin2.dll File Download
In the 4th step, you may encounter the following error:
"Type Universe cannot resolve assembly:System.Design, version=4.0.0.0, Culture=neutral, publictoken=b03f5f7f11d50a3a."
This is due to the VS2010 caused. You can:
Item, Properties->target framework--> selection. NETFramework 4.
C # Add skin to a form-skinengine application