Condividi tramite


ToolStripControlHost.OnParentChanged(ToolStrip, ToolStrip) Metodo

Definizione

Genera l'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)

Parametri

oldParent
ToolStrip

Elemento padre originale dell'elemento.

newParent
ToolStrip

Nuovo elemento padre dell'elemento.

Si applica a

Vedi anche