Winform application ssk skin, winformssk skin
If you don't talk nonsense, go directly to the next step.
1. File preparation
Download the skin file, and put the decompressed Skinssk folder under the root directory of the Program (bin \ debug.
Skin files: http://pan.baidu.com/s/1slSAqFN
2. Add a project reference
Right-click "Reference" and choose "Browse". Select the IrisSkin2.dll file in the Skinssk folder in the debug directory and click "add reference ".
3. Add toolbox
Open the toolbox, right-click the tab, and choose a name (for example, Skin) -> right-click the newly created tab and choose items> browse> IrisSkin2.dll File> OK.
4. Applications
Both methods are supported.
(1) set the SkinFile attribute of the newly added control SkinEngine to the full path of the ssk file in the Skinssk file under the budug directory. For example, "D: \ myFile \ xx \ yy \ zz \ Skinssk \ Page. ssk ";
(2) Add the following code to the program:
SkinEngine1.SkinFile = Application. StartupPath + @ "\ Skinssk \ Page. ssk ";
Run the command to see the effect. Modify the skin by modifying the name of the ssk file.