dotnet / winforms

Windows Forms is a .NET UI framework for building Windows desktop applications.
MIT License
4.42k stars 985 forks source link

[Dark Mode]The toolstripPanel have the wrong BackColor in dark mode in DemoConsole application #12041

Open Zheng-Li01 opened 2 months ago

Zheng-Li01 commented 2 months ago

.NET version

.NET 9.0.100-rc.2.24453.35

Did it work in .NET Framework?

No

Did it work in any of the earlier releases of .NET Core or .NET 5+?

This is a new feature Dark Mode: https://github.com/dotnet/winforms/pull/11857

Issue description

The toolstripPanel have the wrong BackColor that black color in dark mode in DemoConsole application. image

Steps to reproduce

  1. Clone the DemoConsole in Winforms repo
  2. Enable Dark mode by adding below code lines in the Program.cs file under DemoConsole project
    #pragma warning disable WFO5001
    Application.SetColorMode(SystemColorMode.Dark);
  3. Build and run the DemoConsole project, then tab to Align control by hand page.
  4. Observe the BackColor of toolstripPanel in dark mode in DemoConsole application
dotnet-policy-service[bot] commented 2 months ago

This issue is now marked as "help wanted", and we’re looking for a community volunteer to work on this issue. If we receive no interest in 180 days, we will close the issue. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

dotnet-policy-service[bot] commented 2 months ago

This issue is now marked as "help wanted", and we’re looking for a community volunteer to work on this issue. If we receive no interest in 180 days, we will close the issue. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!