Click here to Skip to main content
Rate this: bad
good
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 13:24pm
Edited 21-Apr-11 13: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 at 22-Apr-11 2:10am
   
5!
:)
guendouz bachir at 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 at 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
0 OriginalGriff 350
1 Jochen Arndt 190
2 Richard MacCutchan 135
3 Sergey Alexandrovich Kryukov 130
4 DamithSL 95
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,310


Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 25 Apr 2011
Copyright © CodeProject, 1999-2014
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