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

📄 rewardandpunish.cs

📁 人事,工资,考勤系统,C#实现 1、查看建模图 本文件夹中的Model目录下包含了系统的数据库模型图和系统建模图
💻 CS
📖 第 1 页 / 共 3 页
字号:
			// 
			// textRemark
			// 
			this.textRemark.Location = new System.Drawing.Point(56, 64);
			this.textRemark.Name = "textRemark";
			this.textRemark.Size = new System.Drawing.Size(360, 21);
			this.textRemark.TabIndex = 99;
			this.textRemark.Text = "";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(264, 24);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(40, 23);
			this.label1.TabIndex = 98;
			this.label1.Text = "日期";
			// 
			// dateTimePicker1
			// 
			this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Short;
			this.dateTimePicker1.Location = new System.Drawing.Point(312, 24);
			this.dateTimePicker1.Name = "dateTimePicker1";
			this.dateTimePicker1.Size = new System.Drawing.Size(104, 21);
			this.dateTimePicker1.TabIndex = 97;
			this.dateTimePicker1.Value = new System.DateTime(2003, 12, 20, 0, 0, 0, 0);
			// 
			// label10
			// 
			this.label10.Location = new System.Drawing.Point(8, 32);
			this.label10.Name = "label10";
			this.label10.Size = new System.Drawing.Size(48, 23);
			this.label10.TabIndex = 28;
			this.label10.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 = "奖惩类型";
			// 
			// comboRewardType
			// 
			this.comboRewardType.ItemHeight = 12;
			this.comboRewardType.Location = new System.Drawing.Point(176, 24);
			this.comboRewardType.Name = "comboRewardType";
			this.comboRewardType.Size = new System.Drawing.Size(80, 20);
			this.comboRewardType.TabIndex = 35;
			// 
			// textEmployeeID
			// 
			this.textEmployeeID.Location = new System.Drawing.Point(56, 24);
			this.textEmployeeID.Name = "textEmployeeID";
			this.textEmployeeID.Size = new System.Drawing.Size(56, 21);
			this.textEmployeeID.TabIndex = 29;
			this.textEmployeeID.Text = "";
			// 
			// dataGrid1
			// 
			this.dataGrid1.AlternatingBackColor = System.Drawing.Color.GhostWhite;
			this.dataGrid1.BackColor = System.Drawing.Color.GhostWhite;
			this.dataGrid1.BackgroundColor = System.Drawing.Color.Lavender;
			this.dataGrid1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.dataGrid1.CaptionBackColor = System.Drawing.Color.RoyalBlue;
			this.dataGrid1.CaptionForeColor = System.Drawing.Color.White;
			this.dataGrid1.DataMember = "";
			this.dataGrid1.FlatMode = true;
			this.dataGrid1.Font = new System.Drawing.Font("Tahoma", 8F);
			this.dataGrid1.ForeColor = System.Drawing.Color.MidnightBlue;
			this.dataGrid1.GridLineColor = System.Drawing.Color.RoyalBlue;
			this.dataGrid1.HeaderBackColor = System.Drawing.Color.MidnightBlue;
			this.dataGrid1.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
			this.dataGrid1.HeaderForeColor = System.Drawing.Color.Lavender;
			this.dataGrid1.LinkColor = System.Drawing.Color.Teal;
			this.dataGrid1.Location = new System.Drawing.Point(24, 184);
			this.dataGrid1.Name = "dataGrid1";
			this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Lavender;
			this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
			this.dataGrid1.ReadOnly = true;
			this.dataGrid1.SelectionBackColor = System.Drawing.Color.Teal;
			this.dataGrid1.SelectionForeColor = System.Drawing.Color.PaleGreen;
			this.dataGrid1.Size = new System.Drawing.Size(392, 240);
			this.dataGrid1.TabIndex = 1;
			this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
																								  this.dataGridTableStyle1});
			this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
			// 
			// dataGridTableStyle1
			// 
			this.dataGridTableStyle1.DataGrid = this.dataGrid1;
			this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
																												  this.dataGridTextBoxColumn1,
																												  this.dataGridTextBoxColumn2,
																												  this.dataGridTextBoxColumn3,
																												  this.dataGridTextBoxColumn10});
			this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridTableStyle1.MappingName = "Reward";
			// 
			// dataGridTextBoxColumn1
			// 
			this.dataGridTextBoxColumn1.Format = "";
			this.dataGridTextBoxColumn1.FormatInfo = null;
			this.dataGridTextBoxColumn1.HeaderText = "职工号";
			this.dataGridTextBoxColumn1.MappingName = "EmployeeID";
			this.dataGridTextBoxColumn1.Width = 75;
			// 
			// dataGridTextBoxColumn2
			// 
			this.dataGridTextBoxColumn2.Format = "";
			this.dataGridTextBoxColumn2.FormatInfo = null;
			this.dataGridTextBoxColumn2.HeaderText = "类型";
			this.dataGridTextBoxColumn2.MappingName = "RewardType";
			this.dataGridTextBoxColumn2.Width = 75;
			// 
			// dataGridTextBoxColumn3
			// 
			this.dataGridTextBoxColumn3.Format = "";
			this.dataGridTextBoxColumn3.FormatInfo = null;
			this.dataGridTextBoxColumn3.HeaderText = "日期";
			this.dataGridTextBoxColumn3.MappingName = "Date";
			this.dataGridTextBoxColumn3.Width = 75;
			// 
			// dataGridTextBoxColumn10
			// 
			this.dataGridTextBoxColumn10.Format = "";
			this.dataGridTextBoxColumn10.FormatInfo = null;
			this.dataGridTextBoxColumn10.HeaderText = "备注";
			this.dataGridTextBoxColumn10.MappingName = "Remark";
			this.dataGridTextBoxColumn10.Width = 75;
			// 
			// btnApply
			// 
			this.btnApply.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnApply.Image = ((System.Drawing.Image)(resources.GetObject("btnApply.Image")));
			this.btnApply.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnApply.Location = new System.Drawing.Point(504, 248);
			this.btnApply.Name = "btnApply";
			this.btnApply.Size = new System.Drawing.Size(56, 24);
			this.btnApply.TabIndex = 106;
			this.btnApply.Text = "保存";
			this.btnApply.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnApply.Click += new System.EventHandler(this.btnApply_Click);
			// 
			// btnCancel
			// 
			this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnCancel.Image = ((System.Drawing.Image)(resources.GetObject("btnCancel.Image")));
			this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnCancel.Location = new System.Drawing.Point(504, 216);
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.Size = new System.Drawing.Size(56, 24);
			this.btnCancel.TabIndex = 96;
			this.btnCancel.Text = "取消";
			this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
			// 
			// btnLast
			// 
			this.btnLast.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnLast.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnLast.Location = new System.Drawing.Point(336, 144);
			this.btnLast.Name = "btnLast";
			this.btnLast.Size = new System.Drawing.Size(64, 24);
			this.btnLast.TabIndex = 92;
			this.btnLast.Text = "最后一条";
			this.btnLast.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnLast.Click += new System.EventHandler(this.btnLast_Click);
			// 
			// btnFirst
			// 
			this.btnFirst.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnFirst.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnFirst.Location = new System.Drawing.Point(24, 144);
			this.btnFirst.Name = "btnFirst";
			this.btnFirst.Size = new System.Drawing.Size(56, 24);
			this.btnFirst.TabIndex = 95;
			this.btnFirst.Text = "第一条";
			this.btnFirst.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnFirst.Click += new System.EventHandler(this.btnFirst_Click);
			// 
			// lblRecord
			// 
			this.lblRecord.BackColor = System.Drawing.SystemColors.Window;
			this.lblRecord.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.lblRecord.ForeColor = System.Drawing.SystemColors.Desktop;
			this.lblRecord.Location = new System.Drawing.Point(152, 144);
			this.lblRecord.Name = "lblRecord";
			this.lblRecord.Size = new System.Drawing.Size(112, 23);
			this.lblRecord.TabIndex = 96;
			this.lblRecord.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// btnPrevious
			// 
			this.btnPrevious.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnPrevious.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnPrevious.Location = new System.Drawing.Point(88, 144);
			this.btnPrevious.Name = "btnPrevious";
			this.btnPrevious.Size = new System.Drawing.Size(56, 24);
			this.btnPrevious.TabIndex = 94;
			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(272, 144);
			this.btnNext.Name = "btnNext";
			this.btnNext.Size = new System.Drawing.Size(56, 24);
			this.btnNext.TabIndex = 93;
			this.btnNext.Text = "下一条";
			this.btnNext.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
			// 
			// tabPage2
			// 
			this.tabPage2.Controls.Add(this.groupBox1);
			this.tabPage2.Controls.Add(this.btnRewardCancel);
			this.tabPage2.Controls.Add(this.btnRewardSearch);
			this.tabPage2.Controls.Add(this.btnRewardExport);
			this.tabPage2.Controls.Add(this.dataGrid2);
			this.tabPage2.Location = new System.Drawing.Point(4, 21);
			this.tabPage2.Name = "tabPage2";
			this.tabPage2.Size = new System.Drawing.Size(608, 439);
			this.tabPage2.TabIndex = 1;
			this.tabPage2.Text = "惩罚记录查询";
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.checkBox1);
			this.groupBox1.Controls.Add(this.dateTimePicker3);
			this.groupBox1.Controls.Add(this.dateTimePicker4);
			this.groupBox1.Controls.Add(this.label3);
			this.groupBox1.Controls.Add(this.label11);
			this.groupBox1.Controls.Add(this.label4);
			this.groupBox1.Controls.Add(this.label5);
			this.groupBox1.Controls.Add(this.comboRewardType2);
			this.groupBox1.Controls.Add(this.textEmployeeID2);
			this.groupBox1.Location = new System.Drawing.Point(8, 16);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(320, 112);
			this.groupBox1.TabIndex = 109;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "奖惩记录";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(8, 32);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(48, 23);
			this.label4.TabIndex = 28;
			this.label4.Text = "职工号";
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(120, 24);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(56, 23);
			this.label5.TabIndex = 34;
			this.label5.Text = "奖惩类型";
			// 
			// comboRewardType2
			// 
			this.comboRewardType2.ItemHeight = 12;
			this.comboRewardType2.Location = new System.Drawing.Point(176, 24);
			this.comboRewardType2.Name = "comboRewardType2";
			this.comboRewardType2.Size = new System.Drawing.Size(80, 20);
			this.comboRewardType2.TabIndex = 35;
			// 
			// textEmployeeID2
			// 
			this.textEmployeeID2.Location = new System.Drawing.Point(56, 24);
			this.textEmployeeID2.Name = "textEmployeeID2";
			this.textEmployeeID2.Size = new System.Drawing.Size(56, 21);
			this.textEmployeeID2.TabIndex = 29;
			this.textEmployeeID2.Text = "";
			// 
			// btnRewardCancel
			// 
			this.btnRewardCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnRewardCancel.Image = ((System.Drawing.Image)(resources.GetObject("btnRewardCancel.Image")));
			this.btnRewardCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnRewardCancel.Location = new System.Drawing.Point(440, 32);
			this.btnRewardCancel.Name = "btnRewardCancel";
			this.btnRewardCancel.Size = new System.Drawing.Size(56, 24);
			this.btnRewardCancel.TabIndex = 108;
			this.btnRewardCancel.Text = "取消";
			this.btnRewardCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnRewardCancel.Click += new System.EventHandler(this.btnRewardCancel_Click);
			// 
			// btnRewardSearch
			// 
			this.btnRewardSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnRewardSearch.Image = ((System.Drawing.Image)(resources.GetObject("btnRewardSearch.Image")));
			this.btnRewardSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnRewardSearch.Location = new System.Drawing.Point(440, 64);
			this.btnRewardSearch.Name = "btnRewardSearch";
			this.btnRewardSearch.Size = new System.Drawing.Size(56, 24);
			this.btnRewardSearch.TabIndex = 107;
			this.btnRewardSearch.Text = "查找";
			this.btnRewardSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnRewardSearch.Click += new System.EventHandler(this.btnRewardSearch_Click);
			// 
			// btnRewardExport
			// 
			this.btnRewardExport.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnRewardExport.Image = ((System.Drawing.Image)(resources.GetObject("btnRewardExport.Image")));
			this.btnRewardExport.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnRewardExport.Location = new System.Drawing.Point(512, 32);
			this.btnRewardExport.Name = "btnRewardExport";
			this.btnRewardExport.Size = new System.Drawing.Size(56, 24);
			this.btnRewardExport.TabIndex = 106;
			this.btnRewardExport.Text = "导出";
			this.btnRewardExport.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnRewardExport.Click += new System.EventHandler(this.btnRewardExport_Click);
			// 
			// btnExit
			// 
			this.btnExit.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnExit.Image = ((System.Drawing.Image)(resources.GetObject("btnExit.Image")));
			this.btnExit.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnExit.Location = new System.Drawing.Point(664, 416);
			this.btnExit.Name = "btnExit";
			this.btnExit.Size = new System.Drawing.Size(56, 24);
			this.btnExit.TabIndex = 94;
			this.btnExit.Text = "退出";
			this.btnExit.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
			// 
			// checkBox1
			// 
			this.checkBox1.Location = new System.Drawing.Point(16, 80);
			this.checkBox1.Name = "checkBox1";
			this.checkBox1.Size = new System.Drawing.Size(64, 24);
			this.checkBox1.TabIndex = 40;
			this.checkBox1.Text = "按时间";
			this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
			// 
			// dateTimePicker3
			// 
			this.dateTimePicker3.Enabled = false;
			this.dateTimePicker3.Format = System.Windows.Forms.DateTimePickerFormat.Short;
			this.dateTimePicker3.Location = new System.Drawing.Point(88, 80);
			this.dateTimePicker3.Name = "dateTimePicker3";
			this.dateTimePicker3.Size = new System.Drawing.Size(88, 21);
			this.dateTimePicker3.TabIndex = 37;
			this.dateTimePicker3.Value = new System.DateTime(2003, 12, 20, 0, 0, 0, 0);
			// 
			// dateTimePicker4
			// 
			this.dateTimePicker4.Enabled = false;
			this.dateTimePicker4.Format = System.Windows.Forms.DateTimePickerFormat.Short;
			this.dateTimePicker4.Location = new System.Drawing.Point(192, 80);
			this.dateTimePicker4.Name = "dateTimePicker4";
			this.dateTimePicker4.Size = new System.Drawing.Size(88, 21);
			this.dateTimePicker4.TabIndex = 36;
			this.dateTimePicker4.Value = new System.DateTime(2003, 12, 20, 0, 0, 0, 0);
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(208, 56);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(56, 23);
			this.label3.TabIndex = 39;
			this.label3.Text = "截至日期";
			// 
			// label11
			// 
			this.label11.Location = new System.Drawing.Point(104, 56);
			this.label11.Name = "label11";
			this.label11.Size = new System.Drawing.Size(64, 23);
			this.label11.TabIndex = 38;
			this.label11.Text = "起始日期";
			// 
			// RewardAndPunish
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(744, 493);
			this.Controls.Add(this.btnExit);
			this.Controls.Add(this.tabControl1);
			this.ForeColor = System.Drawing.SystemColors.Desktop;
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));

⌨️ 快捷键说明

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