internal override void SetLayout(DynamicLayout layout) { if (Control != null) { if (this.layout != null) this.layout.RemoveChild(Control); if (layout != null) layout.AddChild(Control); } this.layout = layout; }
internal override void SetLayout(DynamicLayout layout) { if (Control != null) { if (this.layout != null) { this.layout.RemoveChild(Control); } if (layout != null) { layout.AddChild(Control); } } this.layout = layout; }