[]
Paints the check box with the default picture height and width.
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, float zoomFactor, bool pictureZoomEffect)
Public Shared Sub DoPaint(g As Graphics, r As Rectangle, backColor As Color, foreColor As Color, pictAlignH As HorizontalAlignment, pictAlignV As VerticalAlignment, paintVal As CheckValue, bFocus As Boolean, f As Font, textTrue As String, textFalse As String, textGray As String, caption As String, nAlign As ButtonTextAlign, pict As CheckBoxPicture, bKeyDown As Boolean, bMouseDown As Boolean, bMouseOver As Boolean, backpict As Picture, fmt As StringFormat, bLocked As Boolean, zoomFactor As Single, pictureZoomEffect As Boolean)
Type | Name | Description |
---|---|---|
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 | |
float | zoomFactor | |
bool | pictureZoomEffect |
Paints the check box.
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)
Public Shared Sub DoPaint(g As Graphics, r As Rectangle, backColor As Color, foreColor As Color, pictAlignH As HorizontalAlignment, pictAlignV As VerticalAlignment, paintVal As CheckValue, bFocus As Boolean, f As Font, textTrue As String, textFalse As String, textGray As String, caption As String, nAlign As ButtonTextAlign, pict As CheckBoxPicture, bKeyDown As Boolean, bMouseDown As Boolean, bMouseOver As Boolean, backpict As Picture, fmt As StringFormat, bLocked As Boolean, pictWidth As Integer, pictHeight As Integer, visualStyles As VisualStyles, rightToLeft As Boolean, zoomFactor As Single, pictureZoomEffect As Boolean)
Type | Name | Description |
---|---|---|
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 |
Paints the check box.
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, FocusRectangle focusRect, float zoomFactor, bool pictureZoomEffect)
Public Shared Sub DoPaint(g As Graphics, r As Rectangle, backColor As Color, foreColor As Color, pictAlignH As HorizontalAlignment, pictAlignV As VerticalAlignment, paintVal As CheckValue, bFocus As Boolean, f As Font, textTrue As String, textFalse As String, textGray As String, caption As String, nAlign As ButtonTextAlign, pict As CheckBoxPicture, bKeyDown As Boolean, bMouseDown As Boolean, bMouseOver As Boolean, backpict As Picture, fmt As StringFormat, bLocked As Boolean, pictWidth As Integer, pictHeight As Integer, visualStyles As VisualStyles, rightToLeft As Boolean, focusRect As FocusRectangle, zoomFactor As Single, pictureZoomEffect As Boolean)
Type | Name | Description |
---|---|---|
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 | |
FocusRectangle | focusRect | |
float | zoomFactor | |
bool | pictureZoomEffect |
Paints the check box.
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, FocusRectangle focusRect, bool isGrayScale, float zoomFactor, bool pictureZoomEffect)
Public Shared Sub DoPaint(g As Graphics, r As Rectangle, backColor As Color, foreColor As Color, pictAlignH As HorizontalAlignment, pictAlignV As VerticalAlignment, paintVal As CheckValue, bFocus As Boolean, f As Font, textTrue As String, textFalse As String, textGray As String, caption As String, nAlign As ButtonTextAlign, pict As CheckBoxPicture, bKeyDown As Boolean, bMouseDown As Boolean, bMouseOver As Boolean, backpict As Picture, fmt As StringFormat, bLocked As Boolean, pictWidth As Integer, pictHeight As Integer, visualStyles As VisualStyles, rightToLeft As Boolean, focusRect As FocusRectangle, isGrayScale As Boolean, zoomFactor As Single, pictureZoomEffect As Boolean)
Type | Name | Description |
---|---|---|
Graphics | g | GDI+ grphics surface |
Rectangle | r | Check box rectangle |
Color | backColor | Background color of control |
Color | foreColor | Foreground (text) color of control |
HorizontalAlignment | pictAlignH | Horizontal alignment of the picture |
VerticalAlignment | pictAlignV | Vertical alignment of the picture |
CheckValue | paintVal | Specifies the value of the check box. |
bool | bFocus | Whether it is focused |
Font | f | Font of the text |
string | textTrue | Text when check value is true |
string | textFalse | Text when check value is false |
string | textGray | Text when check value is intermediate |
string | caption | Caption of checkbox |
ButtonTextAlign | nAlign | Aligment of text |
CheckBoxPicture | pict | picture of checkbox |
bool | bKeyDown | Whether key is pressing down |
bool | bMouseDown | Whether mouse is pressing down |
bool | bMouseOver | Whether mouse is hovering |
Picture | backpict | Background picture of check box |
StringFormat | fmt | Formatter of text |
bool | bLocked | Whether it is locked |
int | pictWidth | Specifies width of picture |
int | pictHeight | Specifies height of picture |
VisualStyles | visualStyles | Specifies if visual styles are applied to the control |
bool | rightToLeft | Specifies whether system is right to left |
FocusRectangle | focusRect | Specifies whether to show focus rectangle or not |
bool | isGrayScale | Whether painting in grayscale mode |
float | zoomFactor | |
bool | pictureZoomEffect |