void OnThemeChange(ThemeChangedEventArgs e) { var uri = new Uri(baseThemeUri + "Theme" + currentTheme + ".xaml"); ResourceDictionary ret; if (resourceDicts.TryGetValue(uri, out ret)) MergedDictionaries.Remove(ret); currentTheme = Colors.DetectTheme(); Source = uri; }
private void VSColorTheme_ThemeChanged(ThemeChangedEventArgs e) { ReloadColors(); if (_themeChangedAction != null) { _themeChangedAction(); } }
private void VSColorThemeChanged(ThemeChangedEventArgs e) { UpdateHeghlighting(); }
static void VSColorTheme_ThemeChanged(ThemeChangedEventArgs e) { CalculateTheme(); }
private void OnColorThemeChanged(ThemeChangedEventArgs e) => SetThemeColors();
void ThemeManager_ThemeChanged(object sender, ThemeChangedEventArgs e) { RefreshSearchResults(); RefreshComboBox(); }
void VSColorTheme_ThemeChanged(ThemeChangedEventArgs e) { SetDefaultColors(); }
private void VSColorTheme_ThemeChanged(ThemeChangedEventArgs e) { // Wait until things have settled down from the theme change, since we will potentially be changing theme colors. VsTaskLibraryHelper.CreateAndStartTask(VsTaskLibraryHelper.ServiceInstance, VsTaskRunContext.UIThreadIdlePriority, UpdateThemeColors); }
private void ThemeManager_ThemeChanged(object?sender, ThemeChangedEventArgs e) => SetDefaultIconColors();
void ThemeManager_ThemeChanged(object sender, ThemeChangedEventArgs e) { iconBarMargin.InvalidateVisual(); }
void ThemeManager_ThemeChanged(object sender, ThemeChangedEventArgs e) { vmExceptions.Value.RefreshThemeFields(); }
private void VSColorTheme_ThemeChanged(ThemeChangedEventArgs e) { Update(); ColorsChanged?.Invoke(); }
private void OnThemeManagerThemeChanged(object sender, ThemeChangedEventArgs e) { Rebuild(); }
private void UpdateTheme(ThemeChangedEventArgs e) { _classificationColorManager.UpdateColors(); }
private void OnColorThemeChanged(ThemeChangedEventArgs e) { SetThemeColors(); }
/// <summary> /// This event handler is called when the Visual Studio theme changes and raise the property change /// notification so that the colors are updated in any controls that use them. /// </summary> /// <param name="e">The event arguments</param> private void VSColorTheme_ThemeChanged(ThemeChangedEventArgs e) { this.OnPropertyChanged(null); }
void ThemeManager_ThemeChanged(object sender, ThemeChangedEventArgs e) => RefreshToolBar();
private void VSColorTheme_ThemeChanged(ThemeChangedEventArgs e) { SetTreeControlThemedColors(); _containerControl.SetWatermarkThemedColors(); _containerControl.SetToolbarThemedColors(); // force the tree header to re-theme NativeMethods.PostMessage(_treeControl.Handle, e.Message, IntPtr.Zero, IntPtr.Zero); }
/// <summary> /// Handle updates to VS theme /// </summary> private void VSColorTheme_ThemeChanged(ThemeChangedEventArgs e) { UpdateTheme(CurrentDesigner); }
private void VSColorTheme_ThemeChanged(ThemeChangedEventArgs e) { m_colors.Update(); UpdateItems(false); }
private void VSColorTheme_ThemeChanged(ThemeChangedEventArgs e) => QueueColorSchemeUpdate();
void OnThemeChange(ThemeChangedEventArgs e) { base.Source = GetCurrentThemeUri(); }
void ThemeService_ThemeChanged(object sender, ThemeChangedEventArgs e) => UpdateIsInContrastMode();
private void ThemeChanged(object sender, ThemeChangedEventArgs e) { this.ChangeTheme(e.Theme); }
private void OnThemeChanged(object target, ThemeChangedEventArgs args) { ThemeChangedEvent?.Invoke(null, new ThemeChangeEventArgs { CurrentTheme = args.ThemeId }); }
private void ThemeManagerIsThemeChanged(object sender, ThemeChangedEventArgs e) { this.Invoke(this.HandleThemeChange); }
private void VSColorTheme_ThemeChanged(ThemeChangedEventArgs e) { m_colors.Update(); Graphics graphics = Graphics.FromImage(m_emptyBitmap); graphics.Clear(m_colors.ClearColor); UpdateItems(); }
void ThemeManager_ThemeChanged(object sender, ThemeChangedEventArgs e) => RefreshNodes();
private void VSColorTheme_ThemeChanged(ThemeChangedEventArgs e) { m_colors.Update(); UpdateItems(); }
void ThemeManager_ThemeChanged(object sender, ThemeChangedEventArgs e) { scriptControlVM.RefreshThemeFields(); }
private void OnThemeChanged(object sender, ThemeChangedEventArgs e) { SetThemeColors(e.NewTheme); }
void ThemeManager_ThemeChanged(object sender, ThemeChangedEventArgs e) { vmCallStack.RefreshThemeFields(); }
void OnThemeChanged(ThemeChangedEventArgs e) { UpdateImageList(); SetActiveSelection(TaskComboIndex); SetActiveSelection(ProjectComboIndex); }
#pragma warning disable VSTHRD100 private async void VSColorTheme_ThemeChanged(ThemeChangedEventArgs e) => await UpdateDocumentAsync(true);
private void Current_ThemeChanged(object sender, ThemeChangedEventArgs e) { ResetTheme(); }
void OnThemeChanged(ThemeChangedEventArgs e) { Icon = GetDrawingForIcon(GetBrushForIcon()); }
void ThemeManager_ThemeChanged(object sender, ThemeChangedEventArgs e) => vmLocals.RefreshThemeFields();
private void SkinManager_ThemeChanged(object sender, ThemeChangedEventArgs e) { if (e.Product == Product.Common) UpdateTextColor(); }
private void StaticUpdater_OnThemeChangedEvent(object sender, ThemeChangedEventArgs e) { ThemeHelpers.UpdateTheme(e.Theme); }