protected override void OnResize(System.EventArgs e) { this.RecalcLayout(); this.RepositionWindow(anchorPoint, anchorPoint); base.OnResize(e); }