mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
24 lines
551 B
C#
24 lines
551 B
C#
using Avalonia.Input;
|
|
using Avalonia.Interactivity;
|
|
|
|
namespace SourceGit.Views
|
|
{
|
|
public partial class RepositoryConfigure : ChromelessWindow
|
|
{
|
|
public RepositoryConfigure()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void BeginMoveWindow(object _, PointerPressedEventArgs e)
|
|
{
|
|
BeginMoveDrag(e);
|
|
}
|
|
|
|
private void CloseWindow(object _1, RoutedEventArgs _2)
|
|
{
|
|
(DataContext as ViewModels.RepositoryConfigure)?.Save();
|
|
Close();
|
|
}
|
|
}
|
|
}
|