Partilhar via


ToolStripContentPanelRenderEventArgs(Graphics, ToolStripContentPanel) Construtor

Definição

Inicializa uma nova instância da 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)

Parâmetros

g
Graphics

Um Graphics que representa a superfície de desenho GDI+.

contentPanel
ToolStripContentPanel

O ToolStripContentPanel a ser renderizado.

Exceções

g ou contentPanel é nulo.

Aplica-se a