ToolStripControlHost.OnParentChanged(ToolStrip, ToolStrip) Yöntem

Tanım

Olayı tetikler 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)

Parametreler

oldParent
ToolStrip

Öğenin özgün üst öğesi.

newParent
ToolStrip

Öğenin yeni üst öğesi.

Şunlara uygulanır

Ayrıca bkz.