2024-07-24 19:59:06 -07:00
|
|
|
using Avalonia.Input;
|
|
|
|
using Avalonia.Interactivity;
|
2024-02-05 23:08:37 -08:00
|
|
|
|
2024-03-17 18:37:06 -07:00
|
|
|
namespace SourceGit.Views
|
|
|
|
{
|
2024-07-24 19:59:06 -07:00
|
|
|
public partial class RepositoryConfigure : ChromelessWindow
|
2024-03-17 18:37:06 -07:00
|
|
|
{
|
|
|
|
public RepositoryConfigure()
|
|
|
|
{
|
2024-02-05 23:08:37 -08:00
|
|
|
InitializeComponent();
|
|
|
|
}
|
2024-07-24 19:59:06 -07:00
|
|
|
|
|
|
|
private void BeginMoveWindow(object _, PointerPressedEventArgs e)
|
|
|
|
{
|
|
|
|
BeginMoveDrag(e);
|
|
|
|
}
|
|
|
|
|
|
|
|
private void CloseWindow(object _1, RoutedEventArgs _2)
|
|
|
|
{
|
|
|
|
(DataContext as ViewModels.RepositoryConfigure)?.Save();
|
|
|
|
Close();
|
|
|
|
}
|
2024-02-05 23:08:37 -08:00
|
|
|
}
|
2024-03-31 01:54:29 -07:00
|
|
|
}
|