textBox1.Multiline = true;
textBox1.Anchor = AnchorStyles.Top | AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
Then resize your form and the text box should grow and shrink while maintaining the same distance from the edges of the form
source
to share