I've made an application with WinForms, but I suddenly learn the existence of W

Posted by: thejobwasalreadydoe on 16 March 2021, 10:47 pm EST

  • Posted 16 March 2021, 10:47 pm EST

    I’m not a newbie but i’m not an experienced programmer either with C#…

    So I made an applcation with WinForms, and I just learn that this technology is deprecated and people are moving on WPF.

    I’m kinda mad because I never heard about WPF, even when I had trouble with WinForms, I’ve never saw anyone said “Stop using this. Use WPF”…

    But now I have a app I developped for about 1 month. All the interface is mostly done.

    I still have stuff to work on, like reading thought a Excel file and generate controls depending what’s into the Excel file.

    I dunno. Should I rewrite all my stuff into WPF or not ?

    I’ve read some comparaisons and I’m still not sure If I should start all over again.

  • Posted 16 March 2021, 11:47 pm EST

    Hi Audrey,

    Both Winforms/WPF comes with its set of pros and cons. When it comes to WPF, it can let you build a User Interface which is flashy just by putting in little efforts. When said that, it has to be known that WPF is not for applications which needs to be a bit catchy. It comes with a lot support for animations and visuals but this is not the end.

    If your application involves much media types then WPF is a great platform to use. If you want to create a skinned user interface, dynamically load some areas of the UI from a web service, bind to XML or want to develop a desktop application which has the web-like navigation style, then WPF is a great choice.

    However, WinForms still has some role to play. If you want to develop an application without much of added modern functionality in WPF, then you can always choose to go for a platform which is developer-approved and time-tested. Compared to what WPF has currently, WinForms has more online resources, third party controls and developer communities. Compared to WPF, WinForms has much better design-time experience in Visual Studio. This itself is enough to choose WinForms.

    This is my experience with WinForms and WPF. However, you can choose the appropriate technology as per your requirements.

    Note : JFYI, This is a product related community forum.

    Best Regards,

    Kartik

  • Posted 17 March 2021, 9:09 pm EST

    To my understanding, Microsoft wanted to create something better than WinForms and developed WPF. But it was not adopted by the developer community as much as expected and did not really become the new standard. WinForms ist still strong (or even stronger?)

    Now with .NET5 and beyond, Microsoft developed “WinUI 3.0”, which shall become the new “standard UI”. But migration from WinForms or WPF to WinUI is hard to impossible.

    So, to my understanding there is no “correct” UI framework. Whatever you choose, it will be the wrong decision…

    Best regards

    Wolfgang

  • Posted 18 March 2021, 7:04 pm EST

    Was the original thread meant to just post a strange link? A similar question was posted twice in two days (other one: https://www.grapecity.com/forums/winforms-edition/what-do-you-think-of-winfo), and in both cases the reply of the original poster contained a link. This sounds suspicious. Maybe the mods should clean this up?

  • Posted 25 March 2021, 3:51 am EST

    For safety we removed the post with the strange link.

    Thanks

    Greg

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels