📄 teachermessagefrm.cs
字号:
this.textTel.Size = new System.Drawing.Size(88, 21);
this.textTel.TabIndex = 21;
this.textTel.Text = "";
//
// textAddress
//
this.textAddress.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.myTeacher, "教师信息.家庭地址"));
this.textAddress.Location = new System.Drawing.Point(64, 344);
this.textAddress.Name = "textAddress";
this.textAddress.Size = new System.Drawing.Size(88, 21);
this.textAddress.TabIndex = 20;
this.textAddress.Text = "";
//
// textDuty
//
this.textDuty.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.myTeacher, "教师信息.职称"));
this.textDuty.Location = new System.Drawing.Point(64, 264);
this.textDuty.Name = "textDuty";
this.textDuty.Size = new System.Drawing.Size(88, 21);
this.textDuty.TabIndex = 18;
this.textDuty.Text = "";
//
// textStatus
//
this.textStatus.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.myTeacher, "教师信息.政治面貌"));
this.textStatus.Location = new System.Drawing.Point(64, 224);
this.textStatus.Name = "textStatus";
this.textStatus.Size = new System.Drawing.Size(88, 21);
this.textStatus.TabIndex = 17;
this.textStatus.Text = "";
//
// textNation
//
this.textNation.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.myTeacher, "教师信息.民族"));
this.textNation.Location = new System.Drawing.Point(64, 184);
this.textNation.Name = "textNation";
this.textNation.Size = new System.Drawing.Size(88, 21);
this.textNation.TabIndex = 16;
this.textNation.Text = "";
//
// textAge
//
this.textAge.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.myTeacher, "教师信息.年龄"));
this.textAge.Location = new System.Drawing.Point(64, 104);
this.textAge.Name = "textAge";
this.textAge.Size = new System.Drawing.Size(88, 21);
this.textAge.TabIndex = 14;
this.textAge.Text = "";
//
// textName
//
this.textName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.myTeacher, "教师信息.姓名"));
this.textName.Location = new System.Drawing.Point(64, 64);
this.textName.Name = "textName";
this.textName.Size = new System.Drawing.Size(88, 21);
this.textName.TabIndex = 13;
this.textName.Text = "";
//
// textId
//
this.textId.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.myTeacher, "教师信息.教师编号"));
this.textId.Location = new System.Drawing.Point(64, 24);
this.textId.Name = "textId";
this.textId.Size = new System.Drawing.Size(88, 21);
this.textId.TabIndex = 12;
this.textId.Text = "";
//
// label10
//
this.label10.Location = new System.Drawing.Point(8, 384);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(56, 23);
this.label10.TabIndex = 11;
this.label10.Text = "联系电话";
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label9
//
this.label9.Location = new System.Drawing.Point(8, 344);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(56, 23);
this.label9.TabIndex = 10;
this.label9.Text = "家庭地址";
//
// label8
//
this.label8.Location = new System.Drawing.Point(8, 304);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(56, 23);
this.label8.TabIndex = 9;
this.label8.Text = "学历";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label7
//
this.label7.Location = new System.Drawing.Point(8, 264);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(56, 23);
this.label7.TabIndex = 8;
this.label7.Text = "职称";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label6
//
this.label6.Location = new System.Drawing.Point(8, 224);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(56, 23);
this.label6.TabIndex = 7;
this.label6.Text = "政治面貌";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label5
//
this.label5.Location = new System.Drawing.Point(8, 184);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(56, 23);
this.label5.TabIndex = 6;
this.label5.Text = "民族";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label4
//
this.label4.Location = new System.Drawing.Point(8, 144);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(56, 23);
this.label4.TabIndex = 5;
this.label4.Text = "性别";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label3
//
this.label3.Location = new System.Drawing.Point(8, 104);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(56, 23);
this.label3.TabIndex = 4;
this.label3.Text = "年龄";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label2
//
this.label2.Location = new System.Drawing.Point(8, 64);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(56, 23);
this.label2.TabIndex = 3;
this.label2.Text = "姓名";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label1
//
this.label1.Location = new System.Drawing.Point(8, 24);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(56, 23);
this.label1.TabIndex = 2;
this.label1.Text = "教师编号";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// groupBox2
//
this.groupBox2.Controls.Add(this.groupBox6);
this.groupBox2.Controls.Add(this.dataGrid1);
this.groupBox2.Location = new System.Drawing.Point(8, 80);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(416, 360);
this.groupBox2.TabIndex = 3;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "教师记录";
//
// groupBox6
//
this.groupBox6.Controls.Add(this.btnLast);
this.groupBox6.Controls.Add(this.btnNext);
this.groupBox6.Controls.Add(this.btnPrevious);
this.groupBox6.Controls.Add(this.btnFirst);
this.groupBox6.Location = new System.Drawing.Point(8, 16);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(360, 40);
this.groupBox6.TabIndex = 2;
this.groupBox6.TabStop = false;
//
// btnLast
//
this.btnLast.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnLast.Location = new System.Drawing.Point(272, 10);
this.btnLast.Name = "btnLast";
this.btnLast.Size = new System.Drawing.Size(75, 25);
this.btnLast.TabIndex = 3;
this.btnLast.Text = "尾记录";
this.btnLast.Click += new System.EventHandler(this.btnLast_Click);
//
// btnNext
//
this.btnNext.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnNext.Location = new System.Drawing.Point(184, 10);
this.btnNext.Name = "btnNext";
this.btnNext.Size = new System.Drawing.Size(75, 25);
this.btnNext.TabIndex = 2;
this.btnNext.Text = "下记录";
this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
//
// btnPrevious
//
this.btnPrevious.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnPrevious.Location = new System.Drawing.Point(96, 10);
this.btnPrevious.Name = "btnPrevious";
this.btnPrevious.Size = new System.Drawing.Size(75, 25);
this.btnPrevious.TabIndex = 1;
this.btnPrevious.Text = "上记录";
this.btnPrevious.Click += new System.EventHandler(this.btnPrevious_Click);
//
// btnFirst
//
this.btnFirst.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnFirst.Location = new System.Drawing.Point(8, 10);
this.btnFirst.Name = "btnFirst";
this.btnFirst.Size = new System.Drawing.Size(75, 25);
this.btnFirst.TabIndex = 0;
this.btnFirst.Text = "首记录";
this.btnFirst.Click += new System.EventHandler(this.btnFirs_Click);
//
// dataGrid1
//
this.dataGrid1.DataMember = "";
this.dataGrid1.DataSource = this.myTeacher.教师信息;
this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.dataGrid1.Location = new System.Drawing.Point(8, 64);
this.dataGrid1.Name = "dataGrid1";
this.dataGrid1.Size = new System.Drawing.Size(400, 288);
this.dataGrid1.TabIndex = 1;
this.dataGrid1.Click += new System.EventHandler(this.dataGrid1_Click_1);
//
// btnApply
//
this.btnApply.Location = new System.Drawing.Point(328, 48);
this.btnApply.Name = "btnApply";
this.btnApply.TabIndex = 2;
this.btnApply.Text = "保存";
this.btnApply.Click += new System.EventHandler(this.btnApply_Click);
//
// btnCancel
//
this.btnCancel.Location = new System.Drawing.Point(328, 8);
this.btnCancel.Name = "btnCancel";
this.btnCancel.TabIndex = 1;
this.btnCancel.Text = "取消";
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// groupBox1
//
this.groupBox1.Controls.Add(this.btnDelete);
this.groupBox1.Controls.Add(this.btnModify);
this.groupBox1.Controls.Add(this.btnAdd);
this.groupBox1.Location = new System.Drawing.Point(8, 8);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(304, 64);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "教师操作";
//
// btnDelete
//
this.btnDelete.Location = new System.Drawing.Point(216, 24);
this.btnDelete.Name = "btnDelete";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -