For a list of all members of this type, see Graphical Button Members.
System.Windows.Forms.PictureBox
VBTrain.GraphicalObjects.GraphicalButton
The VBTrain Graphical Button control allows you to create buttons with normal, "rollover," down, and disabled states. It has three different objects depending on how you want to store the associated graphics.
GraphicalButton stores its graphics inside the executable in the same manner as a PictureBox or ImageList control. You can change the graphics only by adjusting the relevant property and rebuilding.
GraphicalButtonFile reads its graphics from external files at runtime. The object has optimization code to so that it only reads the graphics on the first interaction on the form. The developer can swap out the external image files without rebuilding the application.
GraphicalButtonResource reads its graphics from embedded resources of the application. The developer can overwrite the graphic files in the project directory of the application and then rebuild to change the graphics.
[Visual Basic]
With GraphicalButton1
.ImageUp = ImageList1.Images(0)
.ImageDown = ImageList1.Images(1)
.ImageOver = ImageList1.Images(2)
.ImageDisabled = ImageList1.Images(3)
End With
Namespace: VBTrain.GraphicalObjects
Assembly: VBTrainGraphicalButton.dll