.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
Post a Comment