C #: Can someone give me a good example of how controls are captured at runtime?
C #: Can someone give me a good example of how controls are captured at runtime?
+1
Mitt rodenbaugh
source
to share
2 answers
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
+1
Eoin campbell
source
to share
You can also see this post to see how Enums work with Flags attributes.
0
David Kemp
source
to share