示例#1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     try
     {
         reader.Send("get TagList", false);
     }
     catch (Exception ex)
     {
         WriteLog(ex.ToString());
         WriteText("Exception Occured. See the Log File...\n");
     }
 }
示例#2
0
 private void button3_Click(object sender, EventArgs e)
 {
     mReader.Send(txtCommand.Text + "\r\n", false);
 }