Implement WPF in WinForms after GUI design is done
Is there a freeware library out there that will let me add the pretty WPF style graphics to an existing WinForms GUI project after-the-fact? I know this will take some coding, so I'm asking is what is the best way (li开发者_开发知识库brary or other) to make a WinForms GUI look pretty after it is already done.
Perhaps better to just convert it completely to WPF?
See: Migrate VB.NET 2.0 Winform to 3.5 WPF
This post describes a tool written by Rob Relyea that looks through instantiation of your Win Forms controls, from InitializeComponent(), and generates XAML that should create an equivalent GUI.
Here's a CodePlex project that does something similar - Windows Forms to Windows Presentation Foundation Converter
Or you might look at something like RadControls for WinForms, from Telerik. The idea is to leave everything in WinForms, but use their Win Forms controls, which have more of a WPF look and feel.
精彩评论