..전자실 추가 중
This commit is contained in:
		
							
								
								
									
										114
									
								
								SubProject/FPJ0000/JobReport/fJobReport.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										114
									
								
								SubProject/FPJ0000/JobReport/fJobReport.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -30,20 +30,20 @@ | ||||
|         { | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fJobReport)); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType34 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType35 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType36 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType37 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType38 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType39 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType40 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType41 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType42 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType43 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType44 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.dsMSSQL = new FPJ0000.dsPRJ(); | ||||
| @@ -92,6 +92,7 @@ | ||||
|             this.lbStt = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.dtSD = new System.Windows.Forms.ToolStripTextBox(); | ||||
|             this.lbEnd = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.dtED = new System.Windows.Forms.ToolStripTextBox(); | ||||
|             this.lbTime = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); | ||||
| @@ -103,7 +104,6 @@ | ||||
|             this.태그자료만조회ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.richTextBox1 = new System.Windows.Forms.RichTextBox(); | ||||
|             this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
|             this.bn.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
| @@ -144,14 +144,14 @@ | ||||
|             this.btReportDay, | ||||
|             this.toolStripButton1, | ||||
|             this.toolStripButton3}); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 607); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 637); | ||||
|             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||
|             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||
|             this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; | ||||
|             this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||
|             this.bn.Name = "bn"; | ||||
|             this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||
|             this.bn.Size = new System.Drawing.Size(1240, 25); | ||||
|             this.bn.Size = new System.Drawing.Size(1139, 25); | ||||
|             this.bn.TabIndex = 0; | ||||
|             this.bn.Text = "bindingNavigator1"; | ||||
|             //  | ||||
| @@ -200,7 +200,6 @@ | ||||
|             //  | ||||
|             this.bindingNavigatorPositionItem.AccessibleName = "위치"; | ||||
|             this.bindingNavigatorPositionItem.AutoSize = false; | ||||
|             this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); | ||||
|             this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; | ||||
|             this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); | ||||
|             this.bindingNavigatorPositionItem.Text = "0"; | ||||
| @@ -292,7 +291,6 @@ | ||||
|             // tbFind | ||||
|             //  | ||||
|             this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F); | ||||
|             this.tbFind.Name = "tbFind"; | ||||
|             this.tbFind.Size = new System.Drawing.Size(100, 25); | ||||
|             this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); | ||||
| @@ -467,7 +465,11 @@ | ||||
|             // tam | ||||
|             //  | ||||
|             this.tam.BackupDataSetBeforeUpdate = false; | ||||
|             this.tam.EETGW_JobReport_AutoInputTableAdapter = null; | ||||
|             this.tam.EETGW_JobReport_EBoardTableAdapter = null; | ||||
|             this.tam.EETGW_NoteTableAdapter = null; | ||||
|             this.tam.EETGW_ProjecthistoryDTableAdapter = null; | ||||
|             this.tam.EETGW_ProjectToDoTableAdapter = null; | ||||
|             this.tam.EETGW_SaveCostTableAdapter = null; | ||||
|             this.tam.JobReportTableAdapter = this.ta; | ||||
|             this.tam.ProjectPartStatusTableAdapter = null; | ||||
| @@ -495,7 +497,7 @@ | ||||
|             this.fpSpread1.Name = "fpSpread1"; | ||||
|             this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { | ||||
|             this.fpSpread1_Sheet1}); | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(1240, 510); | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(1139, 540); | ||||
|             this.fpSpread1.StatusBarVisible = true; | ||||
|             this.fpSpread1.TabIndex = 2; | ||||
|             //  | ||||
| @@ -524,82 +526,82 @@ | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "비고"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "#"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 28F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType34; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Label = "날짜"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Width = 58F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType35; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).DataField = "ww"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Label = "WW"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType36; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "username"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Label = "담당"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType37; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).DataField = "requestpart"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Label = "요청부서"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Width = 78F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType38; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "package"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Label = "패키지"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Width = 86F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType39; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "status"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Label = "상태"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType40; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "type"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Label = "업무형태"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Width = 84F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType41; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "process"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Label = "업무분류"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Width = 80F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType42; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "projectName"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Label = "프로젝트(아이템)"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Width = 158F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             numberCellType10.DecimalPlaces = 0; | ||||
|             numberCellType10.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType10.MaximumValue = 2147483647D; | ||||
|             numberCellType10.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType10; | ||||
|             numberCellType1.DecimalPlaces = 0; | ||||
|             numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType1.MaximumValue = 2147483647D; | ||||
|             numberCellType1.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pidx"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Label = "*"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Tag = "pidx"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Width = 39F; | ||||
|             numberCellType11.MaximumValue = 999999999999999D; | ||||
|             numberCellType11.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType11; | ||||
|             numberCellType2.MaximumValue = 999999999999999D; | ||||
|             numberCellType2.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).DataField = "hrs"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).Label = "시간"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).Width = 52F; | ||||
|             numberCellType12.MaximumValue = 999999999999999D; | ||||
|             numberCellType12.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType12; | ||||
|             numberCellType3.MaximumValue = 999999999999999D; | ||||
|             numberCellType3.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).DataField = "ot"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).ForeColor = System.Drawing.Color.Red; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).Label = "초과"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType43; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType10; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).DataField = "description"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).Label = "비고"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType44; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType11; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).DataField = "tag"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).Label = "#"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
| @@ -627,7 +629,7 @@ | ||||
|             this.toolStripButton2}); | ||||
|             this.toolStrip1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.toolStrip1.Name = "toolStrip1"; | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(1240, 37); | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(1139, 37); | ||||
|             this.toolStrip1.TabIndex = 4; | ||||
|             this.toolStrip1.Text = "toolStrip1"; | ||||
|             //  | ||||
| @@ -643,7 +645,6 @@ | ||||
|             // dtSD | ||||
|             //  | ||||
|             this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.dtSD.Font = new System.Drawing.Font("맑은 고딕", 9F); | ||||
|             this.dtSD.Name = "dtSD"; | ||||
|             this.dtSD.Size = new System.Drawing.Size(90, 37); | ||||
|             this.dtSD.Text = "1982-11-23"; | ||||
| @@ -655,10 +656,18 @@ | ||||
|             this.lbEnd.Size = new System.Drawing.Size(15, 34); | ||||
|             this.lbEnd.Text = "~"; | ||||
|             //  | ||||
|             // toolStripLabel4 | ||||
|             //  | ||||
|             this.toolStripLabel4.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.toolStripLabel4.ForeColor = System.Drawing.Color.Blue; | ||||
|             this.toolStripLabel4.Name = "toolStripLabel4"; | ||||
|             this.toolStripLabel4.Size = new System.Drawing.Size(43, 34); | ||||
|             this.toolStripLabel4.Text = "종료일"; | ||||
|             this.toolStripLabel4.Click += new System.EventHandler(this.toolStripLabel4_Click); | ||||
|             //  | ||||
|             // dtED | ||||
|             //  | ||||
|             this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.dtED.Font = new System.Drawing.Font("맑은 고딕", 9F); | ||||
|             this.dtED.Name = "dtED"; | ||||
|             this.dtED.Size = new System.Drawing.Size(90, 37); | ||||
|             this.dtED.Text = "1982-11-23"; | ||||
| @@ -738,27 +747,18 @@ | ||||
|             this.richTextBox1.BackColor = System.Drawing.Color.Gainsboro; | ||||
|             this.richTextBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "description", true)); | ||||
|             this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.richTextBox1.Location = new System.Drawing.Point(0, 547); | ||||
|             this.richTextBox1.Location = new System.Drawing.Point(0, 577); | ||||
|             this.richTextBox1.Name = "richTextBox1"; | ||||
|             this.richTextBox1.ReadOnly = true; | ||||
|             this.richTextBox1.Size = new System.Drawing.Size(1240, 60); | ||||
|             this.richTextBox1.Size = new System.Drawing.Size(1139, 60); | ||||
|             this.richTextBox1.TabIndex = 5; | ||||
|             this.richTextBox1.Text = ""; | ||||
|             //  | ||||
|             // toolStripLabel4 | ||||
|             //  | ||||
|             this.toolStripLabel4.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.toolStripLabel4.ForeColor = System.Drawing.Color.Blue; | ||||
|             this.toolStripLabel4.Name = "toolStripLabel4"; | ||||
|             this.toolStripLabel4.Size = new System.Drawing.Size(43, 34); | ||||
|             this.toolStripLabel4.Text = "종료일"; | ||||
|             this.toolStripLabel4.Click += new System.EventHandler(this.toolStripLabel4_Click); | ||||
|             //  | ||||
|             // fJobReport | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(1240, 632); | ||||
|             this.ClientSize = new System.Drawing.Size(1139, 662); | ||||
|             this.Controls.Add(this.fpSpread1); | ||||
|             this.Controls.Add(this.richTextBox1); | ||||
|             this.Controls.Add(this.toolStrip1); | ||||
|   | ||||
| @@ -257,9 +257,6 @@ | ||||
|         GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>325, 17</value> | ||||
|   </metadata> | ||||
|   | ||||
							
								
								
									
										287
									
								
								SubProject/FPJ0000/JobReport/fJobReportAI.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										287
									
								
								SubProject/FPJ0000/JobReport/fJobReportAI.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -30,22 +30,23 @@ | ||||
