ComponentFactory.Krypton.Toolkit.PaletteOffice2007Base.OnUserPreferenceChanged C# (CSharp) Method

OnUserPreferenceChanged() protected method

Handle a change in the user preferences.
protected OnUserPreferenceChanged ( object sender, Microsoft.Win32.UserPreferenceChangedEventArgs e ) : void
sender object Source of event.
e Microsoft.Win32.UserPreferenceChangedEventArgs Event data.
return void
        protected override void OnUserPreferenceChanged(object sender, UserPreferenceChangedEventArgs e)
        {
            // Remove the current table, so it gets regenerated when next requested
            _table = null;

            // Update fonts to reflect any change in system settings
            DefineFonts();

            base.OnUserPreferenceChanged(sender, e);
        }
PaletteOffice2007Base