ToolStripControlHost.ToolStripHostedControlAccessibleObject 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定工具區域託管控制項和工具區域控制主機,初始化新的 ToolStripControlHost.ToolStripHostedControlAccessibleObject 執行個體。
public:
ToolStripHostedControlAccessibleObject(System::Windows::Forms::Control ^ toolStripHostedControl, System::Windows::Forms::ToolStripControlHost ^ toolStripControlHost);
public ToolStripHostedControlAccessibleObject (System.Windows.Forms.Control toolStripHostedControl, System.Windows.Forms.ToolStripControlHost toolStripControlHost);
public ToolStripHostedControlAccessibleObject (System.Windows.Forms.Control toolStripHostedControl, System.Windows.Forms.ToolStripControlHost? toolStripControlHost);
new System.Windows.Forms.ToolStripControlHost.ToolStripHostedControlAccessibleObject : System.Windows.Forms.Control * System.Windows.Forms.ToolStripControlHost -> System.Windows.Forms.ToolStripControlHost.ToolStripHostedControlAccessibleObject
Public Sub New (toolStripHostedControl As Control, toolStripControlHost As ToolStripControlHost)
參數
- toolStripHostedControl
- Control
託管於 ToolStripControlHost 容器中的控制項。
- toolStripControlHost
- ToolStripControlHost
在 ToolStrip 上裝載控制項的容器。