protected override void OnBoundsChanged () { if (control != null) control.Bounds = AlignInRectangle (this.Bounds, control.Size, this.control_align); base.OnBoundsChanged (); }