Help: XP look for FORMs

N

noor

hi,
i'm developing a windows based application for configuration purpose. i want
to give a "SOFT LOOK" to my form for example "xp look" or something like
this kindly guid me how can it b possible in .net environment. R there some
skins available for .net forms if yes then kindly give me that one.
And thanks to M S Herfried K. Wagner for helpoing me.
thanks.
regards
noorali
 
G

Guest

What you're looking for is called "Visual Styles". This can be turned on by
adding Application.EnableVisualStyles(); to your applications Main method.
Note that the program must be running on Windows XP for visual styles to work
(it will look like a normal application on Windows 2000 or older).

Additionally, there is an article on how to enable visual styles using a
manifest file at the following URL:
http://msdn.microsoft.com/library/d...sxpvisualstyleswithcontrolsonwindowsforms.asp
 
S

Stoitcho Goutsev \(100\) [C# MVP]

Calling Application.EnableVisualStyles(); is not enough all the controls
such as buttons, groupboxes, comboboxes that has FlatStyle property have to
have it set to System. By default this property is set to Standard.

In Windowa Forms 2.0 visual styles are enavbled by default.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top