using System; using System.Collections.Generic; using System.Linq; using System.Text; usin…
通常,在C#中实现串口通信,我们有四种方法: 第一:通过MSCOMM控件这是最简单的,最方便的方法。可功能上很难做到控制自如,同时这个控件并不是系统本身所带,所以还得注册,不在本文…
using System; using System.Collections.Generic; using System.Text; using System.IO.Ports; …
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; usi…
由于几乎在每个项目开发中都离不开发送邮件功能,所以,我们反感反复造轮子,就随手基于Net.Mail封装的发送邮件代码。这段代码写了很久了,今天拿出来完善了一下、改了一个bug、加了…
using System; using System.Text; using System.Runtime.InteropServices; using System.Reflec…
using System; using System.Collections.Generic; using System.Data; using System.Drawing; n…
Winform获取应用程序的当前路径的方法集合,具体如下,值得收藏 //获取当前进程的完整路径,包含文件名(进程名)。 string str = this.GetType().As…
using System; using System.Data; using System.Configuration; using System.Web; using Syste…
using System; using System.Collections.Generic; using System.ComponentModel; using System.…
#region public enum Comparison public enum Comparison { /// <summary> /// 等于号 = /// …
using System; using System.Collections.Generic; using System.Linq; using System.Web; using…