Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Dark Mode and .NET 9 #98

@ChGen

Description

@ChGen

I think it worth to mention, that in .NET 9.0 there are new APIs to enable Windows Dark mode in Windows Forms apps. I've tried it on WireSockUI project, and with few extra changes in the project, it works. It's not perfect, but it works without much effort:

// Add to Program.Main()
Application.SetColorMode(SystemColorMode.System);

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions