/// <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(); }
/// <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"); }