C # program skin replacement custom form

Source: Internet
Author: User

There is no time for the holiday and the new year's day. Now, after a long period of exploration, we have formed our own skin solution.

The fomborderstyle attribute of all forms is sizable. after testing in XP Windows 7, the system animation effect is retained. For example, if you enable or disable the function in Vista Windows 7, the animation is always available.

The general principle is as follows:

1. Customize the baseform to process the corresponding Windows messages, implement the functions such as drag and drop of the form, inherit from the related events and attributes of the form design.

2. custom skinform inherits from baseform to design static members, events, and related attributes. These static members share all forms to control their appearances, changing static members in any form immediately changes the appearance of all forms.

3. Actually used forms are inherited from skinform

The actual results are as follows:

The background image can be merged with the background color, as in Thunder 7.

After a limited time, write the detailed implementation method and provideSource codeDownload

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.