Ejemplo n.º 1
0
 private void BtnOpen_Click(object sender, EventArgs e)
 {
     try
     {
         config.port = comboBoxCom.Text;
         ws2300      = new WS2300base(config.port);
         string str = ws2300.status();
         this.toolStripStatusLabel.Text = str;
     }
     catch (Exception ex)
     {
         this.toolStripStatusLabel.Text = ex.Message;
     }
 }