21 lines
531 B
C#
21 lines
531 B
C#
using Avalonia.Controls;
|
|
using Avalonia.Interactivity;
|
|
|
|
namespace YKanBan.Views.Dialogs;
|
|
|
|
public partial class DeleteColumnConfirmDialog : Window {
|
|
public DeleteColumnConfirmDialog() {
|
|
InitializeComponent();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Confirms the deletion.
|
|
/// </summary>
|
|
private void OnConfirmClick(object? sender, RoutedEventArgs e) => Close(true);
|
|
|
|
/// <summary>
|
|
/// Cancels the deletion.
|
|
/// </summary>
|
|
private void OnCancelClick(object? sender, RoutedEventArgs e) => Close(false);
|
|
}
|