none
C# GUI looks different on different OSes! RRS feed

  • Question

  • Hello, I have made a C# winforms GUI. The overall GUI looks old when run on my pc. I have windows 10 and I tried with .net 4.6.2 and 4.8 with no difference. When i tried on windows 7, the GUI looks much better. Refer to the image at the following link:

    https://www.dropbox.com/s/smkpsoabrbrjnyb/button%20error.png?dl=0

    I would like to have the effect seen in Windows 7.

    Please advise. Regards

    Tuesday, August 27, 2019 8:22 AM

Answers

  • Hello,

    You would need to create a custom button to have a button under windows 10 have the appearance of a windows 7 button as the standard button's appearance is controlled by the operating system it's running on. A compromise is use Flat Style to get an older appearance for the button which may not be an acceptable appearance either but worth trying as it take a few button clicks in the button's property window. 


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    • Marked as answer by Ank11__5 Wednesday, August 28, 2019 8:06 AM
    Tuesday, August 27, 2019 10:58 AM
    Moderator