• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Windows.SplashScreen类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



SplashScreen类属于System.Windows命名空间,在下文中一共展示了SplashScreen类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: Main

 public static void Main() {
     SplashScreen splashScreen = new SplashScreen("resources/splashscreen.jpg");
     splashScreen.Show(true);
     QuizGame.App app = new QuizGame.App();
     app.InitializeComponent();
     app.Run();
 }
开发者ID:JaimieAndMaxDevelopment,项目名称:PROG5Assessment,代码行数:7,代码来源:App.g.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: 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


示例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("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


示例13: 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


示例14: 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


示例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


示例16: Main

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


示例17: Main

 public static void Main() {
     SplashScreen splashScreen = new SplashScreen("splash.png");
     splashScreen.Show(true);
     Microsoft.Practices.EnterpriseLibrary.Configuration.Console.App app = new Microsoft.Practices.EnterpriseLibrary.Configuration.Console.App();
     app.InitializeComponent();
     app.Run();
 }
开发者ID:EdiCarlos,项目名称:MyPractices,代码行数:7,代码来源:App.g.cs


示例18: Main

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


示例19: Main

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


示例20: IsBuilderConnectionUnavailable

        private static bool IsBuilderConnectionUnavailable()
        {
            if (ConfigurationManager.ConnectionStrings["Builder"] == null)
             {
            MessageBox.Show(
               "Connection to Builder database was missed in configuration file." + Environment.NewLine +
               "Please check app.config file.", "Configuration error", MessageBoxButton.OK, MessageBoxImage.Exclamation);
            return true;
             }

             var splashScreen = new SplashScreen("Resources/splash.png");
             try
             {
            splashScreen.Show(false);
            using (
               var connection =
                  SqlConnectionHelper.OpenConnection(ConfigurationManager.ConnectionStrings["Builder"].ConnectionString)
               )
            {
            }
            splashScreen.Close(TimeSpan.FromSeconds(0));
             }
             catch (Exception)
             {
            splashScreen.Close(TimeSpan.FromSeconds(0));
            MessageBox.Show(
               "Connection to Builder database not available." + Environment.NewLine + "Please check app.config file.",
               "Configuration error", MessageBoxButton.OK, MessageBoxImage.Exclamation);
            return true;
             }
             return false;
        }
开发者ID:bradanton,项目名称:ETL-CDMBuilder,代码行数:32,代码来源:MainWindow.xaml.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Windows.StartupEventArgs类代码示例发布时间:2022-05-26
下一篇:
C# Windows.SizeChangedInfo类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap