当前位置: 首页>>代码示例>>C#>>正文


C# SplashScreen.Show方法代码示例

本文整理汇总了C#中System.Windows.SplashScreen.Show方法的典型用法代码示例。如果您正苦于以下问题:C# SplashScreen.Show方法的具体用法?C# SplashScreen.Show怎么用?C# SplashScreen.Show使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在System.Windows.SplashScreen的用法示例。


在下文中一共展示了SplashScreen.Show方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Main

 public static void Main() {
     SplashScreen splashScreen = new SplashScreen("images/splashscreen.png");
     splashScreen.Show(true);
     APOD_Controller.App app = new APOD_Controller.App();
     app.InitializeComponent();
     app.Run();
 }
开发者ID:pinkuyt,项目名称:a-pod-project-team-3,代码行数:7,代码来源:App.g.i.cs

示例2: Main

 public static void Main() {
     SplashScreen splashScreen = new SplashScreen("splashscreen1.png");
     splashScreen.Show(true);
     EERIL.ControlSystem.App app = new EERIL.ControlSystem.App();
     app.InitializeComponent();
     app.Run();
 }
开发者ID:ddcc,项目名称:EERILControlSystem,代码行数:7,代码来源:App.g.i.cs

示例3: Main

 public static void Main() {
     SplashScreen splashScreen = new SplashScreen("splashscreen.png");
     splashScreen.Show(true);
     inventory.App app = new inventory.App();
     app.InitializeComponent();
     app.Run();
 }
开发者ID:Hzinsp,项目名称:InventoryManagement,代码行数:7,代码来源:App.g.cs

示例4: Main

 public static void Main() {
     SplashScreen splashScreen = new SplashScreen("install_spl.jpg");
     splashScreen.Show(true);
     LEDX.App app = new LEDX.App();
     app.InitializeComponent();
     app.Run();
 }
开发者ID:paradoxfm,项目名称:ledx2,代码行数:7,代码来源:App.g.i.cs

示例5: Main

 public static void Main() {
     SplashScreen splashScreen = new SplashScreen("ezygoezysplash.jpg");
     splashScreen.Show(true);
     GUI_for_0._1.App app = new GUI_for_0._1.App();
     app.InitializeComponent();
     app.Run();
 }
开发者ID:waynenguyen,项目名称:EzyGoEzy,代码行数:7,代码来源:App.g.i.cs

示例6: Main

 public static void Main() {
     SplashScreen splashScreen = new SplashScreen("images/splash.png");
     splashScreen.Show(true);
     Assignment.App app = new Assignment.App();
     app.InitializeComponent();
     app.Run();
 }
开发者ID:JackHillman,项目名称:4C-B-Assignment,代码行数:7,代码来源:App.g.cs

示例7: Main

 public static void Main() {
     SplashScreen splashScreen = new SplashScreen("splashscreen2.png");
     splashScreen.Show(true);
     Modelisator.App app = new Modelisator.App();
     app.InitializeComponent();
     app.Run();
 }
开发者ID:aliaspilote,项目名称:TX52,代码行数:7,代码来源:App.g.i.cs

示例8: OnStartup

        protected override void OnStartup(StartupEventArgs e)
        {
            if (!SingleInstance.InitializeAsFirstInstance(SignalExternalCommandLineArgs))
                Environment.Exit(0);

            var appSplash = new SplashScreen("splash.png");
            appSplash.Show(false);
            {
                base.OnStartup(e);
                Config.ShowConsole = true;
                Context.Startup();
            }
            appSplash.Close(TimeSpan.FromMilliseconds(300));

            if (false)
            {
                ShutdownMode = ShutdownMode.OnExplicitShutdown;
                Context.ProcessingQueueEmpty += Shutdown;

                Context.Log += OnLog;
                Context.ProcessingProcessChanged += OnProcessingProcessChanged;
                Context.ProcessingProgressChanged += OnProcessingProgressChanged;
            }
            else
            {
                ShowMainWindow();
            }

            HandleArgs(e.Args);
        }
开发者ID:jdauie,项目名称:cloudae,代码行数:30,代码来源:App.xaml.cs

示例9: Main

 public static void Main() {
     SplashScreen splashScreen = new SplashScreen("osschedulerscreen.png");
     splashScreen.Show(true);
     OSScheduler.App app = new OSScheduler.App();
     app.InitializeComponent();
     app.Run();
 }
开发者ID:Mohmed-Khaled,项目名称:ASU-CSE,代码行数:7,代码来源:App.g.i.cs

示例10: StartAsync

		public async Task StartAsync()
		{
			MainViewModel viewModel = new MainViewModel();
			viewModel.CloseRequested += viewModel_CloseRequested;

			EventHandler windowClosed = (sender, e) =>
			{
				viewModel.RequestClose();
			};

			SplashScreen splashScreen = new SplashScreen();  //not disposable, but I'm keeping the same structure
			{
				splashScreen.Closed += windowClosed; //if user closes splash screen, let's quit
				splashScreen.Show();

				await viewModel.InitializeAsync();

				MainWindow mainForm = new MainWindow();
				mainForm.Closed += windowClosed;
				mainForm.DataContext = viewModel;
				mainForm.Show();
				
				splashScreen.Owner = mainForm;
				splashScreen.Closed -= windowClosed;
				splashScreen.Close();
			}
		}
开发者ID:ittray,项目名称:LocalDemo,代码行数:27,代码来源:Program6.cs

示例11: Main

 public static void Main() {
     SplashScreen splashScreen = new SplashScreen("bea-cukai2.jpg");
     splashScreen.Show(true);
     PAU.App app = new PAU.App();
     app.InitializeComponent();
     app.Run();
 }
开发者ID:azanium,项目名称:PAU-WPF,代码行数:7,代码来源:App.g.i.cs

示例12: Main

 public static void Main() {
     SplashScreen splashScreen = new SplashScreen("resources/logo%20design%20-%202_splashscreen%20new%20(paddy).jpg");
     splashScreen.Show(true);
     ComCon.App app = new ComCon.App();
     app.InitializeComponent();
     app.Run();
 }
开发者ID:ComConDevelopment,项目名称:ComCon,代码行数:7,代码来源:App.g.i.cs

示例13: Main

 public static void Main() {
     SplashScreen splashScreen = new SplashScreen("inicio.png");
     splashScreen.Show(true);
     Aprender_Teclado.App app = new Aprender_Teclado.App();
     app.InitializeComponent();
     app.Run();
 }
开发者ID:numenio,项目名称:Aprender-Teclado,代码行数:7,代码来源:App.g.cs

示例14: OnStartup

 protected override void OnStartup(StartupEventArgs e)
 {
     LicenseProvider.Verify();
     SplashScreen splashScreen = new SplashScreen("Images/splash_screen.png");
     splashScreen.Show(true);
     base.OnStartup(e);
 }
开发者ID:Jitlee,项目名称:Easy-CodeWord,代码行数:7,代码来源:App.xaml.cs

示例15: Main

 public static void Main() {
     SplashScreen splashScreen = new SplashScreen("resources/poster%20ri%20500.jpg");
     splashScreen.Show(true);
     Geoton.App app = new Geoton.App();
     app.InitializeComponent();
     app.Run();
 }
开发者ID:edgarhernandez,项目名称:Geoton,代码行数:7,代码来源:App.g.cs


注:本文中的System.Windows.SplashScreen.Show方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。