I think MS wants you to use this?
https://dotnet.microsoft.com/en-us/apps/maui
I was pleased to see WinForms got some updates in .NET9. I really thought they'd left it. I still use it every day when I need to spin up a new tool to do some little task that needs a GUI.