mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2024-11-25 05:42:45 +01:00
22 lines
536 B
C#
22 lines
536 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
using Avalonia.Controls;
|
|
using Avalonia.Interactivity;
|
|
using DHT.Desktop.Dialogs.Message;
|
|
|
|
namespace DHT.Desktop.Dialogs.TextBox;
|
|
|
|
[SuppressMessage("ReSharper", "MemberCanBeInternal")]
|
|
public sealed partial class TextBoxDialog : Window {
|
|
public TextBoxDialog() {
|
|
InitializeComponent();
|
|
}
|
|
|
|
public void ClickOk(object? sender, RoutedEventArgs e) {
|
|
Close(DialogResult.OkCancel.Ok);
|
|
}
|
|
|
|
public void ClickCancel(object? sender, RoutedEventArgs e) {
|
|
Close(DialogResult.OkCancel.Cancel);
|
|
}
|
|
}
|