private void _serialPort_Connected(object sender, ConnectionEventArgs e) { Gcode = "INIT"; _serialPort.ClearInputBuffer(); OnConnected(e); }
private void _serialPort_Connected(object sender, ConnectionEventArgs e) { Gcode = "INIT"; _serialPort.ClearInputBuffer(); OnReadyForNextCommand(EventArgs.Empty); OnConnected(e); }