简体   繁体   English

将C Winforms项目移植到WPF

[英]Porting a C Winforms project to WPF

I have written a smallish app for the company I currently work for in C# winforms. 我为目前在C#winforms中工作的公司编写了一个小应用程序。 I really want to deevlop some WPF skills, so I am going to attempt to port what I have written over to WPF. 我真的想开发一些WPF技能,所以我将尝试将我写的内容移植到WPF中。

My code relies on a number of dll#s written in VB.net and C++(marshalled), will WPF still support this? 我的代码依赖于VB.net和C ++(编组)中编写的许多dll#,WPF仍然支持吗? The VB.net code returns treeviews and datasets, are these still valid in WPF? VB.net代码返回树视图和数据集,这些在WPF中仍然有效吗?

Thanks 谢谢

Yes, you should be just fine. 是的,你应该很好。 WPF and WinForms are just for presentation. WPF和WinForms仅用于演示。 The rest of your code will all be the same. 您的其余代码都将相同。 However, your code for presenting these treeviews and datasets to the user will probably have to change. 但是,用于向用户呈现这些树视图和数据集的代码可能必须更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM