如何在WinF项目的Program.cs文件中找到代码到WPF中的App.xaml.cs文件 [英] How to implement code found in Program.cs file of Winform project to App.xaml.cs file in WPF
问题描述
我有一个在Winforms中实现的应用程序,并希望将其转换为WPF。我已经成功复制了UI,现在我几乎完成了后端。但是我对winforms不是很熟悉所以我发现很难将Program.cs文件(winforms项目)中找到的代码
转换为App.xaml.cs文件(WPF项目)。
I have an application that is implemented in Winforms and will like to convert it to WPF. I have successfully replicated the UI and now I'm almost through with backend. But I'm not very familiar with winforms so I'm finding it difficult to convert the code found in Program.cs file (of winforms project) to App.xaml.cs file ( WPF project).
基本上,我想要的是将winforms项目的入口点中的代码转换为在WPF项目的入口点以相同的方式工作
So basically, what I want is to convert the code in the Entry point of the winforms project to work in the same way in the entry point of the WPF project
这是program.cs文件的链接
Here is a link to the program.cs file
https://drive.google.com/open?id=1yUm9F8pWwFVwM2gaRudKM290AR20UNdm
这是我要转换的代码
Here is the code I want to convert
推荐答案
这是你应该发布的地方。
It is where you should post.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf
这篇关于如何在WinF项目的Program.cs文件中找到代码到WPF中的App.xaml.cs文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!