Sdílet prostřednictvím


ToolStripContentPanelRenderEventArgs(Graphics, ToolStripContentPanel) Konstruktor

Definice

Inicializuje novou instanci ToolStripContentPanelRenderEventArgs třídy.

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)

Parametry

g
Graphics

A Graphics představující plochu výkresu GDI+.

contentPanel
ToolStripContentPanel

Vykreslit ToolStripContentPanel .

Výjimky

g nebo contentPanel je null.

Platí pro