Exemple #1
0
 /// <summary>
 /// When the Robot Log output text is changed. Event used to scrolling to see the last entry in the log
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void RobotLogOutput_TextChanged(object sender, TextChangedEventArgs e)
 {
     RobotLogOutput.ScrollToEnd();
 }
Exemple #2
0
 /// <summary>
 /// On click of button to clear the robot log output
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ClearRobotLogOutput_Click(object sender, RoutedEventArgs e)
 {
     RobotLogOutput.Clear();
     Logging.LogRobot("Robot log cleared");
 }