www.pudn.com > Splash.zip > AppStart.cs
using System;
using System.Windows.Forms;
namespace Splash
{
///
/// AppStart 的摘要说明。
///
public class AppStart
{
public AppStart()
{
}
[STAThread]
static void Main(string[] args)
{
// 显示Splash窗体
Splash.Show();
DoStartup(args);
// 关闭Splash窗体
Splash.Close();
}
static void DoStartup(string[] args)
{
// 做需要的事情
frmMain f = new frmMain();
Application.Run(f);
}
}
}