一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

to joy, this is the start splash screen of SharpDe

时间:2008-01-12 编辑:简简单单 来源:一聚教程网

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());

热门栏目