Click here to Skip to main content
12,291,499 members (67,698 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
Hi!
I want to create an application where the controls are styled as in Vista/Xp panel. How can I do that?
Please point me to some examples and/or tutorials.

Thanks in advance!
Posted 21-Apr-11 12:24pm
Edited 21-Apr-11 12:39pm
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

What's the point in reposting this daily? You already have 2 threads on this, both of which were answered:

  1. how to obtain this design?[^]
  2. How to use xp panel style in VC#?[^]

Note that you've got to start with something. There's no quick solution here where someone gives you a class where you can just do new class().ShowSuperUI(). Doesn't work that way, not at all.
  Permalink  
Comments
Sandeep Mewara 22-Apr-11 2:10am
   
5!
:)
guendouz bachir 22-Apr-11 5:42am
   
ok i want just an exemple
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

You need to install Vista/Xp on your machine and the theme should be set to Vista/Xp.Change the FlatStyle property of the control to System.In Main() method
static void Main()
{
  Application.EnableVisualStyles();
  Application.DoEvents();
  Application. Run(new Form1());

}
  Permalink  
v2
Comments
guendouz bachir 25-Apr-11 7:48am
   
where can i find this theme before install

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160518.1 | Last Updated 25 Apr 2011
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100