Skin Button Checkbox and Radiobutton
How to create and draw custom bitmap button,checkbox and radiobutton in .NET Forms.
Download demo project - 44 Kb
Download Source - 131 Kb

SkinControls include 4 components, provide
skin button,checkbox and radiobutton with any of of the 3 built-in schemes,
This is an excellent example showing owner drawn controls.
Install:
In order to use it in your project, add it to your VS toolbox:
- Right-click on the "General" tab in the Toolbox
- Choose "Add/Remove Items..."
- On the ".NET Framework Components", press the "Browse..." button and find a DotNetSkin.SkinControl.dll
That will add four componet icons to the General tab. Drag this "SkinImage" icon to your form.
SkinImage:
SkinImage component provide skin images for all other controls, It load skin image from resource. all images were stored in static object, so you should add only one SkinImage component to your project.
The skin image can be any format image that .Net Support, I use PNG file include an alpha channel that determines transparency.
SkinImage has "Scheme" property to set skin scheme, there are 3 scheme build in resource. Macos style, Xp style, Plex Style.
SkinButton,SkinCheckBox,SkinRadioButton
these skin controls are inherited from standard Button,CheckBox and RadioButton, so you can use them as standard controls.
|