Menus, toolbars and dialogs

The frame around the content: a menu, a context menu, a toolbar, a status bar, the standard dialogs and a modal dialog of your own. These seven lessons are also where an application's shape appears, because a menu item, a toolbar button and a shortcut are three ways to call one command, and a dialog is how a form returns a result.

037 MenuStrip ToolStripMenuItem, DropDownItems, ShortcutKeys, Checked, a command that three controls call Open 038 ContextMenuStrip and NotifyIcon Show, a tray icon, BalloonTip, a menu that depends on what was clicked Open 039 ToolStrip and StatusStrip ToolStripButton, ToolStripSeparator, ToolStripStatusLabel, Spring, the status line Open 040 MessageBox the buttons, the icons, the DialogResult, the owner, and when a message box is the wrong tool Open 041 OpenFileDialog, SaveFileDialog, FolderBrowserDialog Filter, FileName, InitialDirectory, DefaultExt, AddExtension, a path that runs headless Open 042 A custom modal dialog ShowDialog, DialogResult, AcceptButton and CancelButton, the owner, the values a dialog returns Open 043 Several forms, MDI and settings Show against ShowDialog, Owner, MDI children, Properties.Settings in words, a JSON settings class that runs Open

Lessons