.NET CF
文章平均质量分 79
M_cole
这个作者很懒,什么都没留下…
展开
-
C# 解压缩文件、生成解压ZIP文件
/// /// 压缩 /// public static void BZip2ComPress(string path) { BZip2.Compress(File.OpenRead(path + @"/目标文件名"), File.Create(path + @"/生成文件名"), 4096);原创 2010-03-09 10:50:00 · 1346 阅读 · 0 评论 -
C# 测试CDMA网络连接
private void Test_Click(object sender, EventArgs e) { bool result = false; uint dwStatus = 0; List lst = null; if (connManager.WaitForConnected(10,原创 2010-03-09 11:04:00 · 277 阅读 · 0 评论 -
windows mobile 控制关闭和隐藏
在windows mobile 中有些机子点叉后也是关闭,在MSDN中有下面一段代码可以解决CancelEventArgs.Cancel 属性获取或设置指示是否应取消事件的值。 private void Form1_Closing(Objec原创 2011-07-05 15:40:31 · 213 阅读 · 0 评论 -
C# 用TAPI拨打电话``
//拨打 private void call() { if (this.numText.Text == "") { MessageBox.Show("号码不能为空"); return; } i原创 2010-02-03 15:24:00 · 1709 阅读 · 3 评论