📄 form1.cs
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace StudentInfoMS
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void exit_ToolStripMenuItem_Click_1(object sender, EventArgs e)
{
Application.Exit();
}
private void update_stuinfoToolStripMenuItem_Click(object sender, EventArgs e)//学生信息操作
{
studentInfo stumain = new studentInfo();
stumain.MdiParent = this;
stumain.Show();
}
private void query_stuinfoToolStripMenuItem1_Click(object sender, EventArgs e)//学生信息查询
{
query_stuinfo querymain = new query_stuinfo();
querymain.MdiParent = this;
querymain.Show();
}
private void xuejiguanli_ToolStripMenuItem_Click(object sender, EventArgs e)
{
xuejiguanli xjglmain = new xuejiguanli();
xjglmain.MdiParent = this;
xjglmain.Show();
}
private void PraiseAndPunishToolStripMenuItem_Click(object sender, EventArgs e)
{
praiseandpunish papmain = new praiseandpunish();
papmain.MdiParent = this;
papmain.Show();
}
private void proInfoToolStripMenuItem_Click(object sender, EventArgs e)
{
yuanxixinxi yxxxmain = new yuanxixinxi();
yxxxmain.MdiParent = this;
yxxxmain.Show();
}
private void 窗口层叠CToolStripMenuItem_Click(object sender, EventArgs e)
{
this.LayoutMdi(MdiLayout.Cascade);
}
private void 水平平铺HToolStripMenuItem_Click(object sender, EventArgs e)
{
this.LayoutMdi(MdiLayout.TileHorizontal);
}
private void 垂直平铺VToolStripMenuItem_Click(object sender, EventArgs e)
{
this.LayoutMdi(MdiLayout.TileVertical);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -