www.pudn.com > Splash.zip > frmMain.cs
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace Splash
{
///
/// Form1 的摘要说明。
///
public class frmMain : System.Windows.Forms.Form
{
///
/// 必需的设计器变量。
///
private System.ComponentModel.Container components = null;
public frmMain()
{
InitializeComponent();
Splash.Status = "状态:载入初始化模块...";
System.Threading.Thread.Sleep(1000);
Splash.Status = "状态:载入管理模块...";
System.Threading.Thread.Sleep(1000);
Splash.Status = "状态:载入打印模块...";
System.Threading.Thread.Sleep(1000);
Splash.Status = "状态:载入插件模块...";
System.Threading.Thread.Sleep(1000);
Splash.Status = "状态:连接数据库...";
System.Threading.Thread.Sleep(1000);
Splash.Close();
}
///
/// 清理所有正在使用的资源。
///
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
///
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
///
private void InitializeComponent()
{
//
// frmMain
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(496, 270);
this.Name = "frmMain";
this.Text = "XXXXXX系统";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
}
#endregion
}
}