1. You need to download IrisSkin4.dll or IrisSkin2.dll and ssk skin files.
2. Add a reference IrisSkin4.dll or IrisSkin2.dll to the project and copy the downloaded ssk skin file to the project .
3.c#main modified as follows
<summary>
The main entry point for the application.
</summary>
[STAThread]
static void Main ()
{
Application.enablevisualstyles ();
Application.setcompatibletextrenderingdefault (FALSE);
Form1 form = new Form1 ();
Skin settings (You can also use skins to load skin files in the constructor.) Skinfile Loading skin file) Note: load the skin remember is the skin file path Oh----"***.ssk" (the path of the skin file in the project)
Sunisoft.IrisSkin.SkinEngine skin = new Sunisoft.IrisSkin.SkinEngine ((System.ComponentModel.Component) Form, "* * *. SSK ");//Load skin
Skin. Skinfile = "***.SSK"; load skin
Skin. Titlefont = new System.Drawing.Font ("Microsoft Jas Black", 10F);//Set Title font
Application.Run (form);
}
4. The effect of the operation is as follows (the skin is varied here choose one to demonstrate)
Easy 3-Step implementation of C#windowsform form beautification