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