Freigeben über


ToolStripControlHost.OnParentChanged(ToolStrip, ToolStrip) Methode

Definition

Löst das ParentChanged-Ereignis aus.

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)

Parameter

oldParent
ToolStrip

Das ursprüngliche dem Element übergeordnete Element.

newParent
ToolStrip

Das neue dem Element übergeordnete Element.

Gilt für:

Weitere Informationen