BDU/ATS/App.xaml.cs

27 lines
624 B
C#

using BDU.Tools;
using System.Configuration;
using System.Data;
using System.Windows;
namespace BDU
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
//先注释加密狗,要进行测试
//if (SecurityDongle.Verify() <= 0)
//{
// MessageBox.Show("加密狗到期或检测失败!\n");
// App.Current.Shutdown();
// return;
//}
base.OnStartup(e);
}
}
}