|         { | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fJobReportAI)); | ||||
|             FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); | ||||
|             FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.dsMSSQL = new FPJ0000.dsPRJ(); | ||||
| @@ -83,21 +84,21 @@ | ||||
|             this.편집ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.삭제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); | ||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||
|             this.toolStrip1 = new System.Windows.Forms.ToolStrip(); | ||||
|             this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.cmbProcess = new System.Windows.Forms.ToolStripComboBox(); | ||||
|             this.btSearch = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_JobReport_AutoInputTableAdapter(); | ||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
|             this.bn.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||
|             this.cm.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); | ||||
|             this.toolStrip1.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); | ||||
|             this.toolStrip1.SuspendLayout(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // bn | ||||
| @@ -126,14 +127,14 @@ | ||||
|             this.toolStripLabel2, | ||||
|             this.tbFind, | ||||
|             this.btFind}); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 326); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 495); | ||||
|             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||
|             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||
|             this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; | ||||
|             this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||
|             this.bn.Name = "bn"; | ||||
|             this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||
|             this.bn.Size = new System.Drawing.Size(1291, 25); | ||||
|             this.bn.Size = new System.Drawing.Size(1284, 25); | ||||
|             this.bn.TabIndex = 0; | ||||
|             this.bn.Text = "bindingNavigator1"; | ||||
|             //  | ||||
| @@ -417,10 +418,133 @@ | ||||
|             this.fpSpread1.Name = "fpSpread1"; | ||||
|             this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { | ||||
|             this.fpSpread1_Sheet1}); | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(1291, 289); | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(1284, 458); | ||||
|             this.fpSpread1.StatusBarVisible = true; | ||||
|             this.fpSpread1.TabIndex = 2; | ||||
|             //  | ||||
|             // fpSpread1_Sheet1 | ||||
|             //  | ||||
|             this.fpSpread1_Sheet1.Reset(); | ||||
|             this.fpSpread1_Sheet1.SheetName = "Sheet1"; | ||||
|             // Formulas and custom names must be loaded with R1C1 reference style | ||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; | ||||
|             this.fpSpread1_Sheet1.ColumnCount = 17; | ||||
|             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; | ||||
|             this.fpSpread1_Sheet1.ActiveRowIndex = -1; | ||||
|             this.fpSpread1_Sheet1.AutoGenerateColumns = false; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "사용"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "방식"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "시작일"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "종료일"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "WW"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "담당"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "요청부서"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "패키지"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "상태"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "업무형태"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "업무분류"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "프로젝트(아이템)"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "*"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "시간"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "초과"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "비고"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "#"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 28F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).DataField = "enable"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Label = "사용"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).DataField = "autoinput"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Label = "방식"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "pdate"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Label = "시작일"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Width = 58F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).DataField = "edate"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Label = "종료일"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ww"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Label = "WW"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "username"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Label = "담당"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "requestpart"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Label = "요청부서"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Width = 78F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "package"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Label = "패키지"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Width = 86F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "status"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Label = "상태"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).DataField = "type"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Label = "업무형태"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Width = 84F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).DataField = "process"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).Label = "업무분류"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).Width = 80F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).DataField = "projectName"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).Label = "프로젝트(아이템)"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).Width = 158F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             numberCellType1.DecimalPlaces = 0; | ||||
|             numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType1.MaximumValue = 2147483647D; | ||||
|             numberCellType1.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).DataField = "pidx"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).Label = "*"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).Tag = "pidx"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).Width = 39F; | ||||
|             numberCellType2.MaximumValue = 999999999999999D; | ||||
|             numberCellType2.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).DataField = "hrs"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).Label = "시간"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).Width = 52F; | ||||
|             numberCellType3.MaximumValue = 999999999999999D; | ||||
|             numberCellType3.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(14).DataField = "ot"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(14).ForeColor = System.Drawing.Color.Red; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(14).Label = "초과"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType12; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(15).DataField = "description"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(15).Label = "비고"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(15).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType13; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(16).DataField = "tag"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(16).Label = "#"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.DataAutoSizeColumns = false; | ||||
|             this.fpSpread1_Sheet1.DataSource = this.bs; | ||||
|             this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; | ||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; | ||||
|             //  | ||||
|             // toolStrip1 | ||||
|             //  | ||||
|             this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30); | ||||
| @@ -431,7 +555,7 @@ | ||||
|             this.toolStripButton2}); | ||||
|             this.toolStrip1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.toolStrip1.Name = "toolStrip1"; | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(1291, 37); | ||||
|             this.toolStrip1.Size = new System.Drawing.Size(1284, 37); | ||||
|             this.toolStrip1.TabIndex = 4; | ||||
|             this.toolStrip1.Text = "toolStrip1"; | ||||
|             //  | ||||
| @@ -472,128 +596,11 @@ | ||||
|             //  | ||||
|             this.ta.ClearBeforeFill = true; | ||||
|             //  | ||||
|             // fpSpread1_Sheet1 | ||||
|             //  | ||||
|             this.fpSpread1_Sheet1.Reset(); | ||||
|             this.fpSpread1_Sheet1.SheetName = "Sheet1"; | ||||
|             // Formulas and custom names must be loaded with R1C1 reference style | ||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; | ||||
|             this.fpSpread1_Sheet1.ColumnCount = 16; | ||||
|             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; | ||||
|             this.fpSpread1_Sheet1.ActiveRowIndex = -1; | ||||
|             this.fpSpread1_Sheet1.AutoGenerateColumns = false; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "사용"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "방식"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "시작일"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "WW"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "담당"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "요청부서"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "패키지"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "상태"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "업무형태"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "업무분류"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "프로젝트(아이템)"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "*"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "시간"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "초과"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "비고"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "#"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 28F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).DataField = "enable"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Label = "사용"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType13; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).DataField = "autoinput"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Label = "방식"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType14; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "pdate"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Label = "시작일"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Width = 58F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType15; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ww"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Label = "WW"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType16; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "username"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Label = "담당"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType17; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "requestpart"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Label = "요청부서"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Width = 78F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType18; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "package"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Label = "패키지"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Width = 86F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType19; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "status"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Label = "상태"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType20; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "type"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Label = "업무형태"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Width = 84F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType21; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).DataField = "process"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Label = "업무분류"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Width = 80F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoFilter = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType22; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).DataField = "projectName"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).Label = "프로젝트(아이템)"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).Width = 158F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             numberCellType4.DecimalPlaces = 0; | ||||
|             numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType4.MaximumValue = 2147483647D; | ||||
|             numberCellType4.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType4; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pidx"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).Label = "*"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).Tag = "pidx"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).Width = 39F; | ||||
|             numberCellType5.MaximumValue = 999999999999999D; | ||||
|             numberCellType5.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType5; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).DataField = "hrs"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).Label = "시간"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).Width = 52F; | ||||
|             numberCellType6.MaximumValue = 999999999999999D; | ||||
|             numberCellType6.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType6; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).DataField = "ot"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).ForeColor = System.Drawing.Color.Red; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).Label = "초과"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType23; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(14).DataField = "description"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(14).Label = "비고"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(14).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType24; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(15).DataField = "tag"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(15).Label = "#"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.DataAutoSizeColumns = false; | ||||
|             this.fpSpread1_Sheet1.DataSource = this.bs; | ||||
|             this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; | ||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; | ||||
|             //  | ||||
|             // fJobReportAI | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(1291, 351); | ||||
|             this.ClientSize = new System.Drawing.Size(1284, 520); | ||||
|             this.Controls.Add(this.fpSpread1); | ||||
|             this.Controls.Add(this.toolStrip1); | ||||
|             this.Controls.Add(this.bn); | ||||
| @@ -608,9 +615,9 @@ | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); | ||||
|             this.cm.ResumeLayout(false); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); | ||||
|             this.toolStrip1.ResumeLayout(false); | ||||
|             this.toolStrip1.PerformLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
|   | ||||
| @@ -213,9 +213,6 @@ | ||||
|         GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>252, 17</value> | ||||
|   </metadata> | ||||
|   | ||||
| @@ -39,6 +39,7 @@ | ||||
|             System.Windows.Forms.Label label3; | ||||
|             System.Windows.Forms.Label label6; | ||||
|             System.Windows.Forms.Label label2; | ||||
|             System.Windows.Forms.Label label7; | ||||
|             this.tbHrs = new System.Windows.Forms.TextBox(); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.dsPRJ = new FPJ0000.dsPRJ(); | ||||
| @@ -47,7 +48,7 @@ | ||||
|             this.lbIndex = new System.Windows.Forms.ToolStripStatusLabel(); | ||||
|             this.cmbType = new System.Windows.Forms.ComboBox(); | ||||
|             this.btSave = new System.Windows.Forms.Button(); | ||||
|             this.dtPdate = new System.Windows.Forms.DateTimePicker(); | ||||
|             this.dts = new System.Windows.Forms.DateTimePicker(); | ||||
|             this.cmbUser = new System.Windows.Forms.ComboBox(); | ||||
|             this.tbProjectIndex = new System.Windows.Forms.TextBox(); | ||||
|             this.tbOt = new System.Windows.Forms.TextBox(); | ||||
| @@ -61,10 +62,12 @@ | ||||
|             this.tbProject = new System.Windows.Forms.ComboBox(); | ||||
|             this.richTextBoxEx1 = new RichTextBoxEx.RichTextBoxEx(); | ||||
|             this.panel1 = new System.Windows.Forms.Panel(); | ||||
|             this.dte = new System.Windows.Forms.DateTimePicker(); | ||||
|             this.tbWeekE = new System.Windows.Forms.TextBox(); | ||||
|             this.chkEnable = new System.Windows.Forms.CheckBox(); | ||||
|             this.radAuto = new System.Windows.Forms.RadioButton(); | ||||
|             this.radLogin = new System.Windows.Forms.RadioButton(); | ||||
|             this.tbTag = new System.Windows.Forms.TextBox(); | ||||
|             this.chkEnable = new System.Windows.Forms.CheckBox(); | ||||
|             hrsLabel = new System.Windows.Forms.Label(); | ||||
|             typeLabel = new System.Windows.Forms.Label(); | ||||
|             label1 = new System.Windows.Forms.Label(); | ||||
| @@ -75,6 +78,7 @@ | ||||
|             label3 = new System.Windows.Forms.Label(); | ||||
|             label6 = new System.Windows.Forms.Label(); | ||||
|             label2 = new System.Windows.Forms.Label(); | ||||
|             label7 = new System.Windows.Forms.Label(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit(); | ||||
|             this.statusStrip1.SuspendLayout(); | ||||
| @@ -84,7 +88,7 @@ | ||||
|             // hrsLabel | ||||
|             //  | ||||
|             hrsLabel.AutoSize = true; | ||||
|             hrsLabel.Location = new System.Drawing.Point(15, 98); | ||||
|             hrsLabel.Location = new System.Drawing.Point(16, 155); | ||||
|             hrsLabel.Name = "hrsLabel"; | ||||
|             hrsLabel.Size = new System.Drawing.Size(53, 12); | ||||
|             hrsLabel.TabIndex = 16; | ||||
| @@ -93,7 +97,7 @@ | ||||
|             // typeLabel | ||||
|             //  | ||||
|             typeLabel.AutoSize = true; | ||||
|             typeLabel.Location = new System.Drawing.Point(374, 65); | ||||
|             typeLabel.Location = new System.Drawing.Point(16, 120); | ||||
|             typeLabel.Name = "typeLabel"; | ||||
|             typeLabel.Size = new System.Drawing.Size(53, 12); | ||||
|             typeLabel.TabIndex = 13; | ||||
| @@ -102,7 +106,7 @@ | ||||
|             // label1 | ||||
|             //  | ||||
|             label1.AutoSize = true; | ||||
|             label1.Location = new System.Drawing.Point(15, 65); | ||||
|             label1.Location = new System.Drawing.Point(15, 94); | ||||
|             label1.Name = "label1"; | ||||
|             label1.Size = new System.Drawing.Size(53, 12); | ||||
|             label1.TabIndex = 10; | ||||
| @@ -111,7 +115,7 @@ | ||||
|             // projectLabel | ||||
|             //  | ||||
|             projectLabel.AutoSize = true; | ||||
|             projectLabel.Location = new System.Drawing.Point(15, 39); | ||||
|             projectLabel.Location = new System.Drawing.Point(15, 68); | ||||
|             projectLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); | ||||
|             projectLabel.Name = "projectLabel"; | ||||
|             projectLabel.Size = new System.Drawing.Size(53, 12); | ||||
| @@ -121,7 +125,7 @@ | ||||
|             // label4 | ||||
|             //  | ||||
|             label4.AutoSize = true; | ||||
|             label4.Location = new System.Drawing.Point(531, 12); | ||||
|             label4.Location = new System.Drawing.Point(321, 41); | ||||
|             label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); | ||||
|             label4.Name = "label4"; | ||||
|             label4.Size = new System.Drawing.Size(41, 12); | ||||
| @@ -131,7 +135,7 @@ | ||||
|             // stateLabel | ||||
|             //  | ||||
|             stateLabel.AutoSize = true; | ||||
|             stateLabel.Location = new System.Drawing.Point(320, 12); | ||||
|             stateLabel.Location = new System.Drawing.Point(333, 12); | ||||
|             stateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); | ||||
|             stateLabel.Name = "stateLabel"; | ||||
|             stateLabel.Size = new System.Drawing.Size(29, 12); | ||||
| @@ -151,7 +155,7 @@ | ||||
|             // label3 | ||||
|             //  | ||||
|             label3.AutoSize = true; | ||||
|             label3.Location = new System.Drawing.Point(188, 65); | ||||
|             label3.Location = new System.Drawing.Point(331, 94); | ||||
|             label3.Name = "label3"; | ||||
|             label3.Size = new System.Drawing.Size(41, 12); | ||||
|             label3.TabIndex = 10; | ||||
| @@ -160,7 +164,7 @@ | ||||
|             // label6 | ||||
|             //  | ||||
|             label6.AutoSize = true; | ||||
|             label6.Location = new System.Drawing.Point(582, 65); | ||||
|             label6.Location = new System.Drawing.Point(319, 124); | ||||
|             label6.Name = "label6"; | ||||
|             label6.Size = new System.Drawing.Size(53, 12); | ||||
|             label6.TabIndex = 13; | ||||
| @@ -169,17 +173,27 @@ | ||||
|             // label2 | ||||
|             //  | ||||
|             label2.AutoSize = true; | ||||
|             label2.Location = new System.Drawing.Point(177, 98); | ||||
|             label2.Location = new System.Drawing.Point(177, 155); | ||||
|             label2.Name = "label2"; | ||||
|             label2.Size = new System.Drawing.Size(53, 12); | ||||
|             label2.TabIndex = 16; | ||||
|             label2.Text = "초과시간"; | ||||
|             //  | ||||
|             // label7 | ||||
|             //  | ||||
|             label7.AutoSize = true; | ||||
|             label7.Location = new System.Drawing.Point(26, 41); | ||||
|             label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); | ||||
|             label7.Name = "label7"; | ||||
|             label7.Size = new System.Drawing.Size(41, 12); | ||||
|             label7.TabIndex = 58; | ||||
|             label7.Text = "종료일"; | ||||
|             //  | ||||
|             // tbHrs | ||||
|             //  | ||||
|             this.tbHrs.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "hrs", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2")); | ||||
|             this.tbHrs.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.tbHrs.Location = new System.Drawing.Point(72, 88); | ||||
|             this.tbHrs.Location = new System.Drawing.Point(73, 145); | ||||
|             this.tbHrs.Name = "tbHrs"; | ||||
|             this.tbHrs.Size = new System.Drawing.Size(77, 33); | ||||
|             this.tbHrs.TabIndex = 17; | ||||
| @@ -202,7 +216,7 @@ | ||||
|             this.lbIndex}); | ||||
|             this.statusStrip1.Location = new System.Drawing.Point(0, 659); | ||||
|             this.statusStrip1.Name = "statusStrip1"; | ||||
|             this.statusStrip1.Size = new System.Drawing.Size(969, 22); | ||||
|             this.statusStrip1.Size = new System.Drawing.Size(850, 22); | ||||
|             this.statusStrip1.TabIndex = 28; | ||||
|             this.statusStrip1.Text = "statusStrip1"; | ||||
|             //  | ||||
| @@ -222,31 +236,31 @@ | ||||
|             //  | ||||
|             this.cmbType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cmbType.FormattingEnabled = true; | ||||
|             this.cmbType.Location = new System.Drawing.Point(431, 61); | ||||
|             this.cmbType.Location = new System.Drawing.Point(73, 116); | ||||
|             this.cmbType.Name = "cmbType"; | ||||
|             this.cmbType.Size = new System.Drawing.Size(142, 20); | ||||
|             this.cmbType.Size = new System.Drawing.Size(240, 20); | ||||
|             this.cmbType.TabIndex = 14; | ||||
|             this.cmbType.SelectedIndexChanged += new System.EventHandler(this.cmbType_SelectedIndexChanged); | ||||
|             //  | ||||
|             // btSave | ||||
|             //  | ||||
|             this.btSave.BackColor = System.Drawing.Color.SkyBlue; | ||||
|             this.btSave.Location = new System.Drawing.Point(829, 6); | ||||
|             this.btSave.Location = new System.Drawing.Point(706, 8); | ||||
|             this.btSave.Name = "btSave"; | ||||
|             this.btSave.Size = new System.Drawing.Size(133, 115); | ||||
|             this.btSave.Size = new System.Drawing.Size(133, 132); | ||||
|             this.btSave.TabIndex = 20; | ||||
|             this.btSave.Text = "확인"; | ||||
|             this.btSave.UseVisualStyleBackColor = false; | ||||
|             this.btSave.Click += new System.EventHandler(this.button1_Click); | ||||
|             //  | ||||
|             // dtPdate | ||||
|             // dts | ||||
|             //  | ||||
|             this.dtPdate.Location = new System.Drawing.Point(73, 8); | ||||
|             this.dtPdate.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.dtPdate.Name = "dtPdate"; | ||||
|             this.dtPdate.Size = new System.Drawing.Size(178, 21); | ||||
|             this.dtPdate.TabIndex = 1; | ||||
|             this.dtPdate.ValueChanged += new System.EventHandler(this.dtPdate_ValueChanged); | ||||
|             this.dts.Location = new System.Drawing.Point(73, 8); | ||||
|             this.dts.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.dts.Name = "dts"; | ||||
|             this.dts.Size = new System.Drawing.Size(178, 21); | ||||
|             this.dts.TabIndex = 1; | ||||
|             this.dts.ValueChanged += new System.EventHandler(this.dtPdate_ValueChanged); | ||||
|             //  | ||||
|             // cmbUser | ||||
|             //  | ||||
| @@ -255,16 +269,16 @@ | ||||
|             this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cmbUser.FormattingEnabled = true; | ||||
|             this.cmbUser.ImeMode = System.Windows.Forms.ImeMode.Hangul; | ||||
|             this.cmbUser.Location = new System.Drawing.Point(588, 8); | ||||
|             this.cmbUser.Location = new System.Drawing.Point(378, 37); | ||||
|             this.cmbUser.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.cmbUser.Name = "cmbUser"; | ||||
|             this.cmbUser.Size = new System.Drawing.Size(234, 20); | ||||
|             this.cmbUser.Size = new System.Drawing.Size(321, 20); | ||||
|             this.cmbUser.TabIndex = 6; | ||||
|             this.cmbUser.SelectedIndexChanged += new System.EventHandler(this.cmbUser_SelectedIndexChanged); | ||||
|             //  | ||||
|             // tbProjectIndex | ||||
|             //  | ||||
|             this.tbProjectIndex.Location = new System.Drawing.Point(758, 35); | ||||
|             this.tbProjectIndex.Location = new System.Drawing.Point(635, 64); | ||||
|             this.tbProjectIndex.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.tbProjectIndex.Name = "tbProjectIndex"; | ||||
|             this.tbProjectIndex.ReadOnly = true; | ||||
| @@ -278,11 +292,12 @@ | ||||
|             this.tbOt.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ot", true)); | ||||
|             this.tbOt.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.tbOt.ForeColor = System.Drawing.Color.Red; | ||||
|             this.tbOt.Location = new System.Drawing.Point(235, 88); | ||||
|             this.tbOt.Location = new System.Drawing.Point(236, 145); | ||||
|             this.tbOt.Name = "tbOt"; | ||||
|             this.tbOt.Size = new System.Drawing.Size(77, 33); | ||||
|             this.tbOt.TabIndex = 17; | ||||
|             this.tbOt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             this.tbOt.TextChanged += new System.EventHandler(this.tbOt_TextChanged); | ||||
|             //  | ||||
|             // tbWW | ||||
|             //  | ||||
| @@ -299,37 +314,37 @@ | ||||
|             //  | ||||
|             this.cmbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cmbProcess.FormattingEnabled = true; | ||||
|             this.cmbProcess.Location = new System.Drawing.Point(641, 61); | ||||
|             this.cmbProcess.Location = new System.Drawing.Point(378, 120); | ||||
|             this.cmbProcess.Name = "cmbProcess"; | ||||
|             this.cmbProcess.Size = new System.Drawing.Size(181, 20); | ||||
|             this.cmbProcess.Size = new System.Drawing.Size(321, 20); | ||||
|             this.cmbProcess.TabIndex = 15; | ||||
|             //  | ||||
|             // cmbState | ||||
|             //  | ||||
|             this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | ||||
|             this.cmbState.FormattingEnabled = true; | ||||
|             this.cmbState.Location = new System.Drawing.Point(353, 8); | ||||
|             this.cmbState.Location = new System.Drawing.Point(378, 8); | ||||
|             this.cmbState.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.cmbState.Name = "cmbState"; | ||||
|             this.cmbState.Size = new System.Drawing.Size(160, 20); | ||||
|             this.cmbState.Size = new System.Drawing.Size(321, 20); | ||||
|             this.cmbState.TabIndex = 4; | ||||
|             //  | ||||
|             // cmbPackage | ||||
|             //  | ||||
|             this.cmbPackage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cmbPackage.FormattingEnabled = true; | ||||
|             this.cmbPackage.Location = new System.Drawing.Point(235, 61); | ||||
|             this.cmbPackage.Location = new System.Drawing.Point(378, 90); | ||||
|             this.cmbPackage.Name = "cmbPackage"; | ||||
|             this.cmbPackage.Size = new System.Drawing.Size(131, 20); | ||||
|             this.cmbPackage.Size = new System.Drawing.Size(321, 20); | ||||
|             this.cmbPackage.TabIndex = 12; | ||||
|             //  | ||||
|             // cmbRequest | ||||
|             //  | ||||
|             this.cmbRequest.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cmbRequest.FormattingEnabled = true; | ||||
|             this.cmbRequest.Location = new System.Drawing.Point(73, 61); | ||||
|             this.cmbRequest.Location = new System.Drawing.Point(73, 90); | ||||
|             this.cmbRequest.Name = "cmbRequest"; | ||||
|             this.cmbRequest.Size = new System.Drawing.Size(108, 20); | ||||
|             this.cmbRequest.Size = new System.Drawing.Size(240, 20); | ||||
|             this.cmbRequest.TabIndex = 11; | ||||
|             //  | ||||
|             // ta | ||||
| @@ -362,9 +377,9 @@ | ||||
|             this.tbProject.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; | ||||
|             this.tbProject.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | ||||
|             this.tbProject.FormattingEnabled = true; | ||||
|             this.tbProject.Location = new System.Drawing.Point(72, 35); | ||||
|             this.tbProject.Location = new System.Drawing.Point(72, 64); | ||||
|             this.tbProject.Name = "tbProject"; | ||||
|             this.tbProject.Size = new System.Drawing.Size(679, 20); | ||||
|             this.tbProject.Size = new System.Drawing.Size(556, 20); | ||||
|             this.tbProject.TabIndex = 55; | ||||
|             //  | ||||
|             // richTextBoxEx1 | ||||
| @@ -378,23 +393,26 @@ | ||||
|             this.richTextBoxEx1.AutoValidate = System.Windows.Forms.AutoValidate.EnablePreventFocusChange; | ||||
|             this.richTextBoxEx1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.richTextBoxEx1.FilePath = ""; | ||||
|             this.richTextBoxEx1.Location = new System.Drawing.Point(0, 129); | ||||
|             this.richTextBoxEx1.Location = new System.Drawing.Point(0, 186); | ||||
|             this.richTextBoxEx1.Name = "richTextBoxEx1"; | ||||
|             this.richTextBoxEx1.Rtf = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\nouicompat{\\fonttbl{\\f0\\fnil\\fcharset0 Arial;}}\r\n{\\" + | ||||
|     "*\\generator Riched20 10.0.18362}\\viewkind4\\uc1 \r\n\\pard\\fs20\\lang1042 richTextBox" + | ||||
|     "Ex1\\par\r\n}\r\n"; | ||||
|             this.richTextBoxEx1.SetColorWithFont = true; | ||||
|             this.richTextBoxEx1.ShowToolStrip = true; | ||||
|             this.richTextBoxEx1.Size = new System.Drawing.Size(969, 509); | ||||
|             this.richTextBoxEx1.Size = new System.Drawing.Size(850, 452); | ||||
|             this.richTextBoxEx1.TabIndex = 58; | ||||
|             //  | ||||
|             // panel1 | ||||
|             //  | ||||
|             this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); | ||||
|             this.panel1.Controls.Add(this.dte); | ||||
|             this.panel1.Controls.Add(label7); | ||||
|             this.panel1.Controls.Add(this.tbWeekE); | ||||
|             this.panel1.Controls.Add(this.chkEnable); | ||||
|             this.panel1.Controls.Add(this.radAuto); | ||||
|             this.panel1.Controls.Add(this.radLogin); | ||||
|             this.panel1.Controls.Add(this.dtPdate); | ||||
|             this.panel1.Controls.Add(this.dts); | ||||
|             this.panel1.Controls.Add(this.tbHrs); | ||||
|             this.panel1.Controls.Add(this.tbProject); | ||||
|             this.panel1.Controls.Add(label2); | ||||
| @@ -420,13 +438,44 @@ | ||||
|             this.panel1.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.panel1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.panel1.Name = "panel1"; | ||||
|             this.panel1.Size = new System.Drawing.Size(969, 129); | ||||
|             this.panel1.Size = new System.Drawing.Size(850, 186); | ||||
|             this.panel1.TabIndex = 59; | ||||
|             this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); | ||||
|             //  | ||||
|             // dte | ||||
|             //  | ||||
|             this.dte.Location = new System.Drawing.Point(72, 37); | ||||
|             this.dte.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.dte.Name = "dte"; | ||||
|             this.dte.Size = new System.Drawing.Size(178, 21); | ||||
|             this.dte.TabIndex = 59; | ||||
|             this.dte.ValueChanged += new System.EventHandler(this.dte_ValueChanged); | ||||
|             //  | ||||
|             // textBox1 | ||||
|             //  | ||||
|             this.tbWeekE.Location = new System.Drawing.Point(252, 37); | ||||
|             this.tbWeekE.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.tbWeekE.Name = "textBox1"; | ||||
|             this.tbWeekE.ReadOnly = true; | ||||
|             this.tbWeekE.Size = new System.Drawing.Size(63, 21); | ||||
|             this.tbWeekE.TabIndex = 60; | ||||
|             this.tbWeekE.TabStop = false; | ||||
|             this.tbWeekE.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // chkEnable | ||||
|             //  | ||||
|             this.chkEnable.AutoSize = true; | ||||
|             this.chkEnable.Location = new System.Drawing.Point(444, 153); | ||||
|             this.chkEnable.Name = "chkEnable"; | ||||
|             this.chkEnable.Size = new System.Drawing.Size(48, 16); | ||||
|             this.chkEnable.TabIndex = 57; | ||||
|             this.chkEnable.Text = "사용"; | ||||
|             this.chkEnable.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // radAuto | ||||
|             //  | ||||
|             this.radAuto.AutoSize = true; | ||||
|             this.radAuto.Location = new System.Drawing.Point(744, 99); | ||||
|             this.radAuto.Location = new System.Drawing.Point(624, 153); | ||||
|             this.radAuto.Name = "radAuto"; | ||||
|             this.radAuto.Size = new System.Drawing.Size(75, 16); | ||||
|             this.radAuto.TabIndex = 56; | ||||
| @@ -438,7 +487,7 @@ | ||||
|             //  | ||||
|             this.radLogin.AutoSize = true; | ||||
|             this.radLogin.Checked = true; | ||||
|             this.radLogin.Location = new System.Drawing.Point(627, 99); | ||||
|             this.radLogin.Location = new System.Drawing.Point(507, 153); | ||||
|             this.radLogin.Name = "radLogin"; | ||||
|             this.radLogin.Size = new System.Drawing.Size(99, 16); | ||||
|             this.radLogin.TabIndex = 56; | ||||
| @@ -451,25 +500,15 @@ | ||||
|             this.tbTag.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.tbTag.Location = new System.Drawing.Point(0, 638); | ||||
|             this.tbTag.Name = "tbTag"; | ||||
|             this.tbTag.Size = new System.Drawing.Size(969, 21); | ||||
|             this.tbTag.Size = new System.Drawing.Size(850, 21); | ||||
|             this.tbTag.TabIndex = 60; | ||||
|             this.tbTag.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // chkEnable | ||||
|             //  | ||||
|             this.chkEnable.AutoSize = true; | ||||
|             this.chkEnable.Location = new System.Drawing.Point(564, 100); | ||||
|             this.chkEnable.Name = "chkEnable"; | ||||
|             this.chkEnable.Size = new System.Drawing.Size(48, 16); | ||||
|             this.chkEnable.TabIndex = 57; | ||||
|             this.chkEnable.Text = "사용"; | ||||
|             this.chkEnable.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // fJobReport_AddAI | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(969, 681); | ||||
|             this.ClientSize = new System.Drawing.Size(850, 681); | ||||
|             this.Controls.Add(this.richTextBoxEx1); | ||||
|             this.Controls.Add(this.tbTag); | ||||
|             this.Controls.Add(this.panel1); | ||||
| @@ -503,7 +542,7 @@ | ||||
|         private System.Windows.Forms.ToolStripStatusLabel lbIndex; | ||||
|         private System.Windows.Forms.ComboBox cmbType; | ||||
|         private System.Windows.Forms.Button btSave; | ||||
|         private System.Windows.Forms.DateTimePicker dtPdate; | ||||
|         private System.Windows.Forms.DateTimePicker dts; | ||||
|         private System.Windows.Forms.ComboBox cmbUser; | ||||
|         private System.Windows.Forms.TextBox tbProjectIndex; | ||||
|         private System.Windows.Forms.TextBox tbOt; | ||||
| @@ -519,5 +558,7 @@ | ||||
|         private System.Windows.Forms.RadioButton radLogin; | ||||
|         private System.Windows.Forms.RadioButton radAuto; | ||||
|         private System.Windows.Forms.CheckBox chkEnable; | ||||
|         private System.Windows.Forms.DateTimePicker dte; | ||||
|         private System.Windows.Forms.TextBox tbWeekE; | ||||
|     } | ||||
| } | ||||
| @@ -106,16 +106,17 @@ namespace FPJ0000.JobReport | ||||
|  | ||||
|             //사용여부 | ||||
|             chkEnable.Checked = dr.enable; | ||||
|   | ||||
|  | ||||
|             //담당자목록 | ||||
|  | ||||
|             var dt_users = FCOMMON.DBM.getUserTable();// getGroupList("name + '(' + id + ')'", "Users", "[level] > 0 and [level] < 10", false, false); | ||||
|             this.cmbUser.DisplayMember = "dispName"; | ||||
|             this.cmbUser.ValueMember = "id"; | ||||
|             this.cmbUser.DataSource = dt_users; | ||||
|            | ||||
|  | ||||
|             // tbWW.Text = dr.ww; | ||||
|             dtPdate.Value = DateTime.Parse(dr.pdate);   //일자선택 | ||||
|             dts.Value = DateTime.Parse(dr.pdate);   //일자선택 | ||||
|             dte.Value = DateTime.Parse(dr.edate); | ||||
|             cmbUser.SelectedValue = dr.uid; | ||||
|             tbProject.Text = dr.projectName; | ||||
|             cmbRequest.SelectedValue = dr.requestpart; | ||||
| @@ -139,7 +140,7 @@ namespace FPJ0000.JobReport | ||||
|                 tbProjectIndex.Text = dr.pidx.ToString(); | ||||
|             } | ||||
|  | ||||
|           | ||||
|  | ||||
|             if (string.IsNullOrEmpty(dr.description2)) | ||||
|             { | ||||
|                 this.richTextBoxEx1.Text = dr.description; | ||||
| @@ -161,7 +162,7 @@ namespace FPJ0000.JobReport | ||||
|  | ||||
|             if (this.richTextBoxEx1.Text.Trim() != "") | ||||
|             { | ||||
|                 this.richTextBoxEx1.Focus();                 | ||||
|                 this.richTextBoxEx1.Focus(); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
| @@ -169,7 +170,7 @@ namespace FPJ0000.JobReport | ||||
|                 tbProject.SelectAll(); | ||||
|             } | ||||
|             tbProject.Tag = tbProject.Text; | ||||
|              | ||||
|  | ||||
|             //  if (string.IsNullOrEmpty(richTextBox1.Text)) richTextBox1.Text = dr.description; | ||||
|  | ||||
|             //editor | ||||
| @@ -180,12 +181,12 @@ namespace FPJ0000.JobReport | ||||
|  | ||||
|             //ed.DisplayEditForm(this.panel1); | ||||
|             //ed.AllowRtf = true; | ||||
|              | ||||
|  | ||||
|  | ||||
|  | ||||
|             bInit = true; | ||||
|         } | ||||
|     //    editform.editor ed; | ||||
|         //    editform.editor ed; | ||||
|         void ctl_KeyDown(object sender, KeyEventArgs e) | ||||
|         { | ||||
|             if (e.KeyCode == Keys.Enter) | ||||
| @@ -274,9 +275,9 @@ namespace FPJ0000.JobReport | ||||
|         } | ||||
|         private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||
|         { | ||||
|             FCM0000.fSelectDate f = new FCM0000.fSelectDate(this.dtPdate.Value.ToShortDateString()); | ||||
|             FCM0000.fSelectDate f = new FCM0000.fSelectDate(this.dts.Value.ToShortDateString()); | ||||
|             if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) return; | ||||
|             dtPdate.Value = f.dtSelect; | ||||
|             dts.Value = f.dtSelect; | ||||
|         } | ||||
|  | ||||
|         private void button1_Click(object sender, EventArgs e) | ||||
| @@ -288,7 +289,7 @@ namespace FPJ0000.JobReport | ||||
|                 tbProject.Focus(); | ||||
|                 return; | ||||
|             } | ||||
|             if (cmbType.Text != "휴가" && string.IsNullOrEmpty( this.richTextBoxEx1.Text )==true) | ||||
|             if (cmbType.Text != "휴가" && string.IsNullOrEmpty(this.richTextBoxEx1.Text) == true) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgE("진행 내용이 없습니다."); | ||||
|                 this.richTextBoxEx1.Focus(); | ||||
| @@ -331,10 +332,10 @@ namespace FPJ0000.JobReport | ||||
|                 tbProjectIndex.Text = "-1"; | ||||
|             } | ||||
|  | ||||
|            | ||||
|  | ||||
|  | ||||
|             double hrs2 = 0.0; | ||||
|             if(double.TryParse(tbHrs.Text,out hrs2) ==false) | ||||
|             if (double.TryParse(tbHrs.Text, out hrs2) == false) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgE("근무시간을 숫자로 입력하세요"); | ||||
|                 tbHrs.Focus(); | ||||
| @@ -355,7 +356,7 @@ namespace FPJ0000.JobReport | ||||
|             dr.enable = chkEnable.Checked; | ||||
|  | ||||
|             this.dr.uid = this.cmbUser.SelectedValue.ToString(); | ||||
|             this.dr.pdate = dtPdate.Value.ToShortDateString(); | ||||
|             this.dr.pdate = dts.Value.ToShortDateString(); | ||||
|             this.dr.status = cmbState.Text; | ||||
|             this.dr.projectName = tbProject.Text; | ||||
|             if (tbProjectIndex.Text != "") dr.pidx = int.Parse(tbProjectIndex.Text); | ||||
| @@ -404,19 +405,39 @@ namespace FPJ0000.JobReport | ||||
|             var myCal = myCI.Calendar; | ||||
|             var myCWR = myCI.DateTimeFormat.CalendarWeekRule; | ||||
|             DayOfWeek myFirstDOW = myCI.DateTimeFormat.FirstDayOfWeek; | ||||
|             var dat = myCal.GetWeekOfYear(dtPdate.Value, myCWR, myFirstDOW); | ||||
|             var dat = myCal.GetWeekOfYear(dts.Value, myCWR, myFirstDOW); | ||||
|             tbWW.Text = "ww" + dat.ToString(); | ||||
|           | ||||
|  | ||||
|             //공휴일이면 시간을 초기화한다. | ||||
|             if (tbHrs.Text == "") tbHrs.Text = "0"; | ||||
|             if (tbOt.Text == "") tbOt.Text = "0"; | ||||
|             float hrs = float.Parse(tbHrs.Text); | ||||
|         } | ||||
|      | ||||
|  | ||||
|         private void cmbUser_SelectedIndexChanged(object sender, EventArgs e) | ||||
|         { | ||||
|              | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void tbOt_TextChanged(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void panel1_Paint(object sender, PaintEventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void dte_ValueChanged(object sender, EventArgs e) | ||||
|         { | ||||
|             var myCI = new System.Globalization.CultureInfo("ko-KR"); | ||||
|             var myCal = myCI.Calendar; | ||||
|             var myCWR = myCI.DateTimeFormat.CalendarWeekRule; | ||||
|             DayOfWeek myFirstDOW = myCI.DateTimeFormat.FirstDayOfWeek; | ||||
|             var dat = myCal.GetWeekOfYear(dte.Value, myCWR, myFirstDOW); | ||||
|             this.tbWeekE.Text = "ww" + dat.ToString(); | ||||
|  | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -147,6 +147,9 @@ | ||||
|   <metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>False</value> | ||||
|   </metadata> | ||||
|   <metadata name="label7.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>False</value> | ||||
|   </metadata> | ||||
|   <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>100, 17</value> | ||||
|   </metadata> | ||||
|   | ||||
| @@ -32,6 +32,7 @@ | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.dsReport = new FPJ0000.dsReport(); | ||||
|             this.panel1 = new System.Windows.Forms.Panel(); | ||||
|             this.btSave = new System.Windows.Forms.Button(); | ||||
|             this.cmbUser = new System.Windows.Forms.ComboBox(); | ||||
|             this.label4 = new System.Windows.Forms.Label(); | ||||
|             this.label3 = new System.Windows.Forms.Label(); | ||||
| @@ -44,7 +45,7 @@ | ||||
|             this.ta = new FPJ0000.dsReportTableAdapters.JobReportDayTableAdapter(); | ||||
|             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); | ||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||
|             this.btSave = new System.Windows.Forms.Button(); | ||||
|             this.progressBar2 = new System.Windows.Forms.ProgressBar(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsReport)).BeginInit(); | ||||
|             this.panel1.SuspendLayout(); | ||||
| @@ -83,6 +84,17 @@ | ||||
|             this.panel1.TabIndex = 0; | ||||
|             this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); | ||||
|             //  | ||||
|             // btSave | ||||
|             //  | ||||
|             this.btSave.Dock = System.Windows.Forms.DockStyle.Right; | ||||
|             this.btSave.Location = new System.Drawing.Point(903, 5); | ||||
|             this.btSave.Name = "btSave"; | ||||
|             this.btSave.Size = new System.Drawing.Size(75, 48); | ||||
|             this.btSave.TabIndex = 12; | ||||
|             this.btSave.Text = "파일저장"; | ||||
|             this.btSave.UseVisualStyleBackColor = true; | ||||
|             this.btSave.Click += new System.EventHandler(this.btSave_Click); | ||||
|             //  | ||||
|             // cmbUser | ||||
|             //  | ||||
|             this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
| @@ -175,7 +187,7 @@ | ||||
|             this.fpSpread1.Name = "fpSpread1"; | ||||
|             this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { | ||||
|             this.fpSpread1_Sheet1}); | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(1058, 511); | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(1058, 488); | ||||
|             this.fpSpread1.TabIndex = 3; | ||||
|             //  | ||||
|             // fpSpread1_Sheet1 | ||||
| @@ -183,16 +195,13 @@ | ||||
|             this.fpSpread1_Sheet1.Reset(); | ||||
|             this.fpSpread1_Sheet1.SheetName = "Sheet1"; | ||||
|             //  | ||||
|             // btSave | ||||
|             // progressBar2 | ||||
|             //  | ||||
|             this.btSave.Dock = System.Windows.Forms.DockStyle.Right; | ||||
|             this.btSave.Location = new System.Drawing.Point(903, 5); | ||||
|             this.btSave.Name = "btSave"; | ||||
|             this.btSave.Size = new System.Drawing.Size(75, 48); | ||||
|             this.btSave.TabIndex = 12; | ||||
|             this.btSave.Text = "파일저장"; | ||||
|             this.btSave.UseVisualStyleBackColor = true; | ||||
|             this.btSave.Click += new System.EventHandler(this.btSave_Click); | ||||
|             this.progressBar2.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.progressBar2.Location = new System.Drawing.Point(0, 546); | ||||
|             this.progressBar2.Name = "progressBar2"; | ||||
|             this.progressBar2.Size = new System.Drawing.Size(1058, 23); | ||||
|             this.progressBar2.TabIndex = 5; | ||||
|             //  | ||||
|             // rJobReportUser | ||||
|             //  | ||||
| @@ -200,6 +209,7 @@ | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(1058, 569); | ||||
|             this.Controls.Add(this.fpSpread1); | ||||
|             this.Controls.Add(this.progressBar2); | ||||
|             this.Controls.Add(this.panel1); | ||||
|             this.Name = "rJobReportUser"; | ||||
|             this.Text = "적정인원 분석 보고서"; | ||||
| @@ -231,5 +241,6 @@ | ||||
|         private FarPoint.Win.Spread.FpSpread fpSpread1; | ||||
|         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; | ||||
|         private System.Windows.Forms.Button btSave; | ||||
|         private System.Windows.Forms.ProgressBar progressBar2; | ||||
|     } | ||||
| } | ||||
| @@ -56,7 +56,6 @@ namespace FPJ0000.JobReport | ||||
|             cmbUser.Items.Clear(); | ||||
|             cmbUser.Items.Add("--전체--"); | ||||
|  | ||||
|  | ||||
|             //일반사용자 목록 가져온다 | ||||
|             IQueryable<IGrouping<String, vJobReportForUser>> userlist; | ||||
|  | ||||
| @@ -121,30 +120,6 @@ namespace FPJ0000.JobReport | ||||
|             //사용자목록을 가져온다 | ||||
|             List<vJobReportForUser> baseData; | ||||
|             if (cmbUser.SelectedIndex > 0) | ||||
|             { | ||||
|                 //사용자번호  | ||||
|                 var UserNo = cmbUser.Text.Substring(1, cmbUser.Text.IndexOf(']') - 1); | ||||
|                 baseData = db.vJobReportForUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.id == UserNo).OrderBy(t => t.name).ToList(); | ||||
|             } | ||||
|             else if (tbProcess.SelectedIndex > 0) | ||||
|             { | ||||
|                 baseData = db.vJobReportForUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.userProcess == tbProcess.Text).OrderBy(t => t.name).ToList(); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 baseData = db.vJobReportForUser.Where(t => t.gcode == FCOMMON.info.Login.gcode).OrderBy(t => t.name).ToList(); | ||||
|             } | ||||
|  | ||||
|  | ||||
|             //사용자로 그룹해서 수량을 세명 , 사용자 숫자가 된다. | ||||
|             this.fpSpread1.Sheets[0].Cells[3, 9].Value = baseData.GroupBy(t => t.id).Count(); //인원수 | ||||
|  | ||||
|             var col = 0; | ||||
|             var row = 0; | ||||
|  | ||||
|  | ||||
|             //해당 그룹의 기간데이터를 가져온다 | ||||
|             if (cmbUser.SelectedIndex > 0) | ||||
|             { | ||||
|                 //사용자번호  | ||||
|                 var UserNo = cmbUser.Text.Substring(1, cmbUser.Text.IndexOf(']') - 1); | ||||
| @@ -157,7 +132,7 @@ namespace FPJ0000.JobReport | ||||
|             else if (tbProcess.SelectedIndex > 0) | ||||
|             { | ||||
|                 baseData = db.vJobReportForUser | ||||
|                     .Where(t => t.gcode == FCOMMON.info.Login.gcode && t.pdate.CompareTo(vSD) >= 0 && t.pdate.CompareTo(vED) <= 0 && t.userProcess == tbProcess.Text) | ||||
|                     .Where(t => t.gcode == FCOMMON.info.Login.gcode && t.userProcess == tbProcess.Text && t.pdate.CompareTo(vSD) >= 0 && t.pdate.CompareTo(vED) <= 0) | ||||
|                     .OrderBy(t => t.name) | ||||
|                     .OrderBy(t => t.pdate) | ||||
|                     .ToList(); | ||||
| @@ -171,6 +146,42 @@ namespace FPJ0000.JobReport | ||||
|                     .ToList(); | ||||
|             } | ||||
|  | ||||
|  | ||||
|             //사용자로 그룹해서 수량을 세명 , 사용자 숫자가 된다. | ||||
|             this.fpSpread1.Sheets[0].Cells[3, 9].Value = baseData.GroupBy(t => t.id).Count(); //인원수 | ||||
|  | ||||
|             var col = 0; | ||||
|             var row = 0; | ||||
|  | ||||
|  | ||||
|             //해당 그룹의 기간데이터를 가져온다 | ||||
|             //if (cmbUser.SelectedIndex > 0) | ||||
|             //{ | ||||
|             //    //사용자번호  | ||||
|             //    var UserNo = cmbUser.Text.Substring(1, cmbUser.Text.IndexOf(']') - 1); | ||||
|             //    baseData = db.vJobReportForUser | ||||
|             //        .Where(t => t.gcode == FCOMMON.info.Login.gcode && t.id == UserNo && t.pdate.CompareTo(vSD) >= 0 && t.pdate.CompareTo(vED) <= 0) | ||||
|             //        .OrderBy(t => t.name) | ||||
|             //        .OrderBy(t => t.pdate) | ||||
|             //        .ToList(); | ||||
|             //} | ||||
|             //else if (tbProcess.SelectedIndex > 0) | ||||
|             //{ | ||||
|             //    baseData = db.vJobReportForUser | ||||
|             //        .Where(t => t.gcode == FCOMMON.info.Login.gcode && t.pdate.CompareTo(vSD) >= 0 && t.pdate.CompareTo(vED) <= 0 && t.userProcess == tbProcess.Text) | ||||
|             //        .OrderBy(t => t.name) | ||||
|             //        .OrderBy(t => t.pdate) | ||||
|             //        .ToList(); | ||||
|             //} | ||||
|             //else | ||||
|             //{ | ||||
|             //    baseData = db.vJobReportForUser | ||||
|             //        .Where(t => t.gcode == FCOMMON.info.Login.gcode && t.pdate.CompareTo(vSD) >= 0 && t.pdate.CompareTo(vED) <= 0) | ||||
|             //        .OrderBy(t => t.name) | ||||
|             //        .OrderBy(t => t.pdate) | ||||
|             //        .ToList(); | ||||
|             //} | ||||
|  | ||||
|             col = 0; | ||||
|             row = 1; | ||||
|             fpSpread1.Sheets[1].RowCount = baseData.GroupBy(t => t.id).Count() + 1; | ||||
| @@ -228,10 +239,21 @@ namespace FPJ0000.JobReport | ||||
|             //프로세스목록을 먼저 기록한다 | ||||
|             row = 7; | ||||
|             this.fpSpread1.Sheets[0].RowCount = 101; | ||||
|             var orProcess = baseData.OrderBy(t => t.process).GroupBy(t => t.process); | ||||
|             foreach (var item in orProcess) | ||||
|             //var orProcess = baseData.OrderBy(t => t.process).GroupBy(t => t.process); | ||||
|  | ||||
|             //프로세스목록은 전체로 사용한다. | ||||
|             var prclist = db.Common.Where(t => t.gcode == FCOMMON.info.Login.gcode &&  t.grp == "16").OrderBy(t => t.code).ToList(); | ||||
|             this.progressBar2.Maximum = prclist.Count; | ||||
|             this.progressBar2.Value = 0; | ||||
|             foreach(var prcitem in prclist) | ||||
|             { | ||||
|                 var processName = item.FirstOrDefault().process; | ||||
|                 this.progressBar2.Value += 1; | ||||
|                 var item = baseData.Where(t => t.process == prcitem.memo); //해당 프로세스에 해당하는 아이템을 가져온다 | ||||
|                                                                            //} | ||||
|  | ||||
|                 //foreach (var item in orProcess) | ||||
|                 //{ | ||||
|                 var processName = prcitem.memo; // item.FirstOrDefault().process; | ||||
|                 this.fpSpread1.Sheets[0].Cells[row, 1].Value = processName; | ||||
|  | ||||
|                 //2번부터는 데이터를 넣어야 한다 | ||||
| @@ -240,24 +262,33 @@ namespace FPJ0000.JobReport | ||||
|                 int coldata = 2; | ||||
|                 for (int i = 2; i <= 6; i++) | ||||
|                 { | ||||
|                     var colName = fpSpread1.Sheets[0].Cells[6, i].Value.ToString(); | ||||
|  | ||||
|                     //이 이름에 해당하는 데이터의 시간을 가져온다 | ||||
|                     double ot = 0.0; | ||||
|                     double hrs = 0.0; | ||||
|                     if (colName != "*") | ||||
|                     if(item.Any()==false) | ||||
|                     { | ||||
|                         //double holytime = 0.0; | ||||
|                         var timeList = item.Where(t => t.svalue == colName); | ||||
|                         if (timeList != null) | ||||
|                         { | ||||
|                             hrs = (double)timeList.Sum(t => t.hrs); | ||||
|                             ot = (double)timeList.Sum(t => t.ot); | ||||
|                             sumOt += ot; | ||||
|                         } | ||||
|                         //자료가없다면 0으로 채운다 | ||||
|                         fpSpread1.Sheets[0].Cells[row, coldata].Value = null; | ||||
|                     } | ||||
|                     if (ot + hrs == 0.0) fpSpread1.Sheets[0].Cells[row, coldata].Value = null; | ||||
|                     else fpSpread1.Sheets[0].Cells[row, coldata].Value = ot + hrs; //없음으로한다 | ||||
|                     else | ||||
|                     { | ||||
|                         var colName = fpSpread1.Sheets[0].Cells[6, i].Value.ToString(); | ||||
|  | ||||
|                         //이 이름에 해당하는 데이터의 시간을 가져온다 | ||||
|                         double ot = 0.0; | ||||
|                         double hrs = 0.0; | ||||
|                         if (colName != "*") | ||||
|                         { | ||||
|                             //double holytime = 0.0; | ||||
|                             var timeList = item.Where(t => t.svalue == colName); | ||||
|                             if (timeList != null) | ||||
|                             { | ||||
|                                 hrs = (double)timeList.Sum(t => t.hrs); | ||||
|                                 ot = (double)timeList.Sum(t => t.ot); | ||||
|                                 sumOt += ot; | ||||
|                             } | ||||
|                         } | ||||
|                         if (ot + hrs == 0.0) fpSpread1.Sheets[0].Cells[row, coldata].Value = null; | ||||
|                         else fpSpread1.Sheets[0].Cells[row, coldata].Value = ot + hrs; //없음으로한다 | ||||
|                     } | ||||
|                    | ||||
|  | ||||
|                     coldata += 1; | ||||
|                 } | ||||
|   | ||||
| @@ -123,16 +123,10 @@ | ||||
|   <metadata name="dsReport.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="dsReport.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>183, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>245, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>245, 17</value> | ||||
|   </metadata> | ||||
| </root> | ||||
		Reference in New Issue
	
	Block a user
	 chi
					chi