Before looking at the online skin control IrisSkin2 Introduction, feel very magical, today to do the experiment, C # More and more interesting, is LabVIEW incomparable.
The preparatory work is as follows: After downloading IrisSkin2.dll and matching skin.
Where SSK is the IrisSkin2.dll corresponding to the skin.
1> Create a new WinForm program to demonstrate the instance.
Q: Why the fuck don't you try WPF?
A: I do, I want to. This bird is in the NET2.0 under the smooth point, 3.5 can not be used, at least I can not use. 2.0 where the fuck are you doing WPF.
2> Add a reference, add IrisSkin2.dll to the reference
Click Browse to select IrisSkin2.dll, click OK, but make sure that the DLL and skin files are in the same folder.
3> add controls to the toolbar by following these steps:
Click the toolbar general click the Select Item Popup screen below
Click Browse to select just IrisSkin.dll click OK
Add the following toolbar.
Some brothers will ask why I did not succeed in the N-times, because this control can only be used under the. net2.0, which is of course not available under other net.
Public Partial class Form1:form { public Form1 () { InitializeComponent (); This " Sportsorange.ssk " ; }
Look at the effect
After running
Try another one.
Public Partial class Form1:form { public Form1 () { InitializeComponent (); This " Sportsblue.ssk " ; } }
Simple and practical, good.
"Crazy C #" Magical Skin Change