From 6103a340e5b0431298b81136c89db7c024078a6e Mon Sep 17 00:00:00 2001 From: chi Date: Tue, 16 Jun 2020 17:34:29 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=8C=ED=8A=B8=EB=A6=AC=EC=8A=A4=ED=8A=B8,?= =?UTF-8?q?=20=EC=A7=84=ED=96=89=20=EC=9C=A8=20=EB=B0=8F=20=EC=83=89?= =?UTF-8?q?=EC=83=81=20=EA=B4=80=EB=A0=A8=20=EC=88=98=EC=A0=95=20sc?= =?UTF-8?q?=EC=B2=B4=ED=81=AC=20=EA=B8=B0=EB=8A=A5=20=EC=B6=94=EA=B0=80(jb?= =?UTF-8?q?s)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Project/Properties/AssemblyInfo.cs | 4 +- SubProject/FPJ0000/FPJ0000.csproj | 9 + .../FPJ0000/Project/fPartConfirm.Designer.cs | 186 ++- SubProject/FPJ0000/Project/fPartConfirm.cs | 37 +- SubProject/FPJ0000/Project/fPartConfirm.resx | 38 +- .../FPJ0000/Project/fPartList.Designer.cs | 638 +++++----- SubProject/FPJ0000/Project/fPartList.cs | 172 ++- SubProject/FPJ0000/Project/fPartList.resx | 69 +- .../FPJ0000/Project/fProjectList.Designer.cs | 255 ++-- SubProject/FPJ0000/Project/fProjectList.cs | 17 +- SubProject/FPJ0000/Project/fProjectList.resx | 51 +- .../FPJ0000/Project/fSCCheck.Designer.cs | 710 +++++++++++ SubProject/FPJ0000/Project/fSCCheck.cs | 311 +++++ SubProject/FPJ0000/Project/fSCCheck.resx | 200 ++++ .../FPJ0000/Project/rPartList.Designer.cs | 143 +-- SubProject/FPJ0000/Project/rPartList.cs | 7 +- SubProject/FPJ0000/Project/rPartList.resx | 2 +- SubProject/FPJ0000/dsPRJ.Designer.cs | 1034 +++++++++++++++-- SubProject/FPJ0000/dsPRJ.xsd | 98 +- SubProject/FPJ0000/dsPRJ.xss | 21 +- 20 files changed, 3080 insertions(+), 922 deletions(-) create mode 100644 SubProject/FPJ0000/Project/fSCCheck.Designer.cs create mode 100644 SubProject/FPJ0000/Project/fSCCheck.cs create mode 100644 SubProject/FPJ0000/Project/fSCCheck.resx diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs index 2706141..d1363f6 100644 --- a/Project/Properties/AssemblyInfo.cs +++ b/Project/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 지정되도록 할 수 있습니다. // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("20.06.12.0900")] -[assembly: AssemblyFileVersion("20.06.12.0900")] +[assembly: AssemblyVersion("20.06.16.1730")] +[assembly: AssemblyFileVersion("20.06.16.1730")] diff --git a/SubProject/FPJ0000/FPJ0000.csproj b/SubProject/FPJ0000/FPJ0000.csproj index ac2d71b..6d5a0dd 100644 --- a/SubProject/FPJ0000/FPJ0000.csproj +++ b/SubProject/FPJ0000/FPJ0000.csproj @@ -197,6 +197,12 @@ fProjectIOMap.cs + + Form + + + fSCCheck.cs + Form @@ -328,6 +334,9 @@ fProjectIOMap.cs + + fSCCheck.cs + fProjectSchedule.cs diff --git a/SubProject/FPJ0000/Project/fPartConfirm.Designer.cs b/SubProject/FPJ0000/Project/fPartConfirm.Designer.cs index 558697f..972feda 100644 --- a/SubProject/FPJ0000/Project/fPartConfirm.Designer.cs +++ b/SubProject/FPJ0000/Project/fPartConfirm.Designer.cs @@ -32,15 +32,9 @@ System.Windows.Forms.Label priceLabel; System.Windows.Forms.Label qtyLabel; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPartConfirm)); - this.bsPMP = new System.Windows.Forms.BindingSource(this.components); - this.dsMSSQL = new FPJ0000.dsPRJ(); - this.taPMP = new FPJ0000.dsPRJTableAdapters.SPMasterTableAdapter(); - this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); this.panel2 = new System.Windows.Forms.Panel(); this.tbFind = new System.Windows.Forms.TextBox(); this.btFind = new System.Windows.Forms.Button(); - this.bs = new System.Windows.Forms.BindingSource(this.components); - this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter(); this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components); this.bindingNavigatorCountItem1 = new System.Windows.Forms.ToolStripLabel(); this.bindingNavigatorMoveFirstItem1 = new System.Windows.Forms.ToolStripButton(); @@ -52,12 +46,9 @@ this.bindingNavigatorMoveLastItem1 = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.arDatagridView1 = new arCtl.arDatagridView(); - this.itemNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox3 = new System.Windows.Forms.GroupBox(); - this.textBox6 = new System.Windows.Forms.TextBox(); - this.label7 = new System.Windows.Forms.Label(); this.textBox10 = new System.Windows.Forms.TextBox(); this.textBox9 = new System.Windows.Forms.TextBox(); this.label10 = new System.Windows.Forms.Label(); @@ -88,6 +79,8 @@ this.panel6 = new System.Windows.Forms.Panel(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.dvPMP = new arCtl.arDatagridView(); + this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.재고에적용합니다ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.sIDNoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.storageDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.partNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -99,14 +92,16 @@ this.enrDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.enrolleeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.memoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); - this.재고에적용합니다ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.bsPMP = new System.Windows.Forms.BindingSource(this.components); + this.dsMSSQL = new FPJ0000.dsPRJ(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.itemNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.taPMP = new FPJ0000.dsPRJTableAdapters.SPMasterTableAdapter(); + this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); + this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter(); priceLabel = new System.Windows.Forms.Label(); qtyLabel = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.bsPMP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); this.panel2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit(); this.bindingNavigator1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.arDatagridView1)).BeginInit(); @@ -118,6 +113,9 @@ this.groupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dvPMP)).BeginInit(); this.contextMenuStrip1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsPMP)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); this.SuspendLayout(); // // priceLabel @@ -138,35 +136,6 @@ qtyLabel.TabIndex = 13; qtyLabel.Text = "수량"; // - // bsPMP - // - this.bsPMP.DataMember = "SPMaster"; - this.bsPMP.DataSource = this.dsMSSQL; - this.bsPMP.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); - // - // dsMSSQL - // - this.dsMSSQL.DataSetName = "DSMssql"; - this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // taPMP - // - this.taPMP.ClearBeforeFill = true; - // - // tam - // - this.tam.BackupDataSetBeforeUpdate = false; - this.tam.EETGW_NoteTableAdapter = null; - this.tam.JobReportTableAdapter = null; - this.tam.ProjectsHistoryTableAdapter = null; - this.tam.ProjectsIOMapTableAdapter = null; - this.tam.ProjectsMailListTableAdapter = null; - this.tam.ProjectsPartTableAdapter = null; - this.tam.ProjectsScheduleTableAdapter = null; - this.tam.ProjectsTableAdapter = null; - this.tam.SPMasterTableAdapter = this.taPMP; - this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - // // panel2 // this.panel2.Controls.Add(this.tbFind); @@ -201,16 +170,6 @@ this.btFind.UseVisualStyleBackColor = true; this.btFind.Click += new System.EventHandler(this.button1_Click); // - // bs - // - this.bs.DataMember = "ProjectsPart"; - this.bs.DataSource = this.dsMSSQL; - this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged_1); - // - // taPart - // - this.taPart.ClearBeforeFill = true; - // // bindingNavigator1 // this.bindingNavigator1.AddNewItem = null; @@ -332,14 +291,6 @@ this.arDatagridView1.Size = new System.Drawing.Size(356, 169); this.arDatagridView1.TabIndex = 5; // - // itemNameDataGridViewTextBoxColumn1 - // - this.itemNameDataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - this.itemNameDataGridViewTextBoxColumn1.DataPropertyName = "ItemName"; - this.itemNameDataGridViewTextBoxColumn1.HeaderText = "ItemName"; - this.itemNameDataGridViewTextBoxColumn1.Name = "itemNameDataGridViewTextBoxColumn1"; - this.itemNameDataGridViewTextBoxColumn1.ReadOnly = true; - // // groupBox1 // this.groupBox1.Controls.Add(this.arDatagridView1); @@ -368,8 +319,6 @@ // // groupBox3 // - this.groupBox3.Controls.Add(this.textBox6); - this.groupBox3.Controls.Add(this.label7); this.groupBox3.Controls.Add(this.textBox10); this.groupBox3.Controls.Add(this.textBox9); this.groupBox3.Controls.Add(this.label10); @@ -385,26 +334,6 @@ this.groupBox3.TabStop = false; this.groupBox3.Text = "구매 수량 입력"; // - // textBox6 - // - this.textBox6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); - this.textBox6.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qtyjago", true)); - this.textBox6.Font = new System.Drawing.Font("맑은 고딕", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.textBox6.Location = new System.Drawing.Point(119, 40); - this.textBox6.Name = "textBox6"; - this.textBox6.Size = new System.Drawing.Size(120, 57); - this.textBox6.TabIndex = 8; - this.textBox6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(153, 22); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(53, 12); - this.label7.TabIndex = 7; - this.label7.Text = "기존재고"; - // // textBox10 // this.textBox10.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); @@ -420,9 +349,9 @@ this.textBox9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.textBox9.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qtybuy", true)); this.textBox9.Font = new System.Drawing.Font("맑은 고딕", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.textBox9.Location = new System.Drawing.Point(245, 40); + this.textBox9.Location = new System.Drawing.Point(137, 40); this.textBox9.Name = "textBox9"; - this.textBox9.Size = new System.Drawing.Size(106, 57); + this.textBox9.Size = new System.Drawing.Size(214, 57); this.textBox9.TabIndex = 0; this.textBox9.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // @@ -442,7 +371,7 @@ this.textBox8.Location = new System.Drawing.Point(15, 40); this.textBox8.Name = "textBox8"; this.textBox8.ReadOnly = true; - this.textBox8.Size = new System.Drawing.Size(98, 57); + this.textBox8.Size = new System.Drawing.Size(116, 57); this.textBox8.TabIndex = 1; this.textBox8.TabStop = false; this.textBox8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; @@ -450,16 +379,16 @@ // label8 // this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(262, 22); + this.label8.Location = new System.Drawing.Point(195, 22); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(72, 12); + this.label8.Size = new System.Drawing.Size(104, 12); this.label8.TabIndex = 2; - this.label8.Text = "구매수량(&N)"; + this.label8.Text = "구매 요청 수량(&N)"; // // label9 // this.label9.AutoSize = true; - this.label9.Location = new System.Drawing.Point(42, 22); + this.label9.Location = new System.Drawing.Point(53, 22); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(41, 12); this.label9.TabIndex = 0; @@ -757,6 +686,21 @@ this.dvPMP.TabIndex = 1; this.dvPMP.DoubleClick += new System.EventHandler(this.dvPMP_DoubleClick); // + // contextMenuStrip1 + // + this.contextMenuStrip1.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.재고에적용합니다ToolStripMenuItem}); + this.contextMenuStrip1.Name = "contextMenuStrip1"; + this.contextMenuStrip1.Size = new System.Drawing.Size(244, 34); + // + // 재고에적용합니다ToolStripMenuItem + // + this.재고에적용합니다ToolStripMenuItem.Name = "재고에적용합니다ToolStripMenuItem"; + this.재고에적용합니다ToolStripMenuItem.Size = new System.Drawing.Size(243, 30); + this.재고에적용합니다ToolStripMenuItem.Text = "재고에 적용합니다"; + this.재고에적용합니다ToolStripMenuItem.Click += new System.EventHandler(this.재고에적용합니다ToolStripMenuItem_Click); + // // sIDNoDataGridViewTextBoxColumn // this.sIDNoDataGridViewTextBoxColumn.DataPropertyName = "SIDNo"; @@ -834,20 +778,52 @@ this.memoDataGridViewTextBoxColumn.Name = "memoDataGridViewTextBoxColumn"; this.memoDataGridViewTextBoxColumn.ReadOnly = true; // - // contextMenuStrip1 + // bsPMP // - this.contextMenuStrip1.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.재고에적용합니다ToolStripMenuItem}); - this.contextMenuStrip1.Name = "contextMenuStrip1"; - this.contextMenuStrip1.Size = new System.Drawing.Size(244, 34); + this.bsPMP.DataMember = "SPMaster"; + this.bsPMP.DataSource = this.dsMSSQL; + this.bsPMP.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); // - // 재고에적용합니다ToolStripMenuItem + // dsMSSQL // - this.재고에적용합니다ToolStripMenuItem.Name = "재고에적용합니다ToolStripMenuItem"; - this.재고에적용합니다ToolStripMenuItem.Size = new System.Drawing.Size(243, 30); - this.재고에적용합니다ToolStripMenuItem.Text = "재고에 적용합니다"; - this.재고에적용합니다ToolStripMenuItem.Click += new System.EventHandler(this.재고에적용합니다ToolStripMenuItem_Click); + this.dsMSSQL.DataSetName = "DSMssql"; + this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bs + // + this.bs.DataMember = "ProjectsPart"; + this.bs.DataSource = this.dsMSSQL; + this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged_1); + // + // itemNameDataGridViewTextBoxColumn1 + // + this.itemNameDataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.itemNameDataGridViewTextBoxColumn1.DataPropertyName = "ItemName"; + this.itemNameDataGridViewTextBoxColumn1.HeaderText = "ItemName"; + this.itemNameDataGridViewTextBoxColumn1.Name = "itemNameDataGridViewTextBoxColumn1"; + this.itemNameDataGridViewTextBoxColumn1.ReadOnly = true; + // + // taPMP + // + this.taPMP.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.EETGW_NoteTableAdapter = null; + this.tam.JobReportTableAdapter = null; + this.tam.ProjectsHistoryTableAdapter = null; + this.tam.ProjectsIOMapTableAdapter = null; + this.tam.ProjectsMailListTableAdapter = null; + this.tam.ProjectsPartTableAdapter = null; + this.tam.ProjectsScheduleTableAdapter = null; + this.tam.ProjectsTableAdapter = null; + this.tam.SPMasterTableAdapter = this.taPMP; + this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // taPart + // + this.taPart.ClearBeforeFill = true; // // fPartConfirm // @@ -861,11 +837,8 @@ this.Text = "PartList Item Confirm"; this.UseFormSetting = false; this.Load += new System.EventHandler(this.@__Load); - ((System.ComponentModel.ISupportInitialize)(this.bsPMP)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit(); this.bindingNavigator1.ResumeLayout(false); this.bindingNavigator1.PerformLayout(); @@ -881,6 +854,9 @@ this.groupBox4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dvPMP)).EndInit(); this.contextMenuStrip1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.bsPMP)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); this.ResumeLayout(false); } @@ -938,8 +914,6 @@ private System.Windows.Forms.Button btConf; private System.Windows.Forms.Button btNext; private System.Windows.Forms.Button btPrev; - private System.Windows.Forms.TextBox textBox6; - private System.Windows.Forms.Label label7; private System.Windows.Forms.Panel panel5; private System.Windows.Forms.Panel panel7; private System.Windows.Forms.Panel panel6; diff --git a/SubProject/FPJ0000/Project/fPartConfirm.cs b/SubProject/FPJ0000/Project/fPartConfirm.cs index 2541d2d..24628db 100644 --- a/SubProject/FPJ0000/Project/fPartConfirm.cs +++ b/SubProject/FPJ0000/Project/fPartConfirm.cs @@ -16,13 +16,13 @@ namespace FPJ0000 string search = string.Empty; int idx = -1; - public fPartConfirm(dsPRJ.ProjectsPartDataTable dt) + public fPartConfirm(dsPRJ.ProjectsPartDataTable dt,string sortkey) { InitializeComponent(); this.bs.DataSource = dt; - this.bs.Sort = "itemgroup,option1,no"; - this.bs.Filter = "isnull(bconfirm,0)=false"; + this.bs.Sort = sortkey; + this.bs.Filter = "isnull(qtybuy,0) < 1"; fn_fpcolsize = System.IO.Path.Combine( AppDomain.CurrentDomain.BaseDirectory, @@ -44,7 +44,8 @@ namespace FPJ0000 { this.Show(); Application.DoEvents(); - btFind.PerformClick(); + if (string.IsNullOrEmpty(tbFind.Text) == false) + btFind.PerformClick(); } void refreshData(string div) { @@ -176,14 +177,34 @@ namespace FPJ0000 private void btConf_Click(object sender, EventArgs e) { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsPartRow; + + var str_qty = textBox9.Text; + if (string.IsNullOrEmpty(str_qty) || str_qty == "-1") + { + var result = FCOMMON.Util.MsgQ("구매 수량이 입력되지 않았습니다.\n\n자동으로 '0' 을 입력하시겠습니까?\n\n수량 '0'은 비 구매 항목으로 설정 됩니다"); + if(result == DialogResult.Yes) + { + dr.qtybuy = 0; + if (dr.memo.IndexOf("비구매설정") == -1) dr.memo += "(비구매설정:" + DateTime.Now.ToString("MM-dd hh:mm:ss") + ")"; + textBox9.Text = "0"; + } + else + { + textBox9.Focus(); + return; + } + } + this.Validate(); this.bs.EndEdit(); this.bsPMP.EndEdit(); - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as dsPRJ.ProjectsPartRow; - dr.bconfirm = true; + + //if (dr.qtybuy == 0 && dr.bbuy==false) dr.bbuy = true; //구매수량이0인것은 자동 확정한다 + //dr.bconfirm = true; dr.EndEdit(); if (bs.Count < 1) diff --git a/SubProject/FPJ0000/Project/fPartConfirm.resx b/SubProject/FPJ0000/Project/fPartConfirm.resx index e492ec9..8a27ec5 100644 --- a/SubProject/FPJ0000/Project/fPartConfirm.resx +++ b/SubProject/FPJ0000/Project/fPartConfirm.resx @@ -123,29 +123,14 @@ False - - 122, 17 - - - 17, 17 - - - 17, 17 - - - 212, 17 - - - 300, 17 + + 521, 17 373, 17 - - 437, 17 - - - 521, 17 + + 17, 17 @@ -191,4 +176,19 @@ 677, 17 + + 122, 17 + + + 17, 17 + + + 212, 17 + + + 300, 17 + + + 437, 17 + \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fPartList.Designer.cs b/SubProject/FPJ0000/Project/fPartList.Designer.cs index 85a2c56..57b5e2a 100644 --- a/SubProject/FPJ0000/Project/fPartList.Designer.cs +++ b/SubProject/FPJ0000/Project/fPartList.Designer.cs @@ -40,41 +40,38 @@ System.Windows.Forms.Label label1; System.Windows.Forms.Label label2; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPartList)); - 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.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); - 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.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); - 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.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.FlatFocusIndicatorRenderer flatFocusIndicatorRenderer2 = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer(); + FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer3 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); + FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer4 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); + 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 numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo1 = new FarPoint.Win.Spread.NoPrinterPrintInfo(); + 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.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType13 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType14 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo2 = new FarPoint.Win.Spread.NoPrinterPrintInfo(); this.panel1 = new System.Windows.Forms.Panel(); this.btConf = new System.Windows.Forms.Button(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.prb1 = new arCtl.arLabel(); - this.prb2 = new arCtl.arLabel(); - this.prb3 = new arCtl.arLabel(); this.prb4 = new arCtl.arLabel(); + this.prb3 = new arCtl.arLabel(); + this.prb2 = new arCtl.arLabel(); this.prb5 = new arCtl.arLabel(); - this.prb6 = new arCtl.arLabel(); this.button2 = new System.Windows.Forms.Button(); this.radSortGrp = new System.Windows.Forms.RadioButton(); this.radSortNo = new System.Windows.Forms.RadioButton(); @@ -133,7 +130,7 @@ 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.검토목록모두구매등록상태로전환ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); pdateLabel = new System.Windows.Forms.Label(); requestLabel = new System.Windows.Forms.Label(); reqstaffLabel = new System.Windows.Forms.Label(); @@ -279,7 +276,7 @@ this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(1246, 148); + this.panel1.Size = new System.Drawing.Size(1217, 148); this.panel1.TabIndex = 0; // // btConf @@ -289,173 +286,31 @@ this.btConf.Name = "btConf"; this.btConf.Size = new System.Drawing.Size(98, 78); this.btConf.TabIndex = 34; - this.btConf.Text = "일괄 검토"; + this.btConf.Text = "수량 검토"; this.btConf.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.btConf.UseVisualStyleBackColor = true; this.btConf.Click += new System.EventHandler(this.btConf_Click); // // tableLayoutPanel1 // - this.tableLayoutPanel1.ColumnCount = 6; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); - this.tableLayoutPanel1.Controls.Add(this.prb1, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.prb2, 1, 0); - this.tableLayoutPanel1.Controls.Add(this.prb3, 2, 0); + this.tableLayoutPanel1.ColumnCount = 4; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.Controls.Add(this.prb4, 3, 0); - this.tableLayoutPanel1.Controls.Add(this.prb5, 4, 0); - this.tableLayoutPanel1.Controls.Add(this.prb6, 5, 0); + this.tableLayoutPanel1.Controls.Add(this.prb3, 2, 0); + this.tableLayoutPanel1.Controls.Add(this.prb2, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.prb5, 0, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 97); 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(1246, 51); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1217, 51); this.tableLayoutPanel1.TabIndex = 33; // - // prb1 - // - this.prb1.BackColor = System.Drawing.Color.Gainsboro; - this.prb1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200))))); - 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("맑은 고딕", 11.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 = true; - 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(189, 41); - this.prb1.TabIndex = 31; - this.prb1.Text = "수량 검토"; - this.prb1.TextAlign = System.Drawing.ContentAlignment.TopCenter; - this.prb1.TextShadow = false; - this.prb1.TextVisible = true; - // - // 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(204, 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(189, 41); - this.prb2.TabIndex = 32; - this.prb2.Text = "구매 등록"; - this.prb2.TextAlign = System.Drawing.ContentAlignment.TopCenter; - this.prb2.TextShadow = false; - this.prb2.TextVisible = true; - // - // 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(403, 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(189, 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, "구매대상 중 구매"); - // // prb4 // this.prb4.BackColor = System.Drawing.Color.LightGreen; @@ -473,7 +328,7 @@ this.prb4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; this.prb4.GradientRepeatBG = false; this.prb4.isButton = false; - this.prb4.Location = new System.Drawing.Point(602, 5); + this.prb4.Location = new System.Drawing.Point(917, 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))))); @@ -495,14 +350,107 @@ 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(189, 41); + this.prb4.Size = new System.Drawing.Size(295, 41); this.prb4.TabIndex = 32; - this.prb4.Text = "구매완료"; + 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(613, 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(294, 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, "구매대상 중 구매"); + // + // 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(309, 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(294, 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; @@ -520,7 +468,7 @@ this.prb5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; this.prb5.GradientRepeatBG = false; this.prb5.isButton = false; - this.prb5.Location = new System.Drawing.Point(801, 5); + 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))))); @@ -542,60 +490,14 @@ 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(189, 41); + this.prb5.Size = new System.Drawing.Size(294, 41); this.prb5.TabIndex = 32; - this.prb5.Text = "비구매"; + this.prb5.Text = "비 구매"; this.prb5.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.prb5.TextShadow = false; this.prb5.TextVisible = true; this.toolTip1.SetToolTip(this.prb5, "전체 수량 중 구매 불필요 수량"); // - // prb6 - // - this.prb6.BackColor = System.Drawing.Color.SkyBlue; - this.prb6.BackColor2 = System.Drawing.Color.SkyBlue; - this.prb6.BackgroundImagePadding = new System.Windows.Forms.Padding(0); - this.prb6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); - this.prb6.BorderColorOver = System.Drawing.Color.Red; - this.prb6.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); - this.prb6.ColorTheme = arCtl.arLabel.eColorTheme.Custom; - this.prb6.Cursor = System.Windows.Forms.Cursors.Arrow; - this.prb6.Dock = System.Windows.Forms.DockStyle.Fill; - this.prb6.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.prb6.ForeColor = System.Drawing.Color.Black; - this.prb6.GradientEnable = true; - this.prb6.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; - this.prb6.GradientRepeatBG = false; - this.prb6.isButton = false; - this.prb6.Location = new System.Drawing.Point(1000, 5); - this.prb6.Margin = new System.Windows.Forms.Padding(5); - this.prb6.MouseDownColor = System.Drawing.Color.Yellow; - this.prb6.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.prb6.msg = null; - this.prb6.Name = "prb6"; - this.prb6.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); - this.prb6.ProgressBorderColor = System.Drawing.Color.Black; - this.prb6.ProgressColor1 = System.Drawing.Color.Yellow; - this.prb6.ProgressColor2 = System.Drawing.Color.Gold; - this.prb6.ProgressEnable = true; - this.prb6.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); - this.prb6.ProgressForeColor = System.Drawing.Color.Black; - this.prb6.ProgressMax = 100F; - this.prb6.ProgressMin = 0F; - this.prb6.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5); - this.prb6.ProgressValue = 50F; - this.prb6.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.prb6.Sign = ""; - this.prb6.SignAlign = System.Drawing.ContentAlignment.BottomRight; - this.prb6.SignColor = System.Drawing.Color.Yellow; - this.prb6.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.prb6.Size = new System.Drawing.Size(241, 41); - this.prb6.TabIndex = 32; - this.prb6.Text = "전체 진행률"; - this.prb6.TextAlign = System.Drawing.ContentAlignment.TopCenter; - this.prb6.TextShadow = false; - this.prb6.TextVisible = true; - // // button2 // this.button2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; @@ -765,10 +667,9 @@ this.columnSizeToolStripMenuItem, this.toolStripMenuItem1, this.pMP조회ToolStripMenuItem, - this.exportListToolStripMenuItem, - this.검토목록모두구매등록상태로전환ToolStripMenuItem}); + this.exportListToolStripMenuItem}); this.cm1.Name = "cm1"; - this.cm1.Size = new System.Drawing.Size(483, 176); + this.cm1.Size = new System.Drawing.Size(243, 118); // // columnSizeToolStripMenuItem // @@ -778,7 +679,7 @@ this.saveToolStripMenuItem, this.loadToolStripMenuItem}); this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; - this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(482, 36); + this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(242, 36); this.columnSizeToolStripMenuItem.Text = "열 너비 조정"; // // autoToolStripMenuItem @@ -816,19 +717,19 @@ // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(479, 6); + this.toolStripMenuItem1.Size = new System.Drawing.Size(239, 6); // // pMP조회ToolStripMenuItem // this.pMP조회ToolStripMenuItem.Name = "pMP조회ToolStripMenuItem"; - this.pMP조회ToolStripMenuItem.Size = new System.Drawing.Size(482, 36); + this.pMP조회ToolStripMenuItem.Size = new System.Drawing.Size(242, 36); this.pMP조회ToolStripMenuItem.Text = "PMP 조회"; this.pMP조회ToolStripMenuItem.Click += new System.EventHandler(this.pMP조회ToolStripMenuItem_Click); // // exportListToolStripMenuItem // this.exportListToolStripMenuItem.Name = "exportListToolStripMenuItem"; - this.exportListToolStripMenuItem.Size = new System.Drawing.Size(482, 36); + this.exportListToolStripMenuItem.Size = new System.Drawing.Size(242, 36); this.exportListToolStripMenuItem.Text = "목록 내보내기"; this.exportListToolStripMenuItem.Click += new System.EventHandler(this.exportListToolStripMenuItem_Click); // @@ -869,15 +770,16 @@ this.toolStripSeparator2, this.toolStripButton3, this.toolStripButton4, - this.toolStripButton5}); - this.bn.Location = new System.Drawing.Point(0, 612); + this.toolStripButton5, + this.toolStripButton1}); + this.bn.Location = new System.Drawing.Point(0, 636); this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; this.bn.Name = "bn"; this.bn.PositionItem = this.bindingNavigatorPositionItem; - this.bn.Size = new System.Drawing.Size(1246, 25); + this.bn.Size = new System.Drawing.Size(1217, 25); this.bn.TabIndex = 3; this.bn.Text = "bindingNavigator1"; // @@ -1054,6 +956,7 @@ // toolStripButton5 // this.toolStripButton5.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripButton5.ForeColor = System.Drawing.Color.Black; this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image"))); this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton5.Name = "toolStripButton5"; @@ -1092,25 +995,25 @@ this.fpSpread1.ContextMenuStrip = this.cm1; this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; this.fpSpread1.EditModeReplace = true; - this.fpSpread1.FocusRenderer = flatFocusIndicatorRenderer1; + this.fpSpread1.FocusRenderer = flatFocusIndicatorRenderer2; this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1.HorizontalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); this.fpSpread1.HorizontalScrollBar.Name = ""; - flatScrollBarRenderer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer1; + flatScrollBarRenderer3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer3; this.fpSpread1.Location = new System.Drawing.Point(0, 148); this.fpSpread1.Name = "fpSpread1"; this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1_Sheet1}); - this.fpSpread1.Size = new System.Drawing.Size(1246, 464); + this.fpSpread1.Size = new System.Drawing.Size(1217, 488); this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Office2013; this.fpSpread1.TabIndex = 4; this.fpSpread1.TitleInfo.Text = "PartList"; this.fpSpread1.TitleInfo.Value = "PartList"; this.fpSpread1.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); this.fpSpread1.VerticalScrollBar.Name = ""; - flatScrollBarRenderer2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.fpSpread1.VerticalScrollBar.Renderer = flatScrollBarRenderer2; + flatScrollBarRenderer4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.fpSpread1.VerticalScrollBar.Renderer = flatScrollBarRenderer4; this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff); // // fpSpread1_Sheet1 @@ -1119,7 +1022,7 @@ 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 = 23; + this.fpSpread1_Sheet1.ColumnCount = 22; this.fpSpread1_Sheet1.ActiveColumnIndex = -1; this.fpSpread1_Sheet1.ActiveRowIndex = -1; this.fpSpread1_Sheet1.AutoGenerateColumns = false; @@ -1141,108 +1044,107 @@ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "N대 수량"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "1대 금액"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "N대 금액"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "PMP재고"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "검토"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "구매수량"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "구매"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "입고수량"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "제조사"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "공급사"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "납기일"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "비고"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "PMP"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "구매수량"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "구매확정"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "입고수량"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "제조사"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "공급사"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "납기일"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "비고"; this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty; this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty; 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 = textCellType12; this.fpSpread1_Sheet1.Columns.Get(0).DataField = "ItemGroup"; this.fpSpread1_Sheet1.Columns.Get(0).Label = "중분류"; this.fpSpread1_Sheet1.Columns.Get(0).Width = 89F; this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType13; this.fpSpread1_Sheet1.Columns.Get(1).DataField = "option1"; this.fpSpread1_Sheet1.Columns.Get(1).Label = "소분류"; this.fpSpread1_Sheet1.Columns.Get(1).Width = 86F; - numberCellType1.DecimalPlaces = 0; - numberCellType1.NegativeRed = true; - numberCellType1.NullDisplay = "--"; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType1; + numberCellType10.DecimalPlaces = 0; + numberCellType10.NegativeRed = true; + numberCellType10.NullDisplay = "--"; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType10; this.fpSpread1_Sheet1.Columns.Get(2).DataField = "no"; 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(2).Width = 79F; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType14; this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ItemSid"; this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(3).Label = "SID"; 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))))); - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType15; this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ItemName"; 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; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType16; this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ItemModel"; 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 = textCellType17; this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ItemUnit"; this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(6).Label = "단위"; this.fpSpread1_Sheet1.Columns.Get(6).Tag = "unit"; this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType2.DecimalPlaces = 0; - numberCellType2.MaximumValue = 10000000D; - numberCellType2.MinimumValue = -10000000D; - numberCellType2.NegativeRed = true; - numberCellType2.NullDisplay = "0"; - numberCellType2.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = numberCellType2; + numberCellType11.DecimalPlaces = 0; + numberCellType11.MaximumValue = 10000000D; + numberCellType11.MinimumValue = -10000000D; + numberCellType11.NegativeRed = true; + numberCellType11.NullDisplay = "0"; + numberCellType11.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = numberCellType11; this.fpSpread1_Sheet1.Columns.Get(7).DataField = "price"; this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(7).Label = "단가"; this.fpSpread1_Sheet1.Columns.Get(7).Tag = "price"; this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(8).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - numberCellType3.DecimalPlaces = 0; - numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType3.MaximumValue = 2147483647D; - numberCellType3.MinimumValue = -2147483648D; - numberCellType3.NegativeRed = true; - numberCellType3.Separator = ","; - numberCellType3.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType3; + numberCellType12.DecimalPlaces = 0; + numberCellType12.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType12.MaximumValue = 2147483647D; + numberCellType12.MinimumValue = -2147483648D; + numberCellType12.NegativeRed = true; + numberCellType12.Separator = ","; + numberCellType12.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType12; this.fpSpread1_Sheet1.Columns.Get(8).DataField = "qty"; this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(8).Label = "1대 수량"; this.fpSpread1_Sheet1.Columns.Get(8).Tag = "qty"; this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType4.DecimalPlaces = 0; - numberCellType4.NegativeRed = true; - numberCellType4.Separator = ","; - numberCellType4.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType4; + numberCellType13.DecimalPlaces = 0; + numberCellType13.NegativeRed = true; + numberCellType13.Separator = ","; + numberCellType13.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType13; this.fpSpread1_Sheet1.Columns.Get(9).DataField = "qtyn"; this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).Label = "N대 수량"; this.fpSpread1_Sheet1.Columns.Get(9).Tag = "qtyn"; this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(10).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType5.DecimalPlaces = 0; - numberCellType5.MaximumValue = 9999999999999.99D; - numberCellType5.MinimumValue = -9999999999999.99D; - numberCellType5.NegativeRed = true; - numberCellType5.NullDisplay = "--"; - numberCellType5.Separator = ","; - numberCellType5.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType5; + numberCellType14.DecimalPlaces = 0; + numberCellType14.MaximumValue = 9999999999999.99D; + numberCellType14.MinimumValue = -9999999999999.99D; + numberCellType14.NegativeRed = true; + numberCellType14.NullDisplay = "--"; + numberCellType14.Separator = ","; + numberCellType14.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType14; this.fpSpread1_Sheet1.Columns.Get(10).DataField = "amt"; this.fpSpread1_Sheet1.Columns.Get(10).Formula = "RC[-3]*RC[-2]"; this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; @@ -1250,88 +1152,76 @@ this.fpSpread1_Sheet1.Columns.Get(10).Tag = "amt"; 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))))); - this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType5; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType14; this.fpSpread1_Sheet1.Columns.Get(11).DataField = "amtn"; this.fpSpread1_Sheet1.Columns.Get(11).Formula = "RC[-4]*RC[-2]"; this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(11).Label = "N대 금액"; this.fpSpread1_Sheet1.Columns.Get(11).Tag = "amtn"; this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType6.DecimalPlaces = 0; - numberCellType6.NegativeRed = true; - numberCellType6.NullDisplay = "--"; - numberCellType6.Separator = ","; - numberCellType6.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType6; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType18; this.fpSpread1_Sheet1.Columns.Get(12).DataField = "qtyjago"; this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(12).Label = "PMP재고"; - this.fpSpread1_Sheet1.Columns.Get(12).Tag = "pmp"; + this.fpSpread1_Sheet1.Columns.Get(12).Label = "PMP"; this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).CellType = checkBoxCellType1; - this.fpSpread1_Sheet1.Columns.Get(13).DataField = "bconfirm"; + numberCellType15.DecimalPlaces = 0; + numberCellType15.NegativeRed = true; + numberCellType15.NullDisplay = "--"; + numberCellType15.Separator = ","; + numberCellType15.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType15; + this.fpSpread1_Sheet1.Columns.Get(13).DataField = "qtybuy"; this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).Label = "검토"; - this.fpSpread1_Sheet1.Columns.Get(13).Tag = "bconfirm"; + this.fpSpread1_Sheet1.Columns.Get(13).Label = "구매수량"; + this.fpSpread1_Sheet1.Columns.Get(13).Tag = "buy"; this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType7.DecimalPlaces = 0; - numberCellType7.NegativeRed = true; - numberCellType7.NullDisplay = "--"; - numberCellType7.Separator = ","; - numberCellType7.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType7; - this.fpSpread1_Sheet1.Columns.Get(14).DataField = "qtybuy"; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = checkBoxCellType2; + this.fpSpread1_Sheet1.Columns.Get(14).DataField = "bbuy"; 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).Label = "구매확정"; + this.fpSpread1_Sheet1.Columns.Get(14).Tag = "bbuy"; this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(15).CellType = checkBoxCellType2; - this.fpSpread1_Sheet1.Columns.Get(15).DataField = "bbuy"; + numberCellType16.DecimalPlaces = 0; + numberCellType16.NegativeRed = true; + numberCellType16.NullDisplay = "0"; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType16; + this.fpSpread1_Sheet1.Columns.Get(15).DataField = "qtyin"; this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(15).Label = "구매"; - this.fpSpread1_Sheet1.Columns.Get(15).Tag = "bbuy"; + this.fpSpread1_Sheet1.Columns.Get(15).Label = "입고수량"; + this.fpSpread1_Sheet1.Columns.Get(15).Tag = "qtyin"; this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType8.DecimalPlaces = 0; - numberCellType8.NegativeRed = true; - numberCellType8.NullDisplay = "0"; - this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType8; - this.fpSpread1_Sheet1.Columns.Get(16).DataField = "qtyin"; - this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).Label = "입고수량"; - this.fpSpread1_Sheet1.Columns.Get(16).Tag = "qtyin"; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType19; + this.fpSpread1_Sheet1.Columns.Get(16).DataField = "ItemManu"; + this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(16).Label = "제조사"; this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType7; - this.fpSpread1_Sheet1.Columns.Get(17).DataField = "ItemManu"; + this.fpSpread1_Sheet1.Columns.Get(16).Width = 113F; + 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 = textCellType20; + this.fpSpread1_Sheet1.Columns.Get(17).DataField = "ItemSupply"; this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(17).Label = "제조사"; + this.fpSpread1_Sheet1.Columns.Get(17).ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.fpSpread1_Sheet1.Columns.Get(17).Label = "공급사"; this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(17).Width = 113F; - this.fpSpread1_Sheet1.Columns.Get(18).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(18).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType8; - this.fpSpread1_Sheet1.Columns.Get(18).DataField = "ItemSupply"; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType21; + this.fpSpread1_Sheet1.Columns.Get(18).DataField = "option2"; this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(18).ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.fpSpread1_Sheet1.Columns.Get(18).Label = "공급사"; + this.fpSpread1_Sheet1.Columns.Get(18).Label = "납기일"; this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(18).Width = 113F; - this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType9; - this.fpSpread1_Sheet1.Columns.Get(19).DataField = "option2"; + this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType22; + this.fpSpread1_Sheet1.Columns.Get(19).DataField = "memo"; this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(19).Label = "납기일"; + this.fpSpread1_Sheet1.Columns.Get(19).Label = "비고"; this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType10; - this.fpSpread1_Sheet1.Columns.Get(20).DataField = "memo"; - 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 = numberCellType9; - this.fpSpread1_Sheet1.Columns.Get(21).DataField = "Item"; - this.fpSpread1_Sheet1.Columns.Get(21).Tag = "item"; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType17; + this.fpSpread1_Sheet1.Columns.Get(20).DataField = "Item"; + this.fpSpread1_Sheet1.Columns.Get(20).Tag = "item"; + this.fpSpread1_Sheet1.Columns.Get(20).Visible = false; + this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType18; + this.fpSpread1_Sheet1.Columns.Get(21).DataField = "ItemSupplyidx"; this.fpSpread1_Sheet1.Columns.Get(21).Visible = false; - this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType10; - this.fpSpread1_Sheet1.Columns.Get(22).DataField = "ItemSupplyidx"; - this.fpSpread1_Sheet1.Columns.Get(22).Visible = false; this.fpSpread1_Sheet1.DataAutoCellTypes = false; this.fpSpread1_Sheet1.DataAutoSizeColumns = false; this.fpSpread1_Sheet1.DataSource = this.bsPart; @@ -1343,11 +1233,11 @@ this.fpSpread1_Sheet1.FilterBarHeaderStyle.Parent = "FilterBarHeaderFlat"; 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; + noPrinterPrintInfo2.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148); + noPrinterPrintInfo2.HardMarginX = 0F; + noPrinterPrintInfo2.HardMarginY = 0F; + noPrinterPrintInfo2.SupportColor = true; + this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo2; this.fpSpread1_Sheet1.PrintInfo.PdfSecurity = null; this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; this.fpSpread1_Sheet1.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty; @@ -1360,18 +1250,22 @@ this.fpSpread1_Sheet1.TitleInfo.Value = "Partlist"; this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // - // 검토목록모두구매등록상태로전환ToolStripMenuItem + // toolStripButton1 // - this.검토목록모두구매등록상태로전환ToolStripMenuItem.Name = "검토목록모두구매등록상태로전환ToolStripMenuItem"; - this.검토목록모두구매등록상태로전환ToolStripMenuItem.Size = new System.Drawing.Size(482, 36); - this.검토목록모두구매등록상태로전환ToolStripMenuItem.Text = "검토목록 모두 구매등록 상태로 전환"; - this.검토목록모두구매등록상태로전환ToolStripMenuItem.Click += new System.EventHandler(this.검토목록모두구매등록상태로전환ToolStripMenuItem_Click); + this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripButton1.ForeColor = System.Drawing.Color.Black; + this.toolStripButton1.Image = global::FPJ0000.Properties.Resources.find; + this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton1.Name = "toolStripButton1"; + this.toolStripButton1.Size = new System.Drawing.Size(75, 22); + this.toolStripButton1.Text = "S/C 체크"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1); // // fPartList // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1246, 637); + this.ClientSize = new System.Drawing.Size(1217, 661); this.Controls.Add(this.fpSpread1); this.Controls.Add(this.bn); this.Controls.Add(this.panel1); @@ -1454,16 +1348,14 @@ private System.Windows.Forms.ToolStripButton toolStripButton7; private System.Windows.Forms.Button button2; private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; - private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; - private arCtl.arLabel prb1; private arCtl.arLabel prb2; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private arCtl.arLabel prb3; private arCtl.arLabel prb4; private arCtl.arLabel prb5; - private arCtl.arLabel prb6; private System.Windows.Forms.ToolTip toolTip1; private System.Windows.Forms.Button btConf; - private System.Windows.Forms.ToolStripMenuItem 검토목록모두구매등록상태로전환ToolStripMenuItem; + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; + private System.Windows.Forms.ToolStripButton toolStripButton1; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fPartList.cs b/SubProject/FPJ0000/Project/fPartList.cs index 3fed645..9d61b17 100644 --- a/SubProject/FPJ0000/Project/fPartList.cs +++ b/SubProject/FPJ0000/Project/fPartList.cs @@ -47,6 +47,7 @@ namespace FPJ0000 e.Row["wuid"] = FCOMMON.info.Login.no; e.Row["wdate"] = DateTime.Now; e.Row["Project"] = this.ProjectIndex; + e.Row["qtybuy"] = 0; } void fPartList_KeyDown(object sender, KeyEventArgs e) @@ -106,6 +107,8 @@ namespace FPJ0000 } + + string sortkey = string.Empty; void RefreshData() { if (dsPRJ.HasChanges()) @@ -123,8 +126,14 @@ namespace FPJ0000 //order by 절은 다시 생성한다. var SSQl = " SELECT * FROM ProjectsPart " + " WHERE Project = @prj"; - if (radSortGrp.Checked) SSQl += " order by itemgroup,option1,no,itemname"; - else SSQl += " order by no"; + if (radSortGrp.Checked) + { + sortkey = "itemgroup asc,option1 asc ,no asc,itemname asc"; + //SSQl += " order by itemgroup,option1,no,itemname"; + } + else sortkey = "no"; + + SSQl += " order by " + sortkey; this.dsPRJ.ProjectsPart.Clear(); var cmd = new System.Data.SqlClient.SqlCommand(SSQl, taPart.Connection); @@ -158,21 +167,21 @@ namespace FPJ0000 //삭제컬럼인덱스 this.fpSpread1.SuspendLayout(); var col_sid = this.fpSpread1.ActiveSheet.Columns["sid"].Index; - var col_pmp = this.fpSpread1.ActiveSheet.Columns["pmp"].Index; + //var col_pmp = this.fpSpread1.ActiveSheet.Columns["pmp"].Index; var col_buy = this.fpSpread1.ActiveSheet.Columns["buy"].Index; //구매수량 var col_amt = this.fpSpread1.ActiveSheet.Columns["amt"].Index; 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_bconf = this.fpSpread1.ActiveSheet.Columns["bconfirm"].Index; + // var col_bconf = this.fpSpread1.ActiveSheet.Columns["bconfirm"].Index; var 전체건수 = 0; var 비구매건수 = 0; var 구매진행건수 = 0; var 구매완료건수 = 0; var 구매등록건수 = 0; - var 검토완료건수 = 0; + //var 검토완료건수 = 0; for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) { @@ -183,48 +192,36 @@ namespace FPJ0000 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_bconf = this.fpSpread1.ActiveSheet.GetValue(i, col_bconf); + //var value_bconf = this.fpSpread1.ActiveSheet.GetValue(i, col_bconf); Boolean bbuy = false; - Boolean bconf = false; + // Boolean bconf = false; if (value_bbuy != null) bbuy = (Boolean)value_bbuy; - if (value_bconf != null) bconf = (Boolean)value_bconf; + // if (value_bconf != null) bconf = (Boolean)value_bconf; 전체건수 += 1; - - int qty_in = 0; - int qty_buy = 0; + int qty_buy = -1; if (value_in != null) qty_in = (int)value_in; if (value_buy != null) qty_buy = (int)value_buy; - - //확정이되었는데 구매수량이 없다면 구매 진행한것으로 한다 - if (bconf == true && bbuy == false && qty_buy == 0) - { - bbuy = true; - this.fpSpread1.ActiveSheet.SetValue(i, col_bbuy, true); - } - - if (bbuy) 구매등록건수 += 1; - if (bconf) 검토완료건수 += 1; - + if (bbuy) { - - //구매진행중인데 수량이 다르면 색상 변경 - if (qty_in == 0 && qty_buy == 0) + if (qty_in != qty_buy) { - row.ForeColor = Color.Black; - row.BackColor = Color.White; - 비구매건수 += 1; - } - else if (qty_in != qty_buy) - { - row.ForeColor = Color.White; - row.BackColor = Color.DarkMagenta; + if(qty_buy < 1) + { + row.ForeColor = Color.Red; + row.BackColor = Color.DarkMagenta; + } + else + { + row.ForeColor = Color.White; + row.BackColor = Color.DarkMagenta; + } 구매진행건수 += 1; } else @@ -233,76 +230,51 @@ namespace FPJ0000 row.ForeColor = Color.Black; row.BackColor = Color.LimeGreen; } + + 구매등록건수 += 1; } else { - // this.fpSpread1.ActiveSheet.Cells[i, col_bbuy].BackColor = bbuy ? Color.Green : Color.Orange; // Color.FromArgb(240, 240, 250); - if (bconf == true) + if (qty_buy < 1) { - //검토는 됬지만 구매가 안되고 있다 + 비구매건수 += 1; row.ForeColor = Color.Black; - row.BackColor = Color.SkyBlue; + row.BackColor = Color.White; } else { - // this.fpSpread1.ActiveSheet.Cells[i, col_bconf].BackColor = bconf ? Color.Green : Color.Orange; // Color.FromArgb(240, 240, 250); - - //확정이 안된 경우 + row.ForeColor = Color.Black; - row.BackColor = Color.FromArgb(240, 240, 240); + row.BackColor = Color.SkyBlue; } } - - - - - - // var str_crcf = string.Empty; - //if (value != null) str_crcf = value.ToString(); - - - //if (string.IsNullOrEmpty(str_crcf)) - //{ - // //sid값이 없다 - // this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.FromArgb(240, 240, 240); - //} - //else - //{ - // this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.White; - //} - //this.fpSpread1.ActiveSheet.Cells[i, col_sid].BackColor = Color.FromArgb(240,240, 250); - //this.fpSpread1.ActiveSheet.Cells[i, col_pmp].BackColor = Color.FromArgb(240, 240, 240); - //this.fpSpread1.ActiveSheet.Cells[i, col_buy].BackColor = Color.FromArgb(200,200,255); - //this.fpSpread1.ActiveSheet.Cells[i, col_amt].BackColor = Color.WhiteSmoke; - //this.fpSpread1.ActiveSheet.Cells[i, col_amtn].BackColor = Color.WhiteSmoke; - - } //프로그레시브입력 - prb6.Text = string.Format("전체 진행 ({0}/{1})", 비구매건수 + 구매완료건수, 전체건수); - prb6.ProgressMax = 전체건수; - prb6.ProgressValue = 비구매건수 + 구매완료건수; + //prb6.Text = string.Format("전체 진행 ({0}/{1})", 비구매건수 + 구매완료건수, 전체건수); + //prb6.ProgressMax = 전체건수; + //prb6.ProgressValue = 비구매건수 + 구매완료건수; 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("구매 진행 ({0}/{1})", 구매진행건수, 구매등록건수); + prb3.Text = string.Format("구매 진행 중 ({0}/{1})", 구매진행건수, 구매등록건수); prb3.ProgressMax = 구매등록건수; prb3.ProgressValue = 구매진행건수; - prb2.Text = string.Format("구매 등록 ({0}/{1})", 구매등록건수, 전체건수); - prb2.ProgressMax = 전체건수; - prb2.ProgressValue = 구매등록건수; - prb1.Text = string.Format("수량 검토 ({0}/{1})", 검토완료건수, 전체건수); - prb1.ProgressMax = 전체건수; - prb1.ProgressValue = 검토완료건수; + //prb1.Text = string.Format("수량 검토 완료 ({0}/{1})", 검토완료건수, 전체건수); + //prb1.ProgressMax = 전체건수; + //prb1.ProgressValue = 검토완료건수; //var 전체건수 = 0; //var 비구매건수 = 0; @@ -723,31 +695,41 @@ namespace FPJ0000 private void btConf_Click(object sender, EventArgs e) { - var f = new fPartConfirm(this.dsPRJ.ProjectsPart); + var f = new fPartConfirm(this.dsPRJ.ProjectsPart, sortkey); f.ShowDialog(); FormattingData(); } private void 검토목록모두구매등록상태로전환ToolStripMenuItem_Click(object sender, EventArgs e) { - //검토는 되어있지만 구매등록이 안된 목록 가져온다 - var list = this.dsPRJ.ProjectsPart.Where(t => t.bconfirm == true && t.bbuy == false); - var cnt = list.Count(); - if(cnt < 1) - { - FCOMMON.Util.MsgE("검토목록 전체가 구매등록된 상태 입니다"); - return; - } - var dlg = FCOMMON.Util.MsgQ(string.Format("{0}건의 자료가 구매등록 대기 상태입니다\n\n구맹 등록상태로 전환 하시겠습니까?",cnt)); - if(dlg == DialogResult.Yes) - { - foreach (var dr in list) - { - dr.bbuy = true; - dr.EndEdit(); - } - this.FormattingData(); - } + ////검토는 되어있지만 구매등록이 안된 목록 가져온다 + //var list = this.dsPRJ.ProjectsPart.Where(t => t.bconfirm == true && t.bbuy == false); + //var cnt = list.Count(); + //if (cnt < 1) + //{ + // FCOMMON.Util.MsgE("검토목록 전체가 구매등록된 상태 입니다"); + // return; + //} + //var dlg = FCOMMON.Util.MsgQ(string.Format("{0}건의 자료가 구매등록 대기 상태입니다\n\n구맹 등록상태로 전환 하시겠습니까?", cnt)); + //if (dlg == DialogResult.Yes) + //{ + // foreach (var dr in list) + // { + // dr.bbuy = true; + // dr.EndEdit(); + // } + // this.FormattingData(); + //} + } + + private void toolStripButton1_Click_1(object sender, EventArgs e) + { + //쇼핑카드 데이터를 가져와서 검색을 실행한다 + this.Validate(); + this.bs.EndEdit(); + this.bsPart.EndEdit(); + var f = new fSCCheck(this.dsPRJ.ProjectsPart); + f.ShowDialog(); } } } diff --git a/SubProject/FPJ0000/Project/fPartList.resx b/SubProject/FPJ0000/Project/fPartList.resx index 7562ced..6ee1b0e 100644 --- a/SubProject/FPJ0000/Project/fPartList.resx +++ b/SubProject/FPJ0000/Project/fPartList.resx @@ -215,6 +215,12 @@ 100, 17 + + 100, 17 + + + 17, 17 + 17, 17 @@ -333,21 +339,21 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANGSURBVDhPtZBvTNJ5HMfdenbzQbVoVrp21ebm9nuQddMl - yZl/Vqhr7hBtYnhcoTlJBZuZ6U8KS2mYIiF0nmkkkeVMi4u02arNEyOoX+aUitCKPxFJ/ewuN9f7HHG7 - Wj3t9fTzeb2++37CPkc1ToYft1bVkn+JRypvFy+U3vhtodCYN5Lfm12T3dOzRDjw8ofQ6tcoqBpWvaXS - ce3JVQw6b8A4fR13X1mht57DLzq2urR7el9RxxPHr1o7K6T8j9x2KMvwqBNDzkF02s+jzFoDyT0SvVOX - kdnF9ud0atYXdTz2d9z2QXL2KThyW1ZIXXx5nFx+xFxBD08Po3FcBcHYfhSY96NtogPqW61IUyft29Pu - UDdddcP4kIZmyAt2nZlOKx9ZHgyQoxKZ0X4FpyfPgj8mQu6IEAcsddBZdUhTbrUVaCZid9eNLww8eAfF - dR96zAGUtU9ia8mQLBg4cKvQZno2CJHlEHYtysJRMXR2A0SGIiQ0xDHzlBN3mowuXLIEUK5/CVm/Fw19 - zxEr6LcFA8Wmgvl+558otVSjkVLiwlQvTpgaseXoT3/ktUxy08gHf18YnYVE70Lh7zMQamZw8oobMbyL - gWAgv48bGPWM4eJUH1Q3lWAd2+KPl26uHRCTK1QVZyLSSTPVes2NSr0b+c1O8JocaOh1YS37DB0McLsz - ba03m7GtlfUqUR4nNolzoj7w+dX/ZHL99I6dRFLFHerE5RcQtT8Hp/4pCtUzELXZsS6j7dMX0jUpkuQW - ptBWvnvN/N69ijkej6ZrD2MudxfoxGQiocRESQ3T2KN0IqNqCjKDG+yyYaxJbf50RBw8uOxDSbHWKxDM - z9XLMGvQwd/dibcZO0HHxhObBQNUVZcDeY0OkIt34B2/j8hUOR3BrGcEAx9FIsYcn0+/057Cm55uuKTV - 8J1uw+zPKfBHE0RMznmqTPsY5DkXcuruYmO2HhHMBk5Q/o/3WRwOLRDgDVkDn1YFb4sCr+MS4ImMJjZk - dVGCpgkkC01YnaRwMJjHtoe0LwkkJKa+jY13+Li5cItK4CU2wbMyklibrqaiUprNq5LkUgaLDA+tfxtv - TEy478doqXfVOrOHEQXP0pVEaPS9CAv7F8iy4SaECYkZAAAAAElFTkSuQmCC + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANISURBVDhPtZBdTFN3GIdJvFu4ULMSFIiZW0JCci5EF4hU + OsZHZoEYslIgFMs6LUioQIsBZHCoKwo1ZVBqaR1DsFIrjiBoZwWDURNGsWvnGSNQoSsg/bBWqodtkhB/ + I7XLZvTW5/Z9n+ef/xv2f1TTZPgZa10j+bN4ouZe2UbF7a83SoyFE0WDuQ25AwNbhCMrH4RW30ZBNbCa + LTWOm/M3MOq8DePiLTx4YoXeeglf6tjqiv7FY6U9846vtHZWSPkPue1kjuH3Xow5R9Frv4xKawMkv5AY + nLuG7D62P69X83FpzyN/zz0fJBcXwJHbckLq5svT5PZT5mp6fHEcrdMqCKaOo9h8HF0zPVDf7USGOuXY + kW6Huu2GG8bfaGjGvGA3memMqontwQA5KZEZ7ddxfvYi+FMi5E8IccLSBJ1VhwzlAVuxZib+MDm9MfLw + BRS3fBgwB1DZPYsD5WOyYODE3RKb6Y9RiCwnUbApCyfF0NkNEBlKkdSSwCxUztxvM7rwoyWAKv0KZMNe + tAwtI14wbAsGykzF68POn1BhqUcrpcSVuUGcNbVi/7ef/lDYMcvNIB/+dWVyFRK9CyXfL0GoWcJ3192I + 410NBANFQ9zApGcKV+eGoLqjBOv0fn+idF/jiJj8UFV9ITKTNFOdN92o0btR1O4Er82BlkEXdrEv0MEA + tz/b1nmnHZ93sp4kyxPEJnFezEs+v/7vbK6fPniISKm+T5299hii7mVwmhdQol6CqMuO3Vldr7+QqUmT + pHYwhbaqw1HrR48q1ng8mm78Bmv5BaCTU4mkchMlNSziiNKJrLo5yAxusCvHEZXe/vqIqK3d9rK8TOsV + CNbXmmVYNejg7+/F86xDoOMTiX2CEaquz4HCVgfIzTvwzvyK6HQ5HclsZgQDr0QixhqfT7/QnsOzgX64 + pPXwne/C6mdp8McSRFzeZapS+wjkJRfymh5gT64ekcwWTlD+lz9zOBxaIMAzsgE+rQreDgWeJiTBEx1L + fJLTRwnaZpAqNGFnisLBYJ7+IqS9SSApOf15fKLDx82HW1QOL7EXnohoYlemmopJazfvSJFLGSwyPLT+ + brxxceG+j2Kl3h27zR5GDDxbI4jQ6H0RFvYPxczhJbhCpsgAAAAASUVORK5CYII= @@ -370,20 +376,20 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALxSURBVDhPhZLrS1NhHMf3qv6EsF70UohSalFRL1JTmxrY - zVTMvM0pmprowiBbTCPzEpqoUCFK0YsK7aJTm5pzTjeckWnmXTed5XSpu5yjO2d+e87ZUgOhH3x4Xjzn - ++H8vucIuAm6q4q/UKJVhpdqfwfLtBQ5aZ4y7tTR4SV9dOgjzfAZqbriUMTrPXxo54Q86FGbrfTyhMHE - WuzrsNi2WbZy0PixYEX+ByOiS0cdogzFXk/UPWFFGvPM3E+2b9YJnYGBzshAO8tAM7MB1cQ6WkfsWGeA - plEK+e8MSHoyTP0jCZa1UmuODQzMsfgyx5CTQT8v2UD35Do+jTiIwIWBBRY6kxOFCiMC7nS+4sNRZf7T - 12QRm5LqK0iquoqqtnoUNJQhQOYDf4Ko8DSC5CdQ3lTOr2KjGSyuOBCU3s3wgsiSgLedQ81oHn+OKm0u - L4mrDEXuy1hk1kdDXHMRiTWJaBpcRPOwDR+/rWGV9BQs76F5gahCtNdPlsVqx7rwYkiOYlUGL4mvDiPh - S0h9mgL1pJ1fpWOcgpL0sGJ3Irig1y3gJqSom86uTYB+UoMa3W08bM9BVNk5xFdGQD/rgJ4UyxWsnnJ3 - YiGCIPkOwdl7MufJvIOIrRBhYKoPhV1pkCuyEf04EPWq9/g6z0BPiu2bcaKXYLY6EXDfIzgm9ZIIpQeQ - WReD69UhiCk/z0uyFbGQNqSQNwkEdz9gZNHPfWKClRTpm6VxC4TSffNC6X7ykBeEuV64XByI9GcJUI8o - UajMQ9qbBIirI6EnAh35N7REQDtdRKDaXsEvq4deWKUxOM/ydI+ZcKs2FckkKKmJRk7dza07DscGSwSN - 2wLONmfZFvwPO7dCyg7BqezPDv2ocXO3h3fD9MvsOhLXZPPESZGp7dOGNYdVPzbvml6iMG2mMOlhyebk - 4Zq30SwMpkUXRVGr3jdavnviAsHx1LZ0X3Fr+1GJ0uIraaS3SHbj8xdxI+0tblk5nNjS4ZOgSBIIBII/ - jEqgaRqp4qMAAAAASUVORK5CYII= + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALySURBVDhPhZLrS1NhHMf3qv6EsF70UohSyqiwF6WpTQ3s + Zipm3uYUTU10YZAtppF5CU1UqBCl6EWFdtGpTc05Nzeckde8zE3nBbwsdZdzdOfMb885W2og9IMPz4vn + fD+c3/ccATfBD5UJV0q1iogy7e8QqZYiJ81Tzp06OqK0jw57ph45L1FVHot8f4AP7Z3QJ72qZSu9Ojpl + Yi32TVhsu6xaOWj8WrSi4IsZMWXjDmGm/KAn6p7wYvXyxPQs2zfjhG6Wgc7MQDvDQG3agnJqE21jdmwy + QPM4hYJPs0h+MUL9IwmRtlEbji0MzLH4MceQk0E/L9lCj2ET38YcRODCwCIL3YITRXIzAh90vePD0eUB + xlvSyG1xzQ0kV99EdXsDChvLESj1QQBBWOSPYNkZVDRX8KvYaAZLaw4Ep/QwvCCqNPBj13ALWiZfo1qb + x0viq8KQ9zYOWQ0xENVeRVJtEpoHl9AyYsPXoQ2sk55CZL00LxBWCg/6S7NZ7UQ33gzLUKLM5CUJNeEk + fA1pL1OhMtj5VTonKShID2t2J0IKNW4BN6HFPXROXSL0BjVqdffxtCMX0eWXkFAVCf2MA3pSLFewatrd + iYUIgmV7BBceSZ1n848irlKIgek+FHWnQybPQczzIDQoP+PnPAM9KbbP5ISGsGx1IvCxR3BK4iX2kxxB + Vn0sbteEIrbiMi/JkcdB0phK3iQI3P2AmUU/94kJVlKkb7baLfCTHJr3kxwmD3nBL88L10uCkPEqEaox + BYoU+Uj/kAhRTRT0RKAj/4aWCGiniwiUuytczO6lF9dpDM6zPD0TC7hXl4YUEhTXxiC3/u7OHYdjiyWC + pl0BZ5uz7Ar+h51bIXWP4FzOd4dmyLC938P7YTLPu07EN9s8cVJkWodxdsNh1QwbXcYVCsZlCgYPKzYn + D9e8jWYxZZpzURS17n2nddQTFwhOp7Vn+IraOk6KFRZfcRO9Q4obn7+ImmhvUeva8aTWTp9EebJAIBD8 + AcSjn/E9z3PXAAAAAElFTkSuQmCC @@ -429,6 +435,9 @@ 385, 17 - 614, 18 + 17, 57 + + + 766, 18 \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectList.Designer.cs b/SubProject/FPJ0000/Project/fProjectList.Designer.cs index d5d9973..7741c6a 100644 --- a/SubProject/FPJ0000/Project/fProjectList.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectList.Designer.cs @@ -152,11 +152,14 @@ this.chk완료보고 = new System.Windows.Forms.ToolStripButton(); this.btViewDel = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); + this.cmbSort = new System.Windows.Forms.ToolStripComboBox(); this.panel1 = new System.Windows.Forms.Panel(); this.btSearch = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); - this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); - this.cmbSort = new System.Windows.Forms.ToolStripComboBox(); + this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); + this.prb1 = new arCtl.arLabel(); + this.label17 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); this.bn.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); @@ -172,6 +175,7 @@ this.panel3.SuspendLayout(); this.toolStrip2.SuspendLayout(); this.panel1.SuspendLayout(); + this.tableLayoutPanel3.SuspendLayout(); this.SuspendLayout(); // // bn @@ -206,14 +210,14 @@ this.btFind, this.toolStripSeparator6, this.sbCount}); - this.bn.Location = new System.Drawing.Point(0, 613); + this.bn.Location = new System.Drawing.Point(0, 621); this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; this.bn.Name = "bn"; this.bn.PositionItem = this.bindingNavigatorPositionItem; - this.bn.Size = new System.Drawing.Size(1084, 25); + this.bn.Size = new System.Drawing.Size(1179, 25); this.bn.TabIndex = 0; this.bn.Text = "bindingNavigator1"; // @@ -589,7 +593,7 @@ this.fpSpread1.Name = "fpSpread1"; this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1_Sheet1}); - this.fpSpread1.Size = new System.Drawing.Size(1084, 317); + this.fpSpread1.Size = new System.Drawing.Size(1179, 304); this.fpSpread1.StatusBarVisible = true; this.fpSpread1.TabIndex = 2; // @@ -783,7 +787,7 @@ this.tbRequest}); this.toolStrip1.Location = new System.Drawing.Point(5, 5); this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(854, 25); + this.toolStrip1.Size = new System.Drawing.Size(949, 25); this.toolStrip1.TabIndex = 4; this.toolStrip1.Text = "toolStrip1"; // @@ -890,10 +894,10 @@ // this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.label1.Location = new System.Drawing.Point(0, 372); + this.label1.Location = new System.Drawing.Point(0, 380); this.label1.Name = "label1"; this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); - this.label1.Size = new System.Drawing.Size(1084, 23); + this.label1.Size = new System.Drawing.Size(1179, 23); this.label1.TabIndex = 5; this.label1.Text = "--"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -913,7 +917,7 @@ this.tableLayoutPanel1.RowCount = 2; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(1084, 171); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1179, 171); this.tableLayoutPanel1.TabIndex = 11; // // panel4 @@ -921,10 +925,10 @@ this.panel4.Controls.Add(this.label11); this.panel4.Controls.Add(this.label4); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel4.Location = new System.Drawing.Point(542, 0); + this.panel4.Location = new System.Drawing.Point(589, 0); this.panel4.Margin = new System.Windows.Forms.Padding(0); this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(542, 25); + this.panel4.Size = new System.Drawing.Size(590, 25); this.panel4.TabIndex = 0; // // label11 @@ -932,7 +936,7 @@ this.label11.Dock = System.Windows.Forms.DockStyle.Fill; this.label11.Location = new System.Drawing.Point(0, 0); this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(442, 25); + this.label11.Size = new System.Drawing.Size(490, 25); this.label11.TabIndex = 14; this.label11.Text = "주간 진행 내용"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -943,7 +947,7 @@ this.label4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHist, "pdate", true)); this.label4.Dock = System.Windows.Forms.DockStyle.Right; this.label4.Font = new System.Drawing.Font("Cambria", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label4.Location = new System.Drawing.Point(442, 0); + this.label4.Location = new System.Drawing.Point(490, 0); this.label4.Margin = new System.Windows.Forms.Padding(0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(100, 25); @@ -964,7 +968,7 @@ this.label2.Location = new System.Drawing.Point(0, 0); this.label2.Margin = new System.Windows.Forms.Padding(0); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(542, 25); + this.label2.Size = new System.Drawing.Size(589, 25); this.label2.TabIndex = 0; this.label2.Text = "요청 사항"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -977,7 +981,7 @@ this.richTextBox1.Location = new System.Drawing.Point(3, 28); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.ReadOnly = true; - this.richTextBox1.Size = new System.Drawing.Size(536, 140); + this.richTextBox1.Size = new System.Drawing.Size(583, 140); this.richTextBox1.TabIndex = 1; this.richTextBox1.Text = ""; // @@ -986,10 +990,10 @@ this.richTextBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.richTextBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHist, "remark", true)); this.richTextBox2.Dock = System.Windows.Forms.DockStyle.Fill; - this.richTextBox2.Location = new System.Drawing.Point(545, 28); + this.richTextBox2.Location = new System.Drawing.Point(592, 28); this.richTextBox2.Name = "richTextBox2"; this.richTextBox2.ReadOnly = true; - this.richTextBox2.Size = new System.Drawing.Size(536, 140); + this.richTextBox2.Size = new System.Drawing.Size(584, 140); this.richTextBox2.TabIndex = 1; this.richTextBox2.Text = ""; // @@ -1026,7 +1030,7 @@ this.tableLayoutPanel2.RowCount = 2; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel2.Size = new System.Drawing.Size(1084, 47); + this.tableLayoutPanel2.Size = new System.Drawing.Size(1179, 47); this.tableLayoutPanel2.TabIndex = 12; // // label6 @@ -1045,7 +1049,7 @@ // this.label5.Dock = System.Windows.Forms.DockStyle.Fill; this.label5.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label5.Location = new System.Drawing.Point(817, 1); + this.label5.Location = new System.Drawing.Point(889, 1); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(74, 24); this.label5.TabIndex = 0; @@ -1058,7 +1062,7 @@ this.label9.Dock = System.Windows.Forms.DockStyle.Fill; this.label9.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.label9.Location = new System.Drawing.Point(275, 1); + this.label9.Location = new System.Drawing.Point(299, 1); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(74, 24); this.label9.TabIndex = 0; @@ -1071,7 +1075,7 @@ this.label3.Dock = System.Windows.Forms.DockStyle.Fill; this.label3.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); - this.label3.Location = new System.Drawing.Point(546, 1); + this.label3.Location = new System.Drawing.Point(594, 1); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(74, 24); this.label3.TabIndex = 0; @@ -1085,7 +1089,7 @@ this.label7.Dock = System.Windows.Forms.DockStyle.Fill; this.label7.Location = new System.Drawing.Point(85, 1); this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(183, 24); + this.label7.Size = new System.Drawing.Size(207, 24); this.label7.TabIndex = 1; this.label7.Text = "--"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1094,9 +1098,9 @@ // this.label8.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ddate", true)); this.label8.Dock = System.Windows.Forms.DockStyle.Fill; - this.label8.Location = new System.Drawing.Point(356, 1); + this.label8.Location = new System.Drawing.Point(380, 1); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(183, 24); + this.label8.Size = new System.Drawing.Size(207, 24); this.label8.TabIndex = 1; this.label8.Text = "--"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1105,9 +1109,9 @@ // this.label10.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "odate", true)); this.label10.Dock = System.Windows.Forms.DockStyle.Fill; - this.label10.Location = new System.Drawing.Point(627, 1); + this.label10.Location = new System.Drawing.Point(675, 1); this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(183, 24); + this.label10.Size = new System.Drawing.Size(207, 24); this.label10.TabIndex = 1; this.label10.Text = "--"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1117,9 +1121,9 @@ this.label12.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "edate", true)); this.label12.Dock = System.Windows.Forms.DockStyle.Fill; this.label12.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.label12.Location = new System.Drawing.Point(898, 1); + this.label12.Location = new System.Drawing.Point(970, 1); this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(182, 24); + this.label12.Size = new System.Drawing.Size(205, 24); this.label12.TabIndex = 1; this.label12.Text = "--"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1133,7 +1137,7 @@ this.label13.Location = new System.Drawing.Point(1, 26); this.label13.Margin = new System.Windows.Forms.Padding(0); this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(270, 20); + this.label13.Size = new System.Drawing.Size(294, 20); this.label13.TabIndex = 0; this.label13.Text = "Cost Summary"; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1143,7 +1147,7 @@ this.label14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.label14.Dock = System.Windows.Forms.DockStyle.Fill; this.label14.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label14.Location = new System.Drawing.Point(272, 26); + this.label14.Location = new System.Drawing.Point(296, 26); this.label14.Margin = new System.Windows.Forms.Padding(0); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(80, 20); @@ -1156,7 +1160,7 @@ this.label15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.label15.Dock = System.Windows.Forms.DockStyle.Fill; this.label15.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label15.Location = new System.Drawing.Point(543, 26); + this.label15.Location = new System.Drawing.Point(591, 26); this.label15.Margin = new System.Windows.Forms.Padding(0); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(80, 20); @@ -1169,7 +1173,7 @@ this.label16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.label16.Dock = System.Windows.Forms.DockStyle.Fill; this.label16.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label16.Location = new System.Drawing.Point(814, 26); + this.label16.Location = new System.Drawing.Point(886, 26); this.label16.Margin = new System.Windows.Forms.Padding(0); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(80, 20); @@ -1182,10 +1186,10 @@ this.sbSumO.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.sbSumO.Dock = System.Windows.Forms.DockStyle.Fill; this.sbSumO.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold); - this.sbSumO.Location = new System.Drawing.Point(353, 26); + this.sbSumO.Location = new System.Drawing.Point(377, 26); this.sbSumO.Margin = new System.Windows.Forms.Padding(0); this.sbSumO.Name = "sbSumO"; - this.sbSumO.Size = new System.Drawing.Size(189, 20); + this.sbSumO.Size = new System.Drawing.Size(213, 20); this.sbSumO.TabIndex = 1; this.sbSumO.Text = "--"; this.sbSumO.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1195,10 +1199,10 @@ this.sbSumI.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.sbSumI.Dock = System.Windows.Forms.DockStyle.Fill; this.sbSumI.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold); - this.sbSumI.Location = new System.Drawing.Point(624, 26); + this.sbSumI.Location = new System.Drawing.Point(672, 26); this.sbSumI.Margin = new System.Windows.Forms.Padding(0); this.sbSumI.Name = "sbSumI"; - this.sbSumI.Size = new System.Drawing.Size(189, 20); + this.sbSumI.Size = new System.Drawing.Size(213, 20); this.sbSumI.TabIndex = 1; this.sbSumI.Text = "--"; this.sbSumI.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1208,10 +1212,10 @@ this.sbSumE.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.sbSumE.Dock = System.Windows.Forms.DockStyle.Fill; this.sbSumE.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.sbSumE.Location = new System.Drawing.Point(895, 26); + this.sbSumE.Location = new System.Drawing.Point(967, 26); this.sbSumE.Margin = new System.Windows.Forms.Padding(0); this.sbSumE.Name = "sbSumE"; - this.sbSumE.Size = new System.Drawing.Size(188, 20); + this.sbSumE.Size = new System.Drawing.Size(211, 20); this.sbSumE.TabIndex = 1; this.sbSumE.Text = "--"; this.sbSumE.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1225,9 +1229,9 @@ this.panel3.Controls.Add(this.tableLayoutPanel1); this.panel3.Controls.Add(this.tableLayoutPanel2); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel3.Location = new System.Drawing.Point(0, 395); + this.panel3.Location = new System.Drawing.Point(0, 403); this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(1084, 218); + this.panel3.Size = new System.Drawing.Size(1179, 218); this.panel3.TabIndex = 7; // // toolStrip2 @@ -1250,7 +1254,7 @@ this.cmbSort}); this.toolStrip2.Location = new System.Drawing.Point(5, 30); this.toolStrip2.Name = "toolStrip2"; - this.toolStrip2.Size = new System.Drawing.Size(854, 27); + this.toolStrip2.Size = new System.Drawing.Size(949, 27); this.toolStrip2.TabIndex = 8; this.toolStrip2.Text = "toolStrip2"; // @@ -1351,49 +1355,6 @@ this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 27); // - // panel1 - // - this.panel1.Controls.Add(this.toolStrip2); - this.panel1.Controls.Add(this.toolStrip1); - this.panel1.Controls.Add(this.btSearch); - this.panel1.Controls.Add(this.button1); - this.panel1.Dock = System.Windows.Forms.DockStyle.Top; - this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Name = "panel1"; - this.panel1.Padding = new System.Windows.Forms.Padding(5); - this.panel1.Size = new System.Drawing.Size(1084, 55); - this.panel1.TabIndex = 9; - // - // btSearch - // - this.btSearch.Dock = System.Windows.Forms.DockStyle.Right; - this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); - this.btSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btSearch.Location = new System.Drawing.Point(859, 5); - this.btSearch.Name = "btSearch"; - this.btSearch.Padding = new System.Windows.Forms.Padding(5, 0, 3, 0); - this.btSearch.Size = new System.Drawing.Size(122, 45); - this.btSearch.TabIndex = 9; - this.btSearch.Text = "새로고침(&R)"; - this.btSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.btSearch.UseVisualStyleBackColor = true; - this.btSearch.Click += new System.EventHandler(this.button2_Click); - // - // button1 - // - this.button1.Dock = System.Windows.Forms.DockStyle.Right; - this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image"))); - this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.button1.Location = new System.Drawing.Point(981, 5); - this.button1.Name = "button1"; - this.button1.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.button1.Size = new System.Drawing.Size(98, 45); - this.button1.TabIndex = 0; - this.button1.Text = "닫기"; - this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click_1); - // // toolStripLabel2 // this.toolStripLabel2.Name = "toolStripLabel2"; @@ -1417,11 +1378,131 @@ this.cmbSort.Size = new System.Drawing.Size(100, 27); this.cmbSort.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBox1_SelectedIndexChanged); // + // panel1 + // + this.panel1.Controls.Add(this.toolStrip2); + this.panel1.Controls.Add(this.toolStrip1); + this.panel1.Controls.Add(this.btSearch); + this.panel1.Controls.Add(this.button1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Padding = new System.Windows.Forms.Padding(5); + this.panel1.Size = new System.Drawing.Size(1179, 55); + this.panel1.TabIndex = 9; + // + // btSearch + // + this.btSearch.Dock = System.Windows.Forms.DockStyle.Right; + this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); + this.btSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btSearch.Location = new System.Drawing.Point(954, 5); + this.btSearch.Name = "btSearch"; + this.btSearch.Padding = new System.Windows.Forms.Padding(5, 0, 3, 0); + this.btSearch.Size = new System.Drawing.Size(122, 45); + this.btSearch.TabIndex = 9; + this.btSearch.Text = "새로고침(&R)"; + this.btSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.btSearch.UseVisualStyleBackColor = true; + this.btSearch.Click += new System.EventHandler(this.button2_Click); + // + // button1 + // + this.button1.Dock = System.Windows.Forms.DockStyle.Right; + this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image"))); + this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.button1.Location = new System.Drawing.Point(1076, 5); + this.button1.Name = "button1"; + this.button1.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.button1.Size = new System.Drawing.Size(98, 45); + this.button1.TabIndex = 0; + this.button1.Text = "닫기"; + this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click_1); + // + // tableLayoutPanel3 + // + this.tableLayoutPanel3.ColumnCount = 5; + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 148F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel3.Controls.Add(this.label17, 0, 0); + this.tableLayoutPanel3.Controls.Add(this.prb1, 1, 0); + this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Bottom; + this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 359); + this.tableLayoutPanel3.Name = "tableLayoutPanel3"; + this.tableLayoutPanel3.RowCount = 1; + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel3.Size = new System.Drawing.Size(1179, 21); + this.tableLayoutPanel3.TabIndex = 34; + // + // prb1 + // + this.prb1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); + this.prb1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); + this.prb1.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.prb1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(24)))), ((int)(((byte)(24))))); + 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.tableLayoutPanel3.SetColumnSpan(this.prb1, 4); + this.prb1.Cursor = System.Windows.Forms.Cursors.Arrow; + this.prb1.Dock = System.Windows.Forms.DockStyle.Fill; + this.prb1.Font = new System.Drawing.Font("맑은 고딕", 11.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(153, 5); + this.prb1.Margin = new System.Windows.Forms.Padding(5); + this.prb1.MouseDownColor = System.Drawing.Color.Yellow; + this.prb1.MouseOverColor = System.Drawing.Color.Yellow; + 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.Lime; + this.prb1.ProgressColor2 = System.Drawing.Color.Green; + this.prb1.ProgressEnable = true; + this.prb1.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); + this.prb1.ProgressForeColor = System.Drawing.Color.White; + this.prb1.ProgressMax = 100F; + this.prb1.ProgressMin = 0F; + this.prb1.ProgressPadding = new System.Windows.Forms.Padding(0); + 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(1021, 11); + this.prb1.TabIndex = 32; + this.prb1.TextAlign = System.Drawing.ContentAlignment.TopCenter; + this.prb1.TextShadow = false; + this.prb1.TextVisible = true; + this.toolTip1.SetToolTip(this.prb1, "구매대상 중 구매완료 율"); + // + // label17 + // + this.label17.Dock = System.Windows.Forms.DockStyle.Fill; + this.label17.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label17.Location = new System.Drawing.Point(3, 0); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(142, 21); + this.label17.TabIndex = 0; + this.label17.Text = "구매 진행"; + this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // fProjectList // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; - this.ClientSize = new System.Drawing.Size(1084, 638); + this.ClientSize = new System.Drawing.Size(1179, 646); this.Controls.Add(this.fpSpread1); + this.Controls.Add(this.tableLayoutPanel3); this.Controls.Add(this.panel1); this.Controls.Add(this.label1); this.Controls.Add(this.panel3); @@ -1449,6 +1530,7 @@ this.toolStrip2.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); + this.tableLayoutPanel3.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); @@ -1564,5 +1646,8 @@ private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; private System.Windows.Forms.ToolStripLabel toolStripLabel2; private System.Windows.Forms.ToolStripComboBox cmbSort; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; + private arCtl.arLabel prb1; + private System.Windows.Forms.Label label17; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectList.cs b/SubProject/FPJ0000/Project/fProjectList.cs index ff3623e..8a000ab 100644 --- a/SubProject/FPJ0000/Project/fProjectList.cs +++ b/SubProject/FPJ0000/Project/fProjectList.cs @@ -500,7 +500,22 @@ namespace FPJ0000 var dr = drv.Row as dsPRJ.ProjectsRow; this.label1.Text = string.Format("[{0}] {1}", dr.name, dr.memo); - + var sql = "select (sum((case bbuy when 1 then( case qtybuy when qtyin then 1 else 0 end) else 0 end)) *100 / count(*)) from ProjectsPart where project = " + dr.idx.ToString(); + var stR_result = FCOMMON.DBM.ExecuteScalar(sql); + if (string.IsNullOrEmpty(stR_result)) + { + tableLayoutPanel3.Visible = false; + } + else + { + tableLayoutPanel3.Visible = true; + var perc = int.Parse(stR_result); + this.label17.Text = string.Format("구매 진행율 ({0}%)", perc); + this.prb1.ProgressMin = 0; + this.prb1.ProgressMax = 100; + this.prb1.ProgressValue = perc; + } + try { taHist.Fill(this.dsMSSQL.ProjectsHistory, dr.idx); diff --git a/SubProject/FPJ0000/Project/fProjectList.resx b/SubProject/FPJ0000/Project/fProjectList.resx index bee6d09..b20b042 100644 --- a/SubProject/FPJ0000/Project/fProjectList.resx +++ b/SubProject/FPJ0000/Project/fProjectList.resx @@ -230,34 +230,34 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIxSURBVDhPpZL9S1NxGMXvfxQEKqVILGiVpa5NWhotMFCK - kEIlZm3ThpqM7EVWuqbczJWy1lqMynJLJ1NTl7akV3uZvWx3bW5rbWV0T/d+d9Hd5U/1gcOF+5xzePjy - UP+NwfER7bcC0FvfQze4iFMDb6CmXz0WxiL6x6KavtHlpb5HEZhdYfQ8DINKpn8hV/XGWVbIiKDd0e+5 - XuqMtwV6jwa6UTVOuhrJzzrTMwgZEb3ur2Q+sHAFtP8yzHNdoJADbzh8aX7dAtNImMyzoSyeELLFGw5d - 9IkKqiwyRQW9G2XdUih7ZCI/ZZ0ICl0ZwvE0VJ3TqwVVllKFvKuEbR5pQttYM8rP7SRBnsHxYKbAPhWC - fTII50wQb78ksK9jkhQo+0sVsvM7WPW9euw1laP4dAGkrVsx5A3BymuC+XuD15/iqGj1QkHvqizrlLKN - zjpItIVskTZvu+H2EuKpFdimGOK1c19SQLbgNrBxqrEehLy3BNXX9+OY4wi2aDexm7Ubt/Ebtdk+IJZc - gWOawZ2ZjKjhJwwSqbWXVV2thM6txlF7DYq1BWx+UybM0zL0DsvffuKuL7PBgznukJyzDLKl7JZD0l6I - Il0e8k9sWA3zaG4skoJhLsiHScFN7iGyeRGIQWXwrnsH6msvEeUKXE/DxOv2cwV8IFfyDvdvISOigX6O - SOIHmFganyMpBJgkqD16D3IlabhvFzIijpsXxmuN/mStcR7VF3w4cHbtXv4RivoDQ7YtM+s88H0AAAAA + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIxSURBVDhPpZL9S1NxGMXvfxQEKqVILGiVpc5NWhotMFCK + kEIlZm3ThpoMkyxL15SbuVLWWotRWW7pZGrq0pb0ai+zl+2uzW2trYzu6d7vLrq7/Kk+cLhwn3MOD18e + 6r8x2D+i7ZYfest76IaWcHrwDdT0q8fCWMTAeETTP7ay3P8oDJMzhN6HIVCJ1C9kq+7iLCtkRNCuyPds + L3XW0wy9WwPdmBqnnA3kZ63xGYSMiD7XVzIfXLwC2ncZpvkLoJAFbzhyaWHDAuNoiMwzoczuIDLFGw53 + eUUFlWaZopzei5IeKZS9MpGfskwGhK40oVgKqnMzawWV5mKFvKuIbRptROt4E0o7d5Mgz9BEIF1gmw7C + NhWAYzaAt1/i2N8+RQqUA8UKWecuVn2vDvuMpSg8kwdpy3YMe4Kw8Jpk/t7g9acYyls8UNB7Kko6pGyD + oxYSbT5boM3Zabi9jFhyFdZphnht3JcUkC24Daycqi2HIO8rQtX1AzhuP4pt2i3sVu3mHfxGrdYPiCZW + YZ9hcGc2LWrkCYN4cv1lVVcroHOpccxWjUJtHpvbmA7zNA+/w8q3n7jrTW/wYJ47JMccg0wpe+SQtOWj + QJeD3JOb1sI8mhtLpGCEC/JhUnCTe4hMXvijUBk8G96B+tpLRLgC59MQ8bp8XAEfyFZZu+u3kBFRTz9H + OP4DTDSFz+Ek/EwCVJnejWxJ6u/bhIyIE6bFiZpuX6KmewFV57042LF+L/8IRf0BNaQtLf9Mjj8AAAAA SUVORK5CYII= iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ6SURBVDhPpZFLTBNRGIVn4Z6dexduRCSKVHcaXbkwcaV1 - ZeJjAy5MTVi4QIkBUROUh5rUBkWQVxHUIqFFghhoeVheLXXoy7aUSiswZabz6HQ6x9syCi5MfJzck5k7 - ud/5//8O9d/y9JfMhYfOyZH353dYL/sGjgb8rw7sDnSXFPzioZKCkZFjuzScolw9OklVswBUsnLees+I - CUQ/lKWXHZelH445DWLYYQjTbw6d1XCKcveVJlVFhBStAx+sBx96BiHcAzXDkKwUVIUj3tzaZzYgCVya - 7tW5NZyivO0H2ay8SeAmpPyNYBersD5VhsT0VTCuajALt8DM3cDGbAWxgXQWh7f3MKfhJMBcKmeEVTDu - JmzM1CI+eh1CfJJUZbXquWfyZwe58VzmYlHDcx0ckfPzZyViAVD4PKgINKTYI7jdXbDYJ9A8HELH2Aps - sxE4W49LGk4CjLq0qghQ2AlkGCvktR6kV00Ql+/DtdCKfmccvq88vqxJmAywGJz7hreW54qGk79g1ElZ - mYW8bkE63pavKkaqIQQr0G2PwRPlMBUSYA/yGCd2xSR0fgxBw0nAg2JRlRkCt0BaqYcYriKwAbz3Ur5t - f0KCPZDCmD+FYZqDMyKhbTS6HbB0tygmJBeT656ObMrXDM77GBxdB+5zDTrJzJ4VHqPeLTjnT8sSjANL - 2wF0TeE1unZ/u/vOvsR8bZG40+/6WpRJP4sZAjlCIqZJdcs8hwaTWbVWnrygRfxeDdbQHqMtdNNM7qJr - PIanNjr70NSnugZNmGjUsy/LC/Xa0T/X68pTVxxPLjJBawMGbp/gtc9/pxfle/WD1acF270z23fxb6Ko - 710hJfIYihq0AAAAAElFTkSuQmCC + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ6SURBVDhPpZFLTBNRGIVn4Z6dexduRCSKVHfEuDJx4Qq7 + M5G4AReKCQsXKFEQNYHwUCMQUEFeRVCLhJYQgoGWN7UdoJS2TEuptAJTZjqPTqdzvC2j4MLEx8k9mbmT + +53//+9Q/63lwTxHwFqoBEeMh3xVWRs67/O+O3XU15uX9YtH8rLGxgqO6DhFOU0GWdNSADSy0t5/T0pR + hMaKExv2IvmHw/O3pYC9NOD+cKZQxymKHsiPaaoEOVQDwV8HgWmDGOiDlmRJVhyayhPv7e+Tu5AELuHu + N9A6TlGeztNcStkjcCPi3gZwSxXYmSlGdPYmWFclWOd9sI672F0sIy4lnUXg6T/L6zgJMOUrSXELLN2I + 3YVqRMbvQIxMk6qcXj39jP3sID2e05Qr6Xi6g3NKZv6UTCwCqpABVdENOfwMNN0Ds20KraMMuiY2YV0M + Yq69QNZxEvDSkNBUESo3hSRrgbLdh8RWC6SNp3A52zE4H8HaVwHr2zKmfRyGHd/w0dym6jj5C00GOaVw + UHbMSEQ6MlWlYCVEfxl6bWEsh3jMMCJsfgGTxK6wjO7PDHScBNTmSprCEvg15M06SIEKApdC8BRl2vZG + Zdh8cUx44xh185gPyugYDx0ErD7OCYsxOra91JWKr7WC9zwH764Bv1KFbjLz8qaAcc8+nPbchoymodWD + AHdV9i139clO+tGJqKM6RzrsTwOv1GkvhwUC2RkJs6S6+QuPuuZezVJ+8Zoe8XvVW5hjTVbmnoncRc9k + GM3WlVRtc7/mGm7BVIORe1uSbdSP/rnel1+6YX9xnfVb6jH04IKgf/47vSk5bhx+eFm0PrlycBf/Jor6 + DvTKJcXzkSMVAAAAAElFTkSuQmCC @@ -320,8 +320,8 @@ 561, 17 - - 731, 17 + + 561, 17 731, 17 @@ -329,6 +329,9 @@ 647, 17 + + 731, 17 + 169, 56 diff --git a/SubProject/FPJ0000/Project/fSCCheck.Designer.cs b/SubProject/FPJ0000/Project/fSCCheck.Designer.cs new file mode 100644 index 0000000..f74e595 --- /dev/null +++ b/SubProject/FPJ0000/Project/fSCCheck.Designer.cs @@ -0,0 +1,710 @@ +namespace FPJ0000 +{ + partial class fSCCheck + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fSCCheck)); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType22 = new FarPoint.Win.Spread.CellType.NumberCellType(); + 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.NumberCellType numberCellType23 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType24 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.btView = new System.Windows.Forms.Button(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.dsPRJ = new FPJ0000.dsPRJ(); + this.panel1 = new System.Windows.Forms.Panel(); + this.label16 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.nudE = new System.Windows.Forms.NumericUpDown(); + this.nudS = new System.Windows.Forms.NumericUpDown(); + this.label2 = new System.Windows.Forms.Label(); + this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); + this.label1 = new System.Windows.Forms.Label(); + this.bn = new System.Windows.Forms.BindingNavigator(this.components); + this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); + this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.progressBar1 = new System.Windows.Forms.ToolStripProgressBar(); + this.panel2 = new System.Windows.Forms.Panel(); + this.nudSID = new System.Windows.Forms.NumericUpDown(); + this.label6 = new System.Windows.Forms.Label(); + this.nudQty = new System.Windows.Forms.NumericUpDown(); + this.label4 = new System.Windows.Forms.Label(); + this.nudPrice = new System.Windows.Forms.NumericUpDown(); + this.label15 = new System.Windows.Forms.Label(); + this.nudSupply = new System.Windows.Forms.NumericUpDown(); + this.label10 = new System.Windows.Forms.Label(); + this.nudPO = new System.Windows.Forms.NumericUpDown(); + this.label9 = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter(); + this.dv1 = new FarPoint.Win.Spread.FpSpread(); + this.bsList = new System.Windows.Forms.BindingSource(this.components); + this.nudName = new System.Windows.Forms.NumericUpDown(); + this.label5 = new System.Windows.Forms.Label(); + this.dv1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nudE)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudS)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); + this.bn.SuspendLayout(); + this.panel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nudSID)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudQty)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudPrice)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudSupply)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudPO)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bsList)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudName)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dv1_Sheet1)).BeginInit(); + this.SuspendLayout(); + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.Location = new System.Drawing.Point(92, 30); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(894, 21); + this.textBox1.TabIndex = 1; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.LinkColor = System.Drawing.Color.DeepSkyBlue; + this.linkLabel1.Location = new System.Drawing.Point(21, 35); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(57, 12); + this.linkLabel1.TabIndex = 0; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "파일 선택"; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); + // + // btView + // + this.btView.Dock = System.Windows.Forms.DockStyle.Right; + this.btView.ForeColor = System.Drawing.Color.Black; + this.btView.Location = new System.Drawing.Point(892, 23); + this.btView.Name = "btView"; + this.btView.Size = new System.Drawing.Size(102, 35); + this.btView.TabIndex = 26; + this.btView.Text = "1. 보기"; + this.btView.UseVisualStyleBackColor = true; + this.btView.Click += new System.EventHandler(this.button1_Click); + // + // bs + // + this.bs.DataMember = "SCTable"; + this.bs.DataSource = this.dsPRJ; + // + // dsPRJ + // + this.dsPRJ.DataSetName = "dsPRJ"; + this.dsPRJ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); + this.panel1.Controls.Add(this.label16); + this.panel1.Controls.Add(this.label3); + this.panel1.Controls.Add(this.nudE); + this.panel1.Controls.Add(this.nudS); + this.panel1.Controls.Add(this.label2); + this.panel1.Controls.Add(this.numericUpDown1); + this.panel1.Controls.Add(this.label1); + this.panel1.Controls.Add(this.textBox1); + this.panel1.Controls.Add(this.linkLabel1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.ForeColor = System.Drawing.Color.White; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(996, 87); + this.panel1.TabIndex = 0; + // + // label16 + // + this.label16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18))))); + this.label16.Dock = System.Windows.Forms.DockStyle.Top; + this.label16.ForeColor = System.Drawing.Color.WhiteSmoke; + this.label16.Location = new System.Drawing.Point(0, 0); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(996, 23); + this.label16.TabIndex = 52; + this.label16.Text = "엑셀 파일 설정"; + this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(259, 62); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(14, 12); + this.label3.TabIndex = 10; + this.label3.Text = "~"; + // + // nudE + // + this.nudE.Location = new System.Drawing.Point(278, 58); + this.nudE.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.nudE.Name = "nudE"; + this.nudE.Size = new System.Drawing.Size(45, 21); + this.nudE.TabIndex = 9; + this.nudE.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudE.Value = new decimal(new int[] { + 500, + 0, + 0, + 0}); + // + // nudS + // + this.nudS.Location = new System.Drawing.Point(210, 58); + this.nudS.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.nudS.Name = "nudS"; + this.nudS.Size = new System.Drawing.Size(45, 21); + this.nudS.TabIndex = 8; + this.nudS.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudS.Value = new decimal(new int[] { + 3, + 0, + 0, + 0}); + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(159, 62); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(45, 12); + this.label2.TabIndex = 7; + this.label2.Text = "줄 범위"; + // + // numericUpDown1 + // + this.numericUpDown1.Location = new System.Drawing.Point(92, 58); + this.numericUpDown1.Maximum = new decimal(new int[] { + 10, + 0, + 0, + 0}); + this.numericUpDown1.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDown1.Name = "numericUpDown1"; + this.numericUpDown1.Size = new System.Drawing.Size(45, 21); + this.numericUpDown1.TabIndex = 3; + this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.numericUpDown1.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(25, 62); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(53, 12); + this.label1.TabIndex = 2; + this.label1.Text = "시트번호"; + // + // bn + // + this.bn.AddNewItem = null; + this.bn.BindingSource = this.bs; + this.bn.CountItem = this.bindingNavigatorCountItem; + this.bn.DeleteItem = null; + this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bindingNavigatorMoveFirstItem, + this.bindingNavigatorMovePreviousItem, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.toolStripButton1, + this.toolStripButton2, + this.progressBar1}); + this.bn.Location = new System.Drawing.Point(0, 612); + this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; + this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; + this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; + this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; + this.bn.Name = "bn"; + this.bn.PositionItem = this.bindingNavigatorPositionItem; + this.bn.Size = new System.Drawing.Size(996, 28); + this.bn.TabIndex = 2; + this.bn.Text = "bindingNavigator1"; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 25); + this.bindingNavigatorCountItem.Text = "/{0}"; + this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; + // + // bindingNavigatorMoveFirstItem + // + this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); + this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; + this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 25); + this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); + this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; + this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 25); + this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 28); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); + this.bindingNavigatorPositionItem.Text = "0"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 28); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); + this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; + this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 25); + this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); + this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; + this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 25); + this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 28); + // + // progressBar1 + // + this.progressBar1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.progressBar1.Name = "progressBar1"; + this.progressBar1.Size = new System.Drawing.Size(200, 25); + // + // panel2 + // + this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); + this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel2.Controls.Add(this.nudName); + this.panel2.Controls.Add(this.label5); + this.panel2.Controls.Add(this.nudSID); + this.panel2.Controls.Add(this.label6); + this.panel2.Controls.Add(this.nudQty); + this.panel2.Controls.Add(this.label4); + this.panel2.Controls.Add(this.btView); + this.panel2.Controls.Add(this.nudPrice); + this.panel2.Controls.Add(this.label15); + this.panel2.Controls.Add(this.nudSupply); + this.panel2.Controls.Add(this.label10); + this.panel2.Controls.Add(this.nudPO); + this.panel2.Controls.Add(this.label9); + this.panel2.Controls.Add(this.label8); + this.panel2.Dock = System.Windows.Forms.DockStyle.Top; + this.panel2.ForeColor = System.Drawing.Color.White; + this.panel2.Location = new System.Drawing.Point(0, 87); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(996, 60); + this.panel2.TabIndex = 3; + // + // nudSID + // + this.nudSID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); + this.nudSID.Location = new System.Drawing.Point(61, 32); + this.nudSID.Name = "nudSID"; + this.nudSID.Size = new System.Drawing.Size(45, 21); + this.nudSID.TabIndex = 1; + this.nudSID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudSID.Value = new decimal(new int[] { + 3, + 0, + 0, + 0}); + this.nudSID.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(10, 36); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(24, 12); + this.label6.TabIndex = 0; + this.label6.Text = "SID"; + // + // nudQty + // + this.nudQty.Location = new System.Drawing.Point(260, 32); + this.nudQty.Name = "nudQty"; + this.nudQty.Size = new System.Drawing.Size(45, 21); + this.nudQty.TabIndex = 3; + this.nudQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudQty.Value = new decimal(new int[] { + 5, + 0, + 0, + 0}); + this.nudQty.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(209, 36); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(24, 12); + this.label4.TabIndex = 2; + this.label4.Text = "Qty"; + // + // nudPrice + // + this.nudPrice.BackColor = System.Drawing.Color.White; + this.nudPrice.Location = new System.Drawing.Point(353, 32); + this.nudPrice.Name = "nudPrice"; + this.nudPrice.Size = new System.Drawing.Size(45, 21); + this.nudPrice.TabIndex = 5; + this.nudPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudPrice.Value = new decimal(new int[] { + 6, + 0, + 0, + 0}); + this.nudPrice.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(318, 36); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(34, 12); + this.label15.TabIndex = 4; + this.label15.Text = "Price"; + // + // nudSupply + // + this.nudSupply.BackColor = System.Drawing.Color.White; + this.nudSupply.Location = new System.Drawing.Point(560, 32); + this.nudSupply.Name = "nudSupply"; + this.nudSupply.Size = new System.Drawing.Size(45, 21); + this.nudSupply.TabIndex = 9; + this.nudSupply.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudSupply.Value = new decimal(new int[] { + 11, + 0, + 0, + 0}); + this.nudSupply.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(510, 36); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(44, 12); + this.label10.TabIndex = 8; + this.label10.Text = "Suuply"; + // + // nudPO + // + this.nudPO.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); + this.nudPO.Location = new System.Drawing.Point(450, 32); + this.nudPO.Name = "nudPO"; + this.nudPO.Size = new System.Drawing.Size(45, 21); + this.nudPO.TabIndex = 7; + this.nudPO.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudPO.Value = new decimal(new int[] { + 9, + 0, + 0, + 0}); + this.nudPO.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged); + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(421, 36); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(20, 12); + this.label9.TabIndex = 6; + this.label9.Text = "Po"; + // + // label8 + // + this.label8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18))))); + this.label8.Dock = System.Windows.Forms.DockStyle.Top; + this.label8.ForeColor = System.Drawing.Color.WhiteSmoke; + this.label8.Location = new System.Drawing.Point(0, 0); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(994, 23); + this.label8.TabIndex = 51; + this.label8.Text = "엑셀/DB 연결 정보 설정 ( A열 = 1)"; + this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // dv1 + // + this.dv1.AccessibleDescription = ""; + this.dv1.Dock = System.Windows.Forms.DockStyle.Fill; + this.dv1.Location = new System.Drawing.Point(0, 147); + this.dv1.Name = "dv1"; + this.dv1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { + this.dv1_Sheet1}); + this.dv1.Size = new System.Drawing.Size(996, 465); + this.dv1.TabIndex = 4; + // + // bsList + // + this.bsList.DataMember = "SCTable"; + this.bsList.DataSource = this.dsPRJ; + // + // nudName + // + this.nudName.Location = new System.Drawing.Point(156, 32); + this.nudName.Name = "nudName"; + this.nudName.Size = new System.Drawing.Size(45, 21); + this.nudName.TabIndex = 53; + this.nudName.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudName.Value = new decimal(new int[] { + 4, + 0, + 0, + 0}); + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(109, 36); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(40, 12); + this.label5.TabIndex = 52; + this.label5.Text = "NAme"; + // + // dv1_Sheet1 + // + this.dv1_Sheet1.Reset(); + this.dv1_Sheet1.SheetName = "Sheet1"; + // Formulas and custom names must be loaded with R1C1 reference style + this.dv1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; + this.dv1_Sheet1.ColumnCount = 7; + this.dv1_Sheet1.ActiveColumnIndex = -1; + this.dv1_Sheet1.ActiveRowIndex = -1; + numberCellType22.DecimalPlaces = 0; + numberCellType22.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType22.MaximumValue = 2147483647D; + numberCellType22.MinimumValue = -2147483648D; + this.dv1_Sheet1.Columns.Get(0).CellType = numberCellType22; + this.dv1_Sheet1.Columns.Get(0).DataField = "idx"; + this.dv1_Sheet1.Columns.Get(1).CellType = textCellType29; + this.dv1_Sheet1.Columns.Get(1).DataField = "SID"; + this.dv1_Sheet1.Columns.Get(2).CellType = textCellType30; + this.dv1_Sheet1.Columns.Get(2).DataField = "PName"; + numberCellType23.DecimalPlaces = 0; + numberCellType23.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType23.MaximumValue = 2147483647D; + numberCellType23.MinimumValue = -2147483648D; + this.dv1_Sheet1.Columns.Get(3).CellType = numberCellType23; + this.dv1_Sheet1.Columns.Get(3).DataField = "Qty"; + numberCellType24.MaximumValue = 999999999999999D; + numberCellType24.MinimumValue = -999999999999999D; + this.dv1_Sheet1.Columns.Get(4).CellType = numberCellType24; + this.dv1_Sheet1.Columns.Get(4).DataField = "Price"; + this.dv1_Sheet1.Columns.Get(5).CellType = textCellType31; + this.dv1_Sheet1.Columns.Get(5).DataField = "PO"; + this.dv1_Sheet1.Columns.Get(6).CellType = textCellType32; + this.dv1_Sheet1.Columns.Get(6).DataField = "Supply"; + this.dv1_Sheet1.DataSource = this.bs; + this.dv1_Sheet1.RowHeader.Columns.Default.Resizable = false; + this.dv1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; + // + // toolStripButton1 + // + this.toolStripButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.toolStripButton1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.toolStripButton1.Image = global::FPJ0000.Properties.Resources.accept; + this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton1.Name = "toolStripButton1"; + this.toolStripButton1.Size = new System.Drawing.Size(100, 25); + this.toolStripButton1.Text = "수량 검사"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1); + // + // toolStripButton2 + // + this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); + this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton2.Name = "toolStripButton2"; + this.toolStripButton2.Size = new System.Drawing.Size(131, 25); + this.toolStripButton2.Text = "구매확정 모두 취소"; + this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); + // + // fSCCheck + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(996, 640); + this.Controls.Add(this.dv1); + this.Controls.Add(this.panel2); + this.Controls.Add(this.bn); + this.Controls.Add(this.panel1); + this.Name = "fSCCheck"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "S/C 수량 체크"; + this.Load += new System.EventHandler(this.@__Load); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nudE)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudS)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); + this.bn.ResumeLayout(false); + this.bn.PerformLayout(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nudSID)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudQty)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudPrice)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudSupply)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudPO)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bsList)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudName)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dv1_Sheet1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.LinkLabel linkLabel1; + private System.Windows.Forms.Button btView; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.BindingNavigator bn; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.ToolStripProgressBar progressBar1; + private System.Windows.Forms.BindingSource bs; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.NumericUpDown numericUpDown1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.NumericUpDown nudE; + private System.Windows.Forms.NumericUpDown nudS; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.NumericUpDown nudPO; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.NumericUpDown nudSupply; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.NumericUpDown nudPrice; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Label label16; + private dsPRJTableAdapters.ProjectsPartTableAdapter ta; + private dsPRJ dsPRJ; + private System.Windows.Forms.NumericUpDown nudQty; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.NumericUpDown nudSID; + private System.Windows.Forms.Label label6; + private FarPoint.Win.Spread.FpSpread dv1; + private System.Windows.Forms.BindingSource bsList; + private System.Windows.Forms.NumericUpDown nudName; + private System.Windows.Forms.Label label5; + private FarPoint.Win.Spread.SheetView dv1_Sheet1; + private System.Windows.Forms.ToolStripButton toolStripButton1; + private System.Windows.Forms.ToolStripButton toolStripButton2; + } +} \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fSCCheck.cs b/SubProject/FPJ0000/Project/fSCCheck.cs new file mode 100644 index 0000000..bece89c --- /dev/null +++ b/SubProject/FPJ0000/Project/fSCCheck.cs @@ -0,0 +1,311 @@ +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 +{ + public partial class fSCCheck : Form + { + dsPRJ.ProjectsPartDataTable dt; + public fSCCheck(dsPRJ.ProjectsPartDataTable dt_) + { + InitializeComponent(); + this.dt = dt_; + this.FormClosed += __Closed; + //this.bs.DataSource = dt; + } + + private void __Load(object sender, EventArgs e) + { + //this.sd.Value = DateTime.Now.AddMonths(-1); + //this.dtPdate.Value = DateTime.Now; + textBox1.AllowDrop = true; + this.textBox1.DragDrop += TextBox1_DragDrop; + this.textBox1.DragEnter += TextBox1_DragEnter; + } + + private void TextBox1_DragEnter(object sender, DragEventArgs e) + { + e.Effect = DragDropEffects.All; + } + + private void TextBox1_DragDrop(object sender, DragEventArgs e) + { + var files = (string[])e.Data.GetData(DataFormats.FileDrop, false); + if (files != null && files.Length > 0) + { + var file = files[0]; + if (System.IO.File.Exists(file)) + { + textBox1.Text = file; + } + } + + } + + void __Closed(object sender, FormClosedEventArgs e) + { + + } + + private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + OpenFileDialog od = new OpenFileDialog(); + od.Filter = "excel|*.xlsx|all files|*.*"; + od.RestoreDirectory = true; + od.FilterIndex = 1; + od.RestoreDirectory = true; + if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return; + textBox1.Text = od.FileName; + } + + private void button1_Click(object sender, EventArgs e) + { + + if (textBox1.Text == "") + { + FCOMMON.Util.MsgE("파일을 선택하세요"); + textBox1.Focus(); + return; + } + if (!System.IO.File.Exists(textBox1.Text)) + { + FCOMMON.Util.MsgE("입력하신 파일이 존재하지 않습니다."); + textBox1.Focus(); + textBox1.SelectAll(); + return; + } + + this.dsPRJ.ProjectsPart.Clear(); + this.dsPRJ.ProjectsPart.AcceptChanges(); + + libxl.Book book;// = new libxl.BinBook(); + book = new libxl.XmlBook(); + book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey); + try + { + book.load(textBox1.Text); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE(ex.Message); + return; + } + + int sheetNum = (int)numericUpDown1.Value; + if (sheetNum > book.sheetCount()) + { + FCOMMON.Util.MsgE("입력한 시트 번호는 존재하지 않습니다."); + book = null; + return; + } + var sheet = book.getSheet(sheetNum - 1); + var MaxRow = sheet.lastRow(); + var MinRow = sheet.firstRow(); + + MaxRow = (int)Math.Min(MaxRow, nudE.Value - 1); + MinRow = (int)Math.Max(MinRow, nudS.Value - 1); + + string SID = ""; + string 수량 = ""; + string 단가 = ""; + string PO = ""; + string 품명 = ""; + string 공급사 = ""; + + this.progressBar1.Value = 0; + this.progressBar1.Maximum = MaxRow - MinRow + 1; + this.dv1.Visible = false; + try + { + for (int r = MinRow; r <= MaxRow; r++) + { + progressBar1.Value += 1; + + //필수값을 먼저 확인한다. + if (nudSID.Value > 0) SID = sheet.readStr(r, (int)nudSID.Value - 1).Trim(); + if (nudQty.Value > 0) 수량 = sheet.readStr(r, (int)nudQty.Value - 1).Replace(",", "").Trim(); + if (nudPrice.Value > 0) 단가 = sheet.readStr(r, (int)nudPrice.Value - 1).Replace(",", "").Trim(); + if (nudPO.Value > 0) PO = sheet.readStr(r, (int)nudPO.Value - 1).Trim(); + if (nudSupply.Value > 0) 공급사 = sheet.readStr(r, (int)nudSupply.Value - 1).Trim(); + if (nudName.Value > 0) 품명 = sheet.readStr(r, (int)nudName.Value - 1).Trim(); + + var qty = 0; + var price = 0; + + //sid 공백과 - _ 제거 200506 + SID = SID.Replace(" ", "").Replace("-", "").Replace("_", "").Trim(); + + //필수자료갸ㅏ 없는 경우처리하지 않음 + if (PO.Trim() == "") continue; + + var newdr = this.dsPRJ.SCTable.NewSCTableRow(); + newdr.PName = 품명; + newdr.SID = SID; + newdr.Qty = 0; + newdr.Price = 0; + newdr.Supply = 공급사; + newdr.PO = PO; + + if (단가 != "") newdr.Price = decimal.Parse(단가); + if (수량 != "") newdr.Qty = int.Parse(수량); + + + this.dsPRJ.SCTable.AddSCTableRow(newdr); + } + //this.dsPRJ.ProjectsPart.AcceptChanges(); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE("불러오는 중 오류 발생\n" + ex.Message); + } + // + book = null; + + //sbSum.Text = string.Format("합계:{0:N0}원", sumamt); + //this.bs.DataSource = dt; + //this.bn.BindingSource = this.bs; + //this.dataGridView1.AutoGenerateColumns = true; + //this.dataGridView1.DataSource = this.bs; + this.dv1.Visible = true; + + if (this.bs.Count < 1) + { + FCOMMON.Util.MsgE("입력된 자료가 없습니다.\n\n지정된 엑셀의 1번째 칸에 값이 없다면 입력되지 않습니다."); + } + } + + private void button2_Click(object sender, EventArgs e) + { + var dlg = FCOMMON.Util.MsgQ("데이터의 SID를 ITEM정보와 확인하여 업데이트 합니다."); + if (dlg != System.Windows.Forms.DialogResult.Yes) return; + + var i = FCOMMON.DBM.UpdateItemIndexbySID(); + FCOMMON.Util.MsgI(i.ToString() + "건의 자료가 업데이트 되었습니다."); + + + } + + private void numericUpDown6_ValueChanged(object sender, EventArgs e) + { + var ctl = sender as NumericUpDown; + if (ctl.Value == 0) ctl.BackColor = Color.Gray; + else ctl.BackColor = Color.White; + } + + private void toolStripButton1_Click(object sender, EventArgs e) + { + //저장버튼 + if (dsPRJ.ProjectsPart.Rows.Count < 1) + { + FCOMMON.Util.MsgE("등록 가능한 자료가 없습니다."); + return; + } + + System.Text.StringBuilder sb = new StringBuilder(); + sb.AppendLine("다음 자료를 추가하시겠습니까?"); + sb.AppendLine(); + sb.AppendLine("'저장 완료' 메세지가 나올때 까지 기다려 주세요."); + sb.AppendLine(); + sb.AppendLine("실행 하려면 '예' 를 누르세요"); + var dlg = FCOMMON.Util.MsgQ(sb.ToString()); + if (dlg != System.Windows.Forms.DialogResult.Yes) return; + + ta.Update(this.dsPRJ.ProjectsPart); + dsPRJ.ProjectsPart.AcceptChanges(); + FCOMMON.Util.MsgI("Save OK"); + } + + private void toolStripButton1_Click_1(object sender, EventArgs e) + { + var dlg = FCOMMON.Util.MsgQ("SID별 수량 검사를 진행합니다. \n\n구매여부가 자동 선택되며 특이 사항은 비고에 추가 됩니다"); + if (dlg != DialogResult.Yes) return; + + //Sctable 데이터를 sid 별 그룹으로 처리해야함 + var sclist = this.dsPRJ.SCTable.GroupBy(t => t.SID); + + + this.progressBar1.Maximum = sclist.Count() ; + this.progressBar1.Value = 0; + //sc list 의 isd목록을 회전해서,, 파트리스트의 목록과 비교한다. + foreach(var scgrp in sclist) + { + //progress bar + if(this.progressBar1.Value < this.progressBar1.Maximum) + this.progressBar1.Value += 1; + + var dr = scgrp.FirstOrDefault(); + + var sid = dr.SID; + var price = dr.Price; + var supply = dr.Supply; + + + var qtysum = scgrp.Sum(t => t.Qty); + + var ptlist = this.dt.Where(t => t.ItemSid == sid); + var qtysumPt = ptlist.Sum(t => t.qtybuy); + + //sc와 pt 의 수량이 다르면 문제이다 + if(qtysum != qtysumPt) + { + var ermsg = "[SC:수량불일치 엑셀:" + qtysum.ToString() + "/파트:" + qtysumPt.ToString() + "]"; + foreach (var ptdata in ptlist) + { + var memo = ptdata.memo; + if(memo.StartsWith("[SC:")==false) + { + ptdata.memo = ermsg + memo;// ptdata.memo; + } + else + { + ptdata.memo = ermsg + memo.Substring(memo.IndexOf("]")); + } + ptdata.EndEdit(); + } + } + else + { + //수량이 같으면 잘 된거다 + // var ermsg = "[SC:수량일치 엑셀:" + qtysum.ToString() + "/파트:" + qtysumPt.ToString() + "]"; + foreach (var ptdata in ptlist) + { + ptdata.bbuy = true; + ptdata.price = price; + ptdata.ItemSupply = supply; + ptdata.ItemSupplyidx = -1; + + //var memo = ptdata.memo; + + //if (memo.StartsWith("[SC:") == false) + //{ + // ptdata.memo = ermsg + memo;// ptdata.memo; + //} + //else + //{ + // ptdata.memo = ermsg + memo.Substring(memo.IndexOf("]")); + //} + ptdata.EndEdit(); + } + } + } + + } + + private void toolStripButton2_Click(object sender, EventArgs e) + { + var dlg = FCOMMON.Util.MsgQ("모든 자료의 구매 확정상태가 해제 됩니다"); + if (dlg != DialogResult.Yes) return; + foreach (var item in this.dt) + { + item.bbuy = false; + item.EndEdit(); + } + } + } +} diff --git a/SubProject/FPJ0000/Project/fSCCheck.resx b/SubProject/FPJ0000/Project/fSCCheck.resx new file mode 100644 index 0000000..aa559c7 --- /dev/null +++ b/SubProject/FPJ0000/Project/fSCCheck.resx @@ -0,0 +1,200 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 83, 17 + + + 209, 17 + + + 209, 17 + + + 17, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 + wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 + v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg + UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA + Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu + lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w + 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f + Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ + 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// + h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B + twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA + kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG + WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 + 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + 147, 17 + + + 527, 17 + + + 444, 17 + + + 527, 17 + + \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/rPartList.Designer.cs b/SubProject/FPJ0000/Project/rPartList.Designer.cs index 6b9fb1e..dc8f981 100644 --- a/SubProject/FPJ0000/Project/rPartList.Designer.cs +++ b/SubProject/FPJ0000/Project/rPartList.Designer.cs @@ -42,7 +42,9 @@ FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); this.dsPRJ = new FPJ0000.dsPRJ(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); - this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); + this.exportListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter(); this.bs = new System.Windows.Forms.BindingSource(this.components); @@ -59,9 +61,7 @@ this.statusTextBox = new System.Windows.Forms.TextBox(); this.dsReport1 = new FPJ0000.dsReport(); this.bsSummary = new System.Windows.Forms.BindingSource(this.components); - this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); - this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); - this.exportListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); pdateLabel = new System.Windows.Forms.Label(); requestLabel = new System.Windows.Forms.Label(); reqstaffLabel = new System.Windows.Forms.Label(); @@ -71,12 +71,12 @@ statusLabel = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); + this.cm1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsReport1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bsSummary)).BeginInit(); - this.cm1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); this.SuspendLayout(); // // pdateLabel @@ -157,52 +157,29 @@ this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1_Sheet1}); this.fpSpread1.Size = new System.Drawing.Size(703, 599); + this.fpSpread1.StatusBarVisible = true; this.fpSpread1.TabIndex = 6; // - // fpSpread1_Sheet1 + // cm1 // - 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 = 4; - this.fpSpread1_Sheet1.RowCount = 0; - this.fpSpread1_Sheet1.ActiveColumnIndex = -1; - this.fpSpread1_Sheet1.ActiveRowIndex = -1; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "중분류"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "소분류"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "공급처"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "금액"; - this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 38F; - this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType4; - 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(0).Width = 151F; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType5; - this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(1).Label = "소분류"; - this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(1).Width = 151F; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType6; - 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(2).Width = 151F; - numberCellType2.DecimalPlaces = 0; - numberCellType2.MaximumValue = 999999999999999D; - numberCellType2.MinimumValue = -999999999999999D; - numberCellType2.NegativeRed = true; - numberCellType2.Separator = ","; - numberCellType2.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType2; - this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; - this.fpSpread1_Sheet1.Columns.Get(3).Label = "금액"; - this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(3).Width = 171F; - this.fpSpread1_Sheet1.DataAutoSizeColumns = false; - this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; - this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; + this.cm1.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripMenuItem1, + this.exportListToolStripMenuItem}); + this.cm1.Name = "cm1"; + this.cm1.Size = new System.Drawing.Size(243, 46); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(239, 6); + // + // exportListToolStripMenuItem + // + this.exportListToolStripMenuItem.Name = "exportListToolStripMenuItem"; + this.exportListToolStripMenuItem.Size = new System.Drawing.Size(242, 36); + this.exportListToolStripMenuItem.Text = "목록 내보내기"; + this.exportListToolStripMenuItem.Click += new System.EventHandler(this.exportListToolStripMenuItem_Click); // // ta // @@ -350,26 +327,50 @@ this.bsSummary.DataSource = this.dsReport1; this.bsSummary.Sort = ""; // - // cm1 + // fpSpread1_Sheet1 // - this.cm1.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripMenuItem1, - this.exportListToolStripMenuItem}); - this.cm1.Name = "cm1"; - this.cm1.Size = new System.Drawing.Size(243, 68); - // - // toolStripMenuItem1 - // - this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(239, 6); - // - // exportListToolStripMenuItem - // - this.exportListToolStripMenuItem.Name = "exportListToolStripMenuItem"; - this.exportListToolStripMenuItem.Size = new System.Drawing.Size(242, 36); - this.exportListToolStripMenuItem.Text = "목록 내보내기"; - this.exportListToolStripMenuItem.Click += new System.EventHandler(this.exportListToolStripMenuItem_Click); + 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 = 4; + this.fpSpread1_Sheet1.RowCount = 0; + this.fpSpread1_Sheet1.ActiveColumnIndex = -1; + this.fpSpread1_Sheet1.ActiveRowIndex = -1; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "중분류"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "소분류"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "공급처"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "금액"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 38F; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType4; + 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(0).Width = 151F; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(1).Label = "소분류"; + this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Width = 151F; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType6; + 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(2).Width = 151F; + numberCellType2.DecimalPlaces = 0; + numberCellType2.MaximumValue = 999999999999999D; + numberCellType2.MinimumValue = -999999999999999D; + numberCellType2.NegativeRed = true; + numberCellType2.Separator = ","; + numberCellType2.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType2; + this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; + this.fpSpread1_Sheet1.Columns.Get(3).Label = "금액"; + this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(3).Width = 171F; + this.fpSpread1_Sheet1.DataAutoSizeColumns = false; + this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // // rPartList // @@ -384,13 +385,13 @@ this.Load += new System.EventHandler(this.fRPartList_Load); ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); + this.cm1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsReport1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bsSummary)).EndInit(); - this.cm1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); this.ResumeLayout(false); } @@ -414,9 +415,9 @@ private System.Windows.Forms.TextBox statusTextBox; private dsReport dsReport1; private System.Windows.Forms.BindingSource bsSummary; - private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; private System.Windows.Forms.ContextMenuStrip cm1; private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; private System.Windows.Forms.ToolStripMenuItem exportListToolStripMenuItem; + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/rPartList.cs b/SubProject/FPJ0000/Project/rPartList.cs index eca2ce9..a417582 100644 --- a/SubProject/FPJ0000/Project/rPartList.cs +++ b/SubProject/FPJ0000/Project/rPartList.cs @@ -142,7 +142,7 @@ namespace FPJ0000 sum2 = 0; grp1 = dr.ItemGroup.Trim(); grp2 = dr.option1.Trim(); - + grp2cnt = 0; } if (grp2 != dr.option1.Trim()) @@ -153,7 +153,7 @@ namespace FPJ0000 { this.fpSpread1_Sheet1.Rows.Add(this.fpSpread1_Sheet1.RowCount, 1); this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 0].Value = ""; - this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].Value = "소계(" + grp2 + ")" ; + this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].Value = "소계(" + grp2 + ")";// ; this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = ""; this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = sum2; this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].BackColor = Color.FromArgb(240, 240, 240); @@ -173,10 +173,11 @@ namespace FPJ0000 } } } + grp2cnt = 1; spanStart2 = this.fpSpread1_Sheet1.RowCount; sum2 = 0; grp2 = dr.option1.Trim(); - grp2cnt = 1; + } else grp2cnt += 1; diff --git a/SubProject/FPJ0000/Project/rPartList.resx b/SubProject/FPJ0000/Project/rPartList.resx index ec40d49..1d1f57f 100644 --- a/SubProject/FPJ0000/Project/rPartList.resx +++ b/SubProject/FPJ0000/Project/rPartList.resx @@ -145,7 +145,7 @@ 614, 18 - 536, 17 + 689, 18 100, 17 diff --git a/SubProject/FPJ0000/dsPRJ.Designer.cs b/SubProject/FPJ0000/dsPRJ.Designer.cs index a7d9053..945a81a 100644 --- a/SubProject/FPJ0000/dsPRJ.Designer.cs +++ b/SubProject/FPJ0000/dsPRJ.Designer.cs @@ -42,6 +42,8 @@ namespace FPJ0000 { private EETGW_NoteDataTable tableEETGW_Note; + private SCTableDataTable tableSCTable; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -101,6 +103,9 @@ namespace FPJ0000 { if ((ds.Tables["EETGW_Note"] != null)) { base.Tables.Add(new EETGW_NoteDataTable(ds.Tables["EETGW_Note"])); } + if ((ds.Tables["SCTable"] != null)) { + base.Tables.Add(new SCTableDataTable(ds.Tables["SCTable"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -210,6 +215,16 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public SCTableDataTable SCTable { + get { + return this.tableSCTable; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -305,6 +320,9 @@ namespace FPJ0000 { if ((ds.Tables["EETGW_Note"] != null)) { base.Tables.Add(new EETGW_NoteDataTable(ds.Tables["EETGW_Note"])); } + if ((ds.Tables["SCTable"] != null)) { + base.Tables.Add(new SCTableDataTable(ds.Tables["SCTable"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -392,6 +410,12 @@ namespace FPJ0000 { this.tableEETGW_Note.InitVars(); } } + this.tableSCTable = ((SCTableDataTable)(base.Tables["SCTable"])); + if ((initTable == true)) { + if ((this.tableSCTable != null)) { + this.tableSCTable.InitVars(); + } + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -420,6 +444,8 @@ namespace FPJ0000 { base.Tables.Add(this.tableSPMaster); this.tableEETGW_Note = new EETGW_NoteDataTable(); base.Tables.Add(this.tableEETGW_Note); + this.tableSCTable = new SCTableDataTable(); + base.Tables.Add(this.tableSCTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -476,6 +502,12 @@ namespace FPJ0000 { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + private bool ShouldSerializeSCTable() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -564,6 +596,9 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public delegate void EETGW_NoteRowChangeEventHandler(object sender, EETGW_NoteRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public delegate void SCTableRowChangeEventHandler(object sender, SCTableRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -2413,8 +2448,6 @@ namespace FPJ0000 { private global::System.Data.DataColumn columnbbuy; - private global::System.Data.DataColumn columnbconfirm; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public ProjectsPartDataTable() { @@ -2688,14 +2721,6 @@ namespace FPJ0000 { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public global::System.Data.DataColumn bconfirmColumn { - get { - return this.columnbconfirm; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -2762,8 +2787,7 @@ namespace FPJ0000 { int qtyn, decimal amtn, int qtyin, - bool bbuy, - bool bconfirm) { + bool bbuy) { ProjectsPartRow rowProjectsPartRow = ((ProjectsPartRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -2795,8 +2819,7 @@ namespace FPJ0000 { qtyn, amtn, qtyin, - bbuy, - bconfirm}; + bbuy}; rowProjectsPartRow.ItemArray = columnValuesArray; this.Rows.Add(rowProjectsPartRow); return rowProjectsPartRow; @@ -2856,7 +2879,6 @@ namespace FPJ0000 { this.columnamtn = base.Columns["amtn"]; this.columnqtyin = base.Columns["qtyin"]; this.columnbbuy = base.Columns["bbuy"]; - this.columnbconfirm = base.Columns["bconfirm"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -2926,8 +2948,6 @@ namespace FPJ0000 { base.Columns.Add(this.columnqtyin); this.columnbbuy = new global::System.Data.DataColumn("bbuy", typeof(bool), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnbbuy); - this.columnbconfirm = new global::System.Data.DataColumn("bconfirm", typeof(bool), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnbconfirm); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnidx}, true)); this.columnidx.AutoIncrement = true; @@ -5376,6 +5396,349 @@ namespace FPJ0000 { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class SCTableDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidx; + + private global::System.Data.DataColumn columnSID; + + private global::System.Data.DataColumn columnPName; + + private global::System.Data.DataColumn columnQty; + + private global::System.Data.DataColumn columnPrice; + + private global::System.Data.DataColumn columnPO; + + private global::System.Data.DataColumn columnSupply; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public SCTableDataTable() { + this.TableName = "SCTable"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + internal SCTableDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected SCTableDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn idxColumn { + get { + return this.columnidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn SIDColumn { + get { + return this.columnSID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn PNameColumn { + get { + return this.columnPName; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn QtyColumn { + get { + return this.columnQty; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn PriceColumn { + get { + return this.columnPrice; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn POColumn { + get { + return this.columnPO; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn SupplyColumn { + get { + return this.columnSupply; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public SCTableRow this[int index] { + get { + return ((SCTableRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public event SCTableRowChangeEventHandler SCTableRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public event SCTableRowChangeEventHandler SCTableRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public event SCTableRowChangeEventHandler SCTableRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public event SCTableRowChangeEventHandler SCTableRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void AddSCTableRow(SCTableRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public SCTableRow AddSCTableRow(string SID, string PName, int Qty, decimal Price, string PO, string Supply) { + SCTableRow rowSCTableRow = ((SCTableRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + SID, + PName, + Qty, + Price, + PO, + Supply}; + rowSCTableRow.ItemArray = columnValuesArray; + this.Rows.Add(rowSCTableRow); + return rowSCTableRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public SCTableRow FindByidx(int idx) { + return ((SCTableRow)(this.Rows.Find(new object[] { + idx}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public override global::System.Data.DataTable Clone() { + SCTableDataTable cln = ((SCTableDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new SCTableDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + internal void InitVars() { + this.columnidx = base.Columns["idx"]; + this.columnSID = base.Columns["SID"]; + this.columnPName = base.Columns["PName"]; + this.columnQty = base.Columns["Qty"]; + this.columnPrice = base.Columns["Price"]; + this.columnPO = base.Columns["PO"]; + this.columnSupply = base.Columns["Supply"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + private void InitClass() { + this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidx); + this.columnSID = new global::System.Data.DataColumn("SID", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSID); + this.columnPName = new global::System.Data.DataColumn("PName", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPName); + this.columnQty = new global::System.Data.DataColumn("Qty", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQty); + this.columnPrice = new global::System.Data.DataColumn("Price", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPrice); + this.columnPO = new global::System.Data.DataColumn("PO", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPO); + this.columnSupply = new global::System.Data.DataColumn("Supply", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSupply); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidx}, true)); + this.columnidx.AutoIncrement = true; + this.columnidx.AllowDBNull = false; + this.columnidx.Unique = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public SCTableRow NewSCTableRow() { + return ((SCTableRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new SCTableRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(SCTableRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.SCTableRowChanged != null)) { + this.SCTableRowChanged(this, new SCTableRowChangeEvent(((SCTableRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.SCTableRowChanging != null)) { + this.SCTableRowChanging(this, new SCTableRowChangeEvent(((SCTableRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.SCTableRowDeleted != null)) { + this.SCTableRowDeleted(this, new SCTableRowChangeEvent(((SCTableRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.SCTableRowDeleting != null)) { + this.SCTableRowDeleting(this, new SCTableRowChangeEvent(((SCTableRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void RemoveSCTableRow(SCTableRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + dsPRJ ds = new dsPRJ(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "SCTableDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents strongly named DataRow class. /// @@ -7410,22 +7773,6 @@ namespace FPJ0000 { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public bool bconfirm { - get { - if (this.IsbconfirmNull()) { - return false; - } - else { - return ((bool)(this[this.tableProjectsPart.bconfirmColumn])); - } - } - set { - this[this.tableProjectsPart.bconfirmColumn] = value; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public bool IsProjectNull() { @@ -7749,18 +8096,6 @@ namespace FPJ0000 { public void SetbbuyNull() { this[this.tableProjectsPart.bbuyColumn] = global::System.Convert.DBNull; } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public bool IsbconfirmNull() { - return this.IsNull(this.tableProjectsPart.bconfirmColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public void SetbconfirmNull() { - this[this.tableProjectsPart.bconfirmColumn] = global::System.Convert.DBNull; - } } /// @@ -9498,6 +9833,200 @@ namespace FPJ0000 { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class SCTableRow : global::System.Data.DataRow { + + private SCTableDataTable tableSCTable; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + internal SCTableRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableSCTable = ((SCTableDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int idx { + get { + return ((int)(this[this.tableSCTable.idxColumn])); + } + set { + this[this.tableSCTable.idxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public string SID { + get { + if (this.IsSIDNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableSCTable.SIDColumn])); + } + } + set { + this[this.tableSCTable.SIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public string PName { + get { + if (this.IsPNameNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableSCTable.PNameColumn])); + } + } + set { + this[this.tableSCTable.PNameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int Qty { + get { + if (this.IsQtyNull()) { + return 0; + } + else { + return ((int)(this[this.tableSCTable.QtyColumn])); + } + } + set { + this[this.tableSCTable.QtyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public decimal Price { + get { + if (this.IsPriceNull()) { + return 0m; + } + else { + return ((decimal)(this[this.tableSCTable.PriceColumn])); + } + } + set { + this[this.tableSCTable.PriceColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public string PO { + get { + if (this.IsPONull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableSCTable.POColumn])); + } + } + set { + this[this.tableSCTable.POColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public string Supply { + get { + if (this.IsSupplyNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableSCTable.SupplyColumn])); + } + } + set { + this[this.tableSCTable.SupplyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IsSIDNull() { + return this.IsNull(this.tableSCTable.SIDColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetSIDNull() { + this[this.tableSCTable.SIDColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IsPNameNull() { + return this.IsNull(this.tableSCTable.PNameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetPNameNull() { + this[this.tableSCTable.PNameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IsQtyNull() { + return this.IsNull(this.tableSCTable.QtyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetQtyNull() { + this[this.tableSCTable.QtyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IsPriceNull() { + return this.IsNull(this.tableSCTable.PriceColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetPriceNull() { + this[this.tableSCTable.PriceColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IsPONull() { + return this.IsNull(this.tableSCTable.POColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetPONull() { + this[this.tableSCTable.POColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IsSupplyNull() { + return this.IsNull(this.tableSCTable.SupplyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetSupplyNull() { + this[this.tableSCTable.SupplyColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -9803,6 +10332,40 @@ namespace FPJ0000 { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public class SCTableRowChangeEvent : global::System.EventArgs { + + private SCTableRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public SCTableRowChangeEvent(SCTableRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public SCTableRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace FPJ0000.dsPRJTableAdapters { @@ -12200,19 +12763,103 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects tableMapping.ColumnMappings.Add("amtn", "amtn"); tableMapping.ColumnMappings.Add("qtyin", "qtyin"); tableMapping.ColumnMappings.Add("bbuy", "bbuy"); - tableMapping.ColumnMappings.Add("bconfirm", "bconfirm"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; - this._adapter.DeleteCommand.CommandText = "DELETE FROM ProjectsPart\r\nWHERE (idx = @Original_idx)"; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [ProjectsPart] WHERE (([idx] = @Original_idx) AND ((@IsNull_Project =" + + " 1 AND [Project] IS NULL) OR ([Project] = @Original_Project)) AND ((@IsNull_Item" + + " = 1 AND [Item] IS NULL) OR ([Item] = @Original_Item)) AND ((@IsNull_qty = 1 AND" + + " [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_price = 1 AND [price] " + + "IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_amt = 1 AND [amt] IS NULL" + + ") OR ([amt] = @Original_amt)) AND ((@IsNull_jago = 1 AND [jago] IS NULL) OR ([ja" + + "go] = @Original_jago)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @" + + "Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AN" + + "D ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_Item" + + "Name)) AND ((@IsNull_ItemModel = 1 AND [ItemModel] IS NULL) OR ([ItemModel] = @O" + + "riginal_ItemModel)) AND ((@IsNull_ItemGroup = 1 AND [ItemGroup] IS NULL) OR ([It" + + "emGroup] = @Original_ItemGroup)) AND ((@IsNull_ItemSid = 1 AND [ItemSid] IS NULL" + + ") OR ([ItemSid] = @Original_ItemSid)) AND ((@IsNull_ItemSupply = 1 AND [ItemSupp" + + "ly] IS NULL) OR ([ItemSupply] = @Original_ItemSupply)) AND ((@IsNull_ItemManu = " + + "1 AND [ItemManu] IS NULL) OR ([ItemManu] = @Original_ItemManu)) AND ((@IsNull_op" + + "tion1 = 1 AND [option1] IS NULL) OR ([option1] = @Original_option1)) AND ((@IsNu" + + "ll_option2 = 1 AND [option2] IS NULL) OR ([option2] = @Original_option2)) AND ((" + + "@IsNull_option3 = 1 AND [option3] IS NULL) OR ([option3] = @Original_option3)) A" + + "ND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) " + + "AND ((@IsNull_ItemSupplyidx = 1 AND [ItemSupplyidx] IS NULL) OR ([ItemSupplyidx]" + + " = @Original_ItemSupplyidx)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @" + + "Original_no)) AND ((@IsNull_ItemUnit = 1 AND [ItemUnit] IS NULL) OR ([ItemUnit] " + + "= @Original_ItemUnit)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([impor" + + "t] = @Original_import)) AND ((@IsNull_qtyjago = 1 AND [qtyjago] IS NULL) OR ([qt" + + "yjago] = @Original_qtyjago)) AND ((@IsNull_qtybuy = 1 AND [qtybuy] IS NULL) OR (" + + "[qtybuy] = @Original_qtybuy)) AND ((@IsNull_qtyn = 1 AND [qtyn] IS NULL) OR ([qt" + + "yn] = @Original_qtyn)) AND ((@IsNull_amtn = 1 AND [amtn] IS NULL) OR ([amtn] = @" + + "Original_amtn)) AND ((@IsNull_qtyin = 1 AND [qtyin] IS NULL) OR ([qtyin] = @Orig" + + "inal_qtyin)) AND ((@IsNull_bbuy = 1 AND [bbuy] IS NULL) OR ([bbuy] = @Original_b" + + "buy)))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Item", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Item", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qty", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qty", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_price", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "price", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_price", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_amt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "amt", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "amt", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_jago", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "jago", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_jago", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "jago", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemModel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemModel", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemGroup", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemGroup", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemGroup", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemGroup", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemSid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemSid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemSupply", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemSupply", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemManu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemManu", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_option1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_option1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_option2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_option2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_option3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_option3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_remark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemSupplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupplyidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemSupplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupplyidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemUnit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemUnit", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemUnit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemUnit", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_qtyjago", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyjago", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_qtyjago", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyjago", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_qtybuy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtybuy", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_qtybuy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtybuy", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_qtyn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyn", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_qtyn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyn", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_amtn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "amtn", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_amtn", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "amtn", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_qtyin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyin", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_qtyin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyin", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bbuy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bbuy", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = @"INSERT INTO ProjectsPart (Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, - import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm) -VALUES (@Project,@Item,@qty,@price,@amt,@jago,@memo,@wuid,@wdate,@ItemName,@ItemModel,@ItemGroup,@ItemSid,@ItemSupply,@ItemManu,@option1,@option2,@option3,@remark,@ItemSupplyidx,@no,@ItemUnit,@import,@qtyjago,@qtybuy,@qtyn,@amtn,@qtyin,@bbuy,@bconfirm); + import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy) +VALUES (@Project,@Item,@qty,@price,@amt,@jago,@memo,@wuid,@wdate,@ItemName,@ItemModel,@ItemGroup,@ItemSid,@ItemSupply,@ItemManu,@option1,@option2,@option3,@remark,@ItemSupplyidx,@no,@ItemUnit,@import,@qtyjago,@qtybuy,@qtyn,@amtn,@qtyin,@bbuy); SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn FROM ProjectsPart WHERE (idx = SCOPE_IDENTITY()) ORDER BY Project, no, ItemGroup, option1, ItemName"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Project", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); @@ -12244,15 +12891,14 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@amtn", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "amtn", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtyin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bbuy", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bconfirm", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bconfirm", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE ProjectsPart SET Project = @Project, Item = @Item, qty = @qty, price = @price, amt = @amt, jago = @jago, memo = @memo, wuid = @wuid, wdate = @wdate, ItemName = @ItemName, ItemModel = @ItemModel, ItemGroup = @ItemGroup, ItemSid = @ItemSid, ItemSupply = @ItemSupply, ItemManu = @ItemManu, option1 = @option1, option2 = @option2, option3 = @option3, remark = @remark, ItemSupplyidx = @ItemSupplyidx, no = @no, ItemUnit = @ItemUnit, import = @import, qtyjago = @qtyjago, qtybuy = @qtybuy, qtyn = @qtyn, amtn = @amtn, - qtyin = @qtyin, bbuy = @bbuy, bconfirm = @bconfirm -WHERE (idx = @Original_idx); + qtyin = @qtyin, bbuy = @bbuy +WHERE (idx = @Original_idx); SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn FROM ProjectsPart WHERE (idx = @idx) ORDER BY Project, no, ItemGroup, option1, ItemName"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Project", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); @@ -12284,7 +12930,6 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@amtn", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "amtn", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtyin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bbuy", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bconfirm", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bconfirm", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); } @@ -12302,11 +12947,7 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = @"SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, - import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm -FROM ProjectsPart -WHERE (Project = @prj) -ORDER BY Project, no, ItemGroup, option1, ItemName"; + this._commandCollection[0].CommandText = @"SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy FROM ProjectsPart WHERE (Project = @prj) ORDER BY Project, no, ItemGroup, option1, ItemName"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@prj", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); @@ -12390,8 +13031,261 @@ ORDER BY Project, no, ItemGroup, option1, ItemName"; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(int Original_idx) { + public virtual int Delete( + int Original_idx, + global::System.Nullable Original_Project, + global::System.Nullable Original_Item, + global::System.Nullable Original_qty, + global::System.Nullable Original_price, + global::System.Nullable Original_amt, + global::System.Nullable Original_jago, + string Original_memo, + string Original_wuid, + System.DateTime Original_wdate, + string Original_ItemName, + string Original_ItemModel, + string Original_ItemGroup, + string Original_ItemSid, + string Original_ItemSupply, + string Original_ItemManu, + string Original_option1, + string Original_option2, + string Original_option3, + string Original_remark, + global::System.Nullable Original_ItemSupplyidx, + global::System.Nullable Original_no, + string Original_ItemUnit, + global::System.Nullable Original_import, + string Original_qtyjago, + global::System.Nullable Original_qtybuy, + global::System.Nullable Original_qtyn, + global::System.Nullable Original_amtn, + global::System.Nullable Original_qtyin, + global::System.Nullable Original_bbuy) { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); + if ((Original_Project.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_Project.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((Original_Item.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_Item.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Original_qty.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_qty.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((Original_price.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((decimal)(Original_price.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((Original_amt.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((decimal)(Original_amt.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((Original_jago.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((int)(Original_jago.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((Original_memo == null)) { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_memo)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_wuid)); + } + this.Adapter.DeleteCommand.Parameters[16].Value = ((System.DateTime)(Original_wdate)); + if ((Original_ItemName == null)) { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_ItemName)); + } + if ((Original_ItemModel == null)) { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_ItemModel)); + } + if ((Original_ItemGroup == null)) { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_ItemGroup)); + } + if ((Original_ItemSid == null)) { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_ItemSid)); + } + if ((Original_ItemSupply == null)) { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[26].Value = ((string)(Original_ItemSupply)); + } + if ((Original_ItemManu == null)) { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_ItemManu)); + } + if ((Original_option1 == null)) { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_option1)); + } + if ((Original_option2 == null)) { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[32].Value = ((string)(Original_option2)); + } + if ((Original_option3 == null)) { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_option3)); + } + if ((Original_remark == null)) { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[36].Value = ((string)(Original_remark)); + } + if ((Original_ItemSupplyidx.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[38].Value = ((int)(Original_ItemSupplyidx.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value; + } + if ((Original_no.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[40].Value = ((int)(Original_no.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value; + } + if ((Original_ItemUnit == null)) { + this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[42].Value = ((string)(Original_ItemUnit)); + } + if ((Original_import.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[44].Value = ((bool)(Original_import.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[44].Value = global::System.DBNull.Value; + } + if ((Original_qtyjago == null)) { + this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[46].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[46].Value = ((string)(Original_qtyjago)); + } + if ((Original_qtybuy.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[48].Value = ((int)(Original_qtybuy.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[48].Value = global::System.DBNull.Value; + } + if ((Original_qtyn.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[50].Value = ((int)(Original_qtyn.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[50].Value = global::System.DBNull.Value; + } + if ((Original_amtn.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[52].Value = ((decimal)(Original_amtn.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[52].Value = global::System.DBNull.Value; + } + if ((Original_qtyin.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[54].Value = ((int)(Original_qtyin.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[54].Value = global::System.DBNull.Value; + } + if ((Original_bbuy.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[56].Value = ((bool)(Original_bbuy.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[56].Value = global::System.DBNull.Value; + } global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { @@ -12441,8 +13335,7 @@ ORDER BY Project, no, ItemGroup, option1, ItemName"; global::System.Nullable qtyn, global::System.Nullable amtn, global::System.Nullable qtyin, - global::System.Nullable bbuy, - global::System.Nullable bconfirm) { + global::System.Nullable bbuy) { if ((Project.HasValue == true)) { this.Adapter.InsertCommand.Parameters[0].Value = ((int)(Project.Value)); } @@ -12612,12 +13505,6 @@ ORDER BY Project, no, ItemGroup, option1, ItemName"; else { this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value; } - if ((bconfirm.HasValue == true)) { - this.Adapter.InsertCommand.Parameters[29].Value = ((bool)(bconfirm.Value)); - } - else { - this.Adapter.InsertCommand.Parameters[29].Value = global::System.DBNull.Value; - } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { @@ -12668,7 +13555,6 @@ ORDER BY Project, no, ItemGroup, option1, ItemName"; global::System.Nullable amtn, global::System.Nullable qtyin, global::System.Nullable bbuy, - global::System.Nullable bconfirm, int Original_idx, int idx) { if ((Project.HasValue == true)) { @@ -12840,14 +13726,8 @@ ORDER BY Project, no, ItemGroup, option1, ItemName"; else { this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; } - if ((bconfirm.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[29].Value = ((bool)(bconfirm.Value)); - } - else { - this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; - } - this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(Original_idx)); - this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(idx)); + this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(Original_idx)); + this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(idx)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { diff --git a/SubProject/FPJ0000/dsPRJ.xsd b/SubProject/FPJ0000/dsPRJ.xsd index 0483ce5..be6d543 100644 --- a/SubProject/FPJ0000/dsPRJ.xsd +++ b/SubProject/FPJ0000/dsPRJ.xsd @@ -436,10 +436,65 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects - DELETE FROM ProjectsPart -WHERE (idx = @Original_idx) + DELETE FROM [ProjectsPart] WHERE (([idx] = @Original_idx) AND ((@IsNull_Project = 1 AND [Project] IS NULL) OR ([Project] = @Original_Project)) AND ((@IsNull_Item = 1 AND [Item] IS NULL) OR ([Item] = @Original_Item)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_amt = 1 AND [amt] IS NULL) OR ([amt] = @Original_amt)) AND ((@IsNull_jago = 1 AND [jago] IS NULL) OR ([jago] = @Original_jago)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_ItemModel = 1 AND [ItemModel] IS NULL) OR ([ItemModel] = @Original_ItemModel)) AND ((@IsNull_ItemGroup = 1 AND [ItemGroup] IS NULL) OR ([ItemGroup] = @Original_ItemGroup)) AND ((@IsNull_ItemSid = 1 AND [ItemSid] IS NULL) OR ([ItemSid] = @Original_ItemSid)) AND ((@IsNull_ItemSupply = 1 AND [ItemSupply] IS NULL) OR ([ItemSupply] = @Original_ItemSupply)) AND ((@IsNull_ItemManu = 1 AND [ItemManu] IS NULL) OR ([ItemManu] = @Original_ItemManu)) AND ((@IsNull_option1 = 1 AND [option1] IS NULL) OR ([option1] = @Original_option1)) AND ((@IsNull_option2 = 1 AND [option2] IS NULL) OR ([option2] = @Original_option2)) AND ((@IsNull_option3 = 1 AND [option3] IS NULL) OR ([option3] = @Original_option3)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_ItemSupplyidx = 1 AND [ItemSupplyidx] IS NULL) OR ([ItemSupplyidx] = @Original_ItemSupplyidx)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@IsNull_ItemUnit = 1 AND [ItemUnit] IS NULL) OR ([ItemUnit] = @Original_ItemUnit)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_qtyjago = 1 AND [qtyjago] IS NULL) OR ([qtyjago] = @Original_qtyjago)) AND ((@IsNull_qtybuy = 1 AND [qtybuy] IS NULL) OR ([qtybuy] = @Original_qtybuy)) AND ((@IsNull_qtyn = 1 AND [qtyn] IS NULL) OR ([qtyn] = @Original_qtyn)) AND ((@IsNull_amtn = 1 AND [amtn] IS NULL) OR ([amtn] = @Original_amtn)) AND ((@IsNull_qtyin = 1 AND [qtyin] IS NULL) OR ([qtyin] = @Original_qtyin)) AND ((@IsNull_bbuy = 1 AND [bbuy] IS NULL) OR ([bbuy] = @Original_bbuy))) - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -447,8 +502,8 @@ WHERE (idx = @Original_idx) INSERT INTO ProjectsPart (Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, - import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm) -VALUES (@Project,@Item,@qty,@price,@amt,@jago,@memo,@wuid,@wdate,@ItemName,@ItemModel,@ItemGroup,@ItemSid,@ItemSupply,@ItemManu,@option1,@option2,@option3,@remark,@ItemSupplyidx,@no,@ItemUnit,@import,@qtyjago,@qtybuy,@qtyn,@amtn,@qtyin,@bbuy,@bconfirm); + import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy) +VALUES (@Project,@Item,@qty,@price,@amt,@jago,@memo,@wuid,@wdate,@ItemName,@ItemModel,@ItemGroup,@ItemSid,@ItemSupply,@ItemManu,@option1,@option2,@option3,@remark,@ItemSupplyidx,@no,@ItemUnit,@import,@qtyjago,@qtybuy,@qtyn,@amtn,@qtyin,@bbuy); SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn FROM ProjectsPart WHERE (idx = SCOPE_IDENTITY()) ORDER BY Project, no, ItemGroup, option1, ItemName @@ -480,17 +535,12 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I - - SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, - import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm -FROM ProjectsPart -WHERE (Project = @prj) -ORDER BY Project, no, ItemGroup, option1, ItemName + SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy FROM ProjectsPart WHERE (Project = @prj) ORDER BY Project, no, ItemGroup, option1, ItemName @@ -502,8 +552,8 @@ ORDER BY Project, no, ItemGroup, option1, ItemName SET Project = @Project, Item = @Item, qty = @qty, price = @price, amt = @amt, jago = @jago, memo = @memo, wuid = @wuid, wdate = @wdate, ItemName = @ItemName, ItemModel = @ItemModel, ItemGroup = @ItemGroup, ItemSid = @ItemSid, ItemSupply = @ItemSupply, ItemManu = @ItemManu, option1 = @option1, option2 = @option2, option3 = @option3, remark = @remark, ItemSupplyidx = @ItemSupplyidx, no = @no, ItemUnit = @ItemUnit, import = @import, qtyjago = @qtyjago, qtybuy = @qtybuy, qtyn = @qtyn, amtn = @amtn, - qtyin = @qtyin, bbuy = @bbuy, bconfirm = @bconfirm -WHERE (idx = @Original_idx); + qtyin = @qtyin, bbuy = @bbuy +WHERE (idx = @Original_idx); SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn FROM ProjectsPart WHERE (idx = @idx) ORDER BY Project, no, ItemGroup, option1, ItemName @@ -535,7 +585,6 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I - @@ -574,7 +623,6 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I - @@ -1743,8 +1791,7 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO - - + @@ -2105,6 +2152,19 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO + + + + + + + + + + + + + @@ -2143,5 +2203,9 @@ SELECT idx, gcode, pdate, uid, description, description2, share, wuid, wdate FRO + + + + \ No newline at end of file diff --git a/SubProject/FPJ0000/dsPRJ.xss b/SubProject/FPJ0000/dsPRJ.xss index 301bd1f..f819161 100644 --- a/SubProject/FPJ0000/dsPRJ.xss +++ b/SubProject/FPJ0000/dsPRJ.xss @@ -6,16 +6,17 @@ --> - - - - - - - - - - + + + + + + + + + + + \ No newline at end of file