ToolStripPanelRenderEventArgs(Graphics, ToolStripPanel) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化一個使用指定圖形的類別ToolStripPanelRenderEventArgs新實例ToolStripPanel。
public:
ToolStripPanelRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStripPanel ^ toolStripPanel);
public ToolStripPanelRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStripPanel toolStripPanel);
new System.Windows.Forms.ToolStripPanelRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStripPanel -> System.Windows.Forms.ToolStripPanelRenderEventArgs
Public Sub New (g As Graphics, toolStripPanel As ToolStripPanel)
參數
- g
- Graphics
用來繪製 ToolStripPanel.
- toolStripPanel
- ToolStripPanel
畫 ToolStripPanel 畫。
例外狀況
g 或 toolStripPanel 為空值。