Пример #1
0
 private void ConnectRobot_Click(object sender, RoutedEventArgs e)
 {
     Commands = new RobotCommand(mySerialPort);
     Commands.Connect();
 }
Пример #2
0
 private void Connect_Click(object sender, RoutedEventArgs e)
 {
     MessageBox.Show(temp.Connect());
 }