Partager via


ToolStripContentPanelRenderEventArgs(Graphics, ToolStripContentPanel) Constructeur

Définition

Initialise une nouvelle instance de la classe 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)

Paramètres

g
Graphics

Graphics représentant la surface de dessin GDI+.

contentPanel
ToolStripContentPanel

ToolStripContentPanel à restituer.

Exceptions

g ou contentPanel est null.

S’applique à