From 7755902fffe960cb5eb73837a8341f6580ffca43 Mon Sep 17 00:00:00 2001 From: chi Date: Fri, 19 Feb 2021 11:03:47 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B5=AC=EB=A7=A4=EC=A7=86=EC=83=9D=20?= =?UTF-8?q?=EC=88=98=EB=9F=89=20=ED=91=9C=EC=8B=9C=20=EB=B0=A9=EB=B2=95=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SubProject/FCM0000/fCode.Designer.cs | 19 +- SubProject/FCM0000/fCode.resx | 3 - SubProject/FPJ0000/Note/fNote.cs | 14 +- .../Project/fPartBuyStatus.Designer.cs | 324 +++++------ SubProject/FPJ0000/Project/fPartBuyStatus.cs | 131 ++--- .../FPJ0000/Project/fPartBuyStatus.resx | 28 +- .../FPJ0000/Project/fPartList.Designer.cs | 536 +++++++++--------- SubProject/FPJ0000/Project/fPartList.cs | 124 ++-- SubProject/FPJ0000/Project/fPartList.resx | 28 +- 9 files changed, 581 insertions(+), 626 deletions(-) diff --git a/SubProject/FCM0000/fCode.Designer.cs b/SubProject/FCM0000/fCode.Designer.cs index 57f591a..4a5f372 100644 --- a/SubProject/FCM0000/fCode.Designer.cs +++ b/SubProject/FCM0000/fCode.Designer.cs @@ -51,6 +51,7 @@ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton1 = new System.Windows.Forms.ToolStripDropDownButton(); this.코드일괄생성ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.title가져오기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.commonDataGridView = new System.Windows.Forms.DataGridView(); this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -59,7 +60,6 @@ this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ta = new FCM0000.dsMSSQLTableAdapters.CommonTableAdapter(); this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); - this.title가져오기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); this.bn.SuspendLayout(); @@ -193,7 +193,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"; @@ -255,10 +254,17 @@ // 코드일괄생성ToolStripMenuItem // this.코드일괄생성ToolStripMenuItem.Name = "코드일괄생성ToolStripMenuItem"; - this.코드일괄생성ToolStripMenuItem.Size = new System.Drawing.Size(146, 22); + this.코드일괄생성ToolStripMenuItem.Size = new System.Drawing.Size(148, 22); this.코드일괄생성ToolStripMenuItem.Text = "코드일괄생성"; this.코드일괄생성ToolStripMenuItem.Click += new System.EventHandler(this.코드일괄생성ToolStripMenuItem_Click); // + // title가져오기ToolStripMenuItem + // + this.title가져오기ToolStripMenuItem.Name = "title가져오기ToolStripMenuItem"; + this.title가져오기ToolStripMenuItem.Size = new System.Drawing.Size(148, 22); + this.title가져오기ToolStripMenuItem.Text = "Title 가져오기"; + this.title가져오기ToolStripMenuItem.Click += new System.EventHandler(this.title가져오기ToolStripMenuItem_Click); + // // commonDataGridView // this.commonDataGridView.AutoGenerateColumns = false; @@ -334,13 +340,6 @@ this.tam.StaffTableAdapter = null; this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; // - // title가져오기ToolStripMenuItem - // - this.title가져오기ToolStripMenuItem.Name = "title가져오기ToolStripMenuItem"; - this.title가져오기ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.title가져오기ToolStripMenuItem.Text = "Title 가져오기"; - this.title가져오기ToolStripMenuItem.Click += new System.EventHandler(this.title가져오기ToolStripMenuItem_Click); - // // fCode // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F); diff --git a/SubProject/FCM0000/fCode.resx b/SubProject/FCM0000/fCode.resx index e02577b..c40d815 100644 --- a/SubProject/FCM0000/fCode.resx +++ b/SubProject/FCM0000/fCode.resx @@ -213,9 +213,6 @@ TgDQASA1MVpwzwAAAABJRU5ErkJggg== - - 17, 17 - 186, 17 diff --git a/SubProject/FPJ0000/Note/fNote.cs b/SubProject/FPJ0000/Note/fNote.cs index 67e1849..a80a487 100644 --- a/SubProject/FPJ0000/Note/fNote.cs +++ b/SubProject/FPJ0000/Note/fNote.cs @@ -107,8 +107,18 @@ namespace FPJ0000.Note void refreshData() { - // string state = "%"; - // if (cmbState.SelectedIndex > 0) state = cmbState.Text.Split(',')[0].Substring(1); + // string state = "%"; + // if (cmbState.SelectedIndex > 0) state = cmbState.Text.Split(',')[0].Substring(1); + + //var cmd = new System.Data.SqlClient.SqlCommand("select idx,gcode,pdate,uid,'' as description,'' as description2,share,wuid,wdate from eetgw_note where gcode = @gcode and pdate between @sd and @ed and (uid=@uid or isnull(share,0) = 1)",ta.Connection); + //cmd.Parameters.Add("gcode", SqlDbType.VarChar).Value = FCOMMON.info.Login.gcode; + //cmd.Parameters.Add("sd", SqlDbType.VarChar).Value = dtSD.Text; + //cmd.Parameters.Add("ed", SqlDbType.VarChar).Value = dtED.Text; + //cmd.Parameters.Add("uid", SqlDbType.VarChar).Value = FCOMMON.info.Login.no; + //var da = new System.Data.SqlClient.SqlDataAdapter(cmd); + //da.Fill(this.ds1.EETGW_Note); + //cmd.Dispose(); + //da.Dispose(); this.ta.Fill(this.ds1.EETGW_Note, FCOMMON.info.Login.gcode, dtSD.Text, dtED.Text, FCOMMON.info.Login.no); FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); diff --git a/SubProject/FPJ0000/Project/fPartBuyStatus.Designer.cs b/SubProject/FPJ0000/Project/fPartBuyStatus.Designer.cs index 5d1b5e6..4908ba5 100644 --- a/SubProject/FPJ0000/Project/fPartBuyStatus.Designer.cs +++ b/SubProject/FPJ0000/Project/fPartBuyStatus.Designer.cs @@ -37,29 +37,29 @@ FarPoint.Win.Spread.FlatFocusIndicatorRenderer flatFocusIndicatorRenderer1 = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer(); FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer1 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer2 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); - 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.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); - FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); - 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.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType13 = 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.NoPrinterPrintInfo noPrinterPrintInfo1 = new FarPoint.Win.Spread.NoPrinterPrintInfo(); + FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType28 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType33 = 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.CheckBoxCellType checkBoxCellType5 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType6 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + 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.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo3 = new FarPoint.Win.Spread.NoPrinterPrintInfo(); this.panel1 = new System.Windows.Forms.Panel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.prb2 = new arCtl.arLabel(); + this.prb1 = new arCtl.arLabel(); this.prb3 = new arCtl.arLabel(); - this.prbPO = new arCtl.arLabel(); + this.prb2 = new arCtl.arLabel(); this.panel2 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.panel7 = new System.Windows.Forms.Panel(); @@ -184,14 +184,14 @@ // // tableLayoutPanel1 // - this.tableLayoutPanel1.ColumnCount = 3; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.Controls.Add(this.prb2, 0, 0); + this.tableLayoutPanel1.ColumnCount = 4; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.00062F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.00062F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.00062F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 24.99813F)); + this.tableLayoutPanel1.Controls.Add(this.prb1, 0, 0); this.tableLayoutPanel1.Controls.Add(this.prb3, 2, 0); - this.tableLayoutPanel1.Controls.Add(this.prbPO, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.prb2, 1, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Left; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; @@ -200,51 +200,51 @@ this.tableLayoutPanel1.Size = new System.Drawing.Size(895, 92); this.tableLayoutPanel1.TabIndex = 33; // - // prb2 + // prb1 // - this.prb2.BackColor = System.Drawing.Color.SkyBlue; - this.prb2.BackColor2 = System.Drawing.Color.SkyBlue; - this.prb2.BackgroundImagePadding = new System.Windows.Forms.Padding(0); - this.prb2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); - this.prb2.BorderColorOver = System.Drawing.Color.Red; - this.prb2.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); - this.prb2.ColorTheme = arCtl.arLabel.eColorTheme.Custom; - this.prb2.Cursor = System.Windows.Forms.Cursors.Arrow; - this.prb2.Dock = System.Windows.Forms.DockStyle.Fill; - this.prb2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.prb2.ForeColor = System.Drawing.Color.Black; - this.prb2.GradientEnable = true; - this.prb2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; - this.prb2.GradientRepeatBG = false; - this.prb2.isButton = false; - this.prb2.Location = new System.Drawing.Point(5, 5); - this.prb2.Margin = new System.Windows.Forms.Padding(5); - this.prb2.MouseDownColor = System.Drawing.Color.Yellow; - this.prb2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.prb2.msg = null; - this.prb2.Name = "prb2"; - this.prb2.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); - this.prb2.ProgressBorderColor = System.Drawing.Color.Black; - this.prb2.ProgressColor1 = System.Drawing.Color.Yellow; - this.prb2.ProgressColor2 = System.Drawing.Color.Gold; - this.prb2.ProgressEnable = true; - this.prb2.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); - this.prb2.ProgressForeColor = System.Drawing.Color.Black; - this.prb2.ProgressMax = 100F; - this.prb2.ProgressMin = 0F; - this.prb2.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); - this.prb2.ProgressValue = 50F; - this.prb2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.prb2.Sign = ""; - this.prb2.SignAlign = System.Drawing.ContentAlignment.BottomRight; - this.prb2.SignColor = System.Drawing.Color.Yellow; - this.prb2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.prb2.Size = new System.Drawing.Size(288, 82); - this.prb2.TabIndex = 32; - this.prb2.Text = "구매 등록 신청"; - this.prb2.TextAlign = System.Drawing.ContentAlignment.TopCenter; - this.prb2.TextShadow = false; - this.prb2.TextVisible = true; + this.prb1.BackColor = System.Drawing.Color.SkyBlue; + this.prb1.BackColor2 = System.Drawing.Color.SkyBlue; + this.prb1.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.prb1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); + this.prb1.BorderColorOver = System.Drawing.Color.Red; + this.prb1.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); + this.prb1.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.prb1.Cursor = System.Windows.Forms.Cursors.Arrow; + this.prb1.Dock = System.Windows.Forms.DockStyle.Fill; + this.prb1.Font = new System.Drawing.Font("Consolas", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.prb1.ForeColor = System.Drawing.Color.Black; + this.prb1.GradientEnable = true; + this.prb1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; + this.prb1.GradientRepeatBG = false; + this.prb1.isButton = false; + this.prb1.Location = new System.Drawing.Point(5, 5); + this.prb1.Margin = new System.Windows.Forms.Padding(5); + this.prb1.MouseDownColor = System.Drawing.Color.Yellow; + this.prb1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.prb1.msg = null; + this.prb1.Name = "prb1"; + this.prb1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); + this.prb1.ProgressBorderColor = System.Drawing.Color.Black; + this.prb1.ProgressColor1 = System.Drawing.Color.Yellow; + this.prb1.ProgressColor2 = System.Drawing.Color.Gold; + this.prb1.ProgressEnable = false; + this.prb1.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); + this.prb1.ProgressForeColor = System.Drawing.Color.Black; + this.prb1.ProgressMax = 100F; + this.prb1.ProgressMin = 0F; + this.prb1.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); + this.prb1.ProgressValue = 50F; + this.prb1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); + this.prb1.Sign = "담당자 요청"; + this.prb1.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.prb1.SignColor = System.Drawing.Color.Black; + this.prb1.SignFont = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.prb1.Size = new System.Drawing.Size(213, 82); + this.prb1.TabIndex = 32; + this.prb1.Text = "0000"; + this.prb1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.prb1.TextShadow = false; + this.prb1.TextVisible = true; // // prb3 // @@ -257,23 +257,23 @@ this.prb3.ColorTheme = arCtl.arLabel.eColorTheme.Custom; this.prb3.Cursor = System.Windows.Forms.Cursors.Arrow; this.prb3.Dock = System.Windows.Forms.DockStyle.Fill; - this.prb3.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.prb3.Font = new System.Drawing.Font("Consolas", 36F, System.Drawing.FontStyle.Bold); this.prb3.ForeColor = System.Drawing.Color.Black; this.prb3.GradientEnable = true; this.prb3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; this.prb3.GradientRepeatBG = false; this.prb3.isButton = false; - this.prb3.Location = new System.Drawing.Point(601, 5); + this.prb3.Location = new System.Drawing.Point(451, 5); this.prb3.Margin = new System.Windows.Forms.Padding(5); this.prb3.MouseDownColor = System.Drawing.Color.Yellow; this.prb3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.prb3.msg = null; this.prb3.Name = "prb3"; - this.prb3.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); + this.prb3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); this.prb3.ProgressBorderColor = System.Drawing.Color.Black; this.prb3.ProgressColor1 = System.Drawing.Color.Yellow; this.prb3.ProgressColor2 = System.Drawing.Color.Gold; - this.prb3.ProgressEnable = true; + this.prb3.ProgressEnable = false; this.prb3.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); this.prb3.ProgressForeColor = System.Drawing.Color.Black; this.prb3.ProgressMax = 100F; @@ -281,63 +281,63 @@ this.prb3.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); this.prb3.ProgressValue = 50F; this.prb3.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.prb3.Sign = ""; + this.prb3.Sign = "입고 진행 중"; this.prb3.SignAlign = System.Drawing.ContentAlignment.BottomRight; - this.prb3.SignColor = System.Drawing.Color.Yellow; - this.prb3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.prb3.Size = new System.Drawing.Size(289, 82); + this.prb3.SignColor = System.Drawing.Color.Black; + this.prb3.SignFont = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Bold); + this.prb3.Size = new System.Drawing.Size(213, 82); this.prb3.TabIndex = 32; - this.prb3.Text = "구매 진행 중"; - this.prb3.TextAlign = System.Drawing.ContentAlignment.TopCenter; + this.prb3.Text = "0000"; + this.prb3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.prb3.TextShadow = false; this.prb3.TextVisible = true; this.toolTip1.SetToolTip(this.prb3, "구매대상 중 구매"); // - // prbPO + // prb2 // - this.prbPO.BackColor = System.Drawing.Color.OrangeRed; - this.prbPO.BackColor2 = System.Drawing.Color.Orange; - this.prbPO.BackgroundImagePadding = new System.Windows.Forms.Padding(0); - this.prbPO.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); - this.prbPO.BorderColorOver = System.Drawing.Color.Red; - this.prbPO.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); - this.prbPO.ColorTheme = arCtl.arLabel.eColorTheme.Custom; - this.prbPO.Cursor = System.Windows.Forms.Cursors.Arrow; - this.prbPO.Dock = System.Windows.Forms.DockStyle.Fill; - this.prbPO.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.prbPO.ForeColor = System.Drawing.Color.Black; - this.prbPO.GradientEnable = true; - this.prbPO.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; - this.prbPO.GradientRepeatBG = false; - this.prbPO.isButton = false; - this.prbPO.Location = new System.Drawing.Point(303, 5); - this.prbPO.Margin = new System.Windows.Forms.Padding(5); - this.prbPO.MouseDownColor = System.Drawing.Color.Yellow; - this.prbPO.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.prbPO.msg = null; - this.prbPO.Name = "prbPO"; - this.prbPO.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); - this.prbPO.ProgressBorderColor = System.Drawing.Color.Black; - this.prbPO.ProgressColor1 = System.Drawing.Color.Yellow; - this.prbPO.ProgressColor2 = System.Drawing.Color.Gold; - this.prbPO.ProgressEnable = true; - this.prbPO.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); - this.prbPO.ProgressForeColor = System.Drawing.Color.Black; - this.prbPO.ProgressMax = 100F; - this.prbPO.ProgressMin = 0F; - this.prbPO.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); - this.prbPO.ProgressValue = 50F; - this.prbPO.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.prbPO.Sign = ""; - this.prbPO.SignAlign = System.Drawing.ContentAlignment.BottomRight; - this.prbPO.SignColor = System.Drawing.Color.Yellow; - this.prbPO.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.prbPO.Size = new System.Drawing.Size(288, 82); - this.prbPO.TabIndex = 32; - this.prbPO.Text = "PO 발행"; - this.prbPO.TextAlign = System.Drawing.ContentAlignment.TopCenter; - this.prbPO.TextShadow = false; - this.prbPO.TextVisible = true; + this.prb2.BackColor = System.Drawing.Color.OrangeRed; + this.prb2.BackColor2 = System.Drawing.Color.Orange; + this.prb2.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.prb2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); + this.prb2.BorderColorOver = System.Drawing.Color.Red; + this.prb2.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); + this.prb2.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.prb2.Cursor = System.Windows.Forms.Cursors.Arrow; + this.prb2.Dock = System.Windows.Forms.DockStyle.Fill; + this.prb2.Font = new System.Drawing.Font("Consolas", 36F, System.Drawing.FontStyle.Bold); + this.prb2.ForeColor = System.Drawing.Color.Black; + this.prb2.GradientEnable = true; + this.prb2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; + this.prb2.GradientRepeatBG = false; + this.prb2.isButton = false; + this.prb2.Location = new System.Drawing.Point(228, 5); + this.prb2.Margin = new System.Windows.Forms.Padding(5); + this.prb2.MouseDownColor = System.Drawing.Color.Yellow; + this.prb2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.prb2.msg = null; + this.prb2.Name = "prb2"; + this.prb2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); + this.prb2.ProgressBorderColor = System.Drawing.Color.Black; + this.prb2.ProgressColor1 = System.Drawing.Color.Yellow; + this.prb2.ProgressColor2 = System.Drawing.Color.Gold; + this.prb2.ProgressEnable = false; + this.prb2.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); + this.prb2.ProgressForeColor = System.Drawing.Color.Black; + this.prb2.ProgressMax = 100F; + this.prb2.ProgressMin = 0F; + this.prb2.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); + this.prb2.ProgressValue = 50F; + this.prb2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); + this.prb2.Sign = "PO 대기"; + this.prb2.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.prb2.SignColor = System.Drawing.Color.Black; + this.prb2.SignFont = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Bold); + this.prb2.Size = new System.Drawing.Size(213, 82); + this.prb2.TabIndex = 32; + this.prb2.Text = "0000"; + this.prb2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.prb2.TextShadow = false; + this.prb2.TextVisible = true; // // panel2 // @@ -782,24 +782,24 @@ this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent = "ColumnHeaderFlat"; this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 36F; this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType27; this.fpSpread1_Sheet1.Columns.Get(0).DataField = "userManager"; this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(0).Label = "담당자"; this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType28; this.fpSpread1_Sheet1.Columns.Get(1).DataField = "orderno"; this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(1).Label = "CR/CF"; this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType29; this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Project"; this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(2).Label = "PRJ"; this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - textCellType4.ReadOnly = true; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4; + textCellType30.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType30; this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ItemSid"; this.fpSpread1_Sheet1.Columns.Get(3).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; @@ -807,38 +807,38 @@ this.fpSpread1_Sheet1.Columns.Get(3).Tag = "sid"; 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)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - textCellType5.ReadOnly = true; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5; + textCellType31.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType31; this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ItemName"; this.fpSpread1_Sheet1.Columns.Get(4).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(4).Label = "품명"; this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(4).Width = 113F; - textCellType6.ReadOnly = true; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6; + textCellType32.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType32; this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ItemModel"; this.fpSpread1_Sheet1.Columns.Get(5).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(5).Label = "규격"; this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).Width = 99F; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType32; this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ItemManu"; this.fpSpread1_Sheet1.Columns.Get(6).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(6).Label = "제조사"; this.fpSpread1_Sheet1.Columns.Get(6).Tag = "manu"; this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType30; this.fpSpread1_Sheet1.Columns.Get(7).DataField = "ItemUnit"; this.fpSpread1_Sheet1.Columns.Get(7).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(7).Label = "단위"; this.fpSpread1_Sheet1.Columns.Get(7).Tag = "unit"; this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - textCellType7.ReadOnly = true; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; + textCellType33.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType33; this.fpSpread1_Sheet1.Columns.Get(8).DataField = "price"; this.fpSpread1_Sheet1.Columns.Get(8).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; @@ -846,15 +846,15 @@ this.fpSpread1_Sheet1.Columns.Get(8).Tag = "price"; this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - textCellType8.ReadOnly = true; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8; + textCellType34.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType34; this.fpSpread1_Sheet1.Columns.Get(9).DataField = "qty"; this.fpSpread1_Sheet1.Columns.Get(9).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).Label = "1대 수량"; this.fpSpread1_Sheet1.Columns.Get(9).Tag = "qty"; this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType30; this.fpSpread1_Sheet1.Columns.Get(10).DataField = "qtyn"; this.fpSpread1_Sheet1.Columns.Get(10).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; @@ -862,8 +862,8 @@ this.fpSpread1_Sheet1.Columns.Get(10).Tag = "qtyn"; this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(11).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - textCellType9.ReadOnly = true; - this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType9; + textCellType35.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType35; this.fpSpread1_Sheet1.Columns.Get(11).DataField = "amt"; this.fpSpread1_Sheet1.Columns.Get(11).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(11).Formula = "RC[-3]*RC[-2]"; @@ -872,7 +872,7 @@ this.fpSpread1_Sheet1.Columns.Get(11).Tag = "amt"; this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(12).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType35; this.fpSpread1_Sheet1.Columns.Get(12).DataField = "amtn"; this.fpSpread1_Sheet1.Columns.Get(12).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(12).Formula = "RC[-4]*RC[-2]"; @@ -880,26 +880,26 @@ this.fpSpread1_Sheet1.Columns.Get(12).Label = "N대 금액"; this.fpSpread1_Sheet1.Columns.Get(12).Tag = "amtn"; this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType30; this.fpSpread1_Sheet1.Columns.Get(13).DataField = "qtyjago"; this.fpSpread1_Sheet1.Columns.Get(13).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(13).Label = "PMP"; this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType30; this.fpSpread1_Sheet1.Columns.Get(14).DataField = "qtybuy"; this.fpSpread1_Sheet1.Columns.Get(14).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); 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).Tag = "buy"; this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(15).CellType = checkBoxCellType1; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = checkBoxCellType5; this.fpSpread1_Sheet1.Columns.Get(15).DataField = "bbuy"; this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(15).Label = "PR"; this.fpSpread1_Sheet1.Columns.Get(15).Tag = "bbuy"; this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).CellType = checkBoxCellType2; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = checkBoxCellType6; this.fpSpread1_Sheet1.Columns.Get(16).DataField = "bconfirm"; this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(16).Label = "PO"; @@ -907,7 +907,7 @@ this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(17).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(17).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType36; this.fpSpread1_Sheet1.Columns.Get(17).DataField = "ItemSupply"; this.fpSpread1_Sheet1.Columns.Get(17).Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; @@ -916,30 +916,30 @@ this.fpSpread1_Sheet1.Columns.Get(17).Tag = "supply"; this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(17).Width = 113F; - textCellType11.ReadOnly = true; - this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType11; + textCellType37.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType37; this.fpSpread1_Sheet1.Columns.Get(18).DataField = "option2"; this.fpSpread1_Sheet1.Columns.Get(18).Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(18).Label = "납기일"; this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType12; + this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType38; this.fpSpread1_Sheet1.Columns.Get(19).DataField = "qtyin"; this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(19).Label = "입고수량"; this.fpSpread1_Sheet1.Columns.Get(19).Tag = "qtyin"; this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType13; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType39; this.fpSpread1_Sheet1.Columns.Get(20).DataField = "memo"; this.fpSpread1_Sheet1.Columns.Get(20).Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(20).Label = "비고"; this.fpSpread1_Sheet1.Columns.Get(20).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType1; + this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType5; this.fpSpread1_Sheet1.Columns.Get(21).DataField = "Item"; this.fpSpread1_Sheet1.Columns.Get(21).Tag = "item"; this.fpSpread1_Sheet1.Columns.Get(21).Visible = false; - this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType2; + this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType6; this.fpSpread1_Sheet1.Columns.Get(22).DataField = "ItemSupplyidx"; this.fpSpread1_Sheet1.Columns.Get(22).Visible = false; this.fpSpread1_Sheet1.DataAutoCellTypes = false; @@ -954,11 +954,11 @@ this.fpSpread1_Sheet1.OperationMode = FarPoint.Win.Spread.OperationMode.SingleSelect; this.fpSpread1_Sheet1.PrintInfo.Footer = "EET Groupware - Alpha -"; this.fpSpread1_Sheet1.PrintInfo.Header = "PartList"; - noPrinterPrintInfo1.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148); - noPrinterPrintInfo1.HardMarginX = 0F; - noPrinterPrintInfo1.HardMarginY = 0F; - noPrinterPrintInfo1.SupportColor = true; - this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo1; + noPrinterPrintInfo3.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148); + noPrinterPrintInfo3.HardMarginX = 0F; + noPrinterPrintInfo3.HardMarginY = 0F; + noPrinterPrintInfo3.SupportColor = true; + this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo3; this.fpSpread1_Sheet1.PrintInfo.PdfSecurity = null; this.fpSpread1_Sheet1.Protect = false; this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; @@ -1138,12 +1138,12 @@ private System.Windows.Forms.ToolStripButton toolStripButton7; private System.Windows.Forms.Button button2; private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; - private arCtl.arLabel prb2; + private arCtl.arLabel prb1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private arCtl.arLabel prb3; private System.Windows.Forms.ToolTip toolTip1; private System.Windows.Forms.ToolStripButton toolStripButton1; - private arCtl.arLabel prbPO; + private arCtl.arLabel prb2; private System.Windows.Forms.Panel panel5; private System.Windows.Forms.Button button4; private System.Windows.Forms.Panel panel7; diff --git a/SubProject/FPJ0000/Project/fPartBuyStatus.cs b/SubProject/FPJ0000/Project/fPartBuyStatus.cs index 52a0890..d718aa7 100644 --- a/SubProject/FPJ0000/Project/fPartBuyStatus.cs +++ b/SubProject/FPJ0000/Project/fPartBuyStatus.cs @@ -61,7 +61,7 @@ namespace FPJ0000 void fPartList_KeyDown(object sender, KeyEventArgs e) { //if (e.KeyCode == Keys.Escape) this.Close(); - if (e.KeyCode == Keys.F5) searchpmp(); + if (e.KeyCode == Keys.F5) searchpmp(); } void fPartList_FormClosed(object sender, FormClosedEventArgs e) @@ -110,7 +110,7 @@ namespace FPJ0000 { this.taPart.Fill(this.dsPRJ.ProjectPartStatus, FCOMMON.info.Login.gcode); //this.bsPart.Sort = "bbuy,bconfirm,userManager,project"; - if(this.bsPart.Count > 0) this.bsPart.Position = 0; //210120 (박성민s) + if (this.bsPart.Count > 0) this.bsPart.Position = 0; //210120 (박성민s) } catch (Exception ex) { @@ -144,17 +144,21 @@ namespace FPJ0000 var col_amtn = this.fpSpread1.ActiveSheet.Columns["amtn"].Index; var col_qtyin = this.fpSpread1.ActiveSheet.Columns["qtyin"].Index; var col_qtyn = this.fpSpread1.ActiveSheet.Columns["qtyn"].Index; //N대수량(전체수량) - var col_bbuy = this.fpSpread1.ActiveSheet.Columns["bbuy"].Index; + var col_prReady = this.fpSpread1.ActiveSheet.Columns["bbuy"].Index; //PR여부 var col_supply = this.fpSpread1.ActiveSheet.Columns["supply"].Index; - var col_bconf = this.fpSpread1.ActiveSheet.Columns["bconfirm"].Index; + var col_poReady = this.fpSpread1.ActiveSheet.Columns["bconfirm"].Index; //PO여부 + - var PO발행 = 0; - var PO발행전체 = 0; var 전체건수 = 0; + var 구매요청건T = 0; + var 구매요청건C = 0; var 비구매건수 = 0; - var 구매진행건수 = 0; - var 구매완료건수 = 0; - var 구매등록건수 = 0; + var PR대상수량 = 0; + var PR완료수량 = 0; + var PO대상수량 = 0; + var 구매진행 = 0; + var 구매완료 = 0; + //var 검토완료건수 = 0; for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) @@ -165,22 +169,24 @@ namespace FPJ0000 var value = this.fpSpread1.ActiveSheet.GetValue(i, col_sid); //sid값을 확인한다 var value_buy = this.fpSpread1.ActiveSheet.GetValue(i, col_buy); var value_in = this.fpSpread1.ActiveSheet.GetValue(i, col_qtyin); - var value_bbuy = this.fpSpread1.ActiveSheet.GetValue(i, col_bbuy); + var value_prready = this.fpSpread1.ActiveSheet.GetValue(i, col_prReady); var db_supply = this.fpSpread1.ActiveSheet.GetValue(i, col_supply); var value_supply = string.Empty; if (db_supply != null) value_supply = db_supply.ToString().Trim(); - var value_bconf = this.fpSpread1.ActiveSheet.GetValue(i, col_bconf); + var value_poready = this.fpSpread1.ActiveSheet.GetValue(i, col_poReady); - Boolean bbuy = false; - Boolean bconf = false; - - if (value_bbuy != null) bbuy = (Boolean)value_bbuy; - if (value_bconf != null) bconf = (Boolean)value_bconf; - - if (bbuy) PO발행전체 += 1; - // if (bbuy && string.IsNullOrEmpty(value_supply)) + Boolean bPR = false; + Boolean bPO = false; + if (value_prready != null) bPR = (Boolean)value_prready; + if (value_poready != null) bPO = (Boolean)value_poready; + if (bPR) + { + PR완료수량 += 1; + + } + 전체건수 += 1; int qty_in = 0; @@ -188,54 +194,48 @@ namespace FPJ0000 if (value_in != null) qty_in = (int)value_in; if (value_buy != null) qty_buy = (int)value_buy; - if (bbuy) + if (qty_buy < 1) //구매요청 수량자체가 없다.(비구매건) { - if (qty_in == 0 && bconf == false) + 비구매건수 += 1; + row.ForeColor = Color.Black; + row.BackColor = Color.White; + } + else + { + PR대상수량 += 1; //비구매아닌건 모두 PR대상수량이다 + + + //구매가 필요한 상황임 + if (bPR == false) { - //입고량이 0인데 공급사가 없다면 PO발행대기건 + //PR이 입력되지 않았따. + 구매요청건C += 1; + row.ForeColor = Color.Black; + row.BackColor = Color.LightSkyBlue; + } + else if (bPO == false) //PO 입력대기 (발주완율) + { + PO대상수량 += 1; row.ForeColor = Color.White; row.BackColor = Color.OrangeRed; - PO발행 += 1; } - //구매진행중인데 수량이 다르면 색상 변경 - else if (qty_in < qty_buy) + else { - //공급사가 없다면 ㅔo발행건으로 한다. - if (qty_buy < 1) + //PR,PO 가 모두 입력되었다 + + if (qty_in < qty_buy) { - row.ForeColor = Color.Red; + 구매진행 += 1; + + row.ForeColor = Color.White; row.BackColor = Color.DarkMagenta; } else { - row.ForeColor = Color.White; - row.BackColor = Color.DarkMagenta; + 구매완료 += 1; + row.ForeColor = Color.Black; + row.BackColor = Color.LimeGreen; } - 구매진행건수 += 1; - - } - else - { - 구매완료건수 += 1; - row.ForeColor = Color.Black; - row.BackColor = Color.LimeGreen; - } - - 구매등록건수 += 1; - } - else - { - if (qty_buy < 1) - { - 비구매건수 += 1; - row.ForeColor = Color.Black; - row.BackColor = Color.White; - } - else - { - - row.ForeColor = Color.Black; - row.BackColor = Color.SkyBlue; } } } @@ -244,22 +244,15 @@ namespace FPJ0000 //prb6.Text = string.Format("전체 진행 ({0}/{1})", 비구매건수 + 구매완료건수, 전체건수); //prb6.ProgressMax = 전체건수; //prb6.ProgressValue = 비구매건수 + 구매완료건수; - prbPO.Text = string.Format("구매입력완료[PR] ({0}/{1})", PO발행, PO발행전체); - prbPO.ProgressMax = PO발행전체; - prbPO.ProgressValue = PO발행; + prb1.Text = string.Format("{0}", 구매요청건C); + + prb2.Text = string.Format("{0}", PO대상수량); + + prb3.Text = string.Format("{0}", 구매진행); + - - prb2.Text = string.Format("구매 등록 신청 ({0}/{1})", 구매등록건수, 전체건수 - 비구매건수); - prb2.ProgressMax = 전체건수 - 비구매건수; - prb2.ProgressValue = 구매등록건수; - - - - prb3.Text = string.Format("발주완료[PO] ({0}/{1})", 구매진행건수, 구매등록건수); - prb3.ProgressMax = 구매등록건수; - prb3.ProgressValue = 구매진행건수; - + //prb1.Text = string.Format("수량 검토 완료 ({0}/{1})", 검토완료건수, 전체건수); //prb1.ProgressMax = 전체건수; diff --git a/SubProject/FPJ0000/Project/fPartBuyStatus.resx b/SubProject/FPJ0000/Project/fPartBuyStatus.resx index 5e2dfa6..1125fec 100644 --- a/SubProject/FPJ0000/Project/fPartBuyStatus.resx +++ b/SubProject/FPJ0000/Project/fPartBuyStatus.resx @@ -331,20 +331,20 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALqSURBVDhPhZLrS1NhHMf3Kv+EsF70UpBSalFRL0pTmxrY - zXSYeZtTNDXRhUG2mEamLjRRoUKUohddtItObd7mnG44I3OZ2px3welSdzlHd6bfnnO2nIHQDz48L57z - /XB+33N47ITeUyVeLNMqo8q1v8OkWoqcNIecPXV0VNkAHfFYYzgjUVf6R7/Zx4V2T/jDPrXZSq8YDAaX - xb4Bi83LipWFxs9FKwo/zUJYPuYQZCl8PFH3RJZozGx4YNoJ3QwD3SwD7TQDzdQmVL820DZqxwYDNI9R - KPwwg5SnBuofSZi0jVp3bGJozoWvcww5GQxykk30GjfwZdRBBFsYWnRBt+BEsWIWwXe7XnPhWHmQ6bo0 - eltccxUp1ddQ3d6AokY5gqUBCCIIik8jVHYCFc0V3Co2msHSqgOhCb0MJ4gpC37XNdKClokXqNbmc5KE - qgjkv4pHdoMQotpLSK5NRvPwEloMNnz+vo410lOYrI/mBIJKgY+/NMelHe/ByxEZSlVZnCSxJpKELyP9 - WRrURju3SucEBSXpYdXuRFhRv1vATnhJL51blwS9UYNa3R086shDrPw8EquioZ92QE+KZQtWT7o7sRBB - qGyX4Ox9qfNkwSHEVwowNDmA4p4MyBS5ED4JQYPqI77NM9CTYgemnOgnmK1OBD/wCI5JfMV8yUFk18fh - Rk044ioucJJcRTwkjWnkTULA3g/NujDIfmKClRQZmKNxC/iS/fN8yQHykC/4+b64UhqCzOdJUI8qUaws - QMbbJIhqYqAnAh35N7REQDu3iEDlXeFcTh+9uEZjeN7F0Tu+gNt16UglQXGtEHn1t3buWBybLiJo8gpY - 25zFK/gfdnaFtF2CU7ndjob3rdt7PbwX3d3dW0cSmm2eOCkyvcM0s+6wshemZQomMwWjh2Wbk4Nt3ka7 - wxRFrfndbP3hifN4x9PbMwNFbR1HxUpLoLiJ3iHVTcBfRE20n6h19XBya2dAkiKFx+Px/gAjiZ48us3T - TgAAAABJRU5ErkJggg== + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALrSURBVDhPhZLrS1NhHMf3qv6EsF70UpBSalFRL0pTmxrY + zVTMvM0pmprowiBbTCNTF5qoUGFK0YsM7aJTmzq3ObfhjMxlavM2L+BlqbucozvTb885W2og9IMPz4vn + fD+c3/ccHjsh91WJl8r0ishy/e9QiZ4iJ80hY08DHVmmo8OfaE1nxZpKv6h3+7jQ7gl71KtZtNHLJpPJ + bXWsw2rfYdnGQuPnvA2FnyyILR9xCrLk+71Rz0SUaBfZsG7KBcM0A4OFgX6KgXZyA6pf62gfdmCdAVpG + KBR+mEbKMxP1jyRU0k6tOTcwMOPG1xmGnAz6OckG1OZ1fBl2EsEmBubdMMy5UCy3IOhe91suHCMLnLgh + idoS1VxDSvV1VHc0oKhJhiCJPwIJguIzCJGeREVLBbeKnWawsOJESIKa4QTRZUHvu4da0Tr2EtX6fE6S + UBWO/DfxyG6IhbD2MpJrk9EyuIBWkx2fv69hlfQUKu2lOYGgUrDfT5Lj1o/24PWQFKWqLE6SWBNBwleQ + /jwNGrODW6VrjIKC9LDicCG0qM8jYCesRE3n1iXBaNai1nAXjzvzECO7gMSqKBinnDCSYtmCNeOeTqxE + ECLdJTj3QOI6VXAY8ZUCDIzrUNyTAak8F7FPg9Gg+ohvswyMpFjdpAt9hEWbC0EPvYLjYh8RX3wI2fVx + uFkThriKi5wkVx4PcVMaeZNgsPcDFjf62U9MsJEiA3K0HgFffGCWLz5IHvIBP98HV0uDkfkiCZphBYoV + BchoTIKwJhpGIjCQf0NPBLRrkwhUOyucz+ml51dpDM66OdSjc7hTl45UEhTVxiKv/vb2HYtzw00EzTsC + 1jZj3RH8Dwe7QtouwelcpfNVY+vWXg/vhVKp3Dya0GL3xkmR6Z0T02tOG3sxsURhYpGC2cuS3cXBNm+n + PWGKolZ9b7X98MZ5vBPpHZkBwvbOYyKFNUDUTG+T6sH/L8Jm2lfYtnIkua3LP0mewuPxeH8AHzOeNmKs + NtAAAAAASUVORK5CYII= diff --git a/SubProject/FPJ0000/Project/fPartList.Designer.cs b/SubProject/FPJ0000/Project/fPartList.Designer.cs index 98808a9..a0ad6de 100644 --- a/SubProject/FPJ0000/Project/fPartList.Designer.cs +++ b/SubProject/FPJ0000/Project/fPartList.Designer.cs @@ -93,12 +93,6 @@ this.tbIdx = new System.Windows.Forms.TextBox(); this.nameTextBox = new System.Windows.Forms.TextBox(); this.pdateTextBox = new System.Windows.Forms.TextBox(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.prb2 = new arCtl.arLabel(); - this.prb5 = new arCtl.arLabel(); - this.prb4 = new arCtl.arLabel(); - this.prb3 = new arCtl.arLabel(); - this.prbPO = new arCtl.arLabel(); this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -141,6 +135,12 @@ this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.prb3 = new arCtl.arLabel(); + this.prb4 = new arCtl.arLabel(); + this.prb5 = new arCtl.arLabel(); + this.prb1 = new arCtl.arLabel(); + this.prb2 = new arCtl.arLabel(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); pdateLabel = new System.Windows.Forms.Label(); requestLabel = new System.Windows.Forms.Label(); reqstaffLabel = new System.Windows.Forms.Label(); @@ -154,13 +154,13 @@ this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit(); - this.tableLayoutPanel1.SuspendLayout(); this.cm1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bsPart)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); this.bn.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); + this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // pdateLabel @@ -547,260 +547,6 @@ this.pdateTextBox.TabIndex = 5; this.pdateTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.ColumnCount = 5; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); - this.tableLayoutPanel1.Controls.Add(this.prb2, 1, 0); - this.tableLayoutPanel1.Controls.Add(this.prb5, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.prb4, 4, 0); - this.tableLayoutPanel1.Controls.Add(this.prb3, 3, 0); - this.tableLayoutPanel1.Controls.Add(this.prbPO, 2, 0); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 119); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 1; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(1345, 51); - this.tableLayoutPanel1.TabIndex = 33; - // - // prb2 - // - this.prb2.BackColor = System.Drawing.Color.SkyBlue; - this.prb2.BackColor2 = System.Drawing.Color.SkyBlue; - this.prb2.BackgroundImagePadding = new System.Windows.Forms.Padding(0); - this.prb2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); - this.prb2.BorderColorOver = System.Drawing.Color.Red; - this.prb2.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); - this.prb2.ColorTheme = arCtl.arLabel.eColorTheme.Custom; - this.prb2.Cursor = System.Windows.Forms.Cursors.Arrow; - this.prb2.Dock = System.Windows.Forms.DockStyle.Fill; - this.prb2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.prb2.ForeColor = System.Drawing.Color.Black; - this.prb2.GradientEnable = true; - this.prb2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; - this.prb2.GradientRepeatBG = false; - this.prb2.isButton = false; - this.prb2.Location = new System.Drawing.Point(274, 5); - this.prb2.Margin = new System.Windows.Forms.Padding(5); - this.prb2.MouseDownColor = System.Drawing.Color.Yellow; - this.prb2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.prb2.msg = null; - this.prb2.Name = "prb2"; - this.prb2.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); - this.prb2.ProgressBorderColor = System.Drawing.Color.Black; - this.prb2.ProgressColor1 = System.Drawing.Color.Yellow; - this.prb2.ProgressColor2 = System.Drawing.Color.Gold; - this.prb2.ProgressEnable = true; - this.prb2.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); - this.prb2.ProgressForeColor = System.Drawing.Color.Black; - this.prb2.ProgressMax = 100F; - this.prb2.ProgressMin = 0F; - this.prb2.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); - this.prb2.ProgressValue = 50F; - this.prb2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.prb2.Sign = ""; - this.prb2.SignAlign = System.Drawing.ContentAlignment.BottomRight; - this.prb2.SignColor = System.Drawing.Color.Yellow; - this.prb2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.prb2.Size = new System.Drawing.Size(259, 41); - this.prb2.TabIndex = 32; - this.prb2.Text = "구매 등록 신청"; - this.prb2.TextAlign = System.Drawing.ContentAlignment.TopCenter; - this.prb2.TextShadow = false; - this.prb2.TextVisible = true; - // - // prb5 - // - this.prb5.BackColor = System.Drawing.Color.White; - this.prb5.BackColor2 = System.Drawing.Color.Gainsboro; - this.prb5.BackgroundImagePadding = new System.Windows.Forms.Padding(0); - this.prb5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); - this.prb5.BorderColorOver = System.Drawing.Color.Red; - this.prb5.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); - this.prb5.ColorTheme = arCtl.arLabel.eColorTheme.Custom; - this.prb5.Cursor = System.Windows.Forms.Cursors.Arrow; - this.prb5.Dock = System.Windows.Forms.DockStyle.Fill; - this.prb5.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.prb5.ForeColor = System.Drawing.Color.Black; - this.prb5.GradientEnable = true; - this.prb5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; - this.prb5.GradientRepeatBG = false; - this.prb5.isButton = false; - this.prb5.Location = new System.Drawing.Point(5, 5); - this.prb5.Margin = new System.Windows.Forms.Padding(5); - this.prb5.MouseDownColor = System.Drawing.Color.Yellow; - this.prb5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.prb5.msg = null; - this.prb5.Name = "prb5"; - this.prb5.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); - this.prb5.ProgressBorderColor = System.Drawing.Color.Black; - this.prb5.ProgressColor1 = System.Drawing.Color.Yellow; - this.prb5.ProgressColor2 = System.Drawing.Color.Gold; - this.prb5.ProgressEnable = true; - this.prb5.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); - this.prb5.ProgressForeColor = System.Drawing.Color.Black; - this.prb5.ProgressMax = 100F; - this.prb5.ProgressMin = 0F; - this.prb5.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); - this.prb5.ProgressValue = 50F; - this.prb5.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.prb5.Sign = ""; - this.prb5.SignAlign = System.Drawing.ContentAlignment.BottomRight; - this.prb5.SignColor = System.Drawing.Color.Yellow; - this.prb5.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.prb5.Size = new System.Drawing.Size(259, 41); - this.prb5.TabIndex = 32; - this.prb5.Text = "비 구매"; - this.prb5.TextAlign = System.Drawing.ContentAlignment.TopCenter; - this.prb5.TextShadow = false; - this.prb5.TextVisible = true; - this.toolTip1.SetToolTip(this.prb5, "전체 수량 중 구매 불필요 수량"); - // - // prb4 - // - this.prb4.BackColor = System.Drawing.Color.LightGreen; - this.prb4.BackColor2 = System.Drawing.Color.Lime; - this.prb4.BackgroundImagePadding = new System.Windows.Forms.Padding(0); - this.prb4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); - this.prb4.BorderColorOver = System.Drawing.Color.Red; - this.prb4.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); - this.prb4.ColorTheme = arCtl.arLabel.eColorTheme.Custom; - this.prb4.Cursor = System.Windows.Forms.Cursors.Arrow; - this.prb4.Dock = System.Windows.Forms.DockStyle.Fill; - this.prb4.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.prb4.ForeColor = System.Drawing.Color.Black; - this.prb4.GradientEnable = true; - this.prb4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; - this.prb4.GradientRepeatBG = false; - this.prb4.isButton = false; - this.prb4.Location = new System.Drawing.Point(1081, 5); - this.prb4.Margin = new System.Windows.Forms.Padding(5); - this.prb4.MouseDownColor = System.Drawing.Color.Yellow; - this.prb4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.prb4.msg = null; - this.prb4.Name = "prb4"; - this.prb4.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); - this.prb4.ProgressBorderColor = System.Drawing.Color.Black; - this.prb4.ProgressColor1 = System.Drawing.Color.Yellow; - this.prb4.ProgressColor2 = System.Drawing.Color.Gold; - this.prb4.ProgressEnable = true; - this.prb4.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); - this.prb4.ProgressForeColor = System.Drawing.Color.Black; - this.prb4.ProgressMax = 100F; - this.prb4.ProgressMin = 0F; - this.prb4.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); - this.prb4.ProgressValue = 50F; - this.prb4.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.prb4.Sign = ""; - this.prb4.SignAlign = System.Drawing.ContentAlignment.BottomRight; - this.prb4.SignColor = System.Drawing.Color.Yellow; - this.prb4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.prb4.Size = new System.Drawing.Size(259, 41); - this.prb4.TabIndex = 32; - this.prb4.Text = "구매 완료"; - this.prb4.TextAlign = System.Drawing.ContentAlignment.TopCenter; - this.prb4.TextShadow = false; - this.prb4.TextVisible = true; - this.toolTip1.SetToolTip(this.prb4, "구매대상 중 구매완료 율"); - // - // prb3 - // - this.prb3.BackColor = System.Drawing.Color.Magenta; - this.prb3.BackColor2 = System.Drawing.Color.DarkMagenta; - this.prb3.BackgroundImagePadding = new System.Windows.Forms.Padding(0); - this.prb3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); - this.prb3.BorderColorOver = System.Drawing.Color.Red; - this.prb3.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); - this.prb3.ColorTheme = arCtl.arLabel.eColorTheme.Custom; - this.prb3.Cursor = System.Windows.Forms.Cursors.Arrow; - this.prb3.Dock = System.Windows.Forms.DockStyle.Fill; - this.prb3.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.prb3.ForeColor = System.Drawing.Color.Black; - this.prb3.GradientEnable = true; - this.prb3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; - this.prb3.GradientRepeatBG = false; - this.prb3.isButton = false; - this.prb3.Location = new System.Drawing.Point(812, 5); - this.prb3.Margin = new System.Windows.Forms.Padding(5); - this.prb3.MouseDownColor = System.Drawing.Color.Yellow; - this.prb3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.prb3.msg = null; - this.prb3.Name = "prb3"; - this.prb3.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); - this.prb3.ProgressBorderColor = System.Drawing.Color.Black; - this.prb3.ProgressColor1 = System.Drawing.Color.Yellow; - this.prb3.ProgressColor2 = System.Drawing.Color.Gold; - this.prb3.ProgressEnable = true; - this.prb3.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); - this.prb3.ProgressForeColor = System.Drawing.Color.Black; - this.prb3.ProgressMax = 100F; - this.prb3.ProgressMin = 0F; - this.prb3.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); - this.prb3.ProgressValue = 50F; - this.prb3.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.prb3.Sign = ""; - this.prb3.SignAlign = System.Drawing.ContentAlignment.BottomRight; - this.prb3.SignColor = System.Drawing.Color.Yellow; - this.prb3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.prb3.Size = new System.Drawing.Size(259, 41); - this.prb3.TabIndex = 32; - this.prb3.Text = "구매 진행 중"; - this.prb3.TextAlign = System.Drawing.ContentAlignment.TopCenter; - this.prb3.TextShadow = false; - this.prb3.TextVisible = true; - this.toolTip1.SetToolTip(this.prb3, "구매대상 중 구매"); - // - // prbPO - // - this.prbPO.BackColor = System.Drawing.Color.OrangeRed; - this.prbPO.BackColor2 = System.Drawing.Color.Orange; - this.prbPO.BackgroundImagePadding = new System.Windows.Forms.Padding(0); - this.prbPO.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); - this.prbPO.BorderColorOver = System.Drawing.Color.Red; - this.prbPO.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); - this.prbPO.ColorTheme = arCtl.arLabel.eColorTheme.Custom; - this.prbPO.Cursor = System.Windows.Forms.Cursors.Arrow; - this.prbPO.Dock = System.Windows.Forms.DockStyle.Fill; - this.prbPO.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.prbPO.ForeColor = System.Drawing.Color.Black; - this.prbPO.GradientEnable = true; - this.prbPO.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; - this.prbPO.GradientRepeatBG = false; - this.prbPO.isButton = false; - this.prbPO.Location = new System.Drawing.Point(543, 5); - this.prbPO.Margin = new System.Windows.Forms.Padding(5); - this.prbPO.MouseDownColor = System.Drawing.Color.Yellow; - this.prbPO.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.prbPO.msg = null; - this.prbPO.Name = "prbPO"; - this.prbPO.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); - this.prbPO.ProgressBorderColor = System.Drawing.Color.Black; - this.prbPO.ProgressColor1 = System.Drawing.Color.Yellow; - this.prbPO.ProgressColor2 = System.Drawing.Color.Gold; - this.prbPO.ProgressEnable = true; - this.prbPO.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); - this.prbPO.ProgressForeColor = System.Drawing.Color.Black; - this.prbPO.ProgressMax = 100F; - this.prbPO.ProgressMin = 0F; - this.prbPO.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); - this.prbPO.ProgressValue = 50F; - this.prbPO.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.prbPO.Sign = ""; - this.prbPO.SignAlign = System.Drawing.ContentAlignment.BottomRight; - this.prbPO.SignColor = System.Drawing.Color.Yellow; - this.prbPO.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.prbPO.Size = new System.Drawing.Size(259, 41); - this.prbPO.TabIndex = 32; - this.prbPO.Text = "PO 발행"; - this.prbPO.TextAlign = System.Drawing.ContentAlignment.TopCenter; - this.prbPO.TextShadow = false; - this.prbPO.TextVisible = true; - // // cm1 // this.cm1.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); @@ -1422,6 +1168,260 @@ this.fpSpread1_Sheet1.TitleInfo.Value = "Partlist"; this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // + // prb3 + // + this.prb3.BackColor = System.Drawing.Color.OrangeRed; + this.prb3.BackColor2 = System.Drawing.Color.Orange; + this.prb3.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.prb3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); + this.prb3.BorderColorOver = System.Drawing.Color.Red; + this.prb3.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); + this.prb3.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.prb3.Cursor = System.Windows.Forms.Cursors.Arrow; + this.prb3.Dock = System.Windows.Forms.DockStyle.Fill; + this.prb3.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.prb3.ForeColor = System.Drawing.Color.Black; + this.prb3.GradientEnable = true; + this.prb3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; + this.prb3.GradientRepeatBG = false; + this.prb3.isButton = false; + this.prb3.Location = new System.Drawing.Point(543, 5); + this.prb3.Margin = new System.Windows.Forms.Padding(5); + this.prb3.MouseDownColor = System.Drawing.Color.Yellow; + this.prb3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.prb3.msg = null; + this.prb3.Name = "prb3"; + this.prb3.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); + this.prb3.ProgressBorderColor = System.Drawing.Color.Black; + this.prb3.ProgressColor1 = System.Drawing.Color.Yellow; + this.prb3.ProgressColor2 = System.Drawing.Color.Gold; + this.prb3.ProgressEnable = false; + this.prb3.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); + this.prb3.ProgressForeColor = System.Drawing.Color.Black; + this.prb3.ProgressMax = 100F; + this.prb3.ProgressMin = 0F; + this.prb3.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); + this.prb3.ProgressValue = 50F; + this.prb3.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); + this.prb3.Sign = ""; + this.prb3.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.prb3.SignColor = System.Drawing.Color.Yellow; + this.prb3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); + this.prb3.Size = new System.Drawing.Size(259, 41); + this.prb3.TabIndex = 32; + this.prb3.Text = "PO대기"; + this.prb3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.prb3.TextShadow = false; + this.prb3.TextVisible = true; + // + // prb4 + // + this.prb4.BackColor = System.Drawing.Color.Magenta; + this.prb4.BackColor2 = System.Drawing.Color.DarkMagenta; + this.prb4.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.prb4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); + this.prb4.BorderColorOver = System.Drawing.Color.Red; + this.prb4.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); + this.prb4.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.prb4.Cursor = System.Windows.Forms.Cursors.Arrow; + this.prb4.Dock = System.Windows.Forms.DockStyle.Fill; + this.prb4.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.prb4.ForeColor = System.Drawing.Color.Black; + this.prb4.GradientEnable = true; + this.prb4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; + this.prb4.GradientRepeatBG = false; + this.prb4.isButton = false; + this.prb4.Location = new System.Drawing.Point(812, 5); + this.prb4.Margin = new System.Windows.Forms.Padding(5); + this.prb4.MouseDownColor = System.Drawing.Color.Yellow; + this.prb4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.prb4.msg = null; + this.prb4.Name = "prb4"; + this.prb4.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); + this.prb4.ProgressBorderColor = System.Drawing.Color.Black; + this.prb4.ProgressColor1 = System.Drawing.Color.Yellow; + this.prb4.ProgressColor2 = System.Drawing.Color.Gold; + this.prb4.ProgressEnable = false; + this.prb4.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); + this.prb4.ProgressForeColor = System.Drawing.Color.Black; + this.prb4.ProgressMax = 100F; + this.prb4.ProgressMin = 0F; + this.prb4.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); + this.prb4.ProgressValue = 50F; + this.prb4.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); + this.prb4.Sign = ""; + this.prb4.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.prb4.SignColor = System.Drawing.Color.Yellow; + this.prb4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); + this.prb4.Size = new System.Drawing.Size(259, 41); + this.prb4.TabIndex = 32; + this.prb4.Text = "구매진행중"; + this.prb4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.prb4.TextShadow = false; + this.prb4.TextVisible = true; + this.toolTip1.SetToolTip(this.prb4, "구매대상 중 구매"); + // + // prb5 + // + this.prb5.BackColor = System.Drawing.Color.LightGreen; + this.prb5.BackColor2 = System.Drawing.Color.Lime; + this.prb5.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.prb5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); + this.prb5.BorderColorOver = System.Drawing.Color.Red; + this.prb5.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); + this.prb5.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.prb5.Cursor = System.Windows.Forms.Cursors.Arrow; + this.prb5.Dock = System.Windows.Forms.DockStyle.Fill; + this.prb5.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.prb5.ForeColor = System.Drawing.Color.Black; + this.prb5.GradientEnable = true; + this.prb5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; + this.prb5.GradientRepeatBG = false; + this.prb5.isButton = false; + this.prb5.Location = new System.Drawing.Point(1081, 5); + this.prb5.Margin = new System.Windows.Forms.Padding(5); + this.prb5.MouseDownColor = System.Drawing.Color.Yellow; + this.prb5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.prb5.msg = null; + this.prb5.Name = "prb5"; + this.prb5.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); + this.prb5.ProgressBorderColor = System.Drawing.Color.Black; + this.prb5.ProgressColor1 = System.Drawing.Color.Yellow; + this.prb5.ProgressColor2 = System.Drawing.Color.Gold; + this.prb5.ProgressEnable = false; + this.prb5.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); + this.prb5.ProgressForeColor = System.Drawing.Color.Black; + this.prb5.ProgressMax = 100F; + this.prb5.ProgressMin = 0F; + this.prb5.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); + this.prb5.ProgressValue = 50F; + this.prb5.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); + this.prb5.Sign = ""; + this.prb5.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.prb5.SignColor = System.Drawing.Color.Yellow; + this.prb5.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); + this.prb5.Size = new System.Drawing.Size(259, 41); + this.prb5.TabIndex = 32; + this.prb5.Text = "구매 완료"; + this.prb5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.prb5.TextShadow = false; + this.prb5.TextVisible = true; + this.toolTip1.SetToolTip(this.prb5, "구매대상 중 구매완료 율"); + // + // prb1 + // + this.prb1.BackColor = System.Drawing.Color.White; + this.prb1.BackColor2 = System.Drawing.Color.Gainsboro; + this.prb1.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.prb1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); + this.prb1.BorderColorOver = System.Drawing.Color.Red; + this.prb1.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); + this.prb1.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.prb1.Cursor = System.Windows.Forms.Cursors.Arrow; + this.prb1.Dock = System.Windows.Forms.DockStyle.Fill; + this.prb1.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.prb1.ForeColor = System.Drawing.Color.Black; + this.prb1.GradientEnable = true; + this.prb1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; + this.prb1.GradientRepeatBG = false; + this.prb1.isButton = false; + this.prb1.Location = new System.Drawing.Point(5, 5); + this.prb1.Margin = new System.Windows.Forms.Padding(5); + this.prb1.MouseDownColor = System.Drawing.Color.Yellow; + this.prb1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.prb1.msg = null; + this.prb1.Name = "prb1"; + this.prb1.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); + this.prb1.ProgressBorderColor = System.Drawing.Color.Black; + this.prb1.ProgressColor1 = System.Drawing.Color.Yellow; + this.prb1.ProgressColor2 = System.Drawing.Color.Gold; + this.prb1.ProgressEnable = false; + this.prb1.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); + this.prb1.ProgressForeColor = System.Drawing.Color.Black; + this.prb1.ProgressMax = 100F; + this.prb1.ProgressMin = 0F; + this.prb1.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); + this.prb1.ProgressValue = 50F; + this.prb1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); + this.prb1.Sign = ""; + this.prb1.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.prb1.SignColor = System.Drawing.Color.Yellow; + this.prb1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); + this.prb1.Size = new System.Drawing.Size(259, 41); + this.prb1.TabIndex = 32; + this.prb1.Text = "비 구매"; + this.prb1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.prb1.TextShadow = false; + this.prb1.TextVisible = true; + this.toolTip1.SetToolTip(this.prb1, "전체 수량 중 구매 불필요 수량"); + // + // prb2 + // + this.prb2.BackColor = System.Drawing.Color.SkyBlue; + this.prb2.BackColor2 = System.Drawing.Color.SkyBlue; + this.prb2.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.prb2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); + this.prb2.BorderColorOver = System.Drawing.Color.Red; + this.prb2.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); + this.prb2.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.prb2.Cursor = System.Windows.Forms.Cursors.Arrow; + this.prb2.Dock = System.Windows.Forms.DockStyle.Fill; + this.prb2.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.prb2.ForeColor = System.Drawing.Color.Black; + this.prb2.GradientEnable = true; + this.prb2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; + this.prb2.GradientRepeatBG = false; + this.prb2.isButton = false; + this.prb2.Location = new System.Drawing.Point(274, 5); + this.prb2.Margin = new System.Windows.Forms.Padding(5); + this.prb2.MouseDownColor = System.Drawing.Color.Yellow; + this.prb2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.prb2.msg = null; + this.prb2.Name = "prb2"; + this.prb2.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); + this.prb2.ProgressBorderColor = System.Drawing.Color.Black; + this.prb2.ProgressColor1 = System.Drawing.Color.Yellow; + this.prb2.ProgressColor2 = System.Drawing.Color.Gold; + this.prb2.ProgressEnable = false; + this.prb2.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); + this.prb2.ProgressForeColor = System.Drawing.Color.Black; + this.prb2.ProgressMax = 100F; + this.prb2.ProgressMin = 0F; + this.prb2.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); + this.prb2.ProgressValue = 50F; + this.prb2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); + this.prb2.Sign = ""; + this.prb2.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.prb2.SignColor = System.Drawing.Color.Yellow; + this.prb2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); + this.prb2.Size = new System.Drawing.Size(259, 41); + this.prb2.TabIndex = 32; + this.prb2.Text = "구매요청건"; + this.prb2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.prb2.TextShadow = false; + this.prb2.TextVisible = true; + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.ColumnCount = 5; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); + this.tableLayoutPanel1.Controls.Add(this.prb2, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.prb1, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.prb5, 4, 0); + this.tableLayoutPanel1.Controls.Add(this.prb4, 3, 0); + this.tableLayoutPanel1.Controls.Add(this.prb3, 2, 0); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 119); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 1; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1345, 51); + this.tableLayoutPanel1.TabIndex = 33; + // // fPartList // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); @@ -1439,7 +1439,6 @@ this.panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit(); - this.tableLayoutPanel1.ResumeLayout(false); this.cm1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.bsPart)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); @@ -1447,6 +1446,7 @@ this.bn.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); + this.tableLayoutPanel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); @@ -1510,15 +1510,9 @@ private System.Windows.Forms.ToolStripButton toolStripButton7; private System.Windows.Forms.Button button2; private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; - private arCtl.arLabel prb2; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; - private arCtl.arLabel prb3; - private arCtl.arLabel prb4; - private arCtl.arLabel prb5; private System.Windows.Forms.ToolTip toolTip1; private System.Windows.Forms.Button btConf; private System.Windows.Forms.ToolStripButton toolStripButton1; - private arCtl.arLabel prbPO; private System.Windows.Forms.Panel panel2; private System.Windows.Forms.Panel panel5; private System.Windows.Forms.Panel panel4; @@ -1529,5 +1523,11 @@ private System.Windows.Forms.Button button4; private System.Windows.Forms.Panel panel7; private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; + private arCtl.arLabel prb2; + private arCtl.arLabel prb1; + private arCtl.arLabel prb5; + private arCtl.arLabel prb4; + private arCtl.arLabel prb3; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fPartList.cs b/SubProject/FPJ0000/Project/fPartList.cs index 3f31c19..09b2d26 100644 --- a/SubProject/FPJ0000/Project/fPartList.cs +++ b/SubProject/FPJ0000/Project/fPartList.cs @@ -70,7 +70,7 @@ namespace FPJ0000 void fPartList_KeyDown(object sender, KeyEventArgs e) { //if (e.KeyCode == Keys.Escape) this.Close(); - if (e.KeyCode == Keys.F5) searchpmp(); + if (e.KeyCode == Keys.F5) searchpmp(); } void fPartList_FormClosed(object sender, FormClosedEventArgs e) @@ -192,14 +192,14 @@ namespace FPJ0000 var col_bconf = this.fpSpread1.ActiveSheet.Columns["bconfirm"].Index; //구매확정 var col_cancel = this.fpSpread1.ActiveSheet.Columns["cancel"].Index; //구매확정 - var PO발행 = 0; - var PR발행전체 = 0; - var 전체건수 = 0; - var 비구매건수 = 0; - var 구매진행건수 = 0; - var 구매완료건수 = 0; - var 구매등록건수 = 0; - //var 검토완료건수 = 0; + + var 전체건수 = 0; //전체자료 + var 비구매 = 0; //구매수량이 입력안된자료 + var 구매요청 = 0; //PR이 체크안된고 구매수량이 입력된 자료 + var PO대기 = 0; //PR이 체크되어있으나 PO가 체크안된데이터 + var 구매진행 = 0; // PO가 체크되어있으나 입고수량이 구매수량보다 적은 경우 + var 구매완료 = 0; // 입고수량 >= 구매수량 + for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) { @@ -220,23 +220,11 @@ namespace FPJ0000 if (db_cancel != null) b_cancel = (bool)db_cancel; //var value_bconf = this.fpSpread1.ActiveSheet.GetValue(i, col_bconf); - Boolean breq = false; - Boolean bconf = false; + Boolean bPR = false; + Boolean bPO = false; - if (value_bbuy != null) breq = (Boolean)value_bbuy; - if (value_bconf != null) bconf = (Boolean)value_bconf; - - if (breq) PR발행전체 += 1; - // if (bbuy && string.IsNullOrEmpty(value_supply)) - - //if(b_cancel) - //{ - // row.Font = new Font("맑은 고딕",10f, FontStyle.Strikeout); - //} - //else - //{ - // row.Font = new Font("맑은 고딕", 10f, FontStyle.Regular); - //} + if (value_bbuy != null) bPR = (Boolean)value_bbuy; //PR체크박스 + if (value_bconf != null) bPO = (Boolean)value_bconf; //PO체크박스 전체건수 += 1; @@ -246,88 +234,56 @@ namespace FPJ0000 if (value_in != null) qty_in = (int)value_in; if (value_buy != null) qty_buy = (int)value_buy; - if(b_cancel) + if (qty_buy < 1) //비구매건 { - row.ForeColor = Color.White; - row.BackColor = Color.Red; + 비구매 += 1; + row.ForeColor = Color.Black; + row.BackColor = Color.White; } - - else if (breq) + else { - if (qty_in == 0 && bconf == false) + //여기서부터는 무조건 구매대상이다 + if (bPR == false) { - //입고량이 0인데 공급사가 없다면 PO발행대기건 + 구매요청 += 1; + row.ForeColor = Color.Black; + row.BackColor = Color.SkyBlue; + } + else if (bPO == false) + { + PO대기 += 1; row.ForeColor = Color.White; row.BackColor = Color.OrangeRed; - PO발행 += 1; } - //구매진행중인데 수량이 다르면 색상 변경 - else if (qty_in < qty_buy) + else { - //공급사가 없다면 ㅔo발행건으로 한다. - if (qty_buy < 1) + if (qty_in < qty_buy) { - row.ForeColor = Color.Red; + 구매진행 += 1; + row.ForeColor = Color.White; row.BackColor = Color.DarkMagenta; } else { - row.ForeColor = Color.White; - row.BackColor = Color.DarkMagenta; + 구매완료 += 1; + row.ForeColor = Color.Black; + row.BackColor = Color.LimeGreen; } - 구매진행건수 += 1; - - } - else - { - 구매완료건수 += 1; - row.ForeColor = Color.Black; - row.BackColor = Color.LimeGreen; - } - - 구매등록건수 += 1; - } - else - { - if (qty_buy < 1) - { - 비구매건수 += 1; - row.ForeColor = Color.Black; - row.BackColor = Color.White; - } - else - { - - row.ForeColor = Color.Black; - row.BackColor = Color.SkyBlue; } } } //프로그레시브입력 - //prb6.Text = string.Format("전체 진행 ({0}/{1})", 비구매건수 + 구매완료건수, 전체건수); - //prb6.ProgressMax = 전체건수; - //prb6.ProgressValue = 비구매건수 + 구매완료건수; - prbPO.Text = string.Format("구매입력완료[PR] ({0}/{1})", PO발행, PR발행전체); - prbPO.ProgressMax = PR발행전체; - prbPO.ProgressValue = PO발행; - prb5.Text = string.Format("비 구매 ({0}/{1})", 비구매건수, 전체건수); - prb5.ProgressMax = 전체건수; - prb5.ProgressValue = 비구매건수; - prb2.Text = string.Format("구매 등록 신청 ({0}/{1})", 구매등록건수, 전체건수 - 비구매건수); - prb2.ProgressMax = 전체건수 - 비구매건수; - prb2.ProgressValue = 구매등록건수; - prb4.Text = string.Format("구매 완료 ({0}/{1})", 구매완료건수, 구매등록건수); - prb4.ProgressMax = 구매등록건수; - prb4.ProgressValue = 구매완료건수; - - prb3.Text = string.Format("발주완료[PO] ({0}/{1})", 구매진행건수, 구매등록건수); - prb3.ProgressMax = 구매등록건수; - prb3.ProgressValue = 구매진행건수; + prb1.Text = string.Format("비 구매 ({0})", 비구매); + prb2.Text = string.Format("구매요청 ({0})", 구매요청); + prb3.Text = string.Format("발주대기 ({0})", PO대기); + prb4.Text = string.Format("구매진행 ({0})", 구매진행); + var 구매율 = (구매완료 + 비구매) / (전체건수 * 1.0); + prb5.Text = string.Format("구매완료 ({0:N0}%)", 구매율 * 100.0); //prb1.Text = string.Format("수량 검토 완료 ({0}/{1})", 검토완료건수, 전체건수); //prb1.ProgressMax = 전체건수; diff --git a/SubProject/FPJ0000/Project/fPartList.resx b/SubProject/FPJ0000/Project/fPartList.resx index 216cc10..425d4be 100644 --- a/SubProject/FPJ0000/Project/fPartList.resx +++ b/SubProject/FPJ0000/Project/fPartList.resx @@ -396,20 +396,20 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALwSURBVDhPhZLrS1NhHMf3Kv+EsF70UpBSyqioF6WpTQ3s - Zipm3uYUTU10YZAtppF5CU1UqBCl6EWFlunU5m2bc1tO01ymplPnBbwsdZdzdGfz23POlhoI/eDD8+I5 - 3w/n9z2Hx07QA3n85RKNLLxU8ztYrKHISXOUsaeWDi9R06FPVfpzImWFd8S7A1xo74Q87lUum+lVvV7v - MFk3YbLssmpmofFz0Yz8JiOiS8ds/AyphzvqmrAi1TIbVs/YoZ1loDUy0MwwUE1vQf5rE22jVmwyQPMY - hfyPs0h6rqf+kQSL26gN2xYG5hwYnGPIyaCfk2xBMbmJL6M2InBiYNEB7YIdhVIjAu53veXCUWX+hpvi - iG1h9XUkVd1AVXs9ChrKECD2gT+BX3gWQZJTKG8u51ax0AyW1mwIilMwnCCyJOBD10gLWiZeoUqTy0ni - KkOR+yYWmfXRENRcQWJNIpqHl9Cit+Dz9w2sk56CJb00J+BX8D28xVkOzXgPXo9IUCzP4CTx1WEkfBWp - L1KgnLRyq3ROUJCRHtasdgQX9LkE7IQUKejs2gToJlWo0d7Dk44cRJVdRHxlBHQzNuhIsWzByilXJyYi - CJLsEZx/KLafzjuC2Ao+BqbUKOxJg0SajehngaiXf8LQPAMdKVY9bUcfYdlsR8Ajt+CEyFPoJzqMzLoY - 3KoOQUz5JU6SLY2FqCGFvEkg2PsBowP97CcmmEmRvlkql8BPdHDeT3SIPOQJv1xPXCsORPrLBChHZSiU - 5SHtfQIE1ZHQEYGW/BsaIqDtTiKQ765wIauXXlynMTzv4FCML+BubSqSSVBYE42cujs7dyy2LQcRNO4K - WNucaVfwP6zsCil7BGeyu21NXZrt/R7ej/7BIeexuGaLO06KTO0wzG7YzN3dX52GFQqGZQqTblYsdg62 - eQvtgLr/m5OiqHWv260/3HEe72Rqe7qvoK3juFBm8hU20jsku/D5i6CR9hK0rh1NbO30SZAm8Xg83h9w - xJ7KYy+CuAAAAABJRU5ErkJggg== + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALvSURBVDhPhZLrS1NhHMf3qv6EsF70UpBSyqioF6WpTQ3s + ZjrMvM0pmprowiBbTCNTF5qoUCFK0YsKtdKpzds2pxtukrlMzeu8gJel7nKO29n89pyzpQZCP/jwvHjO + 98P5fc/hsRP6UJl4pUyriCrX/g6TaCly0hwy9tTRUWUDdMQzjfG8WF3pF/3+ABfaO+FP+tQrFnrNaDS6 + zLYtmK27rFlYaPxcsqDwswmC8jE7P0t+0Bv1TGSJZoUND8w6oZtjoDMx0M4y0Mw4oPy1hfZRG7YYoGWM + QmHzHFJeGKl/JGGSdmrT7oBh3oWheYacDAY5iQOqyS18HbUTgRuGJRd0i04Uy00IftD9jgvHyoKmb0mi + t0U1N5BSfRPVHQ0oapQhWOKPIAK/+BxCpadR0VLBrWKlGSyv2xGaoGI4QUxZ8MfukVa0TrxGtTafkyRU + RSD/bTyyGwQQ1l5Fcm0yWoaX0Wq04sv3TWyQnsKkfTQn4FfyD/pJclza8V68GZGiVJnFSRJrIkn4GtJf + pkE9aeNW6ZqgoCA9rNucCCvq9wjYCS9R0bl1SdBPalCru4+nnXmIlV1CYlU09LN26EmxbMHqKU8nZiII + le4RXHgkcZ4pOIr4Sj4MUwMo7s2AVJ4LwfMQNCg/4dsCAz0pdmDGiX7CisWJ4MdewUmxjyhQfATZ9XG4 + XROOuIrLnCRXHg9xYxp5kxCw9waTC4PsJyZYSJEBORqPIFB8aCFQfJg85IPAfB9cLw1B5qskqEcVKFYU + IONDEoQ1MdATgY78G1oioJ1uIlDurnAxp49e2qAxvODiUI0v4l5dOlJJUFQrQF793Z07FrvDRQRNuwLW + Nm/eFfwPG7tC2h7B2dwee3Nn//Z+D++HTj/kPp7QYvXGSZHpndNzm3ZLT4/WPb1KYXqFwqSXVauTg23e + Srug0RncFEVt+N5p++GN83in0jsyA4TtnSdECnOAqIneIdWD/1+ETbSvsG39WHJbl3+SPIXH4/H+AGZa + nrYFb5VbAAAAAElFTkSuQmCC