- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Text;
- using System.Windows.Forms;
- using OpenNETCF.Desktop.Communication;
- using System.IO;
- namespace 百维数据导入工具
- {
- public partial class Form1 : Form
- {
- // global RAPI object
- RAPI m_rapi;
- private EventHandler textUpdate;
- private EventHandler statusUpdate;
- internal class TextArgs : EventArgs
- {
- public TextArgs(Control target, string text)
- {
- Target = target;
- Text = text;
- }
- public Control Target;
- public string Text;
- }
C#使用OpenNETCF.Desktop.Communication,实现对ActiveSync状态的判断,及对移动设备文件的操作!
最新推荐文章于 2012-05-10 11:24:00 发布
这篇博客介绍了如何在C#应用中使用OpenNETCF.Desktop.Communication库来判断ActiveSync连接状态,并对移动设备上的文件进行操作。通过示例代码展示了监听ActiveSync连接事件以及从设备复制和删除文件的方法。
摘要由CSDN通过智能技术生成