Creating Tabbed Dialog Boxes

Windows 95 was the first version of Windows to introduce a tabbed interface. Since then, tabs have been widely adopted as a primary interface element. Tabs provide two major benefits: the logical grouping of controls and the reduction of required screen space. Although tabs might look complicated, they are actually easy to build and use.

Create a new Windows Application named Tabs Example. Change the name of the default form to fclsTabs, set its Text property to Tabs Example, and modify the Main entry point to fclsTabs. Next, add a new Tab control to your form by double-clicking the TabControl item in the toolbox. At first, the new control looks more like a panel than a set of tabs because it doesn't actually have ...

Get Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.