示例#1
0
文件: WS2300.cs 项目: faina09/WS2300
 private void BtnClose_Click(object sender, EventArgs e)
 {
     try
     {
         ws2300.close();
         this.toolStripStatusLabel.Text = "COM closed";
     }
     catch (Exception)
     {
         this.toolStripStatusLabel.Text = "COM never opened";
     }
 }