I\'m using VS2008\'s designer for doing this.
For example if I\'ve a windows form of size say 500x500 and I added a DataGridView to it (490x490).
when I run
You can use Dock, or for more precise control use the Anchor property. By setting Anchor to Left, Right, Top, Bottom the control will scale with the window. By setting Anchor to Right the control will move with the right border. By setting Anchor to Top and Bottom the control will scale vertically, but have a fixed width. Just experiment