On Wed, 04 Oct 2006 13:34:01 +0200, Pure Heart
<Pu*******@discussions.microsoft.comwrote:
and this event system color belongs to which object to a form or ?
SystemColorsChanged is a Control event, which means you can use it on the
Form, or a Button or whatever control you like, although most logically
would be to use it on the main form and have the form update the colors of
various controls if desired.
SystemColors is a framework class that contains all the colors of the
system. For instance, if you have a color scheme based on the desktop
color, use the SystemColors.Desktop property
Note that if you use SystemColors inside your application they will change
when the system changes automatically. By Default the controls use
SystemColors.
--
Happy Coding!
Morten Wennevik [C# MVP]