?? leave.cs
字號:
this.btnApply.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnApply.Click += new System.EventHandler(this.btnApply_Click);
//
// 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.Enabled = false;
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(40, 240);
this.dataGrid1.Name = "dataGrid1";
this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Lavender;
this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
this.dataGrid1.SelectionBackColor = System.Drawing.Color.Teal;
this.dataGrid1.SelectionForeColor = System.Drawing.Color.PaleGreen;
this.dataGrid1.Size = new System.Drawing.Size(488, 256);
this.dataGrid1.TabIndex = 123;
this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
this.dataGridTableStyle1});
//
// dataGridTableStyle1
//
this.dataGridTableStyle1.DataGrid = this.dataGrid1;
this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
this.dataGridTextBoxColumn1,
this.dataGridTextBoxColumn2,
this.dataGridTextBoxColumn3,
this.dataGridTextBoxColumn4,
this.dataGridTextBoxColumn5,
this.dataGridTextBoxColumn6});
this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.dataGridTableStyle1.MappingName = "LeaveRecord";
//
// 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 = "LeaveType";
this.dataGridTextBoxColumn2.Width = 75;
//
// dataGridTextBoxColumn3
//
this.dataGridTextBoxColumn3.Format = "";
this.dataGridTextBoxColumn3.FormatInfo = null;
this.dataGridTextBoxColumn3.HeaderText = "開始日期";
this.dataGridTextBoxColumn3.MappingName = "BeginDate";
this.dataGridTextBoxColumn3.Width = 75;
//
// dataGridTextBoxColumn4
//
this.dataGridTextBoxColumn4.Format = "";
this.dataGridTextBoxColumn4.FormatInfo = null;
this.dataGridTextBoxColumn4.HeaderText = "結(jié)束日期";
this.dataGridTextBoxColumn4.MappingName = "EndDate";
this.dataGridTextBoxColumn4.Width = 75;
//
// dataGridTextBoxColumn5
//
this.dataGridTextBoxColumn5.Format = "";
this.dataGridTextBoxColumn5.FormatInfo = null;
this.dataGridTextBoxColumn5.HeaderText = "天數(shù)";
this.dataGridTextBoxColumn5.MappingName = "Days";
this.dataGridTextBoxColumn5.Width = 75;
//
// dataGridTextBoxColumn6
//
this.dataGridTextBoxColumn6.Format = "";
this.dataGridTextBoxColumn6.FormatInfo = null;
this.dataGridTextBoxColumn6.HeaderText = "備注";
this.dataGridTextBoxColumn6.MappingName = "Remark";
this.dataGridTextBoxColumn6.Width = 75;
//
// button5
//
this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button5.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button5.Location = new System.Drawing.Point(432, 200);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(64, 24);
this.button5.TabIndex = 124;
this.button5.Text = "最后一條";
this.button5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.button5.Click += new System.EventHandler(this.btnLast_Click);
//
// button6
//
this.button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button6.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button6.Location = new System.Drawing.Point(360, 200);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(56, 24);
this.button6.TabIndex = 125;
this.button6.Text = "下一條";
this.button6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.button6.Click += new System.EventHandler(this.btnNext_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(240, 200);
this.lblRecord.Name = "lblRecord";
this.lblRecord.Size = new System.Drawing.Size(112, 23);
this.lblRecord.TabIndex = 128;
this.lblRecord.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// button7
//
this.button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button7.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button7.Location = new System.Drawing.Point(168, 200);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(56, 24);
this.button7.TabIndex = 126;
this.button7.Text = "上一條";
this.button7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.button7.Click += new System.EventHandler(this.btnPrevious_Click);
//
// button8
//
this.button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button8.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button8.Location = new System.Drawing.Point(104, 200);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(56, 24);
this.button8.TabIndex = 127;
this.button8.Text = "第一條";
this.button8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.button8.Click += new System.EventHandler(this.btnFirst_Click);
//
// groupBox3
//
this.groupBox3.Controls.Add(this.label12);
this.groupBox3.Controls.Add(this.textDays);
this.groupBox3.Controls.Add(this.textRemark);
this.groupBox3.Controls.Add(this.textEmployeeID);
this.groupBox3.Controls.Add(this.dateTimePicker2);
this.groupBox3.Controls.Add(this.dateTimePicker1);
this.groupBox3.Controls.Add(this.label5);
this.groupBox3.Controls.Add(this.comboLeaveType);
this.groupBox3.Controls.Add(this.label4);
this.groupBox3.Controls.Add(this.label3);
this.groupBox3.Controls.Add(this.label2);
this.groupBox3.Controls.Add(this.label1);
this.groupBox3.Location = new System.Drawing.Point(40, 24);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(464, 168);
this.groupBox3.TabIndex = 118;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "事假病假";
//
// label12
//
this.label12.Location = new System.Drawing.Point(280, 96);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(56, 16);
this.label12.TabIndex = 12;
this.label12.Text = "天數(shù)";
//
// textDays
//
this.textDays.Location = new System.Drawing.Point(264, 112);
this.textDays.Name = "textDays";
this.textDays.Size = new System.Drawing.Size(56, 21);
this.textDays.TabIndex = 11;
this.textDays.Text = "";
//
// textRemark
//
this.textRemark.Location = new System.Drawing.Point(256, 56);
this.textRemark.Multiline = true;
this.textRemark.Name = "textRemark";
this.textRemark.Size = new System.Drawing.Size(184, 32);
this.textRemark.TabIndex = 4;
this.textRemark.Text = "";
//
// textEmployeeID
//
this.textEmployeeID.Location = new System.Drawing.Point(40, 64);
this.textEmployeeID.Name = "textEmployeeID";
this.textEmployeeID.Size = new System.Drawing.Size(80, 21);
this.textEmployeeID.TabIndex = 3;
this.textEmployeeID.Text = "";
//
// dateTimePicker2
//
this.dateTimePicker2.Format = System.Windows.Forms.DateTimePickerFormat.Short;
this.dateTimePicker2.Location = new System.Drawing.Point(152, 112);
this.dateTimePicker2.Name = "dateTimePicker2";
this.dateTimePicker2.Size = new System.Drawing.Size(88, 21);
this.dateTimePicker2.TabIndex = 2;
this.dateTimePicker2.Value = new System.DateTime(2003, 12, 20, 0, 0, 0, 0);
//
// dateTimePicker1
//
this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Short;
this.dateTimePicker1.Location = new System.Drawing.Point(40, 112);
this.dateTimePicker1.Name = "dateTimePicker1";
this.dateTimePicker1.Size = new System.Drawing.Size(88, 21);
this.dateTimePicker1.TabIndex = 1;
this.dateTimePicker1.Value = new System.DateTime(2003, 12, 20, 0, 0, 0, 0);
//
// label5
//
this.label5.Location = new System.Drawing.Point(312, 32);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(64, 23);
this.label5.TabIndex = 10;
this.label5.Text = "備注";
//
// comboLeaveType
//
this.comboLeaveType.ItemHeight = 12;
this.comboLeaveType.Location = new System.Drawing.Point(152, 64);
this.comboLeaveType.Name = "comboLeaveType";
this.comboLeaveType.Size = new System.Drawing.Size(88, 20);
this.comboLeaveType.TabIndex = 9;
//
// label4
//
this.label4.Location = new System.Drawing.Point(168, 32);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(64, 23);
this.label4.TabIndex = 8;
this.label4.Text = "請假類型";
//
// label3
//
this.label3.Location = new System.Drawing.Point(64, 32);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(48, 23);
this.label3.TabIndex = 7;
this.label3.Text = "職工號";
//
// label2
//
this.label2.Location = new System.Drawing.Point(168, 96);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(56, 16);
this.label2.TabIndex = 6;
this.label2.Text = "截至日期";
//
// label1
//
this.label1.Location = new System.Drawing.Point(48, 96);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(64, 16);
this.label1.TabIndex = 5;
this.label1.Text = "起始日期";
//
// tabPage2
//
this.tabPage2.Controls.Add(this.btnSearch);
this.tabPage2.Controls.Add(this.btnExcel);
this.tabPage2.Controls.Add(this.btnCancelSearch);
this.tabPage2.Controls.Add(this.groupBox1);
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(704, 511);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "查詢事假病假";
//
// btnSearch
//
this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSearch.Image = ((System.Drawing.Image)(resources.GetObject("btnSearch.Image")));
this.btnSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnSearch.Location = new System.Drawing.Point(448, 24);
this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(56, 24);
this.btnSearch.TabIndex = 129;
this.btnSearch.Text = "查找";
this.btnSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
//
// btnExcel
//
this.btnExcel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnExcel.ForeColor = System.Drawing.SystemColors.Desktop;
this.btnExcel.Image = ((System.Drawing.Image)(resources.GetObject("btnExcel.Image")));
this.btnExcel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnExcel.Location = new System.Drawing.Point(448, 112);
this.btnExcel.Name = "btnExcel";
this.btnExcel.Size = new System.Drawing.Size(56, 24);
this.btnExcel.TabIndex = 128;
this.btnExcel.Text = "導(dǎo)出";
this.btnExcel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -