Share via


ControlPaint.DrawCheckBox Yöntem

Tanım

Onay kutusu denetimi çizer.

Aşırı Yüklemeler

DrawCheckBox(Graphics, Rectangle, ButtonState)

Belirtilen durumda, belirtilen grafik yüzeyinde ve belirtilen sınırlar içinde bir onay kutusu denetimi çizer.

DrawCheckBox(Graphics, Int32, Int32, Int32, Int32, ButtonState)

Belirtilen durumda, belirtilen grafik yüzeyinde ve belirtilen sınırlar içinde bir onay kutusu denetimi çizer.

DrawCheckBox(Graphics, Rectangle, ButtonState)

Belirtilen durumda, belirtilen grafik yüzeyinde ve belirtilen sınırlar içinde bir onay kutusu denetimi çizer.

public:
 static void DrawCheckBox(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle rectangle, System::Windows::Forms::ButtonState state);
public static void DrawCheckBox (System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.ButtonState state);
static member DrawCheckBox : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.ButtonState -> unit
Public Shared Sub DrawCheckBox (graphics As Graphics, rectangle As Rectangle, state As ButtonState)

Parametreler

graphics
Graphics

Üzerine Graphics çizecek olan.

rectangle
Rectangle

Rectangle Onay kutusunun boyutlarını temsil eden.

state
ButtonState

Onay kutusunun çizildiğini belirten değerlerin bit düzeyinde birleşimi ButtonState .

Şunlara uygulanır

DrawCheckBox(Graphics, Int32, Int32, Int32, Int32, ButtonState)

Belirtilen durumda, belirtilen grafik yüzeyinde ve belirtilen sınırlar içinde bir onay kutusu denetimi çizer.

public:
 static void DrawCheckBox(System::Drawing::Graphics ^ graphics, int x, int y, int width, int height, System::Windows::Forms::ButtonState state);
public static void DrawCheckBox (System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.ButtonState state);
static member DrawCheckBox : System.Drawing.Graphics * int * int * int * int * System.Windows.Forms.ButtonState -> unit
Public Shared Sub DrawCheckBox (graphics As Graphics, x As Integer, y As Integer, width As Integer, height As Integer, state As ButtonState)

Parametreler

graphics
Graphics

Üzerine Graphics çizecek olan.

x
Int32

Çizim dikdörtgeninin sol üst köşesinin x koordinatı.

y
Int32

Çizim dikdörtgeninin sol üst köşesinin y koordinatı.

width
Int32

Onay kutusunun genişliği.

height
Int32

Onay kutusunun yüksekliği.

state
ButtonState

Onay kutusunun çizildiğini belirten değerlerin bit düzeyinde birleşimi ButtonState .

Şunlara uygulanır