using System.Windows;
------------------------------------------------------------------------------
SplashScreen splashScreen = new SplashScreen("o2tl.png");
splashScreen.Show(true);
PS:因為SplashScreen裡面的resource Name雖然是說要用Embedded Resources, 但是在圖片屬性若設為Embedded Resources 則會出錯,請設為Resources即可
全站熱搜