How would I anchor all 4 sides of a control using code.
This is what I got so far...
but that only sets it to bottom, and if I add somthing below that like this:Code:formControll.Anchor = AnchorStyles.Bottom;
It will only anchor to the top then. I need to anchor them all on the same peice of code, how do I do that?Code:formControll.Anchor = AnchorStyles.Bottom; formControll.Anchor = AnchorStyles.Top;