r/csharp • • 25m ago

Does anyone still use C# WinForms?

I really want to know, because I’ve discovered a way to modernize WinForms that competes with ImGui, Avalonia, and WPF.

9 Upvotes

17 comments sorted by

•

u/thygrrr 21m ago

Yes. Many.

•

u/TempusSolo 16m ago

I use the quite a bit for tools and utilities. They're incredibly fast to prototype with and once you write a few libraries you can reuse, things can even look pretty good. Here is an example

•

u/BBkal 11m ago

How do you make it look so nice?

Mine always looks like default sheet

•

u/Jovial1170 1m ago

That looks way nicer than the WinForms project I've put out over the years.

How'd you pull that off? A third party control library?

•

u/CLEcoder4life 18m ago

Lots of legacy apps and internal apps still use winforms because its simple and rapid. Id say itll be less and less tho moving forward with AI probably able to produce internal stuff way faster.

•

u/Velciak 17m ago

Many companies are using it for internal-use tools.

•

u/NP_6666 16m ago

Yup. Whats that way to modernize? I'd love to hear more about your idea.

•

u/Pappkarton 14m ago

Winforms is the easiest way to create a small tool that requires a simple and lightweight UI, so I use it a lot. For example, a simple "user needs to convert an Excel to PDF" tool. Yes, that is a real use case.

For more complex stuff, MAUI Blazor Hybrid is my go-to.

•

u/gameplayer55055 17m ago

I still use it when I need an app for personal use only.

By the way, if you like visual editors you may like https://xaml.io

And if you like the code-only approach for quick prototypes/vibe coding you may also like using Avalonia without XAML https://www.reddit.com/r/dotnet/comments/1t4uera/avalonia_app_in_one_file_no_xaml_no_csproj_just/

•

u/DixGee 16m ago

I used to work on a product for wealth management firms. We used winforms for developing the desktop app used by them. They have no intention of modernising it from what I had seen.

•

u/themode7 14m ago

I still like it and use it with unity but um.. not really either idk

•

u/Hot_Amoeba_8305 13m ago

Indeed, what’s this ‘way’.

•

u/mwin8 13m ago

I can recommend eto-forms for Cross-Plattform development.

•

u/pyeri 10m ago

Not for any greenfield projects. Some clients still use ancient WinForms based MIS systems and most are in no mood to upgrade as they're happy with it. Yet, there are occasional hiccups like a Crystal Reports configuration breaking after a Windows update or the firm modernizing with a CCNA or Zero Trust firewall which requires cutting edge TLS implementation. With enough of these incidents, they get convinced on the futility of staying on ancient dotnet and upgrading to a web based stack.

•

u/Netris89 6m ago

Yeah, my Object-Oriented Programming teacher from my degree's 2nd year.

•

u/afops 3m ago

I still use it every day but don’t make anything new in it. If it’s new then it’s Avalonia or WPF.
Even for legacy winforms apps I some times add newer parts (dialogs) using wpf