mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 19:02:39 +08:00
25 lines
551 B
C#
25 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();
|
|
}
|
|
}
|
|
}
|