Example #1
0
 private void btnGetPLCInfo_Click(object sender, EventArgs e)
 {
     try
     {
         string result = objFatekCommunication.GetPLCInfo(1);
         txtResult.AppendText(result);
         txtResult.ScrollToCaret();
     }
     catch (Exception ex)
     {
         MessageBox.Show(this, ex.Message, "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }