How to set scrollbars to the panel

Demonstrate how to add scrolling to panel for viewing any controls placed outside of its visible boundaries. The application contains the Panel with enabled AutoScroll property and 'Add Button to Panel' button that adds button to the Panel. When you click on the button you will see that a button will be to the Panel and when added button is place outside of the panel, scroll is appeared on panel.

Zip package for C# download file
Zip package for VB.NET download file
File name: AutoScrollPage_KB001download file
File name: AutoScrollPage.csdownload file
File name: AutoScrollPage.vbdownload file
File name: AutoScrollPage.designer.csdownload file
File name: AutoScrollPage.designer.vbdownload file
File name: AutoScrollPage.resxdownload file