mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 05:05:00 +00:00
style<Window>: icons for MaximizeWindow/RestoreWindow button
This commit is contained in:
parent
787c1a02d5
commit
794394ef0c
9 changed files with 64 additions and 27 deletions
|
@ -57,14 +57,6 @@ namespace SourceGit.Views {
|
|||
SystemCommands.MinimizeWindow(this);
|
||||
}
|
||||
|
||||
private void MaximizeOrRestore(object sender, RoutedEventArgs e) {
|
||||
if (WindowState == WindowState.Normal) {
|
||||
SystemCommands.MaximizeWindow(this);
|
||||
} else {
|
||||
SystemCommands.RestoreWindow(this);
|
||||
}
|
||||
}
|
||||
|
||||
private void Quit(object sender, RoutedEventArgs e) {
|
||||
Application.Current.Shutdown();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue