📄 studentmanage.cs
字号:
//
this.groupBox4.Controls.Add(this.btnModify);
this.groupBox4.Controls.Add(this.btnAdd);
this.groupBox4.Controls.Add(this.btnCancel);
this.groupBox4.Controls.Add(this.btnApply);
this.groupBox4.Location = new System.Drawing.Point(383, 8);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(335, 53);
this.groupBox4.TabIndex = 111;
this.groupBox4.TabStop = false;
//
// btnModify
//
this.btnModify.Image = ((System.Drawing.Image)(resources.GetObject("btnModify.Image")));
this.btnModify.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnModify.Location = new System.Drawing.Point(82, 16);
this.btnModify.Name = "btnModify";
this.btnModify.Size = new System.Drawing.Size(56, 24);
this.btnModify.TabIndex = 99;
this.btnModify.Text = "修改";
this.btnModify.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnModify.Click += new System.EventHandler(this.btnModify_Click);
//
// btnAdd
//
this.btnAdd.Image = ((System.Drawing.Image)(resources.GetObject("btnAdd.Image")));
this.btnAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnAdd.Location = new System.Drawing.Point(8, 16);
this.btnAdd.Name = "btnAdd";
this.btnAdd.Size = new System.Drawing.Size(56, 24);
this.btnAdd.TabIndex = 96;
this.btnAdd.Text = "添加";
this.btnAdd.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// btnCancel
//
this.btnCancel.Image = ((System.Drawing.Image)(resources.GetObject("btnCancel.Image")));
this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnCancel.Location = new System.Drawing.Point(248, 16);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(56, 24);
this.btnCancel.TabIndex = 94;
this.btnCancel.Text = "取消";
this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// btnApply
//
this.btnApply.Image = ((System.Drawing.Image)(resources.GetObject("btnApply.Image")));
this.btnApply.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnApply.Location = new System.Drawing.Point(173, 15);
this.btnApply.Name = "btnApply";
this.btnApply.Size = new System.Drawing.Size(56, 24);
this.btnApply.TabIndex = 95;
this.btnApply.Text = "确定";
this.btnApply.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnApply.Click += new System.EventHandler(this.btnApply_Click);
//
// groupBox3
//
this.groupBox3.Controls.Add(this.btnFirst);
this.groupBox3.Controls.Add(this.btnPrevious);
this.groupBox3.Controls.Add(this.btnNext);
this.groupBox3.Controls.Add(this.btnLast);
this.groupBox3.Controls.Add(this.lblRecord);
this.groupBox3.Controls.Add(this.dataGrid1);
this.groupBox3.Location = new System.Drawing.Point(8, 80);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(369, 335);
this.groupBox3.TabIndex = 110;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "本班同学记录";
//
// btnFirst
//
this.btnFirst.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnFirst.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnFirst.Location = new System.Drawing.Point(10, 30);
this.btnFirst.Name = "btnFirst";
this.btnFirst.Size = new System.Drawing.Size(56, 24);
this.btnFirst.TabIndex = 103;
this.btnFirst.Text = "第一条";
this.btnFirst.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnFirst.Click += new System.EventHandler(this.btnFirst_Click);
//
// btnPrevious
//
this.btnPrevious.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnPrevious.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnPrevious.Location = new System.Drawing.Point(72, 30);
this.btnPrevious.Name = "btnPrevious";
this.btnPrevious.Size = new System.Drawing.Size(56, 24);
this.btnPrevious.TabIndex = 102;
this.btnPrevious.Text = "上一条";
this.btnPrevious.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnPrevious.Click += new System.EventHandler(this.btnPrevious_Click);
//
// btnNext
//
this.btnNext.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnNext.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnNext.Location = new System.Drawing.Point(228, 30);
this.btnNext.Name = "btnNext";
this.btnNext.Size = new System.Drawing.Size(56, 24);
this.btnNext.TabIndex = 101;
this.btnNext.Text = "下一条";
this.btnNext.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
//
// btnLast
//
this.btnLast.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnLast.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnLast.Location = new System.Drawing.Point(290, 30);
this.btnLast.Name = "btnLast";
this.btnLast.Size = new System.Drawing.Size(64, 24);
this.btnLast.TabIndex = 100;
this.btnLast.Text = "最后一条";
this.btnLast.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnLast.Click += new System.EventHandler(this.btnLast_Click);
//
// lblRecord
//
this.lblRecord.BackColor = System.Drawing.SystemColors.InactiveBorder;
this.lblRecord.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblRecord.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblRecord.ForeColor = System.Drawing.SystemColors.ControlText;
this.lblRecord.Location = new System.Drawing.Point(134, 31);
this.lblRecord.Name = "lblRecord";
this.lblRecord.Size = new System.Drawing.Size(88, 23);
this.lblRecord.TabIndex = 105;
this.lblRecord.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// dataGrid1
//
this.dataGrid1.AlternatingBackColor = System.Drawing.Color.LightGray;
this.dataGrid1.BackColor = System.Drawing.Color.DarkGray;
this.dataGrid1.CaptionBackColor = System.Drawing.Color.White;
this.dataGrid1.CaptionFont = new System.Drawing.Font("Verdana", 10F);
this.dataGrid1.CaptionForeColor = System.Drawing.Color.Navy;
this.dataGrid1.DataMember = "";
this.dataGrid1.Enabled = false;
this.dataGrid1.ForeColor = System.Drawing.Color.Black;
this.dataGrid1.GridLineColor = System.Drawing.Color.Black;
this.dataGrid1.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None;
this.dataGrid1.HeaderBackColor = System.Drawing.Color.Silver;
this.dataGrid1.HeaderForeColor = System.Drawing.Color.Black;
this.dataGrid1.LinkColor = System.Drawing.Color.Navy;
this.dataGrid1.Location = new System.Drawing.Point(10, 64);
this.dataGrid1.Name = "dataGrid1";
this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.White;
this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.Black;
this.dataGrid1.ReadOnly = true;
this.dataGrid1.SelectionBackColor = System.Drawing.Color.Navy;
this.dataGrid1.SelectionForeColor = System.Drawing.Color.White;
this.dataGrid1.Size = new System.Drawing.Size(350, 265);
this.dataGrid1.TabIndex = 98;
this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
this.dataGridTableStyle1});
//
// dataGridTableStyle1
//
this.dataGridTableStyle1.DataGrid = this.dataGrid1;
this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
this.dataGridTextBoxColumn1,
this.dataGridTextBoxColumn2,
this.dataGridTextBoxColumn3,
this.dataGridTextBoxColumn4,
this.dataGridTextBoxColumn5});
this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.dataGridTableStyle1.MappingName = "Student";
//
// dataGridTextBoxColumn1
//
this.dataGridTextBoxColumn1.Format = "";
this.dataGridTextBoxColumn1.FormatInfo = null;
this.dataGridTextBoxColumn1.HeaderText = "学生号";
this.dataGridTextBoxColumn1.MappingName = "StudentID";
this.dataGridTextBoxColumn1.Width = 75;
//
// dataGridTextBoxColumn2
//
this.dataGridTextBoxColumn2.Format = "";
this.dataGridTextBoxColumn2.FormatInfo = null;
this.dataGridTextBoxColumn2.HeaderText = "学生姓名";
this.dataGridTextBoxColumn2.MappingName = "StudentName";
this.dataGridTextBoxColumn2.Width = 75;
//
// dataGridTextBoxColumn3
//
this.dataGridTextBoxColumn3.Format = "";
this.dataGridTextBoxColumn3.FormatInfo = null;
this.dataGridTextBoxColumn3.HeaderText = "性别";
this.dataGridTextBoxColumn3.MappingName = "Sex";
this.dataGridTextBoxColumn3.Width = 50;
//
// dataGridTextBoxColumn4
//
this.dataGridTextBoxColumn4.Format = "";
this.dataGridTextBoxColumn4.FormatInfo = null;
this.dataGridTextBoxColumn4.HeaderText = "年龄";
this.dataGridTextBoxColumn4.MappingName = "Age";
this.dataGridTextBoxColumn4.Width = 50;
//
// dataGridTextBoxColumn5
//
this.dataGridTextBoxColumn5.Format = "";
this.dataGridTextBoxColumn5.FormatInfo = null;
this.dataGridTextBoxColumn5.HeaderText = "入学时间";
this.dataGridTextBoxColumn5.MappingName = "InDate";
this.dataGridTextBoxColumn5.Width = 120;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.lblPicture);
this.groupBox1.Controls.Add(this.label6);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.lblClass);
this.groupBox1.Controls.Add(this.lblDepartment);
this.groupBox1.Controls.Add(this.textID);
this.groupBox1.Controls.Add(this.label18);
this.groupBox1.Controls.Add(this.label16);
this.groupBox1.Controls.Add(this.label14);
this.groupBox1.Controls.Add(this.label13);
this.groupBox1.Controls.Add(this.textName);
this.groupBox1.Controls.Add(this.textNativePlace);
this.groupBox1.Controls.Add(this.numericUpDown1);
this.groupBox1.Controls.Add(this.label12);
this.groupBox1.Controls.Add(this.btnPicture);
this.groupBox1.Controls.Add(this.label11);
this.groupBox1.Controls.Add(this.pictureBox1);
this.groupBox1.Controls.Add(this.comboSex);
this.groupBox1.Controls.Add(this.label9);
this.groupBox1.Controls.Add(this.label7);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.comboStatus);
this.groupBox1.Controls.Add(this.comboNation);
this.groupBox1.Controls.Add(this.dateTimePicker1);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.ForeColor = System.Drawing.Color.DarkGreen;
this.groupBox1.Location = new System.Drawing.Point(383, 80);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(326, 329);
this.groupBox1.TabIndex = 104;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "详细信息";
//
// lblPicture
//
this.lblPicture.Location = new System.Drawing.Point(48, 312);
this.lblPicture.Name = "lblPicture";
this.lblPicture.Size = new System.Drawing.Size(256, 23);
this.lblPicture.TabIndex = 126;
//
// label6
//
this.label6.Location = new System.Drawing.Point(194, 36);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(32, 23);
this.label6.TabIndex = 125;
this.label6.Text = "班级";
//
// label2
//
this.label2.Location = new System.Drawing.Point(32, 40);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(32, 23);
this.label2.TabIndex = 124;
this.label2.Text = "院系";
//
// lblClass
//
this.lblClass.BackColor = System.Drawing.SystemColors.ControlDark;
this.lblClass.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblClass.ForeColor = System.Drawing.SystemColors.WindowText;
this.lblClass.Location = new System.Drawing.Point(232, 32);
this.lblClass.Name = "lblClass";
this.lblClass.Size = new System.Drawing.Size(88, 23);
this.lblClass.TabIndex = 123;
//
// lblDepartment
//
this.lblDepartment.BackColor = System.Drawing.SystemColors.ControlDark;
this.lblDepartment.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblDepartment.ForeColor = System.Drawing.SystemColors.WindowText;
this.lblDepartment.Location = new System.Drawing.Point(80, 32);
this.lblDepartment.Name = "lblDepartment";
this.lblDepartment.Size = new System.Drawing.Size(108, 23);
this.lblDepartment.TabIndex = 122;
//
// textID
//
this.textID.BackColor = System.Drawing.SystemColors.Control;
this.textID.Location = new System.Drawing.Point(80, 72);
this.textID.Name = "textID";
this.textID.Size = new System.Drawing.Size(80, 21);
this.textID.TabIndex = 121;
//
// label18
//
this.label18.Location = new System.Drawing.Point(230, 64);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(48, 16);
this.label18.TabIndex = 116;
this.label18.Text = "照片";
//
// label16
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -