I'm resizing my custom control using the following code:
private void Form1_Resize_1(object sender, EventArgs e)
{
textBox1.Text = this.Width.ToString();
textBox2.Text = (this.Height - 200).ToString();
canvas21.Size = new System.Drawing.Size(this.ClientSize.Width, this.ClientSize.Height - this.Top - 15);
canvas21.Invalidate();
}
I just want the top left corner of the custom control(0, 105) to stay in place, and the control to resize along with the form, but for some reason this does not work. When I resize the control stays in place, but automatically resizes to fill out the rest of the form.

Is there any way to get a list of everything that affects the size of a usercontrol. In order to search for other places the size i set, which i might have overlooked?
DockandAnchorproperties already? Using one or both of those is far easier than manually implementing the resizing logic in theResizeevent like we had to do for years before. - Cody Gray