28 lines
566 B
C#
28 lines
566 B
C#
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using Hopetry.Provider;
|
|
|
|
namespace Hopetry.View.Sync;
|
|
|
|
public partial class SyncControl : UserControl
|
|
{
|
|
public SyncControl()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public event RoutedEventHandler OKClicked;
|
|
public event RoutedEventHandler CancelClicked;
|
|
|
|
|
|
|
|
private void btnOK_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
OKClicked?.Invoke(this, e);
|
|
}
|
|
|
|
private void btnCancel_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
CancelClicked?.Invoke(this, e);
|
|
}
|
|
} |