星火微课系统客户端
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 742B

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