to joy, this is the start splash screen of SharpDe

作者:袖梨 2022-07-02
you know, splash screen is to prepare the application initializing, not to wait for a few seconds. So using timer is a wrong way.
using System;
using System.Reflection;
using System.Drawing;
using System.Collections;
using System.Windows.Forms;
using System.Resources;
using Core.Util;
using Core.Properties;
using Core.AddIns.Codons;
using Core.AddIns;
namespace SharpDevelop {
    
    ///
    /// This Class is the NCvs main class, it starts the program.
    ///

    public class SharpDevelopMain
    {
        public static string[] CommandLineArgs;
        
        class SplashScreen : Form
        {
       public SplashScreen()
       {
           TopMost    = true;
           FormBorderStyle = FormBorderStyle.None;
           StartPosition     = FormStartPosition.CenterScreen;
           
           ResourceManager resources = new ResourceManager("IconResources", Assembly.GetCallingAssembly());

相关文章

精彩推荐