form1.cs
来自「利用vs2008+sql2000开发的小型学生信息系统」· CS 代码 · 共 73 行
CS
73 行
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 + =
减小字号Ctrl + -
显示快捷键?