简体   繁体   中英

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. It's written in C# and basically just stores my blood sugar readings and it can also display a graph based on that data.

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? For instance, a web site that talks about converting a .Net program to WP7 format?

Thanks for any advice!

EDIT: The existing interface is WinForm. I can change that to WPF, if need be. 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 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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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