Пример #1
0
 /// <summary>
 /// Handle preferences change events.
 /// </summary>
 private void OnPreferencesChanged(object sender, PreferencesChangedEventArgs e)
 {
     if (e.Name == Preferences.MAPref_ShowAllTopics)
     {
         LoadTree();
     }
     if (e.Name == Preferences.MAPref_EnableSmartFolderCounts)
     {
         SmartFolderRefresh(this, null);
     }
 }
Пример #2
0
 /// <summary>
 /// Handle preferences change events.
 /// </summary>
 private void OnPreferencesChanged(object sender, PreferencesChangedEventArgs args)
 {
     if (args.Name == Preferences.MAPref_DownloadInlineImages)
     {
         inboxMessagePane.ExpandInlineImages = Preferences.StandardPreferences.DownloadInlineImages;
         ShowMessage(SelectedMessage);
     }
     if (args.Name == Preferences.MAPref_IgnoreMarkup)
     {
         inboxMessagePane.DisableMarkup = Preferences.StandardPreferences.IgnoreMarkup;
         ShowMessage(SelectedMessage);
     }
     if (args.Name == Preferences.MAPref_ShowFullDate)
     {
         _showFullDate = Preferences.StandardPreferences.ShowFullDate;
         RefreshList();
     }
     if (args.Name == Preferences.MAPref_DefaultSearchEngine)
     {
         RefreshList();
     }
 }
Пример #3
0
 /// <summary>
 /// Handle preferences change events.
 /// </summary>
 private void OnPreferencesChanged(object sender, PreferencesChangedEventArgs args)
 {
     if (args.Name == Preferences.MAPref_DownloadInlineImages)
     {
         tsvMessagePane.ExpandInlineImages = Preferences.StandardPreferences.DownloadInlineImages;
         RefreshMessagePane();
     }
     if (args.Name == Preferences.MAPref_IgnoreMarkup)
     {
         tsvMessagePane.DisableMarkup = Preferences.StandardPreferences.IgnoreMarkup;
         RefreshMessagePane();
     }
     if (args.Name == Preferences.MAPref_ShowIgnored)
     {
         _showIgnored = Preferences.StandardPreferences.ShowIgnored;
         ReloadList();
     }
     if (args.Name == Preferences.MAPref_ShowFullDate)
     {
         _showFullDate = Preferences.StandardPreferences.ShowFullDate;
         RefreshList();
         RefreshMessagePane();
     }
     if (args.Name == Preferences.MAPref_DefaultSearchEngine)
     {
         RefreshList();
     }
     if (args.Name == Preferences.MAPref_GroupByConv)
     {
         _groupByConv = Preferences.StandardPreferences.GroupByConv;
         ReloadList();
     }
     if (args.Name == Preferences.MAPref_CollapseConv)
     {
         _collapseConv = Preferences.StandardPreferences.CollapseConv;
         ReloadList();
     }
 }
Пример #4
0
 /// <summary>
 /// Handle preferences change events.
 /// </summary>
 private void OnPreferencesChanged(object sender, PreferencesChangedEventArgs args)
 {
     if (args.Name == Preferences.MAPref_ViewMenuBar)
     {
         ShowMenuBar(Preferences.StandardPreferences.ViewMenuBar);
     }
     if (args.Name == Preferences.MAPref_ShowToolBar)
     {
         ShowToolbar(Preferences.StandardPreferences.ShowToolBar);
     }
     if (args.Name == Preferences.MAPref_ViewStatusBar)
     {
         ShowStatusBar(Preferences.StandardPreferences.ViewStatusBar);
     }
 }