The tabbed user interface has been popular in recent years, due to its screen real estate savings and ease of use. It replaces the older, MDI (Multiple Document Interface) model that exists within the Windows UI subsystem and popularized by frameworks such as MFC (Microsoft Foundation Classes). Visual Studio itself is a good example of tabbed interface usage (although Visual Studio can work in MDI mode as well). In this recipe, we'll see the basics of a tabbed user interface. Check out the There's more... section for a more realistic way of managing tabs.
Make sure Visual Studio is up and running.
We'll create a bare-bones application showing two simple tabs: