InitGuidanceWindow.xaml.cs 804 B

1234567891011121314151617181920212223242526272829303132
  1. using ClickOnceSetup.Common;
  2. using ClickOnceSetup.Common.ChainResponsibility;
  3. using System;
  4. using System.Windows;
  5. namespace ClickOnceSetup
  6. {
  7. /// <summary>
  8. /// InitGuidance.xaml 的交互逻辑
  9. /// </summary>
  10. public partial class InitGuidance
  11. {
  12. public InitGuidance()
  13. {
  14. try
  15. {
  16. InitializeComponent();
  17. ShowInfomationTabs();
  18. }
  19. catch (Exception ex)
  20. {
  21. FileHelper.AppendWriteFile("InstallLog.txt", ex.Message + "|" + ex.StackTrace);
  22. }
  23. }
  24. private void ShowInfomationTabs()
  25. {
  26. InfomationTabs window = new InfomationTabs();
  27. window.Show();
  28. Close();
  29. }
  30. }
  31. }