建立程序图片LOGO

(1)编辑APP

(2)使用plashScreen读取并显示图片

(3)跳转URI至主页面

using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Threading;

namespace WpfApplication1
{
    /// <summary>
    /// App.xaml 的交互逻辑
    /// </summary>
    public partial class App : Application
    {
        public App()
        {
            SplashScreen screen = new SplashScreen("image/loading.png");
            screen.Show(true);
            Thread.Sleep(1000);
            this.StartupUri = new Uri("MainWindow.xaml", System.UriKind.Relative);
        }
    }
}