摘要: using System; using System.Collections.Generic; using System.Text; using System.IO.Ports; namespace SerialPortControl {     public class PortControl     {   ... 阅读全文
posted @ 2009-10-27 09:39 大漠银狐 阅读(2228) 评论(0) 推荐(0) 编辑
摘要: 窗口数据发送和接受的类 新建 PortControl 程序代码 using System; using System.IO.Ports; using System.Windows.Forms; namespace SPC {     /// <summary>     /// 串口控制    &#... 阅读全文
posted @ 2009-10-27 09:36 大漠银狐 阅读(871) 评论(0) 推荐(0) 编辑
摘要: 代码如下: 程序代码   private void OpenChild(string Frmnamespace, string ChildTypeName)         {             int ... 阅读全文
posted @ 2009-10-27 09:32 大漠银狐 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.mysticboy.cn/article.asp?id=100 常驻内存的程序是一些监控或者数据处理的项目中最常用的程序, 有的人做成控制台程序,长期开着, 可是这要登录进去,然后自动运行,必须保持用户在登录状态,这样唯一的好处是能看到调试信息(console.writeline输出的东西),很多人都这么干, 我就碰到好几个大项目,比如某省的高速公路收费等。 服务的好... 阅读全文
posted @ 2009-10-27 09:17 大漠银狐 阅读(224) 评论(0) 推荐(0) 编辑