I\'m developing a windows forms application. In my application I have anchored controls to forms such that forms can be maximized and controls will get arranged accordingly.
Create a Panel called panel, then do the following:
Panel
panel
panel1.autoscroll = true; panel1.BorderStyle = BorderStyle.FixedSingle;
Use this method to set scroll width and height:
panel1.SetAutoScrollMargin(int x,int y);