.net - Buttons not rendering as XP style -


I have a real winform app that displays in XP style (rounded corners) at design time, but Windows Style run at 2000 runtime (Square Corner) is set to my desktop theme XP genre. I'm guessing that there is a clear setting that I'm ignoring. Thank you.

In your program Main () method Make sure that you have these 2 rows before application. :

  Applications. Enable visual style (); Application.SetCompatibleTextRenderingDefault (wrong);  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -