[英]I've written a C# program. Can I put it on my WP7 phone?
I'd like to convert my program to a WP7 app. 我想将我的程序转换为WP7应用程序。 It's written in C# and basically just stores my blood sugar readings and it can also display a graph based on that data.
它是用C#编写的,基本上只存储我的血糖读数,它还可以显示基于该数据的图形。
I'm assuming I'll have to re-write the program in Silverlight, but I was wondering if anyone else had tried something like this (making a C# program into a WP7 app) and what advice they could offer? 我假设我必须在Silverlight中重新编写程序,但我想知道是否有其他人尝试过这样的东西(将C#程序变成WP7应用程序)以及他们可以提供什么建议? For instance, a web site that talks about converting a .Net program to WP7 format?
例如,一个谈论将.Net程序转换为WP7格式的网站?
Thanks for any advice! 谢谢你的建议!
EDIT: The existing interface is WinForm. 编辑:现有的界面是WinForm。 I can change that to WPF, if need be.
如果需要,我可以将其更改为WPF。 I just wasn't sure about the process and thought maybe someone here had gone through it before and could offer advice.
我只是不确定这个过程,并且想到也许有人在此之前已经完成过并可以提供建议。
You can convert it to run on Windows Phone, but it will require a significant effort, as the current program is developed using Windows Forms. 您可以将其转换为在Windows Phone上运行,但由于当前程序是使用Windows窗体开发的,因此需要付出很大的努力。 Windows Phone uses a version of Silverlight - which will likely mean that your logic will work as-is, but the user interface will need to be rewritten.
Windows Phone使用Silverlight版本 - 这可能意味着您的逻辑将按原样运行,但需要重写用户界面。
That being said, typically, a desktop-developed application will always need a fair bit of working to function correctly, and meaningfully, in a phone's form and shape. 话虽如此,通常情况下,桌面开发的应用程序总是需要一些工作才能正确,有意义地以手机的形式和形状运行。 The overall interface size and design typically has to be modified.
通常必须修改整体界面尺寸和设计。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.