프로젝트편집에 일 업무현황 등록과 todo 항목 추가
This commit is contained in:
308
SubProject/FPJ0000/JobReport/fJobReport.Designer.cs
generated
308
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 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.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 textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
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();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsMSSQL = new FPJ0000.dsPRJ();
|
||||
@@ -87,6 +87,7 @@
|
||||
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
|
||||
this.ta = new FPJ0000.dsPRJTableAdapters.JobReportTableAdapter();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.lbStt = new System.Windows.Forms.ToolStripLabel();
|
||||
this.dtSD = new System.Windows.Forms.ToolStripTextBox();
|
||||
@@ -98,19 +99,19 @@
|
||||
this.cmbProcess = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.cmbUser = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.btSearch = new System.Windows.Forms.ToolStripSplitButton();
|
||||
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();
|
||||
((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
|
||||
@@ -467,7 +468,9 @@
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.EETGW_NoteTableAdapter = null;
|
||||
this.tam.EETGW_SaveCostTableAdapter = null;
|
||||
this.tam.JobReportTableAdapter = this.ta;
|
||||
this.tam.ProjectPartStatusTableAdapter = null;
|
||||
this.tam.ProjectsHistoryTableAdapter = null;
|
||||
this.tam.ProjectsIOMapTableAdapter = null;
|
||||
this.tam.ProjectsMailListTableAdapter = null;
|
||||
@@ -496,6 +499,115 @@
|
||||
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 = 14;
|
||||
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 = "WW";
|
||||
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 = "패키지";
|
||||
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.Rows.Get(0).Height = 28F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType34;
|
||||
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).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).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).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).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).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).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).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).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;
|
||||
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;
|
||||
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;
|
||||
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).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).DataField = "tag";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Label = "#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).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);
|
||||
@@ -503,6 +615,7 @@
|
||||
this.lbStt,
|
||||
this.dtSD,
|
||||
this.lbEnd,
|
||||
this.toolStripLabel4,
|
||||
this.dtED,
|
||||
this.lbTime,
|
||||
this.toolStripSeparator2,
|
||||
@@ -523,8 +636,8 @@
|
||||
this.lbStt.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.lbStt.ForeColor = System.Drawing.Color.Blue;
|
||||
this.lbStt.Name = "lbStt";
|
||||
this.lbStt.Size = new System.Drawing.Size(31, 34);
|
||||
this.lbStt.Text = "기간";
|
||||
this.lbStt.Size = new System.Drawing.Size(43, 34);
|
||||
this.lbStt.Text = "시작일";
|
||||
this.lbStt.Click += new System.EventHandler(this.lbStt_Click);
|
||||
//
|
||||
// dtSD
|
||||
@@ -591,6 +704,25 @@
|
||||
this.cmbUser.SelectedIndexChanged += new System.EventHandler(this.cmbUser_SelectedIndexChanged);
|
||||
this.cmbUser.Click += new System.EventHandler(this.cmbUser_Click);
|
||||
//
|
||||
// btSearch
|
||||
//
|
||||
this.btSearch.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.태그자료만조회ToolStripMenuItem});
|
||||
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
|
||||
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btSearch.Name = "btSearch";
|
||||
this.btSearch.Size = new System.Drawing.Size(92, 34);
|
||||
this.btSearch.Text = "조회(&R)";
|
||||
this.btSearch.ButtonClick += new System.EventHandler(this.btSearch_ButtonClick);
|
||||
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
||||
//
|
||||
// 태그자료만조회ToolStripMenuItem
|
||||
//
|
||||
this.태그자료만조회ToolStripMenuItem.Name = "태그자료만조회ToolStripMenuItem";
|
||||
this.태그자료만조회ToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
|
||||
this.태그자료만조회ToolStripMenuItem.Text = "태그자료만 조회";
|
||||
this.태그자료만조회ToolStripMenuItem.Click += new System.EventHandler(this.태그자료만조회ToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripButton2
|
||||
//
|
||||
this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
@@ -613,133 +745,14 @@
|
||||
this.richTextBox1.TabIndex = 5;
|
||||
this.richTextBox1.Text = "";
|
||||
//
|
||||
// fpSpread1_Sheet1
|
||||
// toolStripLabel4
|
||||
//
|
||||
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 = 14;
|
||||
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 = "WW";
|
||||
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 = "패키지";
|
||||
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.Rows.Get(0).Height = 28F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType12;
|
||||
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 = textCellType13;
|
||||
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 = textCellType14;
|
||||
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 = textCellType15;
|
||||
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 = textCellType16;
|
||||
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 = textCellType17;
|
||||
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 = textCellType18;
|
||||
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 = textCellType19;
|
||||
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 = textCellType20;
|
||||
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)))));
|
||||
numberCellType4.DecimalPlaces = 0;
|
||||
numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType4.MaximumValue = 2147483647D;
|
||||
numberCellType4.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType4;
|
||||
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;
|
||||
numberCellType5.MaximumValue = 999999999999999D;
|
||||
numberCellType5.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "hrs";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Label = "시간";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Width = 52F;
|
||||
numberCellType6.MaximumValue = 999999999999999D;
|
||||
numberCellType6.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType6;
|
||||
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 = textCellType21;
|
||||
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 = textCellType22;
|
||||
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;
|
||||
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;
|
||||
//
|
||||
// btSearch
|
||||
//
|
||||
this.btSearch.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.태그자료만조회ToolStripMenuItem});
|
||||
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
|
||||
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btSearch.Name = "btSearch";
|
||||
this.btSearch.Size = new System.Drawing.Size(92, 34);
|
||||
this.btSearch.Text = "조회(&R)";
|
||||
this.btSearch.ButtonClick += new System.EventHandler(this.btSearch_ButtonClick);
|
||||
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
||||
//
|
||||
// 태그자료만조회ToolStripMenuItem
|
||||
//
|
||||
this.태그자료만조회ToolStripMenuItem.Name = "태그자료만조회ToolStripMenuItem";
|
||||
this.태그자료만조회ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.태그자료만조회ToolStripMenuItem.Text = "태그자료만 조회";
|
||||
this.태그자료만조회ToolStripMenuItem.Click += new System.EventHandler(this.태그자료만조회ToolStripMenuItem_Click);
|
||||
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
|
||||
//
|
||||
@@ -761,9 +774,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();
|
||||
|
||||
@@ -830,5 +843,6 @@
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ToolStripSplitButton btSearch;
|
||||
private System.Windows.Forms.ToolStripMenuItem 태그자료만조회ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel4;
|
||||
}
|
||||
}
|
||||
@@ -504,11 +504,14 @@ namespace FPJ0000
|
||||
}
|
||||
private void lbStt_Click(object sender, EventArgs e)
|
||||
{
|
||||
var f = new FCOMMON.fSelectMonth();
|
||||
var f = new FCOMMON.fSelectDay(DateTime.Parse(dtSD.Text));
|
||||
if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
|
||||
var sdDate = DateTime.Parse(DateTime.Now.ToString("yyyy-") + f.selectmon.ToString() + "-01");
|
||||
var sdDate = f.dtPick.SelectionStart;// DateTime.Parse(DateTime.Now.ToString("yyyy-") + f.selectmon.ToString() + "-01");
|
||||
dtSD.Text = sdDate.ToShortDateString();
|
||||
dtED.Text = sdDate.AddMonths(1).AddDays(-1).ToShortDateString();
|
||||
if (f.dtPick.SelectionStart.ToShortDateString() == f.dtPick.SelectionEnd.ToShortDateString())
|
||||
dtED.Text = sdDate.AddMonths(1).AddDays(-1).ToShortDateString();
|
||||
else
|
||||
dtED.Text = f.dtPick.SelectionEnd.ToShortDateString();
|
||||
refreshData();
|
||||
}
|
||||
|
||||
@@ -578,5 +581,12 @@ namespace FPJ0000
|
||||
{
|
||||
refreshData(true);
|
||||
}
|
||||
|
||||
private void toolStripLabel4_Click(object sender, EventArgs e)
|
||||
{
|
||||
var f = new FCOMMON.fSelectDay(DateTime.Parse(dtED.Text));
|
||||
if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
|
||||
dtED.Text = f.dtPick.SelectionStart.ToShortDateString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,118 +1,118 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport
|
||||
{
|
||||
public partial class fLovProject : Form
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public int Index { get; set; }
|
||||
|
||||
string keyword = string.Empty;
|
||||
public fLovProject(string search_)
|
||||
{
|
||||
InitializeComponent();
|
||||
Title = string.Empty;
|
||||
Index = -1;
|
||||
|
||||
this.keyword = search_;
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) => {
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
private void fLovItem_Load(object sender, EventArgs e)
|
||||
{
|
||||
//search data
|
||||
// var dt = this.ta.GetSearch(this.keyword);
|
||||
this.taPrj.FillSearch(this.dsMSSQL.Projects,this.keyword,FCOMMON.info.Login.gcode);
|
||||
this.taJob.FillSearch(this.dsQuery.JobReportItemList, this.keyword);
|
||||
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
if (this.dsMSSQL.Projects.Rows.Count > 0) dvPrj.Focus();
|
||||
else if (this.dsQuery.JobReportItemList.Rows.Count > 0) dvItem.Focus();
|
||||
else dvPrj.Focus();
|
||||
}
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void dv_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
|
||||
btOKPrj.PerformClick();
|
||||
}
|
||||
}
|
||||
private void dvItem_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
|
||||
this.btOKJob.PerformClick();
|
||||
}
|
||||
}
|
||||
private void SelectItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bsJob.Current as DataRowView;
|
||||
if (drv == null)
|
||||
{
|
||||
Title = string.Empty;
|
||||
Index = -1;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
var dr = drv.Row as dsQuery.JobReportItemListRow;//.JobReportRow;
|
||||
Index = dr.pidx;
|
||||
Title = dr.projectName;
|
||||
}
|
||||
|
||||
if (Title.Trim() == "") DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
else DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
private void selectProject_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = bsPrj.Current as DataRowView;
|
||||
if (drv == null)
|
||||
{
|
||||
Title = string.Empty;
|
||||
Index = -1;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
var dr = drv.Row as dsPRJ.ProjectsRow;
|
||||
Index = dr.idx;
|
||||
Title = dr.name;
|
||||
}
|
||||
|
||||
if (Title.Trim() == "" || Index == -1) DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
else DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
private void dv_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
btOKPrj.PerformClick();
|
||||
}
|
||||
|
||||
private void dvItem_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
btOKJob.PerformClick();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.JobReport
|
||||
{
|
||||
public partial class fLovProject : Form
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public int Index { get; set; }
|
||||
|
||||
string keyword = string.Empty;
|
||||
public fLovProject(string search_)
|
||||
{
|
||||
InitializeComponent();
|
||||
Title = string.Empty;
|
||||
Index = -1;
|
||||
|
||||
this.keyword = search_;
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) => {
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
private void fLovItem_Load(object sender, EventArgs e)
|
||||
{
|
||||
//search data
|
||||
// var dt = this.ta.GetSearch(this.keyword);
|
||||
this.taPrj.FillSearch(this.dsMSSQL.Projects,this.keyword,FCOMMON.info.Login.gcode);
|
||||
this.taJob.FillSearch(this.dsQuery.JobReportItemList, this.keyword, FCOMMON.info.Login.gcode);
|
||||
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
if (this.dsMSSQL.Projects.Rows.Count > 0) dvPrj.Focus();
|
||||
else if (this.dsQuery.JobReportItemList.Rows.Count > 0) dvItem.Focus();
|
||||
else dvPrj.Focus();
|
||||
}
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void dv_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
|
||||
btOKPrj.PerformClick();
|
||||
}
|
||||
}
|
||||
private void dvItem_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
|
||||
this.btOKJob.PerformClick();
|
||||
}
|
||||
}
|
||||
private void SelectItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bsJob.Current as DataRowView;
|
||||
if (drv == null)
|
||||
{
|
||||
Title = string.Empty;
|
||||
Index = -1;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
var dr = drv.Row as dsQuery.JobReportItemListRow;//.JobReportRow;
|
||||
Index = dr.pidx;
|
||||
Title = dr.projectName;
|
||||
}
|
||||
|
||||
if (Title.Trim() == "") DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
else DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
private void selectProject_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = bsPrj.Current as DataRowView;
|
||||
if (drv == null)
|
||||
{
|
||||
Title = string.Empty;
|
||||
Index = -1;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
var dr = drv.Row as dsPRJ.ProjectsRow;
|
||||
Index = dr.idx;
|
||||
Title = dr.name;
|
||||
}
|
||||
|
||||
if (Title.Trim() == "" || Index == -1) DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
else DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
private void dv_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
btOKPrj.PerformClick();
|
||||
}
|
||||
|
||||
private void dvItem_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
btOKJob.PerformClick();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user