📄 mainform.cs
字号:
this.button10.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
this.button10.Location = new System.Drawing.Point(48, 144);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(64, 64);
this.button10.TabIndex = 9;
this.button10.Text = "学籍管理";
this.button10.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.button10.Click += new System.EventHandler(this.button10_Click);
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage4);
this.tabControl1.Controls.Add(this.tabPage3);
this.tabControl1.Location = new System.Drawing.Point(40, 48);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(320, 320);
this.tabControl1.TabIndex = 10;
this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
//
// tabPage1
//
this.tabPage1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("tabPage1.BackgroundImage")));
this.tabPage1.Controls.Add(this.statusBar1);
this.tabPage1.Controls.Add(this.button1);
this.tabPage1.Controls.Add(this.button2);
this.tabPage1.Controls.Add(this.button3);
this.tabPage1.Location = new System.Drawing.Point(4, 21);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Size = new System.Drawing.Size(312, 295);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "基础资料";
//
// statusBar1
//
this.statusBar1.Location = new System.Drawing.Point(0, 287);
this.statusBar1.Name = "statusBar1";
this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
this.statusBarPanel1,
this.statusBarPanel2});
this.statusBar1.Size = new System.Drawing.Size(312, 8);
this.statusBar1.TabIndex = 3;
//
// statusBarPanel1
//
this.statusBarPanel1.Text = "statusBarPanel1";
this.statusBarPanel1.ToolTipText = "dfdf";
//
// statusBarPanel2
//
this.statusBarPanel2.Text = "statusBarPanel2";
this.statusBarPanel2.ToolTipText = "dfdf";
//
// tabPage2
//
this.tabPage2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("tabPage2.BackgroundImage")));
this.tabPage2.Controls.Add(this.button4);
this.tabPage2.Controls.Add(this.button10);
this.tabPage2.Location = new System.Drawing.Point(4, 21);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Size = new System.Drawing.Size(312, 295);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "学生管理";
//
// tabPage4
//
this.tabPage4.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("tabPage4.BackgroundImage")));
this.tabPage4.Controls.Add(this.button5);
this.tabPage4.Controls.Add(this.button7);
this.tabPage4.Location = new System.Drawing.Point(4, 21);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Size = new System.Drawing.Size(312, 295);
this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "课程管理";
//
// tabPage3
//
this.tabPage3.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("tabPage3.BackgroundImage")));
this.tabPage3.Controls.Add(this.button8);
this.tabPage3.Controls.Add(this.button9);
this.tabPage3.Location = new System.Drawing.Point(4, 21);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(312, 295);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "成绩管理";
//
// pictureBox1
//
this.pictureBox1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.BackgroundImage")));
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(728, 536);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 11;
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
//
// MainForm
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(704, 533);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.btnExit);
this.Controls.Add(this.pictureBox1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "MainForm";
this.Text = "学生管理系统";
this.Load += new System.EventHandler(this.MainForm_Load);
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
this.tabPage2.ResumeLayout(false);
this.tabPage4.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.Run(new MainForm());
}
private void axCrystalReport1_Enter(object sender, System.EventArgs e)
{
}
private void button1_Click(object sender, System.EventArgs e)
{
Form FormDep=new Department();
FormDep.Show();
}
private void button6_Click(object sender, System.EventArgs e)
{
Application.Exit();
}
private void button2_Click(object sender, System.EventArgs e)
{
Form FormDep=new Semester();
FormDep.Show();
}
private void button3_Click(object sender, System.EventArgs e)
{
Form FormDep=new Class();
FormDep.Show();
}
private void button4_Click(object sender, System.EventArgs e)
{
Form FormDep=new StudentManage();
FormDep.Show();
}
private void button5_Click(object sender, System.EventArgs e)
{
Form FormDep=new Course();
FormDep.Show();
}
private void button7_Click(object sender, System.EventArgs e)
{
Form FormDep=new SelectCourse();
FormDep.Show();
}
private void button8_Click(object sender, System.EventArgs e)
{
Form FormDep=new Score();
FormDep.Show();
}
private void button9_Click(object sender, System.EventArgs e)
{
Form FormDep=new ScoreAnalyse();
FormDep.Show();
}
private void button10_Click(object sender, System.EventArgs e)
{
Form FormDep=new StatusManage();
FormDep.Show();
}
private void MainForm_Load(object sender, System.EventArgs e)
{
}
private void pictureBox1_Click(object sender, System.EventArgs e)
{
}
private void tabControl1_SelectedIndexChanged(object sender, System.EventArgs e)
{
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -