how to use scrollbar to TableLayoutPanel in c# windows application

Hi All,

sometimes requirement is to show lot of data on the form but there is no space,
In HTML and Web Technologies , it automatically makes scroll bar
but if we can to do same in c# winform? And that too for TableLayoutPanel ?
Below is simple procedure , only 3 steps and you are done.

Step1:
// TableLayoutPanel Initialization
            TableLayoutPanel panel = new TableLayoutPanel();


Step2: 
//remove any Autosize for TableLayoutPanel is there in code
// panel.AutoSize = true;


Step3:
// Add MaximumSize and AutoScroll
panel.MaximumSize = new Size(0,200);
            panel.AutoScroll = true;

Please comment if you have any thought on this or better solution.


Thanks
Abhi

Comments