星火微课系统客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Welcome.xaml.cs 769B

123456789101112131415161718192021222324252627282930
  1. using System.IO;
  2. using System.Windows;
  3. namespace XHWK.WKTool
  4. {
  5. /// <summary>
  6. /// Welcome.xaml 的交互逻辑
  7. /// </summary>
  8. public partial class Welcome : Window
  9. {
  10. public Welcome()
  11. {
  12. InitializeComponent();
  13. //new DeviceWindow().Show();
  14. //Close();
  15. if (!File.Exists(APP.DataPath + "signature.txt"))//上次登录时间为空 或者签名为空 或者上次登录时间不是今天 都需要输入密匙验证 ,否则只验证本地的签名
  16. {
  17. new KeyVerification().Show();
  18. Close();
  19. }
  20. else
  21. {
  22. new ProductVerification().Show();
  23. Close();
  24. }
  25. }
  26. }
  27. }