mirror of
https://github.com/tgeorgiadis/quiver-launcher.git
synced 2026-11-23 06:01:15 -05:00
17 lines
748 B
C#
17 lines
748 B
C#
using Avalonia.Controls;
|
|
using Avalonia.Interactivity;
|
|
using Avalonia.Markup.Xaml;
|
|
|
|
namespace QuiverLauncher.Views;
|
|
|
|
public partial class UpdateCheckStatusView : UserControl
|
|
{
|
|
public event EventHandler? CancelRequested;
|
|
public event EventHandler? RetryRequested;
|
|
public event EventHandler? DismissRequested;
|
|
public UpdateCheckStatusView() => AvaloniaXamlLoader.Load(this);
|
|
private void Cancel_Click(object? sender, RoutedEventArgs args) => CancelRequested?.Invoke(this, EventArgs.Empty);
|
|
private void Retry_Click(object? sender, RoutedEventArgs args) => RetryRequested?.Invoke(this, EventArgs.Empty);
|
|
private void Dismiss_Click(object? sender, RoutedEventArgs args) => DismissRequested?.Invoke(this, EventArgs.Empty);
|
|
}
|