What is WPF for the WinForms programmer?

后端 未结 8 541
余生分开走
余生分开走 2021-02-04 11:42

What is WPF to the WinForms programmer?

WinForms distilled is adding controls to forms, and adding event handlers. This is simple and easy and allows you to make functio

8条回答
  •  悲&欢浪女
    2021-02-04 12:00

    I suppose one way of looking at it would be to consider HTML + CSS webpages. We had HTML and that was great, except things were all jumbled together. What people realized is that with CSS, you could separate the structure of the document from its presentation. XAML does the same thing, or at least allows and encourages it.

    As for practical benefits, skim through the MSDN examples. I tend to think WPF is more geared towards so called "rich media", with much more complex elements. Your example of an app that tracks shipping orders isn't a good one, particularly since a number of those systems still run in DOS based interfaces.

提交回复
热议问题