📄 frmmain.cs
字号:
this.gbStudent.Controls.Add(this.cbmStudentSex);
this.gbStudent.Controls.Add(this.txtStudentName);
this.gbStudent.Controls.Add(this.txtStudentNO);
this.gbStudent.Controls.Add(this.txtStudentID);
this.gbStudent.Controls.Add(this.labelStudentRemark);
this.gbStudent.Controls.Add(this.labelStudentClassName);
this.gbStudent.Controls.Add(this.labelBirthday);
this.gbStudent.Controls.Add(this.labelSex);
this.gbStudent.Controls.Add(this.labelStudentName);
this.gbStudent.Controls.Add(this.labelStudentNO);
this.gbStudent.Controls.Add(this.labelStudentID);
this.gbStudent.Location = new System.Drawing.Point(8, 0);
this.gbStudent.Name = "gbStudent";
this.gbStudent.Size = new System.Drawing.Size(232, 224);
this.gbStudent.TabIndex = 1;
this.gbStudent.TabStop = false;
this.gbStudent.Text = "学生信息";
//
// linkLabelClearStudent
//
this.linkLabelClearStudent.AutoSize = true;
this.linkLabelClearStudent.Location = new System.Drawing.Point(160, 200);
this.linkLabelClearStudent.Name = "linkLabelClearStudent";
this.linkLabelClearStudent.Size = new System.Drawing.Size(29, 17);
this.linkLabelClearStudent.TabIndex = 19;
this.linkLabelClearStudent.TabStop = true;
this.linkLabelClearStudent.Text = "清空";
this.linkLabelClearStudent.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelClearStudent_LinkClicked);
//
// linkLabelUpdateStudent
//
this.linkLabelUpdateStudent.AutoSize = true;
this.linkLabelUpdateStudent.Location = new System.Drawing.Point(104, 200);
this.linkLabelUpdateStudent.Name = "linkLabelUpdateStudent";
this.linkLabelUpdateStudent.Size = new System.Drawing.Size(29, 17);
this.linkLabelUpdateStudent.TabIndex = 18;
this.linkLabelUpdateStudent.TabStop = true;
this.linkLabelUpdateStudent.Text = "更新";
this.linkLabelUpdateStudent.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelUpdateStudent_LinkClicked);
//
// linkLabelDelStudent
//
this.linkLabelDelStudent.AutoSize = true;
this.linkLabelDelStudent.Location = new System.Drawing.Point(56, 200);
this.linkLabelDelStudent.Name = "linkLabelDelStudent";
this.linkLabelDelStudent.Size = new System.Drawing.Size(29, 17);
this.linkLabelDelStudent.TabIndex = 17;
this.linkLabelDelStudent.TabStop = true;
this.linkLabelDelStudent.Text = "删除";
this.linkLabelDelStudent.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelDelStudent_LinkClicked);
//
// linkLabelAddStudent
//
this.linkLabelAddStudent.AutoSize = true;
this.linkLabelAddStudent.Location = new System.Drawing.Point(16, 200);
this.linkLabelAddStudent.Name = "linkLabelAddStudent";
this.linkLabelAddStudent.Size = new System.Drawing.Size(29, 17);
this.linkLabelAddStudent.TabIndex = 14;
this.linkLabelAddStudent.TabStop = true;
this.linkLabelAddStudent.Text = "增加";
this.linkLabelAddStudent.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelAddStudent_LinkClicked);
//
// txtStudentRemark
//
this.txtStudentRemark.Location = new System.Drawing.Point(80, 160);
this.txtStudentRemark.Multiline = true;
this.txtStudentRemark.Name = "txtStudentRemark";
this.txtStudentRemark.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.txtStudentRemark.Size = new System.Drawing.Size(112, 32);
this.txtStudentRemark.TabIndex = 13;
this.txtStudentRemark.Text = "";
//
// cbmStudentClass
//
this.cbmStudentClass.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbmStudentClass.Location = new System.Drawing.Point(88, 144);
this.cbmStudentClass.Name = "cbmStudentClass";
this.cbmStudentClass.Size = new System.Drawing.Size(104, 20);
this.cbmStudentClass.TabIndex = 12;
//
// dtpBirthday
//
this.dtpBirthday.Location = new System.Drawing.Point(88, 120);
this.dtpBirthday.Name = "dtpBirthday";
this.dtpBirthday.Size = new System.Drawing.Size(104, 21);
this.dtpBirthday.TabIndex = 11;
//
// cbmStudentSex
//
this.cbmStudentSex.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbmStudentSex.Items.AddRange(new object[] {
"男",
"女"});
this.cbmStudentSex.Location = new System.Drawing.Point(88, 96);
this.cbmStudentSex.Name = "cbmStudentSex";
this.cbmStudentSex.Size = new System.Drawing.Size(104, 20);
this.cbmStudentSex.TabIndex = 10;
//
// txtStudentName
//
this.txtStudentName.Location = new System.Drawing.Point(88, 64);
this.txtStudentName.Name = "txtStudentName";
this.txtStudentName.Size = new System.Drawing.Size(96, 21);
this.txtStudentName.TabIndex = 9;
this.txtStudentName.Text = "";
//
// txtStudentNO
//
this.txtStudentNO.Location = new System.Drawing.Point(88, 40);
this.txtStudentNO.Name = "txtStudentNO";
this.txtStudentNO.Size = new System.Drawing.Size(96, 21);
this.txtStudentNO.TabIndex = 8;
this.txtStudentNO.Text = "";
//
// txtStudentID
//
this.txtStudentID.Location = new System.Drawing.Point(88, 16);
this.txtStudentID.Name = "txtStudentID";
this.txtStudentID.ReadOnly = true;
this.txtStudentID.Size = new System.Drawing.Size(96, 21);
this.txtStudentID.TabIndex = 7;
this.txtStudentID.Text = "";
//
// labelStudentRemark
//
this.labelStudentRemark.AutoSize = true;
this.labelStudentRemark.Location = new System.Drawing.Point(16, 152);
this.labelStudentRemark.Name = "labelStudentRemark";
this.labelStudentRemark.Size = new System.Drawing.Size(35, 17);
this.labelStudentRemark.TabIndex = 6;
this.labelStudentRemark.Text = "备注:";
//
// labelStudentClassName
//
this.labelStudentClassName.AutoSize = true;
this.labelStudentClassName.Location = new System.Drawing.Point(16, 128);
this.labelStudentClassName.Name = "labelStudentClassName";
this.labelStudentClassName.Size = new System.Drawing.Size(54, 17);
this.labelStudentClassName.TabIndex = 5;
this.labelStudentClassName.Text = "班级名:";
//
// labelBirthday
//
this.labelBirthday.AutoSize = true;
this.labelBirthday.Location = new System.Drawing.Point(16, 112);
this.labelBirthday.Name = "labelBirthday";
this.labelBirthday.Size = new System.Drawing.Size(60, 17);
this.labelBirthday.TabIndex = 4;
this.labelBirthday.Text = "出生日期:";
//
// labelSex
//
this.labelSex.AutoSize = true;
this.labelSex.Location = new System.Drawing.Point(16, 88);
this.labelSex.Name = "labelSex";
this.labelSex.Size = new System.Drawing.Size(35, 17);
this.labelSex.TabIndex = 3;
this.labelSex.Text = "性别:";
//
// labelStudentName
//
this.labelStudentName.AutoSize = true;
this.labelStudentName.Location = new System.Drawing.Point(16, 64);
this.labelStudentName.Name = "labelStudentName";
this.labelStudentName.Size = new System.Drawing.Size(60, 17);
this.labelStudentName.TabIndex = 2;
this.labelStudentName.Text = "学生姓名:";
//
// labelStudentNO
//
this.labelStudentNO.AutoSize = true;
this.labelStudentNO.Location = new System.Drawing.Point(16, 48);
this.labelStudentNO.Name = "labelStudentNO";
this.labelStudentNO.Size = new System.Drawing.Size(35, 17);
this.labelStudentNO.TabIndex = 1;
this.labelStudentNO.Text = "学号:";
//
// labelStudentID
//
this.labelStudentID.AutoSize = true;
this.labelStudentID.Location = new System.Drawing.Point(16, 24);
this.labelStudentID.Name = "labelStudentID";
this.labelStudentID.Size = new System.Drawing.Size(60, 17);
this.labelStudentID.TabIndex = 0;
this.labelStudentID.Text = "学生编号:";
//
// listViewStudent
//
this.listViewStudent.BackColor = System.Drawing.SystemColors.Info;
this.listViewStudent.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeaderStudentID,
this.columnHeaderStudentNO,
this.columnHeaderStudentName,
this.columnHeaderStudentSex,
this.columnHeaderBirthday,
this.columnHeaderStudentClass,
this.columnHeaderStudentRemark});
this.listViewStudent.FullRowSelect = true;
this.listViewStudent.GridLines = true;
this.listViewStudent.Location = new System.Drawing.Point(248, 24);
this.listViewStudent.Name = "listViewStudent";
this.listViewStudent.Size = new System.Drawing.Size(192, 192);
this.listViewStudent.TabIndex = 0;
this.listViewStudent.View = System.Windows.Forms.View.Details;
this.listViewStudent.SelectedIndexChanged += new System.EventHandler(this.listViewStudent_SelectedIndexChanged);
//
// columnHeaderStudentID
//
this.columnHeaderStudentID.Text = "学生编号";
//
// columnHeaderStudentNO
//
this.columnHeaderStudentNO.Text = "学号";
//
// columnHeaderStudentName
//
this.columnHeaderStudentName.Text = "学生姓名";
//
// columnHeaderStudentSex
//
this.columnHeaderStudentSex.Text = "性别";
//
// columnHeaderBirthday
//
this.columnHeaderBirthday.Text = "出生日期";
//
// columnHeaderStudentClass
//
this.columnHeaderStudentClass.Text = "所在班级";
//
// columnHeaderStudentRemark
//
this.columnHeaderStudentRemark.Text = "备注";
//
// tabSubjectDetails
//
this.tabSubjectDetails.Controls.Add(this.gbSubject);
this.tabSubjectDetails.Controls.Add(this.listViewSubject);
this.tabSubjectDetails.ImageIndex = 16;
this.tabSubjectDetails.Location = new System.Drawing.Point(4, 23);
this.tabSubjectDetails.Name = "tabSubjectDetails";
this.tabSubjectDetails.Size = new System.Drawing.Size(456, 229);
this.tabSubjectDetails.TabIndex = 3;
this.tabSubjectDetails.Text = "科目信息";
//
// gbSubject
//
this.gbSubject.Controls.Add(this.txtSubjectName);
this.gbSubject.Controls.Add(this.linkLabelClearSubject);
this.gbSubject.Controls.Add(this.linkLabelUpdateSubject);
this.gbSubject.Controls.Add(this.linkLabelDelSubject);
this.gbSubject.Controls.Add(this.linkLabelAddSubject);
this.gbSubject.Controls.Add(this.labelSubjectName);
this.gbSubject.Controls.Add(this.labelSubjectID);
this.gbSubject.Controls.Add(this.txtSubjectID);
this.gbSubject.Controls.Add(this.labelSubjectRemark);
this.gbSubject.Controls.Add(this.txtSubjectRemark);
this.gbSubject.Location = new System.Drawing.Point(16, 16);
this.gbSubject.Name = "gbSubject";
this.gbSubject.Size = new System.Drawing.Size(208, 208);
this.gbSubject.TabIndex = 7;
this.gbSubject.TabStop = false;
this.gbSubject.Text = "学生信息";
//
// txtSubjectName
//
this.txtSubjectName.Location = new System.Drawing.Point(56, 88);
this.txtSubjectName.Name = "txtSubjectName";
this.txtSubjectName.Size = new System.Drawing.Size(144, 21);
this.txtSubjectName.TabIndex = 24;
this.txtSubjectName.Text = "";
//
// linkLabelClearSubject
//
this.linkLabelClearSubject.AutoSize = true;
this.linkLabelClearSubject.Location = new System.Drawing.Point(152, 184);
this.linkLabelClearSubject.Name = "linkLabelClearSubject";
this.linkLabelClearSubject.Size = new System.Drawing.Size(29, 17);
this.linkLabelClearSubject.TabIndex = 23;
this.linkLabelClearSubject.TabStop = true;
this.linkLabelClearSubject.Text = "清空";
this.linkLabelClearSubject.LinkClicked += new System.Windows
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -