The dbicButton control supports the presentation of different images for different states of the button. The image state properties supported by the control are …
Me.dbicButton1.Picture – describes the image to display by default.
NOTE: If no other state images are provided, the Picture image value is displayed.
Me.dbicButton1.PictureDisable – describes the image to use when the button control is disabled.
Me.dbicButton1.PictureDown – describes the image to use when the button is in the down or pressed state.
Me.dbicButton1.PictureOver – describes the image to use when the mouse is over the button.
These properties can be set at design-time using the property inspector or at runtime in code from images in project resource files or directly from disk.
Example:
VB.NET
Me.dbicButtonImage.Picture = Image.FromFile("Info.gif")
C#
this.dbicButtonImage.Picture = Image.FromFile("Info.gif")