protected override void OnResize(EventArgs e) { base.OnResize(e); // Fixed size this.Size = new Size(buttondelete.Right, buttondelete.Bottom); }