C#.NET??????????????+???????
???????????? ???????[ 2013/10/23 10:45:45 ] ????????
???????????delphi??BCB???????????й??????? ????????????????????????????????д?????C#?????С???????ο???.
????GUI????:
??????????趨???????????????????????????????????????????????????????????????.
??????????????趨?????????????????????HEX????л??????????????????????????
??????????????????????е???????????????????????????????????????
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace MyUSART
{
public partial class MainForm : Form
{
bool USARTstate = true;// ?????? true ???????? false ???????
int RxNum = 0;
int TxNum = 0;
public MainForm()
{
InitializeComponent();
}
private void MainForm_Load(object sender?? EventArgs e)
{
timer1.Enabled = false;
timer1.Interval = 50;
try
{
foreach (string com in System.IO.Ports.SerialPort.GetPortNames())
this.comboBox1PortName.Items.Add(com);
comboBox1PortName.SelectedIndex = 0;
comboBox2BaudRate.SelectedIndex = 0;
}
catch (System.Exception ex)
{
MessageBox.Show("????????????"?? "???????");
}
}
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11