ToolStripControlHost.ToolStripHostedControlAccessibleObject 构造函数

定义

使用指定的工具条托管控件和工具条控制主机初始化新的 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 上托管控件的容器。

适用于