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 上托管控件的容器。