Beautiful glass transparent button control C # source code

Source: Internet
Author: User

Usage: first copy glassbutton. DLL to your project. The dll Directory glassbutton \ bin \ debug

Glassbutton is a control.Source code

Copy the DLL and add it to the vs toolbox. Add the method: Right-click the toolbox of Vs and choose items> browse> Find glassbutton. dll.

After successful addition, a control named glassbutton is displayed in the toolbox.

Drag glassbutton to your form.

Now let's set several attributes.

Backcolor: the background color of the control.

Glowcolor: changes the color when you move the mouse over the control.

Innerbordercolor: widget border color

The above settings will have a very good effect. If you want to add an image to the button, you need to set the backgroundimage attribute.

In order to make the buttons have a transparent effect, you 'd better set the background image of the form during development.

View results

Beautiful glass transparent button control C # source code

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.