ComponentFactory.Krypton.Toolkit.ViewLayoutScrollViewport.RevertParent C# (CSharp) Метод

RevertParent() публичный Метод

Revert the provided control back to a different control.
public RevertParent ( Control newParent, Control c ) : void
newParent System.Windows.Forms.Control Control to become parent.
c System.Windows.Forms.Control Control to reparent.
Результат void
        public void RevertParent(Control newParent, Control c)
        {
            // Remove control from current collection
            CommonHelper.RemoveControlFromParent(c);

            // Add to our child control
            CommonHelper.AddControlToParent(newParent, c);
        }