public Main() { InitializeComponent(); try { SerialPort mySerialPort = new SerialPort("COM10"); mySer