A control’s appearance is set via the same set of basic properties used to control form appearance: Items such as
Font make an appearance on most controls.
One item of interest is the capability for a control to automatically alter its appearance to conform to the currently selected “Desktop Theme” if it’s running on Windows XP, Windows Vista, Windows 7, or Windows 8. This capability is enabled by a call to the
Application.EnableVisualStyles method. This line of code is automatically included for you by default as the first line in the
Main method. This location is ideal because it must be called before the controls in the application are actually created. If you remove ...