From 87c218de3c6ee4323822f2c46b91fbb80c9f4f04 Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Mon, 2 Nov 2015 21:21:57 -0500 Subject: [PATCH] More ReSharper suggestions --- Application/App.xaml.cs | 4 - Application/FeedErrorWindow.xaml | 26 ++- Application/FeedErrorWindow.xaml.cs | 26 +-- Application/Feeds/FeedItem.cs | 25 ++- Application/MainWindow.xaml | 179 +++++++++--------- Application/MainWindow.xaml.cs | 98 +++++----- Application/Options/AboutOptionsPanel.xaml | 24 +-- Application/Options/AboutOptionsPanel.xaml.cs | 11 +- Application/Options/BulkFeedWindow.xaml | 37 ++-- Application/Options/BulkFeedWindow.xaml.cs | 16 +- Application/Options/CategoryWindow.xaml | 38 ++-- Application/Options/DisplayOptionsPanel.xaml | 57 +++--- .../Options/DisplayOptionsPanel.xaml.cs | 25 ++- Application/Options/FeedWindow.xaml | 102 +++++----- Application/Options/FeedWindow.xaml.cs | 4 +- Application/Options/FeedsOptionsPanel.xaml | 96 +++++----- Application/Options/FeedsOptionsPanel.xaml.cs | 51 +++-- Application/Options/GeneralOptionsPanel.xaml | 31 +-- .../Options/GeneralOptionsPanel.xaml.cs | 18 +- Application/Options/OptionsPanelBase.cs | 7 +- Application/Options/OptionsWindow.xaml | 14 +- Application/Options/OptionsWindow.xaml.cs | 12 +- Application/Options/ReadingOptionsPanel.xaml | 18 +- .../Options/ReadingOptionsPanel.xaml.cs | 9 +- Application/Options/UpdateOptionsPanel.xaml | 25 +-- .../Options/UpdateOptionsPanel.xaml.cs | 11 +- Application/Properties/Settings.Designer.cs | 17 +- Application/Properties/Settings.settings | 3 - Application/SplashWindow.xaml | 11 +- Application/SplashWindow.xaml.cs | 12 +- Application/SystemConfiguration.cs | 49 +---- Application/app.config | 3 - 32 files changed, 475 insertions(+), 584 deletions(-) diff --git a/Application/App.xaml.cs b/Application/App.xaml.cs index 92b491d..2e10bc0 100644 --- a/Application/App.xaml.cs +++ b/Application/App.xaml.cs @@ -88,10 +88,6 @@ namespace FeedCenter // Set whether we should auto-start Current.SetStartWithWindows(Settings.Default.StartWithWindows); - // Set whether we should be the default feed reader - if (Settings.Default.RegisterAsDefaultFeedReader) - SystemConfiguration.SetDefaultFeedReader(); - // Initialize the window mainWindow.Initialize(); diff --git a/Application/FeedErrorWindow.xaml b/Application/FeedErrorWindow.xaml index b0b52a0..2b68e79 100644 --- a/Application/FeedErrorWindow.xaml +++ b/Application/FeedErrorWindow.xaml @@ -7,7 +7,7 @@ WindowStartupLocation="CenterOwner" Icon="/FeedCenter;component/Resources/Application.ico" xmlns:my="clr-namespace:FeedCenter.Properties" - xmlns:LinkControl="clr-namespace:Common.Wpf.LinkControl;assembly=Common.Wpf" + xmlns:linkControl="clr-namespace:Common.Wpf.LinkControl;assembly=Common.Wpf" WindowStyle="ToolWindow"> @@ -16,7 +16,7 @@ - - - + - - + - - + - - + - +