Udostępnij za pośrednictwem


ToolStripControlHost.OnParentChanged(ToolStrip, ToolStrip) Metoda

Definicja

ParentChanged Zgłasza zdarzenie.

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)

Parametry

oldParent
ToolStrip

Oryginalny element nadrzędny elementu.

newParent
ToolStrip

Nowy element nadrzędny elementu.

Dotyczy

Zobacz też