How can I make Windows 95 style buttons in Visual C#?

2.3k Views Asked by At

I am writing a program and I am just curious of how to put buttons that look like in Windows 95:


(source: aos.co.za)

I am using Visual C# Express 2010 with Winforms.

Is this possible in the compiler/IDE I described above?

1

There are 1 best solutions below

3
On BEST ANSWER

Normally you should let the user make that choice. They have the ability to do so.

But, to answer the question, you need to disable the visual styles feature that was introduced in XP. Visual styles are enabled with a call to:

Application.EnableVisualStyles();

typically as the first act of your Main method. Remove that call, and your application will not be styled.

With styles:

enter image description here

Without styles:

enter image description here