是否可以在 Windows CE 平台上运行我的 Windows 窗体应用程序? [英] Is it possible to run my Windows Form application in Windows CE platform?

查看:32
本文介绍了是否可以在 Windows CE 平台上运行我的 Windows 窗体应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Windows CE 开发的新手,还没有做过.需要这里专家的一些建议.

I am new in Windows CE development and never done it yet. Need some advise from the expert in here.

在我们当前的项目中,我们正在开发一个客户端-服务器应用程序.客户端使用基于 Windows XP 操作系统的 Windows 窗体应用程序,而服务器是基于 Web 的应用程序.

In our current project, we are developing a client-server application. The client side is using a windows form application that are base on Windows XP OS while the server is a web base application.

此问题与客户端应用程序(Windows 窗体)有关.此应用程序使用 Sql Server Express Edition 进行数据存储.数据以 XML 对象格式存储.它还可以通过 Web 服务将数据从客户端传输到服务器.它还与磁条读卡器、非接触式智能卡读卡器和热敏打印机等硬件交互.硬件设备和系统之间的大部分通信都是基于串行端口的.它使用标准的 app.config 进行配置,是一个多线程应用程序.

This question are related to the client application (Windows Form). This application are using Sql Server Express Edition for data storage. The data is stored in XML object format. It also can transfer a data from client to server via web service. It also interact with hardware such as Magnetic Stripe Reader, Contactless Smart Card Reader, and a thermal printer. Most of the communication between hardware device and systems are base on Serial Port. It is use standard app.config for the configuration and is a multi threaded application.

使用使用 Windows CE 平台的手持设备有新的要求.该手持设备包括非接触式智能卡读卡器、打印机和磁条读卡器等所需设备.我是否可以将基于 Windows XP 的当前应用程序转换为 Windows CE,而不是开发新的客户端应用程序?如果是,我该怎么做?如果不是,是否还有其他绝妙的建议来执行此操作?

There is a new requirement to use a Handheld device which is use a Windows CE platform. This handheld included the required equipment such as Contactless Smart Card Reader, Printer and Magnetic Stripe Reader. Instead of developing a new client application, is it possible to me to convert my current application that are base on Windows XP to Windows CE? If yes, how can I do that? If no, is it any other brilliant suggestion to do this?

提前致谢.软件工程师

推荐答案

是的,可以使用 .NET 紧凑框架.

但是,您必须意识到,CF 是完整 .NET 平台的一个子集,并且 CLR 的 CE 版本与桌面版本具有不同的限制.

You have to realize, however, that the CF is a subset of the full .NET platform and the CE version of the CLR has different limitations than the desktop version.

您将能够重用您的大部分代码,但您将不得不花费大量时间重新设计您的 UI 并更改您的代码,以避开紧凑框架的差异和限制.

You will be able to reuse much of your code, but you will have to spend a fair amount of time redesigning your UI and changing your code to get around differences and limitations of the compact framework.

这篇关于是否可以在 Windows CE 平台上运行我的 Windows 窗体应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