private void SettingsButton_OnClick(object sender, RoutedEventArgs e)
        {
            var settingsViewModel = SettingsWindow.Show(this, _settingsWindowViewModel);

            if (settingsViewModel != null)
            {
                AccessTokenTextBox.Text  = string.Empty;
                _settingsWindowViewModel = settingsViewModel;
                EnableControls();
            }
        }
示例#2
0
 private void SettingsButton_OnClick(object sender, RoutedEventArgs e)
 {
     _clientSettings = SettingsWindow.Show(this, _clientSettings) ?? _clientSettings;
 }