When visual styles are enabled, button controls will not display images under .NET 1.0 and 1.1. This
includes CheckBox, RadioButton and Button controls. Why don't images work?
In order for a button control to draw using themes, the FlatStyle
property must be set to
. This setting causes the operating system
to draw the button, not
.NET. Unfortunately, the operating system is not aware of the image assigned to the button.
Since images are always displayed on button controls under .NET 2.0, this fix is for
consumers of .NET 1.0 and 1.1.
The VisualStyles Solution
With VisualStyles, all your button controls will have their FlatStyle
property set to
the default Standard
value, and of course, VisualStyles is aware of button images.