As you see can in the pictures Design time colors and run time colors are different. (Looks like it changes to a lower color scheme). I don't have any coding that affects the visuals.
CodePudding user response:
As John said. The project does not have visual styles enabled. There is such a line of code in the Main method of every C# Winform project.
//Visual style for launching the application
Application.EnableVisualStyles();
CodePudding user response:
As John mentioned calling visual styles method fixed the problem.