【实例简介】串口电子秤测试程序,源码描述: 一种简单、快速读取电子秤的程序。 可以设置串口的一些参数 欢迎感兴趣用户下载学习,C#的程序,还不错,可以借鉴。
【实例截图】
【核心代码】
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO.Ports;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public delegate void HandleInterfaceUpdataDelegate(string text); //委托,此为重点
private HandleInterfaceUpdataDelegate interfaceUpdataHandle;
bool isClose = false;<