"Crazy C #" Magical Skin Change

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.