private void reloadRobot() { robot = (IRobot)Activator.CreateInstance(robotType); outputTextBox.Clear(); write("Loaded " + robot.getName() + " version " + robot.getVersion() + "."); }