public void ConnectSerialPort()
 {
     ConnectButton.PerformClick();
 }