📄 formedit.cs
字号:
this.dsStuAddedInfo.DataSetName = "StuAddedInfo";
this.dsStuAddedInfo.Locale = new System.Globalization.CultureInfo("en-US");
//
// gridChanges
//
this.gridChanges.CaptionVisible = false;
this.gridChanges.DataMember = "changes";
this.gridChanges.DataSource = this.dsStuAddedInfo;
this.gridChanges.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.gridChanges.Location = new System.Drawing.Point(10, 56);
this.gridChanges.Name = "gridChanges";
this.gridChanges.ReadOnly = true;
this.gridChanges.Size = new System.Drawing.Size(438, 120);
this.gridChanges.TabIndex = 11;
this.gridChanges.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
this.dgTableStyleChanges});
//
// dgTableStyleChanges
//
this.dgTableStyleChanges.AllowSorting = false;
this.dgTableStyleChanges.DataGrid = this.gridChanges;
this.dgTableStyleChanges.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
this.dataGridTextBoxColumn1,
this.dataGridTextBoxColumn2,
this.dataGridTextBoxColumn3});
this.dgTableStyleChanges.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.dgTableStyleChanges.MappingName = "changes";
this.dgTableStyleChanges.ReadOnly = true;
//
// dataGridTextBoxColumn1
//
this.dataGridTextBoxColumn1.Format = "";
this.dataGridTextBoxColumn1.FormatInfo = null;
this.dataGridTextBoxColumn1.HeaderText = "异动类型";
this.dataGridTextBoxColumn1.MappingName = "changeType_name";
this.dataGridTextBoxColumn1.Width = 75;
//
// dataGridTextBoxColumn2
//
this.dataGridTextBoxColumn2.Format = "";
this.dataGridTextBoxColumn2.FormatInfo = null;
this.dataGridTextBoxColumn2.HeaderText = "异动原因";
this.dataGridTextBoxColumn2.MappingName = "change_reason";
this.dataGridTextBoxColumn2.Width = 200;
//
// dataGridTextBoxColumn3
//
this.dataGridTextBoxColumn3.Format = "";
this.dataGridTextBoxColumn3.FormatInfo = null;
this.dataGridTextBoxColumn3.HeaderText = "异动日期";
this.dataGridTextBoxColumn3.MappingName = "change_date";
this.dataGridTextBoxColumn3.Width = 75;
//
// panel5
//
this.panel5.BackColor = System.Drawing.SystemColors.GrayText;
this.panel5.Location = new System.Drawing.Point(10, 50);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(436, 1);
this.panel5.TabIndex = 10;
//
// label15
//
this.label15.Location = new System.Drawing.Point(80, 22);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(168, 16);
this.label15.TabIndex = 9;
this.label15.Text = "学生的学籍异动纪录";
//
// pictureBox4
//
this.pictureBox4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox4.Image")));
this.pictureBox4.Location = new System.Drawing.Point(18, 4);
this.pictureBox4.Name = "pictureBox4";
this.pictureBox4.Size = new System.Drawing.Size(48, 40);
this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox4.TabIndex = 8;
this.pictureBox4.TabStop = false;
//
// tabPage5
//
this.tabPage5.BackColor = System.Drawing.Color.White;
this.tabPage5.Controls.Add(this.txtAwardContent);
this.tabPage5.Controls.Add(this.btnDeleteAward);
this.tabPage5.Controls.Add(this.btnAddAward);
this.tabPage5.Controls.Add(this.txtAwardReason);
this.tabPage5.Controls.Add(this.dateTimeAward);
this.tabPage5.Controls.Add(this.gridAwards);
this.tabPage5.Controls.Add(this.panel6);
this.tabPage5.Controls.Add(this.label21);
this.tabPage5.Controls.Add(this.pictureBox5);
this.tabPage5.Controls.Add(this.label25);
this.tabPage5.Controls.Add(this.label24);
this.tabPage5.Location = new System.Drawing.Point(4, 21);
this.tabPage5.Name = "tabPage5";
this.tabPage5.Size = new System.Drawing.Size(456, 247);
this.tabPage5.TabIndex = 4;
this.tabPage5.Text = "获奖纪录";
//
// label25
//
this.label25.BackColor = System.Drawing.Color.Transparent;
this.label25.Location = new System.Drawing.Point(0, 184);
this.label25.Name = "label25";
this.label25.Size = new System.Drawing.Size(48, 23);
this.label25.TabIndex = 24;
this.label25.Text = "内容:";
this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// btnDeleteAward
//
this.btnDeleteAward.BackColor = System.Drawing.SystemColors.Control;
this.btnDeleteAward.Location = new System.Drawing.Point(371, 183);
this.btnDeleteAward.Name = "btnDeleteAward";
this.btnDeleteAward.TabIndex = 23;
this.btnDeleteAward.Text = "删除";
this.btnDeleteAward.Click += new System.EventHandler(this.btnDeleteAward_Click);
//
// btnAddAward
//
this.btnAddAward.BackColor = System.Drawing.SystemColors.Control;
this.btnAddAward.Location = new System.Drawing.Point(291, 183);
this.btnAddAward.Name = "btnAddAward";
this.btnAddAward.TabIndex = 22;
this.btnAddAward.Text = "添加";
this.btnAddAward.Click += new System.EventHandler(this.btnAddAward_Click);
//
// txtAwardReason
//
this.txtAwardReason.Location = new System.Drawing.Point(48, 216);
this.txtAwardReason.Name = "txtAwardReason";
this.txtAwardReason.Size = new System.Drawing.Size(400, 21);
this.txtAwardReason.TabIndex = 19;
this.txtAwardReason.Text = "";
//
// label24
//
this.label24.BackColor = System.Drawing.Color.Transparent;
this.label24.Location = new System.Drawing.Point(0, 219);
this.label24.Name = "label24";
this.label24.Size = new System.Drawing.Size(48, 16);
this.label24.TabIndex = 21;
this.label24.Text = "原因:";
this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// dateTimeAward
//
this.dateTimeAward.Format = System.Windows.Forms.DateTimePickerFormat.Short;
this.dateTimeAward.Location = new System.Drawing.Point(192, 184);
this.dateTimeAward.Name = "dateTimeAward";
this.dateTimeAward.Size = new System.Drawing.Size(92, 21);
this.dateTimeAward.TabIndex = 20;
//
// gridAwards
//
this.gridAwards.CaptionVisible = false;
this.gridAwards.DataMember = "awards";
this.gridAwards.DataSource = this.dsStuAddedInfo;
this.gridAwards.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.gridAwards.Location = new System.Drawing.Point(10, 56);
this.gridAwards.Name = "gridAwards";
this.gridAwards.ReadOnly = true;
this.gridAwards.Size = new System.Drawing.Size(438, 120);
this.gridAwards.TabIndex = 11;
this.gridAwards.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
this.dgTableStyleAwards});
//
// dgTableStyleAwards
//
this.dgTableStyleAwards.DataGrid = this.gridAwards;
this.dgTableStyleAwards.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
this.dataGridTextBoxColumn4,
this.dataGridTextBoxColumn5,
this.dataGridTextBoxColumn6});
this.dgTableStyleAwards.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.dgTableStyleAwards.MappingName = "awards";
//
// dataGridTextBoxColumn4
//
this.dataGridTextBoxColumn4.Format = "";
this.dataGridTextBoxColumn4.FormatInfo = null;
this.dataGridTextBoxColumn4.HeaderText = "获奖内容";
this.dataGridTextBoxColumn4.MappingName = "award_content";
this.dataGridTextBoxColumn4.Width = 150;
//
// dataGridTextBoxColumn5
//
this.dataGridTextBoxColumn5.Format = "";
this.dataGridTextBoxColumn5.FormatInfo = null;
this.dataGridTextBoxColumn5.HeaderText = "获奖原因";
this.dataGridTextBoxColumn5.MappingName = "award_reason";
this.dataGridTextBoxColumn5.Width = 150;
//
// dataGridTextBoxColumn6
//
this.dataGridTextBoxColumn6.Format = "";
this.dataGridTextBoxColumn6.FormatInfo = null;
this.dataGridTextBoxColumn6.HeaderText = "获奖日期";
this.dataGridTextBoxColumn6.MappingName = "award_date";
this.dataGridTextBoxColumn6.Width = 75;
//
// panel6
//
this.panel6.BackColor = System.Drawing.SystemColors.GrayText;
this.panel6.Location = new System.Drawing.Point(10, 50);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(436, 1);
this.panel6.TabIndex = 10;
//
// label21
//
this.label21.Location = new System.Drawing.Point(80, 22);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(168, 16);
this.label21.TabIndex = 9;
this.label21.Text = "学生的获奖纪录";
//
// pictureBox5
//
this.pictureBox5.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox5.Image")));
this.pictureBox5.Location = new System.Drawing.Point(18, 4);
this.pictureBox5.Name = "pictureBox5";
this.pictureBox5.Size = new System.Drawing.Size(48, 40);
this.pictureBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox5.TabIndex = 8;
this.pictureBox5.TabStop = false;
//
// tabPage6
//
this.tabPage6.BackColor = System.Drawing.Color.White;
this.tabPage6.Controls.Add(this.label27);
this.tabPage6.Controls.Add(this.btnDeletePunishment);
this.tabPage6.Controls.Add(this.btnAddPunishment);
this.tabPage6.Controls.Add(this.txtPunishmentReason);
this.tabPage6.Controls.Add(this.label28);
this.tabPage6.Controls.Add(this.dateTimePunishment);
this.tabPage6.Controls.Add(this.cmbPunishmentType);
this.tabPage6.Controls.Add(this.gridPunishments);
this.tabPage6.Controls.Add(this.panel7);
this.tabPage6.Controls.Add(this.label22);
this.tabPage6.Controls.Add(this.pictureBox6);
this.tabPage6.Location = new System.Drawing.Point(4, 21);
this.tabPage6.Name = "tabPage6";
this.tabPage6.Size = new System.Drawing.Size(456, 247);
this.tabPage6.TabIndex = 5;
this.tabPage6.Text = "处分纪录";
//
// gridPunishments
//
this.gridPunishments.CaptionVisible = false;
this.gridPunishments.DataMember = "punishments";
this.gridPunishments.DataSource = this.dsStuAddedInfo;
this.gridPunishments.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.gridPunishments.Location = new System.Drawing.Point(10, 56);
this.gridPunishments.Name = "gridPunishments";
this.gridPunishments.ReadOnly = true;
this.gridPunishments.Size = new System.Drawing.Size(438, 120);
this.gridPunishments.TabIndex = 11;
this.gridPunishments.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
this.gridTableStylePunishments});
//
// gridTableStylePunishments
//
this.gridTableStylePunishments.DataGrid = this.gridPunishments;
this.gridTableStylePunishments.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
this.dataGridTextBoxColumn7,
this.dataGridTextBoxColumn8,
this.dataGridTextBoxColumn9});
this.gridTableStylePunishments.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.gridTableStylePunishments.MappingName = "punishments";
//
// dataGridTextBoxColumn7
//
this.dataGridTextBoxColumn7.Format = "";
this.dataGridTextBoxColumn7.FormatInfo = null;
this.dataGridTextBoxColumn7.HeaderText = "处分类型";
this.dataGridTextBoxColumn7.MappingName = "punishmentType_name";
this.dataGridTextBoxColumn7.Width = 75;
//
// dataGridTextBoxColumn8
//
this.dataGridTextBoxColumn8.Format = "";
this.dataGridTextBoxColumn8.FormatInfo = null;
this.dataGridTextBoxColumn8.HeaderText = "处分原因";
this.dataGridTextBoxColumn8.MappingName = "punishment_reason";
this.dataGridTextBoxColumn8.Width = 200;
//
// dataGridTextBoxColumn9
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -