GrapeCity PlusPak for Windows Forms 11.0J
Paint メソッド

描画に使用するSystem.Drawing.Graphicsオブジェクト。
System.Drawing.Rectangleの値は描画する領域を示します。
System.Windows.Forms.DrawItemStateの値はアイコンの状態を示します。
コマンドアイコンを描画します。
シンタックス
Protected Overridable Sub Paint( _
   ByVal graphics As Graphics, _
   ByVal rectangle As Rectangle, _
   ByVal state As DrawItemState _
) 
protected virtual void Paint( 
   Graphics graphics,
   Rectangle rectangle,
   DrawItemState state
)

パラメータ

graphics
描画に使用するSystem.Drawing.Graphicsオブジェクト。
rectangle
System.Drawing.Rectangleの値は描画する領域を示します。
state
System.Windows.Forms.DrawItemStateの値はアイコンの状態を示します。
参照

参照

CommandIcon クラス
CommandIcon メンバ

 

 


© 2008 GrapeCity inc. All rights reserved.