Question about Form appearance...

  • Thread starter Thread starter Jako Menkveld
  • Start date Start date
J

Jako Menkveld

Ok, I know this is a silly question, but why don't form created by VS .NET
(2003) look the same as form in other MS apps like IE and Office? The
buttons are different and the tab-controls etc. etc. Is there a way of
getting them to look the same?
 
In Main() before calling the Run() operation enable visual styles:

System.Windows.Forms.Application.EnableVisualStyles()

Gabriel Lozano-Morán
 
Gabriel Lozano-Morán said:
In Main() before calling the Run() operation enable visual styles:

System.Windows.Forms.Application.EnableVisualStyles()

Gabriel Lozano-Morán

Cool, thanks for that, it works...

What if the PC I install this on doesn't run Windows XP? Will I get an
error or will it just revert back to normal windows?
 
Back
Top