3 ms·
obviously system.windows.forms could easily be implemented elsewhere, but okay, does any of the other UIs work fully properly on for example linux?
by redeeman 2y ago
obviously system.windows.forms could easily be implemented elsewhere, but okay, does any of the other UIs work fully properly on for example linux?
- CharlieDigital 2y agoAvalonia: https://avaloniaui.net/ https://avaloniaui.net/, https://docs.avaloniaui.net/docs/overview/supported-platforms https://docs.avaloniaui.net/docs/overview/supported-platform... Uno: https://platform.uno/ https://platform.uno/, https://platform.uno/platforms/ https://platform.uno/platforms/
- redeeman 2y agowhat ui library are most .net applications created in the business world today using? what is microsoft telling people to use?
- CharlieDigital 2y agoThere's no such thing; it depends on the app that people are building, their use cases, and platforms. Case in point: both Teams and VS Code: both web view wrappers. Some trading shops are still using WPF and some are even using Windows Forms apps still.
- ziml77 2y agoI'm amazed people are still using WinForms. When I was going around tables at a job fair in college, 13ish years ago, one of the questions for me from representatives for a large bank was about if I've used WPF. I said I don't use it, and they basically told me I should get with the times.
- int_19h 2y ago> obviously system.windows.forms could easily be implemented elsewhere It can, but not easily. As OP has said, it is a wrapper around Win32, and not an opaque one - it literally has stuff like e.g. the Message struct with members like HWnd and LParam. Mono did try at one point, but they kept hitting edge cases where this kind of stuff would break things. Eventually they gave up and just wrapped Wine. So, yes, if you really really want to run WinForms on Linux, Mono is where it's at. But ... why?
- redeeman 2y agowell maybe because there exists countless gui applications that uses it, and furthermore, if you say its crossplatform, you cant say that with a straight face unless you also support gui? fact of the matter is, microsoft was perfectly happy to preach their .net shit as cross platform to try extend into non-windows usage, except for gui stuff, as thats "for windows"
- int_19h 2y agoWe are talking about WinForms specifically. If you want crossplatform GUI, then don't write it in WinForms - write it in Gtk#, or Avalonia, or Uno, or ... Note that C++, Rust, Go all don't have any kind of standard GUI support out of the box at all.