편집

다음을 통해 공유


ToolStripContentPanelRenderEventArgs(Graphics, ToolStripContentPanel) Constructor

Definition

Initializes a new instance of the ToolStripContentPanelRenderEventArgs class.

public:
 ToolStripContentPanelRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStripContentPanel ^ contentPanel);
public ToolStripContentPanelRenderEventArgs (System.Drawing.Graphics g, System.Windows.Forms.ToolStripContentPanel contentPanel);
new System.Windows.Forms.ToolStripContentPanelRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStripContentPanel -> System.Windows.Forms.ToolStripContentPanelRenderEventArgs
Public Sub New (g As Graphics, contentPanel As ToolStripContentPanel)

Parameters

g
Graphics

A Graphics representing the GDI+ drawing surface.

contentPanel
ToolStripContentPanel

The ToolStripContentPanel to render.

Exceptions

g or contentPanel is null.

Applies to