创建简单启动加载画面
Program.cs
using
System;
using
System.Collections.Generic;
using
System.Windows.Forms;
using
System.Threading;

namespace
WowItemTool
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{

Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);

SplashForm sf = new SplashForm();
MainForm mf = new MainForm();
sf.msg1 = "正在加载TB文件......";
sf.Show();
Application.DoEvents();//刷新飞屏
if (mf.LoadFile())
{
Thread.Sleep(2000);//暂停
sf.Close();

Application.Run(mf);
}
else
{
sf.msg1 = "加载TB文件失败!";
Application.Exit();
}
}
}
}
Program.cs







































