sourcegit/src/Views/Hotkeys.axaml.cs

20 lines
453 B
C#
Raw Normal View History

using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
namespace SourceGit.Views {
public partial class Hotkeys : Window {
public Hotkeys() {
InitializeComponent();
}
private void BeginMoveWindow(object sender, PointerPressedEventArgs e) {
BeginMoveDrag(e);
}
private void CloseWindow(object sender, RoutedEventArgs e) {
Close();
}
}
}