disconnect() public static méthode

public static disconnect ( ) : void
Résultat void
Exemple #1
0
 private void stopBut_Click(object sender, EventArgs e)
 {
     try
     {
         Connection._serialPort.DiscardOutBuffer();
         GCode.emergencyReset();
         Connection.disconnect();
         Threading.isCalibrating = false;
         Connection.connect();
     }
     catch
     {
     }
 }
Exemple #2
0
 private void disconnectButton_Click(object sender, EventArgs e)
 {
     Connection.disconnect();
 }