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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.