mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
optimize(Launcher): remove unused code
This commit is contained in:
parent
a66aa290bc
commit
c63d410d10
1 changed files with 0 additions and 14 deletions
|
@ -1,7 +1,6 @@
|
|||
using System.Collections.ObjectModel;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace SourceGit.UI {
|
||||
|
||||
|
@ -177,19 +176,6 @@ namespace SourceGit.UI {
|
|||
private void Quit(object sender, RoutedEventArgs e) {
|
||||
App.Current.Shutdown();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Show system menu when user click logo.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void LogoMouseButtonDown(object sender, MouseButtonEventArgs e) {
|
||||
var element = e.OriginalSource as FrameworkElement;
|
||||
if (element == null) return;
|
||||
|
||||
var pos = PointToScreen(new Point(0, 33));
|
||||
SystemCommands.ShowSystemMenu(this, pos);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue