• Log in or sign up for an account here: https://www.sythe.org/login

DanButton

Blupig

BEEF TOILET
Joined
Nov 23, 2006
Sythe Gold
1,609
Messages
7,145
Age
33
Location
Canada
DanButton
I've made a custom button for people to use in any .NET language with a bit more flexibility than the regular Windows button.

You can download the DLL here:
http://uppit.com/ch5y2shfqo57/DanButton.dll

This is what the button looks like by default.
2e66ctc.png


Different properties:
GlossOpacity: This controls the opacity of the white block on the top of the button, or the "gloss". Set to 0 for no gloss, and set to something around 200 for an opaque white block.
BackColor2: Second color for the background gradient. Make it blank or the same color as BackColor to have a solid background color.
BorderColor: Controls the color of the 1px border around the button.
GlowColor: This is the color that the bottom portion of the gradient background changes to when you put your mouse over it.
ClickColor: This is the color that the bottom portion of the gradient background changes to when you left click the button.

How to add it to your control library:
-Open your .NET IDE
-Right-click the controls toolbox in a project
-Select "Choose items"
-Click the .NET tab and browse to the DLL you downloaded
-Compile then the control will appear in your control library as "DanButton"
 
Runescape Gamblingrunescape gambling
Back
Top