mainform在load的时候加一个显示的FORM应该可以呀。用一个时钟定好时间,过期就关掉。
或者点击就关闭

解决方案 »

  1.   

    某个事件加载Form,某个事件关闭Form就行
    比如连接数据库前,和连接数据库后
      

  2.   

    http://community.csdn.net/Expert/topic/3302/3302854.xml?temp=.6551782
      

  3.   

    很简单的给你看个例子:
    [STAThread]
    static void Main(){
    Application.Run( new LogForm( ));
    }
    --------------------------
    FlashForm idle;
    public LogForm()
    {
    //
    // Windows 窗体设计器支持所必需的
    //
    idle = new IdleFlash();
    try
    {
    idle.Start();

    InitializeComponent( ) ;
    InitFormAttribute( ) ;
    InitControls( ) ;
    }
    catch
    {
    if( idle != null )
    idle.Stop();
    return;
    } }
    ----------------------------------------
    public class IdleFlash
    {
    private Thread thread  ;
    private Flash flashForm; public IdleFlash(){}
    public void Start(){
    if( thread != null )
    thread.Abort();
    thread = new Thread( new ThreadStart(this.start)) ;
    thread.Start();
    }
    public void Stop(){
    try
    {
    if( this.flashForm != null )
    flashForm.Close() ;
    // if( thread != null )
    // thread.Abort() ;
    }
    catch{}
    }
    void start(){
    if( flashForm != null )
    flashForm.Dispose();
    flashForm = new Flash();
    flashForm.ShowDialog();
    }
    }//IdleFlash
      

  4.   

    象PHOTOSHOP一样的效果
    http://community.csdn.net/Expert/topic/3327/3327735.xml?temp=.7666895
      

  5.   

    启动时新开一个线程打开一个form
      

  6.   


    新建一个窗体,作为启动界面用的在主界面的load()事件里面使该窗体show()
      

  7.   

    [STAThread]
    static void Main() 
    {
    Form logo=new logo();
    logo.Show();
    Application.Run();
    }把你的主窗口这部分内容换成这样的,然后再新建一个窗口logo,这个logo就可以做为你的启动窗口