2024-03-04 18:46:08 -08:00
|
|
|
using Avalonia.Controls;
|
2024-03-14 03:23:36 -07:00
|
|
|
using Avalonia.Input;
|
2024-03-04 18:46:08 -08:00
|
|
|
using Avalonia.Interactivity;
|
|
|
|
|
2024-03-17 18:37:06 -07:00
|
|
|
namespace SourceGit.Views
|
|
|
|
{
|
|
|
|
public partial class Hotkeys : Window
|
|
|
|
{
|
|
|
|
public Hotkeys()
|
|
|
|
{
|
2024-03-04 18:46:08 -08:00
|
|
|
InitializeComponent();
|
|
|
|
}
|
|
|
|
|
2024-03-17 18:37:06 -07:00
|
|
|
private void BeginMoveWindow(object sender, PointerPressedEventArgs e)
|
|
|
|
{
|
2024-03-14 03:23:36 -07:00
|
|
|
BeginMoveDrag(e);
|
|
|
|
}
|
|
|
|
|
2024-03-17 18:37:06 -07:00
|
|
|
private void CloseWindow(object sender, RoutedEventArgs e)
|
|
|
|
{
|
2024-03-04 18:46:08 -08:00
|
|
|
Close();
|
|
|
|
}
|
|
|
|
}
|
2024-03-31 01:54:29 -07:00
|
|
|
}
|