private void HandlePortsComboBoxValueChanged() { var port = ComboBox_Ports.SelectedItem?.ToString(); var currentPort = _communicationService.GetBindedPort(); if (port != currentPort) { if (_userPresetService.IsRunning()) { _userPresetService.StopUserPreset(); } if (_gamePresetService.IsRunning()) { _gamePresetService.StopApplicationWatcher(); } } }