通常在标准Windows中关闭窗口的窗口顶部栏中的[x]按钮似乎在Windows Compact上进行了最小化.
它是如何让它关闭的?当发生这种情况时我还需要能够引发事件,因为我想在窗口关闭时执行一些逻辑.
有谁知道,我如何在Compact Framework应用程序中使用OpenStreetMap?是否有框架或类似的东西?我可以在他们的wiki中找到的是如何为他们的项目做出贡献以及如何使用他们的软件来映射数据.但我想使用他们的地图在我自己的应用程序中显示用户位置.我找不到任何关于使用他们的Web服务或我必须用来在我的应用程序中显示他们的地图的东西.
虽然可以轮询Web服务,但是除了使用Exchange Server邮件传输之外,您是否知道将更改推送到移动客户端的另一种方法?
我真的想升级到Visual Studio 2010.但是由于我为Pocket PC版本的Windows Mobile做了很多开发,我不能.(我开发的是不支持Windows Phone 7的Symbol设备,所以这不是一个选项.)
当微软计划在Visual Studio 2010中添加对智能设备项目的支持时,是否有人知道任何时间框架?
更新:由于没有用户干预,这看起来越来越不可能,请到这里投票选择此功能.
我的HTC HD2无法从操作系统重启,只需关闭即可.所以我想写一个小程序来做到这一点.
是否可以使用C#以编程方式重新启动Windows Mobile 6.x设备?
c# compact-framework windows-mobile windows-mobile-6 .net-cf-3.5
I have Database (compact sql server) in a*.sdf file. I converted a compact framework project to a regular pc project and for some reason, with the same code, and the same*.sdf file the following exception was thrown: "the file name is not valid. check the file name for the database"
the weird thing is that on my Pc - the substring "file:\" was added to my original connection string and that's probably why the exception is thrown. when I remove …
我已经看到这段代码在 intertubes 上浮动,用于确定 Windows Mobile 设备是否具有 VGA 屏幕(代码位于 Form 类的方法中):
SizeF currentScreen = this.CurrentAutoScaleDimensions;
bool isVGA = currentScreen.Height == 192;
Run Code Online (Sandbox Code Playgroud)
即使屏幕是 VGA,因为浮点不精确(高度属性是浮点数),isVGA 是否有可能设置为 false?
我希望在我的.NET桌面应用程序和.NET CF应用程序之间共享某些数据功能.
是否可以创建一个可由两个版本的应用程序访问的通用库,或者我需要创建两个单独的DLL?
我有以下问题:
一旦我关闭我的WM6应用程序,然后尝试再次启动它我得到此错误: System.Net.Sockets.Socket.Bind(EndPoint localEP)通常只允许使用每个套接字地址(协议/网络地址/端口)在System.Net.Sockets.Socket.TcpListener.Start()...
我认为这是由于连接超时的时间间隔,所以我想关闭所有打开的连接并强制它创建一个新的连接,这是正确的继续方式还是有不同的方法来处理这个?
以下是用于开始监听的代码:
/// <summary>
/// Listens Asynchronously to Clients, creates a recieveMessageHandler to process the read.
///
/// Check WIKI, TODOS
/// </summary>
/// <returns></returns>
public void Listen()
{
myTcpListener.Start();
while (true)
{
//blocks until a client has connected to the server
try
{
TcpClient myTcpClient = myTcpListener.AcceptTcpClient();
DateTime now = DateTime.Now;
//Test if it's necessary to create a client
ClientConnection client = new ClientConnection(myTcpClient, new byte[myTcpClient.ReceiveBufferSize]);
// Capture the specific client and pass it to …Run Code Online (Sandbox Code Playgroud) c# ×6
.net ×4
.net-cf-3.5 ×1
architecture ×1
audio ×1
dll ×1
sql ×1
wcf ×1
web-services ×1
winforms ×1