Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 74e2f62

Browse files
committed
Clean up usings
1 parent 52f36d4 commit 74e2f62

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/GitHub.VisualStudio.UI/Views/Dialog/GitHubDialogWindow.xaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@
4545
</Window.Resources>
4646
<Window.ContentTemplate>
4747
<DataTemplate>
48-
<Border MouseDown="Border_MouseDown" BorderThickness="1" BorderBrush="{DynamicResource {x:Static vs:EnvironmentColors.ToolWindowBorderBrushKey}}">
48+
<Border MouseDown="Border_MouseDown"
49+
BorderThickness="1"
50+
Background="{DynamicResource {x:Static vs:EnvironmentColors.ToolWindowBackgroundBrushKey}}"
51+
BorderBrush="{DynamicResource {x:Static vs:EnvironmentColors.ToolWindowBorderBrushKey}}">
4952
<DockPanel>
5053
<!-- close button and padding -->
5154
<shellControls:GlyphButton x:Uid="button_Close"

src/GitHub.VisualStudio.UI/Views/Dialog/GitHubDialogWindow.xaml.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
using System;
2+
using System.Windows;
3+
using System.Windows.Input;
24
using GitHub.ViewModels.Dialog;
35
using Microsoft.VisualStudio.PlatformUI;
46

@@ -16,12 +18,12 @@ public GitHubDialogWindow(IGitHubDialogWindowViewModel viewModel)
1618
InitializeComponent();
1719
}
1820

19-
void CloseButton_Click(object sender, System.Windows.RoutedEventArgs e)
21+
void CloseButton_Click(object sender, RoutedEventArgs e)
2022
{
2123
Close();
2224
}
2325

24-
void Border_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
26+
void Border_MouseDown(object sender, MouseButtonEventArgs e)
2527
{
2628
DragMove();
2729
}

0 commit comments

Comments
 (0)