App.xaml.cs 576 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Configuration;
  4. using System.Data;
  5. using System.Linq;
  6. using System.Threading.Tasks;
  7. using System.Windows;
  8. namespace WpfTest1
  9. {
  10. /// <summary>
  11. /// App.xaml 的交互逻辑
  12. /// </summary>
  13. public partial class App : Application
  14. {
  15. protected override void OnStartup(StartupEventArgs e)
  16. {
  17. SplashScreen s = new SplashScreen("Resources/jdmedlogo.jpg");
  18. s.Show(false);
  19. s.Close(new TimeSpan(0, 0, 1));
  20. base.OnStartup(e);
  21. }
  22. }
  23. }