ToolStripControlHost.OnParentChanged(ToolStrip, ToolStrip) 方法

定义

引发 ParentChanged 事件。

protected:
 override void OnParentChanged(System::Windows::Forms::ToolStrip ^ oldParent, System::Windows::Forms::ToolStrip ^ newParent);
protected override void OnParentChanged (System.Windows.Forms.ToolStrip oldParent, System.Windows.Forms.ToolStrip newParent);
protected override void OnParentChanged (System.Windows.Forms.ToolStrip? oldParent, System.Windows.Forms.ToolStrip? newParent);
override this.OnParentChanged : System.Windows.Forms.ToolStrip * System.Windows.Forms.ToolStrip -> unit
Protected Overrides Sub OnParentChanged (oldParent As ToolStrip, newParent As ToolStrip)

参数

oldParent
ToolStrip

项的原始父级。

newParent
ToolStrip

项的新父级。

适用于

另请参阅