Compartir a través de


ToolStripControlHost.OnParentChanged(ToolStrip, ToolStrip) Método

Definición

Genera el evento 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)

Parámetros

oldParent
ToolStrip

Elemento primario original del elemento.

newParent
ToolStrip

Nuevo elemento primario del elemento.

Se aplica a

Consulte también