WinLicense.xaml.cs
741 Bytes
using HHECS.WinCommon.Win;
using System.Windows;
namespace HHECS.WinClient.View.UserPermission
{
/// <summary>
/// WinLicense.xaml 的交互逻辑
/// </summary>
public partial class WinLicense : BaseWindow
{
public LicenseVM LicenseVM { get; set; }
public WinLicense()
{
InitializeComponent();
LicenseVM = new LicenseVM();
LicenseVM.Owner = this;
this.DataContext = LicenseVM;
}
private void BtnUpdate_Click(object sender, RoutedEventArgs e)
{
LicenseVM.UpdateLicense();
}
private void BtnCancel_Click(object sender, RoutedEventArgs e)
{
this.Close();
}
}
}