語言

ToolStripContentPanelRenderEventArgs(Graphics, ToolStripContentPanel) 建構函式

定義

初始化 ToolStripContentPanelRenderEventArgs 類別的新執行個體。

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)

參數

g
Graphics

A Graphics 代表 GDI+ 繪圖曲面。

例外狀況

g 或 contentPanel 為空值。

適用於