📄 checkinoutfrm.cs
字号:
//
this.dateTimePicker1.Enabled = false;
this.dateTimePicker1.Location = new System.Drawing.Point(96, 46);
this.dateTimePicker1.Name = "dateTimePicker1";
this.dateTimePicker1.Size = new System.Drawing.Size(136, 21);
this.dateTimePicker1.TabIndex = 11;
//
// checkBox1
//
this.checkBox1.Location = new System.Drawing.Point(8, 44);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(64, 24);
this.checkBox1.TabIndex = 10;
this.checkBox1.Text = "按时间";
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged_1);
//
// label9
//
this.label9.Location = new System.Drawing.Point(176, 16);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(64, 23);
this.label9.TabIndex = 9;
this.label9.Text = "签到类型";
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// comboCheckInType
//
this.comboCheckInType.Items.AddRange(new object[] {
"按时",
"迟到",
"缺勤"});
this.comboCheckInType.Location = new System.Drawing.Point(240, 16);
this.comboCheckInType.Name = "comboCheckInType";
this.comboCheckInType.Size = new System.Drawing.Size(136, 20);
this.comboCheckInType.TabIndex = 8;
//
// btnCheckInCancel
//
this.btnCheckInCancel.Location = new System.Drawing.Point(400, 48);
this.btnCheckInCancel.Name = "btnCheckInCancel";
this.btnCheckInCancel.Size = new System.Drawing.Size(64, 23);
this.btnCheckInCancel.TabIndex = 7;
this.btnCheckInCancel.Text = "取消";
this.btnCheckInCancel.Click += new System.EventHandler(this.btnCheckInCancel_Click);
//
// btnCheckInSearch
//
this.btnCheckInSearch.Location = new System.Drawing.Point(400, 16);
this.btnCheckInSearch.Name = "btnCheckInSearch";
this.btnCheckInSearch.Size = new System.Drawing.Size(64, 23);
this.btnCheckInSearch.TabIndex = 6;
this.btnCheckInSearch.Text = "查询";
this.btnCheckInSearch.Click += new System.EventHandler(this.btnCheckInSearch_Click);
//
// label4
//
this.label4.Location = new System.Drawing.Point(240, 48);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(16, 16);
this.label4.TabIndex = 4;
this.label4.Text = "到";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label3
//
this.label3.Location = new System.Drawing.Point(72, 48);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(16, 16);
this.label3.TabIndex = 2;
this.label3.Text = "从";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// textTeacherID2
//
this.textTeacherID2.Location = new System.Drawing.Point(72, 16);
this.textTeacherID2.Name = "textTeacherID2";
this.textTeacherID2.Size = new System.Drawing.Size(96, 21);
this.textTeacherID2.TabIndex = 1;
this.textTeacherID2.Text = "";
//
// label2
//
this.label2.Location = new System.Drawing.Point(8, 16);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(56, 23);
this.label2.TabIndex = 0;
this.label2.Text = "教师编号";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// tabPage3
//
this.tabPage3.Controls.Add(this.groupBox3);
this.tabPage3.Location = new System.Drawing.Point(4, 21);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(488, 455);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "签离记录";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.dataGrid3);
this.groupBox3.Controls.Add(this.btnCheckOut);
this.groupBox3.Controls.Add(this.textTeacherID3);
this.groupBox3.Controls.Add(this.label5);
this.groupBox3.Location = new System.Drawing.Point(0, 11);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(480, 437);
this.groupBox3.TabIndex = 1;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "下班签离";
//
// dataGrid3
//
this.dataGrid3.DataMember = "";
this.dataGrid3.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.dataGrid3.Location = new System.Drawing.Point(8, 64);
this.dataGrid3.Name = "dataGrid3";
this.dataGrid3.ReadOnly = true;
this.dataGrid3.Size = new System.Drawing.Size(464, 352);
this.dataGrid3.TabIndex = 3;
this.dataGrid3.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
this.dataGridTableStyle2});
//
// dataGridTableStyle2
//
this.dataGridTableStyle2.DataGrid = this.dataGrid3;
this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
this.dataGridTextBoxColumn4,
this.dataGridTextBoxColumn5,
this.dataGridTextBoxColumn6});
this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.dataGridTableStyle2.MappingName = "教师签离";
//
// dataGridTextBoxColumn4
//
this.dataGridTextBoxColumn4.Format = "";
this.dataGridTextBoxColumn4.FormatInfo = null;
this.dataGridTextBoxColumn4.HeaderText = "教师编号";
this.dataGridTextBoxColumn4.MappingName = "教师编号";
this.dataGridTextBoxColumn4.Width = 75;
//
// dataGridTextBoxColumn5
//
this.dataGridTextBoxColumn5.Format = "";
this.dataGridTextBoxColumn5.FormatInfo = null;
this.dataGridTextBoxColumn5.HeaderText = "签离类型";
this.dataGridTextBoxColumn5.MappingName = "签离类型";
this.dataGridTextBoxColumn5.Width = 75;
//
// dataGridTextBoxColumn6
//
this.dataGridTextBoxColumn6.Format = "";
this.dataGridTextBoxColumn6.FormatInfo = null;
this.dataGridTextBoxColumn6.HeaderText = "签离时间";
this.dataGridTextBoxColumn6.MappingName = "签离时间";
this.dataGridTextBoxColumn6.Width = 160;
//
// btnCheckOut
//
this.btnCheckOut.Location = new System.Drawing.Point(224, 24);
this.btnCheckOut.Name = "btnCheckOut";
this.btnCheckOut.TabIndex = 2;
this.btnCheckOut.Text = "签离";
this.btnCheckOut.Click += new System.EventHandler(this.btnCheckOut_Click_1);
//
// textTeacherID3
//
this.textTeacherID3.Location = new System.Drawing.Point(88, 24);
this.textTeacherID3.Name = "textTeacherID3";
this.textTeacherID3.Size = new System.Drawing.Size(104, 21);
this.textTeacherID3.TabIndex = 1;
this.textTeacherID3.Text = "";
this.textTeacherID3.Validating += new System.ComponentModel.CancelEventHandler(this.textTeacherID3_Validating);
//
// label5
//
this.label5.Location = new System.Drawing.Point(16, 24);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(64, 23);
this.label5.TabIndex = 0;
this.label5.Text = "教师编号";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// tabPage4
//
this.tabPage4.Controls.Add(this.dataGrid4);
this.tabPage4.Controls.Add(this.groupBox4);
this.tabPage4.Location = new System.Drawing.Point(4, 21);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Size = new System.Drawing.Size(488, 455);
this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "签离查询";
//
// dataGrid4
//
this.dataGrid4.DataMember = "";
this.dataGrid4.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.dataGrid4.Location = new System.Drawing.Point(8, 96);
this.dataGrid4.Name = "dataGrid4";
this.dataGrid4.ReadOnly = true;
this.dataGrid4.Size = new System.Drawing.Size(472, 352);
this.dataGrid4.TabIndex = 2;
//
// groupBox4
//
this.groupBox4.Controls.Add(this.dateTimePicker4);
this.groupBox4.Controls.Add(this.dateTimePicker3);
this.groupBox4.Controls.Add(this.checkBox2);
this.groupBox4.Controls.Add(this.label10);
this.groupBox4.Controls.Add(this.comboCheckOutType);
this.groupBox4.Controls.Add(this.btnCheckOutCancel);
this.groupBox4.Controls.Add(this.btnCheckOutSearch);
this.groupBox4.Controls.Add(this.label6);
this.groupBox4.Controls.Add(this.label7);
this.groupBox4.Controls.Add(this.textTeacherID4);
this.groupBox4.Controls.Add(this.label8);
this.groupBox4.Location = new System.Drawing.Point(8, 8);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(472, 80);
this.groupBox4.TabIndex = 0;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "签离查询";
//
// dateTimePicker4
//
this.dateTimePicker4.Enabled = false;
this.dateTimePicker4.Location = new System.Drawing.Point(240, 48);
this.dateTimePicker4.Name = "dateTimePicker4";
this.dateTimePicker4.Size = new System.Drawing.Size(136, 21);
this.dateTimePicker4.TabIndex = 38;
//
// dateTimePicker3
//
this.dateTimePicker3.Enabled = false;
this.dateTimePicker3.Location = new System.Drawing.Point(96, 48);
this.dateTimePicker3.Name = "dateTimePicker3";
this.dateTimePicker3.Size = new System.Drawing.Size(112, 21);
this.dateTimePicker3.TabIndex = 37;
//
// checkBox2
//
this.checkBox2.Location = new System.Drawing.Point(8, 48);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(64, 24);
this.checkBox2.TabIndex = 36;
this.checkBox2.Text = "按时间";
this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
//
// label10
//
this.label10.Location = new System.Drawing.Point(176, 16);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(56, 23);
this.label10.TabIndex = 35;
this.label10.Text = "签到类型";
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// comboCheckOutType
//
this.comboCheckOutType.Items.AddRange(new object[] {
"按时",
"早退",
"缺勤"});
this.comboCheckOutType.Location = new System.Drawing.Point(248, 16);
this.comboCheckOutType.Name = "comboCheckOutType";
this.comboCheckOutType.Size = new System.Drawing.Size(128, 20);
this.comboCheckOutType.TabIndex = 1;
//
// btnCheckOutCancel
//
this.btnCheckOutCancel.Location = new System.Drawing.Point(392, 48);
this.btnCheckOutCancel.Name = "btnCheckOutCancel";
this.btnCheckOutCancel.Size = new System.Drawing.Size(64, 23);
this.btnCheckOutCancel.TabIndex = 5;
this.btnCheckOutCancel.Text = "取消";
this.btnCheckOutCancel.Click += new System.EventHandler(this.btnCheckOutCancel_Click);
//
// btnCheckOutSearch
//
this.btnCheckOutSearch.Location = new System.Drawing.Point(392, 16);
this.btnCheckOutSearch.Name = "btnCheckOutSearch";
this.btnCheckOutSearch.Size = new System.Drawing.Size(64, 23);
this.btnCheckOutSearch.TabIndex = 4;
this.btnCheckOutSearch.Text = "查询";
this.btnCheckOutSearch.Click += new System.EventHandler(this.btnCheckOutSearch_Click);
//
// label6
//
this.label6.Location = new System.Drawing.Point(216, 48);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(16, 16);
this.label6.TabIndex = 4;
this.label6.Text = "到";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label7
//
this.label7.Location = new System.Drawing.Point(72, 48);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(16, 16);
this.label7.TabIndex = 2;
this.label7.Text = "从";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// textTeacherID4
//
this.textTeacherID4.Location = new System.Drawing.Point(72, 16);
this.textTeacherID4.Name = "textTeacherID4";
this.textTeacherID4.Size = new System.Drawing.Size(96, 21);
this.textTeacherID4.TabIndex = 0;
this.textTeacherID4.Text = "";
//
// label8
//
this.label8.Location = new System.Drawing.Point(8, 16);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(56, 23);
this.label8.TabIndex = 0;
this.label8.Text = "教师编号";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// btncancel
//
this.btncancel.Location = new System.Drawing.Point(520, 472);
this.btncancel.Name = "btncancel";
this.btncancel.Size = new System.Drawing.Size(40, 24);
this.btncancel.TabIndex = 3;
this.btncancel.Text = "退出";
this.btncancel.Click += new System.EventHandler(this.btncancel_Click);
//
// CheckInOutfrm
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(568, 510);
this.Controls.Add(this.btncancel);
this.Controls.Add(this.tabControl1);
this.Name = "CheckInOutfrm";
this.Text = "考勤记录";
this.Load += new System.EventHandler(this.CheckInOutfrm_Load);
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
this.tabPage2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataGrid2)).EndInit();
this.groupBox2.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataGrid3)).EndInit();
this.tabPage4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataGrid4)).EndInit();
this.groupBox4.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -