Using Advanced Controls

If you take a look at the ch07_05 example in Figure 7.15, you'll see a few advanced controls at work in C#. This example supports timers, tooltips, image lists, and tree views. It uses one of the built-in dialog box controls that comes with C#.

Figure 7.15. Running the ch07_05 example.

Built-in Dialog Boxes

C# comes with seven built-in controls corresponding to standard Windows dialog boxes:

  • System.Windows.Forms.ColorDialog— A color selection dialog box that returns a System.Drawing.Color object in its Color property.

  • System.Windows.Forms.OpenFileDialog— An Open File dialog box that returns the selected filename as a string ...

Get Microsoft® Visual C#® .NET 2003 Kick Start now with O’Reilly online learning.

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