mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-02-13 11:38:31 -05:00
More ReSharper suggestions
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<Options:OptionsPanelBase x:Class="FeedCenter.Options.FeedsOptionsPanel"
|
||||
<options:OptionsPanelBase x:Class="FeedCenter.Options.FeedsOptionsPanel"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:Options="clr-namespace:FeedCenter.Options"
|
||||
xmlns:LinkControl="clr-namespace:Common.Wpf.LinkControl;assembly=Common.Wpf"
|
||||
xmlns:Properties="clr-namespace:FeedCenter.Properties"
|
||||
xmlns:options="clr-namespace:FeedCenter.Options"
|
||||
xmlns:linkControl="clr-namespace:Common.Wpf.LinkControl;assembly=Common.Wpf"
|
||||
xmlns:properties="clr-namespace:FeedCenter.Properties"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="311"
|
||||
d:DesignWidth="425">
|
||||
@@ -19,7 +19,7 @@
|
||||
<ColumnDefinition Width="5" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<DataGrid Name="feedListBox"
|
||||
<DataGrid Name="FeedListBox"
|
||||
SelectionMode="Extended"
|
||||
Grid.Column="2"
|
||||
Grid.Row="0"
|
||||
@@ -31,11 +31,11 @@
|
||||
Background="{x:Null}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Binding="{Binding Name}"
|
||||
Header="{x:Static Properties:Resources.FeedNameColumnHeader}"
|
||||
Header="{x:Static properties:Resources.FeedNameColumnHeader}"
|
||||
SortDirection="Ascending"
|
||||
Width="*" />
|
||||
<DataGridTextColumn Binding="{Binding LastUpdated, StringFormat=d}"
|
||||
Header="{x:Static Properties:Resources.LastUpdatedColumnHeader}"
|
||||
Header="{x:Static properties:Resources.LastUpdatedColumnHeader}"
|
||||
Width="Auto" />
|
||||
</DataGrid.Columns>
|
||||
<DataGrid.ItemContainerStyle>
|
||||
@@ -53,7 +53,7 @@
|
||||
</Style>
|
||||
</DataGrid.CellStyle>
|
||||
</DataGrid>
|
||||
<DataGrid Name="categoryListBox"
|
||||
<DataGrid Name="CategoryListBox"
|
||||
SelectionChanged="HandleCategoryListBoxSelectionChanged"
|
||||
Grid.Row="0"
|
||||
SelectionMode="Extended"
|
||||
@@ -67,7 +67,7 @@
|
||||
Background="{x:Null}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Binding="{Binding Name}"
|
||||
Header="{x:Static Properties:Resources.CategoryNameColumnHeader}"
|
||||
Header="{x:Static properties:Resources.CategoryNameColumnHeader}"
|
||||
SortDirection="Ascending"
|
||||
Width="*" />
|
||||
</DataGrid.Columns>
|
||||
@@ -94,68 +94,66 @@
|
||||
BorderBrush="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}">
|
||||
<StackPanel Orientation="Horizontal"
|
||||
Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}">
|
||||
<LinkControl:LinkControl Name="addFeedButton"
|
||||
<linkControl:LinkControl Name="AddFeedButton"
|
||||
Margin="2"
|
||||
Click="HandleAddFeedButtonClick"
|
||||
Text="{x:Static Properties:Resources.AddLink}"
|
||||
ToolTip="{x:Static Properties:Resources.AddFeedButton}">
|
||||
</LinkControl:LinkControl>
|
||||
<LinkControl:LinkControl Name="editFeedButton"
|
||||
Text="{x:Static properties:Resources.AddLink}"
|
||||
ToolTip="{x:Static properties:Resources.AddFeedButton}">
|
||||
</linkControl:LinkControl>
|
||||
<linkControl:LinkControl Name="EditFeedButton"
|
||||
Margin="2"
|
||||
Click="HandleEditFeedButtonClick"
|
||||
Text="{x:Static Properties:Resources.EditLink}"
|
||||
ToolTip="{x:Static Properties:Resources.EditFeedButton}">
|
||||
</LinkControl:LinkControl>
|
||||
<LinkControl:LinkControl Name="deleteFeedButton"
|
||||
Text="{x:Static properties:Resources.EditLink}"
|
||||
ToolTip="{x:Static properties:Resources.EditFeedButton}">
|
||||
</linkControl:LinkControl>
|
||||
<linkControl:LinkControl Name="DeleteFeedButton"
|
||||
Margin="2"
|
||||
Click="HandleDeleteFeedButtonClick"
|
||||
Text="{x:Static Properties:Resources.DeleteLink}"
|
||||
ToolTip="{x:Static Properties:Resources.DeleteFeedButton}">
|
||||
</LinkControl:LinkControl>
|
||||
<LinkControl:LinkControl Name="importButton"
|
||||
Margin="6,2,2,2"
|
||||
Text="{x:Static properties:Resources.DeleteLink}"
|
||||
ToolTip="{x:Static properties:Resources.DeleteFeedButton}">
|
||||
</linkControl:LinkControl>
|
||||
<linkControl:LinkControl Margin="6,2,2,2"
|
||||
Click="HandleImportButtonClick"
|
||||
Text="{x:Static Properties:Resources.ImportLink}"
|
||||
ToolTip="{x:Static Properties:Resources.ImportFeedsButton}">
|
||||
</LinkControl:LinkControl>
|
||||
<LinkControl:LinkControl Name="exportButton"
|
||||
Margin="2"
|
||||
Text="{x:Static properties:Resources.ImportLink}"
|
||||
ToolTip="{x:Static properties:Resources.ImportFeedsButton}">
|
||||
</linkControl:LinkControl>
|
||||
<linkControl:LinkControl Margin="2"
|
||||
Click="HandleExportButtonClick"
|
||||
Text="{x:Static Properties:Resources.ExportLink}"
|
||||
ToolTip="{x:Static Properties:Resources.ExportFeedsButton}">
|
||||
</LinkControl:LinkControl>
|
||||
<LinkControl:LinkControl Name="multipleEditButton"
|
||||
Margin="6,2,2,2"
|
||||
Text="{x:Static properties:Resources.ExportLink}"
|
||||
ToolTip="{x:Static properties:Resources.ExportFeedsButton}">
|
||||
</linkControl:LinkControl>
|
||||
<linkControl:LinkControl Margin="6,2,2,2"
|
||||
Click="HandleMultipleEditClick"
|
||||
Text="{x:Static Properties:Resources.MultipleEditLink}"
|
||||
ToolTip="{x:Static Properties:Resources.MultipleEditButton}">
|
||||
</LinkControl:LinkControl>
|
||||
Text="{x:Static properties:Resources.MultipleEditLink}"
|
||||
ToolTip="{x:Static properties:Resources.MultipleEditButton}">
|
||||
</linkControl:LinkControl>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<Border Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
BorderThickness="1,0,1,1"
|
||||
BorderBrush="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}">
|
||||
<StackPanel Orientation="Horizontal"
|
||||
Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}">
|
||||
<LinkControl:LinkControl Name="addCategoryButton"
|
||||
<linkControl:LinkControl Name="AddCategoryButton"
|
||||
Margin="2"
|
||||
Click="HandleAddCategoryButtonClick"
|
||||
Text="{x:Static Properties:Resources.AddLink}"
|
||||
ToolTip="{x:Static Properties:Resources.AddCategoryButton}">
|
||||
</LinkControl:LinkControl>
|
||||
<LinkControl:LinkControl Name="editCategoryButton"
|
||||
Text="{x:Static properties:Resources.AddLink}"
|
||||
ToolTip="{x:Static properties:Resources.AddCategoryButton}">
|
||||
</linkControl:LinkControl>
|
||||
<linkControl:LinkControl Name="EditCategoryButton"
|
||||
Margin="2"
|
||||
Click="HandleEditCategoryButtonClick"
|
||||
Text="{x:Static Properties:Resources.EditLink}"
|
||||
ToolTip="{x:Static Properties:Resources.EditCategoryButton}">
|
||||
</LinkControl:LinkControl>
|
||||
<LinkControl:LinkControl Name="deleteCategoryButton"
|
||||
Text="{x:Static properties:Resources.EditLink}"
|
||||
ToolTip="{x:Static properties:Resources.EditCategoryButton}">
|
||||
</linkControl:LinkControl>
|
||||
<linkControl:LinkControl Name="DeleteCategoryButton"
|
||||
Margin="2"
|
||||
Click="HandleDeleteCategoryButtonClick"
|
||||
Text="{x:Static Properties:Resources.DeleteLink}"
|
||||
ToolTip="{x:Static Properties:Resources.DeleteCategoryButton}">
|
||||
</LinkControl:LinkControl>
|
||||
Text="{x:Static properties:Resources.DeleteLink}"
|
||||
ToolTip="{x:Static properties:Resources.DeleteCategoryButton}">
|
||||
</linkControl:LinkControl>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Options:OptionsPanelBase>
|
||||
</options:OptionsPanelBase>
|
||||
Reference in New Issue
Block a user