leocb / MaterialSkin

Theming .NET WinForms, C# or VB.Net, to Google's Material Design Principles.
MIT License
438 stars 132 forks source link

Removing of property AccentTextColor. #280

Closed Dolefly closed 2 years ago

Dolefly commented 2 years ago

This property that you removed under "Clean up code and remove unused property AccentTextColor." pull 278, is causing the project to cry though it is unused, it was created automatically on the earlier version. So if you have a project with more than 100 buttons you will need to comment out or delete this line, for example in my button; this.btnDBSettings.AccentTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(64)))), ((int)(((byte)(129))))); So the question is should we soldier on and delete or comment them?

valimaties commented 2 years ago

Hi @Dolefly , Personally, I deleted those lines of code.

Dolefly commented 2 years ago

Hi! @valimaties , it is a tedious work removing one by one or is there a better way?

orapps44 commented 2 years ago

Hi @Dolefly ,

You can comment or delete AccentTextColor property since it has been removed with PR #278.

If you are using light & dark mode it may also be necessary to reset NoAccentTextColor property value for each button.

this.btnDBSettings.NoAccentTextColor = System.Drawing.Color.Empty;

You can use some advanced text editor with macro to do it faster.