mirror of
https://github.com/k1tbyte/Wand-Enhancer.git
synced 2026-08-28 22:01:17 +00:00
22 lines
464 B
C#
22 lines
464 B
C#
using System;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
|
|
namespace WandEnhancer.View.Popups
|
|
{
|
|
public partial class UpdatePopup : UserControl
|
|
{
|
|
private readonly Action _onUpdate;
|
|
|
|
public UpdatePopup(Action onUpdate)
|
|
{
|
|
_onUpdate = onUpdate;
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void OnUpdateClick(object sender, RoutedEventArgs e)
|
|
{
|
|
_onUpdate();
|
|
}
|
|
}
|
|
} |