'Declaration
Public Overloads Shared Sub DoPaint( _ ByVal g As Graphics, _ ByVal r As Rectangle, _ ByVal backColor As Color, _ ByVal foreColor As Color, _ ByVal pictAlignH As HorizontalAlignment, _ ByVal pictAlignV As VerticalAlignment, _ ByVal paintVal As CheckValue, _ ByVal bFocus As Boolean, _ ByVal f As Font, _ ByVal textTrue As String, _ ByVal textFalse As String, _ ByVal textGray As String, _ ByVal caption As String, _ ByVal nAlign As ButtonTextAlign, _ ByVal pict As CheckBoxPicture, _ ByVal bKeyDown As Boolean, _ ByVal bMouseDown As Boolean, _ ByVal bMouseOver As Boolean, _ ByVal backpict As Picture, _ ByVal fmt As StringFormat, _ ByVal bLocked As Boolean, _ ByVal pictWidth As Integer, _ ByVal pictHeight As Integer, _ ByVal visualStyles As VisualStyles, _ ByVal rightToLeft As Boolean, _ ByVal zoomFactor As Single, _ ByVal pictureZoomEffect As Boolean _ )
'Usage
Dim g As Graphics Dim r As Rectangle Dim backColor As Color Dim foreColor As Color Dim pictAlignH As HorizontalAlignment Dim pictAlignV As VerticalAlignment Dim paintVal As CheckValue Dim bFocus As Boolean Dim f As Font Dim textTrue As String Dim textFalse As String Dim textGray As String Dim caption As String Dim nAlign As ButtonTextAlign Dim pict As CheckBoxPicture Dim bKeyDown As Boolean Dim bMouseDown As Boolean Dim bMouseOver As Boolean Dim backpict As Picture Dim fmt As StringFormat Dim bLocked As Boolean Dim pictWidth As Integer Dim pictHeight As Integer Dim visualStyles As VisualStyles Dim rightToLeft As Boolean Dim zoomFactor As Single Dim pictureZoomEffect As Boolean FpCheckBox.DoPaint(g, r, backColor, foreColor, pictAlignH, pictAlignV, paintVal, bFocus, f, textTrue, textFalse, textGray, caption, nAlign, pict, bKeyDown, bMouseDown, bMouseOver, backpict, fmt, bLocked, pictWidth, pictHeight, visualStyles, rightToLeft, zoomFactor, pictureZoomEffect)
public static void DoPaint( Graphics g, Rectangle r, Color backColor, Color foreColor, HorizontalAlignment pictAlignH, VerticalAlignment pictAlignV, CheckValue paintVal, bool bFocus, Font f, string textTrue, string textFalse, string textGray, string caption, ButtonTextAlign nAlign, CheckBoxPicture pict, bool bKeyDown, bool bMouseDown, bool bMouseOver, Picture backpict, StringFormat fmt, bool bLocked, int pictWidth, int pictHeight, VisualStyles visualStyles, bool rightToLeft, float zoomFactor, bool pictureZoomEffect )
Parameters
- g
- r
- backColor
- foreColor
- pictAlignH
- pictAlignV
- paintVal
- bFocus
- f
- textTrue
- textFalse
- textGray
- caption
- nAlign
- pict
- bKeyDown
- bMouseDown
- bMouseOver
- backpict
- fmt
- bLocked
- pictWidth
- pictHeight
- visualStyles
- rightToLeft
- zoomFactor
- pictureZoomEffect