Click here to Skip to main content
15,922,574 members
Home / Discussions / C#
   

C#

 
GeneralASDI Blues Pin
MadDogm1612-Oct-04 20:03
MadDogm1612-Oct-04 20:03 
GeneralRe: ASDI Blues Pin
Vasudevan Deepak Kumar13-Oct-04 2:39
Vasudevan Deepak Kumar13-Oct-04 2:39 
GeneralRe: ASDI Blues Pin
MadDogm1613-Oct-04 16:31
MadDogm1613-Oct-04 16:31 
GeneralASDI Blues Pin
MadDogm1612-Oct-04 19:59
MadDogm1612-Oct-04 19:59 
GeneralRe: ASDI Blues Pin
Vasudevan Deepak Kumar12-Oct-04 23:54
Vasudevan Deepak Kumar12-Oct-04 23:54 
GeneralVisual style and check boxes Pin
12-Oct-04 19:38
suss12-Oct-04 19:38 
GeneralRe: Visual style and check boxes Pin
Jim Stewart14-Oct-04 5:24
Jim Stewart14-Oct-04 5:24 
GeneralRe: Visual style and check boxes Pin
Member 134336314-Oct-04 8:21
Member 134336314-Oct-04 8:21 
Create a new c# windows application

in main add

Application.EnableVisualStyles(); before
Application.Run(new Form1());

Then add a checkbox to the form, and set FlatStyle to "System"

compile the program and the checkbox will have windows xp themes, if you set the checkbox to be checked by default, then compile the xp theme is removed...

Do other people get the same problem?

The way i have got around it is to set the checkbox defaults when Form1 loads (Load event), but i would be interested in knowing what causes this problem.

Cheers
Generalloading different version dll .net assembly Pin
ting66812-Oct-04 19:15
ting66812-Oct-04 19:15 
GeneralClient - Server Pin
The_Soul_Of_Rock12-Oct-04 18:22
The_Soul_Of_Rock12-Oct-04 18:22 
GeneralRe: Client - Server Pin
Colin Angus Mackay12-Oct-04 23:56
Colin Angus Mackay12-Oct-04 23:56 
GeneralCrystal Report Error Message Pin
MMFT12-Oct-04 17:58
MMFT12-Oct-04 17:58 
GeneralWindows Service problem 2 Pin
ting66812-Oct-04 17:10
ting66812-Oct-04 17:10 
GeneralRe: Windows Service problem 2 Pin
Matt Philmon12-Oct-04 18:10
Matt Philmon12-Oct-04 18:10 
GeneralRe: Windows Service problem 2 Pin
ting66812-Oct-04 18:14
ting66812-Oct-04 18:14 
GeneralRe: Windows Service problem 2 Pin
Matt Philmon12-Oct-04 18:23
Matt Philmon12-Oct-04 18:23 
GeneralRe: Windows Service problem 2 Pin
ting66812-Oct-04 18:28
ting66812-Oct-04 18:28 
GeneralRe: Windows Service problem 2 Pin
Matt Philmon12-Oct-04 18:49
Matt Philmon12-Oct-04 18:49 
GeneralRe: Windows Service problem 2 Pin
ting66813-Oct-04 0:07
ting66813-Oct-04 0:07 
Generalcontext menu Pin
ppp00112-Oct-04 16:16
ppp00112-Oct-04 16:16 
Generalhttps server Pin
ppp00112-Oct-04 16:00
ppp00112-Oct-04 16:00 
GeneralRe: https server Pin
Matt Philmon12-Oct-04 18:12
Matt Philmon12-Oct-04 18:12 
GeneralPopulating DataGrid with thread Pin
GA-BOYZ12-Oct-04 14:52
GA-BOYZ12-Oct-04 14:52 
GeneralRe: Populating DataGrid with thread Pin
Vasudevan Deepak Kumar12-Oct-04 23:59
Vasudevan Deepak Kumar12-Oct-04 23:59 
GeneralRe: Populating DataGrid with thread Pin
GA-BOYZ13-Oct-04 5:08
GA-BOYZ13-Oct-04 5:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.