DWQA QuestionsCategory: ProgramHow to choose WPF or WinForm in 2020?
The best food in the station asked 4 months ago

Recently, I want to learn a technology to develop Windows Windows FormswpfandwinFormAmong them, I would like to ask you a few questions:1.VS2019Create new application’sWPF applicationandWPF APPWhat’s the difference? (as shown in the figure below)2.compatibilityWhich technology is better? Can it run inxpwin7Up? They all need it.netEnvironment?3. Which technology is betterprospectimage

1 Answers
vishun answered 4 months ago
  • 1. The difference is one.net framworkOne is.net core, .net coreIs the latest open source, but also the future direction, but some controls are not complete, similardataGridViewWait for the component not to.
  • 2. It should work, of course.netEnvironmental Science.
  • 3. I can’t say. There are some problems with them. They may all be affectedelectronWait for the replacement of H5 package.

Currently studyingwinFormBecause they are all small applications and don’t care about the interface,winFormIt’s relatively simple. It’s useless.net coreBecause.net coreSome of the components in are not available and are still under development.
as forwpf, feeling andhtmlIt’s very similar, but I don’t feel like the UI beautificationwinformIt’s a lot more beautiful, but maybe the control is better adaptive.

The best food in the station replied 4 months ago

Well, it’s mainly the javascript technology stack. The electronic is too big. The main program is 100MB +. Of course, there are minilink alternatives. But considering that the code of electron is too easy to be decompiled and debugged, it may be better than the code of native layer? However. Net is only an intermediate layer, and this kind of code is easy to decompile?

vishun replied 4 months ago

@The best food in the stationThis C ා is also easy to decompile. It is the client, so there should be no big difference for professional hackers.