Пример #1
0
        public MainWindow()
        {
            InitializeComponent();

            _paletteHelper = new Mdx.PaletteHelper();
            var darkThemeEnabled = Properties.Settings.Default.DarkThemeEnabled;

            _paletteHelper.SetLightDark(darkThemeEnabled);
        }
 public SettingsPageViewModel(ISettingsService settingsService,
                              IVstsService vstsService,
                              ISnackbarMessageQueue messageQueue,
                              ITelemetryService telemetryService,
                              INavigationService navigationService)
     : base(navigationService)
 {
     _settingsService  = settingsService;
     _vstsService      = vstsService;
     _messageQueue     = messageQueue;
     _telemetryService = telemetryService;
     _paletteHelper    = new Mdx.PaletteHelper();
 }