| Visual Basic (Declaration) | |
|---|---|
Public Sub DrawButton( _ ByVal graphics As Graphics, _ ByVal bounds As Rectangle, _ ByVal image As Image, _ ByVal isPressed As Boolean, _ ByVal isFocused As Boolean, _ ByVal isMouseOverButton As Boolean, _ ByVal enabled As Boolean, _ ByVal flat As Boolean, _ ByVal controlColors As ControlColors _ ) | |
| C# | |
|---|---|
public void DrawButton( Graphics graphics, Rectangle bounds, Image image, bool isPressed, bool isFocused, bool isMouseOverButton, bool enabled, bool flat, ControlColors controlColors ) | |
Parameters
- graphics
- bounds
- image
- isPressed
- isFocused
- isMouseOverButton
- enabled
- flat
- controlColors