farseer wrote:
Quote:
Is WPF going replace Winforms?
Where can WPF applications run currently? Must you have .net3.0
installed?
WPF and WinForms can co-exist, and there is support for mixing them in "both
directions", i.e. you can embed winforms controls in a WPF application, or
WPF controls in a WinForms application. The support for mixing them isn't
perfect though - IIRC you can't embed a WPF control in a Winforms control
that is itself embedded in a WPF control - the inner WPF control won't
participate correctly in the WPF eventing and properties model.
Whether WPF will eventually replace Winforms is another question - for the
time being, they both exist, and they each have their own strengths and
weaknesses. To some extent, they serve different constituencies, so they
could co-exist for several years.
You do need the 3.0 framework installed to use WPF. The default appearance
of a WPF app will depend on the OS on which it's installed, and the theme
that's in use. For example, on XP with the "Classic Windows" (i.e. windows
2000) look, a WPF app will by default look like an ordinary windows app.
The same app on Vista with Aero will have an Aero look instead.
-cd