ערוך

שתף באמצעות


ToolStripItemRenderEventArgs(Graphics, ToolStripItem) Constructor

Definition

Initializes a new instance of the ToolStripItemRenderEventArgs class for the specified ToolStripItem and using the specified Graphics.

public:
 ToolStripItemRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStripItem ^ item);
public ToolStripItemRenderEventArgs (System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item);
new System.Windows.Forms.ToolStripItemRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStripItem -> System.Windows.Forms.ToolStripItemRenderEventArgs
Public Sub New (g As Graphics, item As ToolStripItem)

Parameters

g
Graphics

The Graphics object used to draw the item.

item
ToolStripItem

The ToolStripItem to be drawn.

Exceptions

g or item is null.

Applies to