1
0
mirror of https://github.com/chylex/Discord-History-Tracker.git synced 2025-04-05 20:15:42 +02:00
Discord-History-Tracker/app/Desktop/Main/Dialogs/NewDatabaseSettingsDialog.axaml.cs

23 lines
518 B
C#

using System.Diagnostics.CodeAnalysis;
using Avalonia.Controls;
using Avalonia.Interactivity;
namespace DHT.Desktop.Main.Dialogs;
[SuppressMessage("ReSharper", "MemberCanBeInternal")]
public sealed partial class NewDatabaseSettingsDialog : Window {
public NewDatabaseSettingsDialog() {
InitializeComponent();
}
private void OnClosing(object? sender, WindowClosingEventArgs e) {
if (!e.IsProgrammatic) {
e.Cancel = true;
}
}
private void ClickOk(object? sender, RoutedEventArgs e) {
Close();
}
}