private void button3_Click_1(object sender, EventArgs e) { OperateResult operate = melsecSerial.StartPLC( ); if (!operate.IsSuccess) { MessageBox.Show("Start Failed:" + operate.Message); } else { MessageBox.Show("Start Success"); } }