📄 frmmdiform.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace 毕业生信息管理系统
{
/// <summary>
/// frmmain 的摘要说明。
/// </summary>
public class frmMdiForm : System.Windows.Forms.Form
{
private System.Windows.Forms.MenuItem menuItem1;
private System.Windows.Forms.MenuItem menuItem2;
private System.Windows.Forms.MenuItem menuItem3;
private System.Windows.Forms.MenuItem menuItem4;
private System.Windows.Forms.MainMenu mainMenu;
private System.Windows.Forms.MenuItem menuItem5;
private System.Windows.Forms.MenuItem menuItem6;
private System.Windows.Forms.MenuItem menuItem11;
private System.Windows.Forms.ToolBar toolBar1;
private System.Windows.Forms.StatusBar sbrStatusBar1;
private System.Windows.Forms.StatusBarPanel sbrTime;
private System.Windows.Forms.StatusBarPanel sbrpass;
private System.Windows.Forms.StatusBarPanel sbrname;
private System.Windows.Forms.StatusBarPanel sbrthanks;
private System.ComponentModel.IContainer components;
private System.Windows.Forms.Timer tmrTickTimer;
private System.Windows.Forms.HelpProvider hlpPassenger;
private System.Windows.Forms.MenuItem menuItem7;
private System.Windows.Forms.MenuItem menuItem8;
private System.Windows.Forms.MenuItem menuItem13;
private System.Windows.Forms.MenuItem menuItem14;
private System.Windows.Forms.MenuItem menuItem15;
private System.Windows.Forms.MenuItem menuItem9;
private System.Windows.Forms.MenuItem menuItem10;
private System.Windows.Forms.MenuItem menuItem12;
private System.Windows.Forms.MenuItem menuItem16;
private System.Windows.Forms.MenuItem menuItem17;
private System.Windows.Forms.MenuItem menuItem18;
private System.Windows.Forms.MenuItem menuItem19;
private System.Windows.Forms.ImageList imageList1;
private System.Windows.Forms.ToolBarButton toolBarButton1;
private System.Windows.Forms.ToolBarButton toolBarButton2;
private System.Windows.Forms.ToolBarButton toolBarButton3;
private System.Windows.Forms.ToolBarButton toolBarButton4;
private System.Windows.Forms.ToolBarButton toolBarButton5;
private System.Windows.Forms.ToolBarButton toolBarButton6;
private Form f1 = null;
public frmMdiForm(Form parentform)
{
//
// Windows 窗体设计器支持所必需的
//
f1 = parentform;
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
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(frmMdiForm));
this.mainMenu = new System.Windows.Forms.MainMenu();
this.menuItem1 = new System.Windows.Forms.MenuItem();
this.menuItem2 = new System.Windows.Forms.MenuItem();
this.menuItem3 = new System.Windows.Forms.MenuItem();
this.menuItem4 = new System.Windows.Forms.MenuItem();
this.menuItem7 = new System.Windows.Forms.MenuItem();
this.menuItem8 = new System.Windows.Forms.MenuItem();
this.menuItem13 = new System.Windows.Forms.MenuItem();
this.menuItem12 = new System.Windows.Forms.MenuItem();
this.menuItem16 = new System.Windows.Forms.MenuItem();
this.menuItem14 = new System.Windows.Forms.MenuItem();
this.menuItem15 = new System.Windows.Forms.MenuItem();
this.menuItem5 = new System.Windows.Forms.MenuItem();
this.menuItem18 = new System.Windows.Forms.MenuItem();
this.menuItem19 = new System.Windows.Forms.MenuItem();
this.menuItem6 = new System.Windows.Forms.MenuItem();
this.menuItem17 = new System.Windows.Forms.MenuItem();
this.menuItem11 = new System.Windows.Forms.MenuItem();
this.menuItem9 = new System.Windows.Forms.MenuItem();
this.menuItem10 = new System.Windows.Forms.MenuItem();
this.toolBar1 = new System.Windows.Forms.ToolBar();
this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
this.toolBarButton3 = new System.Windows.Forms.ToolBarButton();
this.toolBarButton4 = new System.Windows.Forms.ToolBarButton();
this.toolBarButton5 = new System.Windows.Forms.ToolBarButton();
this.toolBarButton6 = new System.Windows.Forms.ToolBarButton();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.sbrStatusBar1 = new System.Windows.Forms.StatusBar();
this.sbrTime = new System.Windows.Forms.StatusBarPanel();
this.sbrpass = new System.Windows.Forms.StatusBarPanel();
this.sbrthanks = new System.Windows.Forms.StatusBarPanel();
this.sbrname = new System.Windows.Forms.StatusBarPanel();
this.tmrTickTimer = new System.Windows.Forms.Timer(this.components);
this.hlpPassenger = new System.Windows.Forms.HelpProvider();
((System.ComponentModel.ISupportInitialize)(this.sbrTime)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.sbrpass)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.sbrthanks)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.sbrname)).BeginInit();
this.SuspendLayout();
//
// mainMenu
//
this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem1,
this.menuItem4,
this.menuItem5,
this.menuItem6,
this.menuItem11});
//
// menuItem1
//
this.menuItem1.Index = 0;
this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem2,
this.menuItem3});
this.menuItem1.Text = "系统设置";
//
// menuItem2
//
this.menuItem2.Index = 0;
this.menuItem2.Text = "重新登陆";
this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
//
// menuItem3
//
this.menuItem3.Index = 1;
this.menuItem3.Text = "退出系统";
this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
//
// menuItem4
//
this.menuItem4.Index = 1;
this.menuItem4.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem7,
this.menuItem8,
this.menuItem13,
this.menuItem12,
this.menuItem16,
this.menuItem14,
this.menuItem15});
this.menuItem4.Text = "档案管理";
//
// menuItem7
//
this.menuItem7.Index = 0;
this.menuItem7.Text = "民族类别设置";
this.menuItem7.Click += new System.EventHandler(this.menuItem7_Click);
//
// menuItem8
//
this.menuItem8.Index = 1;
this.menuItem8.Text = "文化程度设置";
this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click);
//
// menuItem13
//
this.menuItem13.Index = 2;
this.menuItem13.Text = "所学专业设置";
this.menuItem13.Click += new System.EventHandler(this.menuItem13_Click);
//
// menuItem12
//
this.menuItem12.Index = 3;
this.menuItem12.Text = "-";
//
// menuItem16
//
this.menuItem16.Index = 4;
this.menuItem16.Text = "数据输出";
this.menuItem16.Click += new System.EventHandler(this.menuItem16_Click);
//
// menuItem14
//
this.menuItem14.Index = 5;
this.menuItem14.Text = "-";
//
// menuItem15
//
this.menuItem15.Index = 6;
this.menuItem15.Text = "毕业信息管理";
this.menuItem15.Click += new System.EventHandler(this.menuItem15_Click);
//
// menuItem5
//
this.menuItem5.Index = 2;
this.menuItem5.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem18,
this.menuItem19});
this.menuItem5.Text = "成绩管理";
//
// menuItem18
//
this.menuItem18.Index = 0;
this.menuItem18.Text = "成绩查看";
this.menuItem18.Click += new System.EventHandler(this.menuItem18_Click);
//
// menuItem19
//
this.menuItem19.Index = 1;
this.menuItem19.Text = "通信录";
this.menuItem19.Click += new System.EventHandler(this.menuItem19_Click);
//
// menuItem6
//
this.menuItem6.Index = 3;
this.menuItem6.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem17});
this.menuItem6.Text = "数据管理";
//
// menuItem17
//
this.menuItem17.Index = 0;
this.menuItem17.Text = "数据备份";
this.menuItem17.Click += new System.EventHandler(this.menuItem17_Click);
//
// menuItem11
//
this.menuItem11.Index = 4;
this.menuItem11.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem9,
this.menuItem10});
this.menuItem11.Shortcut = System.Windows.Forms.Shortcut.F1;
this.menuItem11.Text = "帮助";
//
// menuItem9
//
this.menuItem9.Index = 0;
this.menuItem9.Text = "F1 帮助";
this.menuItem9.Click += new System.EventHandler(this.menuItem9_Click);
//
// menuItem10
//
this.menuItem10.Index = 1;
this.menuItem10.Text = "关于";
this.menuItem10.Click += new System.EventHandler(this.menuItem10_Click);
//
// toolBar1
//
this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
this.toolBarButton1,
this.toolBarButton2,
this.toolBarButton3,
this.toolBarButton4,
this.toolBarButton5,
this.toolBarButton6});
this.toolBar1.DropDownArrows = true;
this.toolBar1.ImageList = this.imageList1;
this.toolBar1.Location = new System.Drawing.Point(0, 0);
this.toolBar1.Name = "toolBar1";
this.toolBar1.ShowToolTips = true;
this.toolBar1.Size = new System.Drawing.Size(800, 45);
this.toolBar1.TabIndex = 1;
this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -