private async void RunToAddressButton_OnClick(object sender, RoutedEventArgs e) { if (_debugger.Connected) { var window = new RunToAddressWindow(_settings); if (window.ShowDialog() == true) { _debugger.SendRunToAddressCommand(_settings.Data.RunToAddress); await RequestForAllData(); } } else { DisplayConnectionError(); } }