📄 frmfirst.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace 毕业生信息管理系统
{
/// <summary>
/// frmfirst 的摘要说明。
/// </summary>
public class frmfirst : System.Windows.Forms.Form
{
private System.Windows.Forms.Timer tmrTimer;
private System.ComponentModel.IContainer components;
public frmfirst()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
[STAThread]
static void Main()
{
Application.Run(new frmfirst());
}
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmfirst));
this.tmrTimer = new System.Windows.Forms.Timer(this.components);
//
// tmrTimer
//
this.tmrTimer.Enabled = true;
this.tmrTimer.Interval = 3000;
this.tmrTimer.Tick += new System.EventHandler(this.tmrTimer_Tick);
//
// frmfirst
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.ClientSize = new System.Drawing.Size(360, 224);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmfirst";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "版头";
}
#endregion
private void tmrTimer_Tick(object sender, System.EventArgs e)
{
frmlogin objlogin = new frmlogin();
objlogin.Show();
this.Hide();
this.tmrTimer.Enabled= false;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -