using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace WpfTest1 { /// /// App.xaml 的交互逻辑 /// public partial class App : Application { protected override void OnStartup(StartupEventArgs e) { SplashScreen s = new SplashScreen("Resources/jdmedlogo.jpg"); s.Show(false); s.Close(new TimeSpan(0, 0, 1)); base.OnStartup(e); } } }