⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 check.cs

📁 c#写图书管理系统 界面美观 功能齐全 配有完整的数据库
💻 CS
📖 第 1 页 / 共 4 页
字号:
			this.label10.TabIndex = 28;
			this.label10.Text = "职工号";
			// 
			// label9
			// 
			this.label9.Location = new System.Drawing.Point(72, 72);
			this.label9.Name = "label9";
			this.label9.Size = new System.Drawing.Size(24, 23);
			this.label9.TabIndex = 26;
			this.label9.Text = "从";
			// 
			// label12
			// 
			this.label12.Location = new System.Drawing.Point(120, 24);
			this.label12.Name = "label12";
			this.label12.Size = new System.Drawing.Size(56, 23);
			this.label12.TabIndex = 34;
			this.label12.Text = "签到类型";
			// 
			// dateTimePicker4
			// 
			this.dateTimePicker4.Enabled = false;
			this.dateTimePicker4.Format = System.Windows.Forms.DateTimePickerFormat.Short;
			this.dateTimePicker4.Location = new System.Drawing.Point(256, 72);
			this.dateTimePicker4.Name = "dateTimePicker4";
			this.dateTimePicker4.Size = new System.Drawing.Size(104, 21);
			this.dateTimePicker4.TabIndex = 33;
			this.dateTimePicker4.Value = new System.DateTime(2003, 12, 20, 0, 0, 0, 0);
			// 
			// dateTimePicker3
			// 
			this.dateTimePicker3.Enabled = false;
			this.dateTimePicker3.Format = System.Windows.Forms.DateTimePickerFormat.Short;
			this.dateTimePicker3.Location = new System.Drawing.Point(104, 72);
			this.dateTimePicker3.Name = "dateTimePicker3";
			this.dateTimePicker3.Size = new System.Drawing.Size(104, 21);
			this.dateTimePicker3.TabIndex = 32;
			this.dateTimePicker3.Value = new System.DateTime(2003, 12, 20, 0, 0, 0, 0);
			// 
			// comboCheckInType
			// 
			this.comboCheckInType.ItemHeight = 12;
			this.comboCheckInType.Items.AddRange(new object[] {
																  "按时",
																  "迟到",
																  "缺勤"});
			this.comboCheckInType.Location = new System.Drawing.Point(176, 24);
			this.comboCheckInType.Name = "comboCheckInType";
			this.comboCheckInType.Size = new System.Drawing.Size(80, 20);
			this.comboCheckInType.TabIndex = 35;
			// 
			// label11
			// 
			this.label11.Location = new System.Drawing.Point(224, 72);
			this.label11.Name = "label11";
			this.label11.Size = new System.Drawing.Size(24, 16);
			this.label11.TabIndex = 31;
			this.label11.Text = "到";
			// 
			// checkBox1
			// 
			this.checkBox1.Location = new System.Drawing.Point(8, 72);
			this.checkBox1.Name = "checkBox1";
			this.checkBox1.Size = new System.Drawing.Size(64, 24);
			this.checkBox1.TabIndex = 30;
			this.checkBox1.Text = "按时间";
			this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
			// 
			// textEmployeeID3
			// 
			this.textEmployeeID3.Location = new System.Drawing.Point(56, 24);
			this.textEmployeeID3.Name = "textEmployeeID3";
			this.textEmployeeID3.Size = new System.Drawing.Size(56, 21);
			this.textEmployeeID3.TabIndex = 29;
			this.textEmployeeID3.Text = "";
			// 
			// tabPage4
			// 
			this.tabPage4.Controls.Add(this.dataGrid4);
			this.tabPage4.Controls.Add(this.groupBox4);
			this.tabPage4.ForeColor = System.Drawing.SystemColors.Desktop;
			this.tabPage4.Location = new System.Drawing.Point(4, 21);
			this.tabPage4.Name = "tabPage4";
			this.tabPage4.Size = new System.Drawing.Size(648, 431);
			this.tabPage4.TabIndex = 3;
			this.tabPage4.Text = "签离查询";
			// 
			// dataGrid4
			// 
			this.dataGrid4.AlternatingBackColor = System.Drawing.Color.White;
			this.dataGrid4.BackColor = System.Drawing.Color.White;
			this.dataGrid4.BackgroundColor = System.Drawing.Color.Gainsboro;
			this.dataGrid4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.dataGrid4.CaptionBackColor = System.Drawing.Color.Silver;
			this.dataGrid4.CaptionFont = new System.Drawing.Font("Courier New", 10F, System.Drawing.FontStyle.Bold);
			this.dataGrid4.CaptionForeColor = System.Drawing.Color.Black;
			this.dataGrid4.DataMember = "";
			this.dataGrid4.FlatMode = true;
			this.dataGrid4.Font = new System.Drawing.Font("Courier New", 9F);
			this.dataGrid4.ForeColor = System.Drawing.Color.DarkSlateGray;
			this.dataGrid4.GridLineColor = System.Drawing.Color.DarkGray;
			this.dataGrid4.HeaderBackColor = System.Drawing.Color.DarkGreen;
			this.dataGrid4.HeaderFont = new System.Drawing.Font("Courier New", 10F, System.Drawing.FontStyle.Bold);
			this.dataGrid4.HeaderForeColor = System.Drawing.Color.White;
			this.dataGrid4.LinkColor = System.Drawing.Color.DarkGreen;
			this.dataGrid4.Location = new System.Drawing.Point(60, 140);
			this.dataGrid4.Name = "dataGrid4";
			this.dataGrid4.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
			this.dataGrid4.ParentRowsForeColor = System.Drawing.Color.Black;
			this.dataGrid4.ReadOnly = true;
			this.dataGrid4.SelectionBackColor = System.Drawing.Color.DarkSeaGreen;
			this.dataGrid4.SelectionForeColor = System.Drawing.Color.Black;
			this.dataGrid4.Size = new System.Drawing.Size(500, 260);
			this.dataGrid4.TabIndex = 39;
			this.dataGrid4.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
																								  this.dataGridTableStyle4});
			// 
			// dataGridTableStyle4
			// 
			this.dataGridTableStyle4.DataGrid = this.dataGrid4;
			this.dataGridTableStyle4.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
																												  this.dataGridTextBoxColumn12,
																												  this.dataGridTextBoxColumn13,
																												  this.dataGridTextBoxColumn14,
																												  this.dataGridTextBoxColumn15,
																												  this.dataGridTextBoxColumn16});
			this.dataGridTableStyle4.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridTableStyle4.MappingName = "View_CheckOutRecord";
			// 
			// dataGridTextBoxColumn12
			// 
			this.dataGridTextBoxColumn12.Format = "";
			this.dataGridTextBoxColumn12.FormatInfo = null;
			this.dataGridTextBoxColumn12.HeaderText = "职工号";
			this.dataGridTextBoxColumn12.MappingName = "EmployeeID";
			this.dataGridTextBoxColumn12.Width = 75;
			// 
			// dataGridTextBoxColumn13
			// 
			this.dataGridTextBoxColumn13.Format = "";
			this.dataGridTextBoxColumn13.FormatInfo = null;
			this.dataGridTextBoxColumn13.HeaderText = "姓名";
			this.dataGridTextBoxColumn13.MappingName = "EmployeeName";
			this.dataGridTextBoxColumn13.Width = 75;
			// 
			// dataGridTextBoxColumn14
			// 
			this.dataGridTextBoxColumn14.Format = "";
			this.dataGridTextBoxColumn14.FormatInfo = null;
			this.dataGridTextBoxColumn14.HeaderText = "部门";
			this.dataGridTextBoxColumn14.MappingName = "Department";
			this.dataGridTextBoxColumn14.Width = 75;
			// 
			// dataGridTextBoxColumn15
			// 
			this.dataGridTextBoxColumn15.Format = "";
			this.dataGridTextBoxColumn15.FormatInfo = null;
			this.dataGridTextBoxColumn15.HeaderText = "类型";
			this.dataGridTextBoxColumn15.MappingName = "CheckType";
			this.dataGridTextBoxColumn15.Width = 75;
			// 
			// dataGridTextBoxColumn16
			// 
			this.dataGridTextBoxColumn16.Format = "";
			this.dataGridTextBoxColumn16.FormatInfo = null;
			this.dataGridTextBoxColumn16.HeaderText = "日期";
			this.dataGridTextBoxColumn16.MappingName = "Date";
			this.dataGridTextBoxColumn16.Width = 150;
			// 
			// groupBox4
			// 
			this.groupBox4.Controls.Add(this.comboOutDepartment);
			this.groupBox4.Controls.Add(this.label7);
			this.groupBox4.Controls.Add(this.btnCheckOutExport);
			this.groupBox4.Controls.Add(this.btnCheckOutSearch);
			this.groupBox4.Controls.Add(this.btnCheckOutCancel);
			this.groupBox4.Controls.Add(this.label2);
			this.groupBox4.Controls.Add(this.label3);
			this.groupBox4.Controls.Add(this.label4);
			this.groupBox4.Controls.Add(this.dateTimePicker1);
			this.groupBox4.Controls.Add(this.dateTimePicker2);
			this.groupBox4.Controls.Add(this.comboCheckOutType);
			this.groupBox4.Controls.Add(this.label5);
			this.groupBox4.Controls.Add(this.checkBox2);
			this.groupBox4.Controls.Add(this.textEmployeeID4);
			this.groupBox4.Location = new System.Drawing.Point(24, 16);
			this.groupBox4.Name = "groupBox4";
			this.groupBox4.Size = new System.Drawing.Size(592, 112);
			this.groupBox4.TabIndex = 38;
			this.groupBox4.TabStop = false;
			this.groupBox4.Text = "签到查询";
			// 
			// comboOutDepartment
			// 
			this.comboOutDepartment.ItemHeight = 12;
			this.comboOutDepartment.Items.AddRange(new object[] {
																	""});
			this.comboOutDepartment.Location = new System.Drawing.Point(312, 24);
			this.comboOutDepartment.Name = "comboOutDepartment";
			this.comboOutDepartment.Size = new System.Drawing.Size(72, 20);
			this.comboOutDepartment.TabIndex = 107;
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(272, 24);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(32, 23);
			this.label7.TabIndex = 106;
			this.label7.Text = "部门";
			// 
			// btnCheckOutExport
			// 
			this.btnCheckOutExport.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnCheckOutExport.Image = ((System.Drawing.Image)(resources.GetObject("btnCheckOutExport.Image")));
			this.btnCheckOutExport.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnCheckOutExport.Location = new System.Drawing.Point(512, 40);
			this.btnCheckOutExport.Name = "btnCheckOutExport";
			this.btnCheckOutExport.Size = new System.Drawing.Size(56, 24);
			this.btnCheckOutExport.TabIndex = 105;
			this.btnCheckOutExport.Text = "导出";
			this.btnCheckOutExport.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnCheckOutExport.Click += new System.EventHandler(this.btnCheckOutExport_Click);
			// 
			// btnCheckOutSearch
			// 
			this.btnCheckOutSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnCheckOutSearch.Image = ((System.Drawing.Image)(resources.GetObject("btnCheckOutSearch.Image")));
			this.btnCheckOutSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnCheckOutSearch.Location = new System.Drawing.Point(432, 64);
			this.btnCheckOutSearch.Name = "btnCheckOutSearch";
			this.btnCheckOutSearch.Size = new System.Drawing.Size(56, 24);
			this.btnCheckOutSearch.TabIndex = 97;
			this.btnCheckOutSearch.Text = "查找";
			this.btnCheckOutSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnCheckOutSearch.Click += new System.EventHandler(this.btnCheckOutSearch_Click);
			// 
			// btnCheckOutCancel
			// 
			this.btnCheckOutCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnCheckOutCancel.Image = ((System.Drawing.Image)(resources.GetObject("btnCheckOutCancel.Image")));
			this.btnCheckOutCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnCheckOutCancel.Location = new System.Drawing.Point(432, 24);
			this.btnCheckOutCancel.Name = "btnCheckOutCancel";
			this.btnCheckOutCancel.Size = new System.Drawing.Size(56, 24);
			this.btnCheckOutCancel.TabIndex = 96;
			this.btnCheckOutCancel.Text = "取消";
			this.btnCheckOutCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnCheckOutCancel.Click += new System.EventHandler(this.btnCheckOutCancel_Click);
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(8, 32);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(48, 23);
			this.label2.TabIndex = 28;
			this.label2.Text = "职工号";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(72, 72);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(24, 23);
			this.label3.TabIndex = 26;
			this.label3.Text = "从";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(136, 24);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(56, 23);
			this.label4.TabIndex = 34;
			this.label4.Text = "签到类型";
			// 
			// dateTimePicker1
			// 
			this.dateTimePicker1.Location = new System.Drawing.Point(104, 72);
			this.dateTimePicker1.Name = "dateTimePicker1";
			this.dateTimePicker1.Size = new System.Drawing.Size(120, 21);
			this.dateTimePicker1.TabIndex = 33;
			this.dateTimePicker1.Value = new System.DateTime(2003, 12, 20, 0, 0, 0, 0);
			// 
			// dateTimePicker2
			// 
			this.dateTimePicker2.Location = new System.Drawing.Point(264, 72);
			this.dateTimePicker2.Name = "dateTimePicker2";
			this.dateTimePicker2.Size = new System.Drawing.Size(120, 21);
			this.dateTimePicker2.TabIndex = 32;
			this.dateTimePicker2.Value = new System.DateTime(2003, 12, 20, 0, 0, 0, 0);
			// 
			// comboCheckOutType
			// 
			this.comboCheckOutType.ItemHeight = 12;
			this.comboCheckOutType.Items.AddRange(new object[] {
																   "按时",
																   "早退",
																   "缺勤"});
			this.comboCheckOutType.Location = new System.Drawing.Point(192, 24);
			this.comboCheckOutType.Name = "comboCheckOutType";
			this.comboCheckOutType.Size = new System.Drawing.Size(72, 20);
			this.comboCheckOutType.TabIndex = 35;
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(240, 72);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(24, 16);
			this.label5.TabIndex = 31;
			this.label5.Text = "到";
			// 
			// checkBox2
			// 
			this.checkBox2.Location = new System.Drawing.Point(8, 72);
			this.checkBox2.Name = "checkBox2";
			this.checkBox2.Size = new System.Drawing.Size(64, 24);
			this.checkBox2.TabIndex = 30;
			this.checkBox2.Text = "按时间";
			this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
			// 
			// textEmployeeID4
			// 
			this.textEmployeeID4.Location = new System.Drawing.Point(56, 24);
			this.textEmployeeID4.Name = "textEmployeeID4";
			this.textEmployeeID4.Size = new System.Drawing.Size(72, 21);
			this.textEmployeeID4.TabIndex = 29;
			this.textEmployeeID4.Text = "";
			// 
			// Check
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(784, 533);
			this.Controls.Add(this.tabControl1);
			this.Controls.Add(this.btnExit);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "Check";
			this.Text = "考勤记录";
			this.Load += new System.EventHandler(this.Check_Load);
			this.tabPage1.ResumeLayout(false);
			this.groupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
			this.tabPage2.ResumeLayout(false);
			this.groupBox3.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.dataGrid2)).EndInit();
			this.tabControl1.ResumeLayout(false);
			this.tabPage3.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.dataGrid3)).EndInit();
			this.groupBox2.ResumeLayout(false);
			this.tabPage4.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.dataGrid4)).EndInit();
			this.groupBox4.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

		private void tabControl1_SelectedIndexChanged(object sender, System.EventArgs e)
		{
			switch(this.tabControl1.SelectedIndex)
			{
				case 2:					
					this.DataSetViewCheckIn.Clear();
					this.dataAdapterViewCheckIn.Fill(this.DataSetViewCheckIn,"View_CheckInRecord");							
					break;
				case 3:					
					this.DataSetViewCheckOut.Clear();
					this.dataAdapterViewCheckOut.Fill(this.DataSetViewCheckOut,"View_CheckOutRecord");												
					this.dataGrid4.Refresh();
					break;			

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -