diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs index 39a9fbd..385f98f 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("23.06.22.0930")] -[assembly: AssemblyFileVersion("23.06.22.0930")] +[assembly: AssemblyVersion("23.06.22.2300")] +[assembly: AssemblyFileVersion("23.06.22.2300")] diff --git a/SubProject/FPJ0000/Project/fProjectData.Designer.cs b/SubProject/FPJ0000/Project/fProjectData.Designer.cs index 1accc64..6733679 100644 --- a/SubProject/FPJ0000/Project/fProjectData.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectData.Designer.cs @@ -57,8 +57,8 @@ System.Windows.Forms.Label label16; System.Windows.Forms.Label label17; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectData)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); this.tbIdx = new System.Windows.Forms.TextBox(); this.bs = new System.Windows.Forms.BindingSource(this.components); this.dsPRJ = new FPJ0000.dsPRJ(); @@ -112,12 +112,14 @@ this.cmbReqTeam = new System.Windows.Forms.ComboBox(); this.arLabel1 = new arCtl.arLabel(); this.panel1 = new System.Windows.Forms.Panel(); + this.chkCostSave = new System.Windows.Forms.CheckBox(); + this.chkHigh = new System.Windows.Forms.CheckBox(); this.tbPno = new System.Windows.Forms.TextBox(); this.textBox6 = new System.Windows.Forms.TextBox(); this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox5 = new System.Windows.Forms.TextBox(); this.tbDue = new System.Windows.Forms.TextBox(); - this.checkBox2 = new System.Windows.Forms.CheckBox(); + this.chkFanout = new System.Windows.Forms.CheckBox(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.textBox4 = new System.Windows.Forms.TextBox(); this.tbPath = new System.Windows.Forms.TextBox(); @@ -296,7 +298,7 @@ // reqstaffLabel // reqstaffLabel.AutoSize = true; - reqstaffLabel.Location = new System.Drawing.Point(370, 32); + reqstaffLabel.Location = new System.Drawing.Point(462, 32); reqstaffLabel.Name = "reqstaffLabel"; reqstaffLabel.Size = new System.Drawing.Size(41, 12); reqstaffLabel.TabIndex = 8; @@ -380,7 +382,7 @@ // label1 // label1.AutoSize = true; - label1.Location = new System.Drawing.Point(170, 32); + label1.Location = new System.Drawing.Point(224, 32); label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); label1.Name = "label1"; label1.Size = new System.Drawing.Size(52, 12); @@ -390,7 +392,7 @@ // label2 // label2.AutoSize = true; - label2.Location = new System.Drawing.Point(377, 56); + label2.Location = new System.Drawing.Point(471, 56); label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); label2.Name = "label2"; label2.Size = new System.Drawing.Size(29, 12); @@ -400,7 +402,7 @@ // label3 // label3.AutoSize = true; - label3.Location = new System.Drawing.Point(382, 78); + label3.Location = new System.Drawing.Point(476, 78); label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); label3.Name = "label3"; label3.Size = new System.Drawing.Size(24, 12); @@ -439,7 +441,7 @@ // label9 // label9.AutoSize = true; - label9.Location = new System.Drawing.Point(348, 100); + label9.Location = new System.Drawing.Point(442, 100); label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); label9.Name = "label9"; label9.Size = new System.Drawing.Size(58, 12); @@ -461,7 +463,7 @@ // label10 // label10.AutoSize = true; - label10.Location = new System.Drawing.Point(293, 123); + label10.Location = new System.Drawing.Point(387, 123); label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); label10.Name = "label10"; label10.Size = new System.Drawing.Size(113, 12); @@ -471,7 +473,7 @@ // label5 // label5.AutoSize = true; - label5.Location = new System.Drawing.Point(39, 144); + label5.Location = new System.Drawing.Point(39, 145); label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); label5.Name = "label5"; label5.Size = new System.Drawing.Size(46, 12); @@ -481,7 +483,7 @@ // label11 // label11.AutoSize = true; - label11.Location = new System.Drawing.Point(300, 145); + label11.Location = new System.Drawing.Point(419, 145); label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); label11.Name = "label11"; label11.Size = new System.Drawing.Size(43, 12); @@ -491,7 +493,7 @@ // label12 // label12.AutoSize = true; - label12.Location = new System.Drawing.Point(56, 168); + label12.Location = new System.Drawing.Point(56, 169); label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); label12.Name = "label12"; label12.Size = new System.Drawing.Size(29, 12); @@ -511,7 +513,7 @@ // label14 // label14.AutoSize = true; - label14.Location = new System.Drawing.Point(196, 56); + label14.Location = new System.Drawing.Point(250, 56); label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); label14.Name = "label14"; label14.Size = new System.Drawing.Size(26, 12); @@ -521,7 +523,7 @@ // label15 // label15.AutoSize = true; - label15.Location = new System.Drawing.Point(357, 56); + label15.Location = new System.Drawing.Point(449, 56); label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); label15.Name = "label15"; label15.Size = new System.Drawing.Size(54, 12); @@ -541,7 +543,7 @@ // label17 // label17.AutoSize = true; - label17.Location = new System.Drawing.Point(338, 169); + label17.Location = new System.Drawing.Point(394, 169); label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); label17.Name = "label17"; label17.Size = new System.Drawing.Size(68, 12); @@ -551,7 +553,7 @@ // tbIdx // this.tbIdx.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "idx", true)); - this.tbIdx.Location = new System.Drawing.Point(413, 74); + this.tbIdx.Location = new System.Drawing.Point(507, 74); this.tbIdx.Name = "tbIdx"; this.tbIdx.ReadOnly = true; this.tbIdx.Size = new System.Drawing.Size(127, 21); @@ -575,14 +577,14 @@ this.nameTextBox.ImeMode = System.Windows.Forms.ImeMode.Hangul; this.nameTextBox.Location = new System.Drawing.Point(93, 30); this.nameTextBox.Name = "nameTextBox"; - this.nameTextBox.Size = new System.Drawing.Size(447, 21); + this.nameTextBox.Size = new System.Drawing.Size(541, 21); this.nameTextBox.TabIndex = 1; // // txReqUserName // this.txReqUserName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reqstaff", true)); this.txReqUserName.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.txReqUserName.Location = new System.Drawing.Point(412, 28); + this.txReqUserName.Location = new System.Drawing.Point(504, 28); this.txReqUserName.Name = "txReqUserName"; this.txReqUserName.Size = new System.Drawing.Size(128, 21); this.txReqUserName.TabIndex = 9; @@ -610,9 +612,9 @@ this.usermainTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "usermain", true)); this.usermainTextBox.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.usermainTextBox.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.usermainTextBox.Location = new System.Drawing.Point(353, 55); + this.usermainTextBox.Location = new System.Drawing.Point(359, 55); this.usermainTextBox.Name = "usermainTextBox"; - this.usermainTextBox.Size = new System.Drawing.Size(185, 25); + this.usermainTextBox.Size = new System.Drawing.Size(177, 25); this.usermainTextBox.TabIndex = 25; // // usersubTextBox @@ -620,9 +622,9 @@ this.usersubTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "usersub", true)); this.usersubTextBox.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.usersubTextBox.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.usersubTextBox.Location = new System.Drawing.Point(353, 110); + this.usersubTextBox.Location = new System.Drawing.Point(359, 110); this.usersubTextBox.Name = "usersubTextBox"; - this.usersubTextBox.Size = new System.Drawing.Size(185, 25); + this.usersubTextBox.Size = new System.Drawing.Size(177, 25); this.usersubTextBox.TabIndex = 27; // // userManagerTextBox @@ -630,9 +632,9 @@ this.userManagerTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "userManager", true)); this.userManagerTextBox.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.userManagerTextBox.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.userManagerTextBox.Location = new System.Drawing.Point(353, 28); + this.userManagerTextBox.Location = new System.Drawing.Point(359, 28); this.userManagerTextBox.Name = "userManagerTextBox"; - this.userManagerTextBox.Size = new System.Drawing.Size(185, 25); + this.userManagerTextBox.Size = new System.Drawing.Size(177, 25); this.userManagerTextBox.TabIndex = 33; // // costoTextBox @@ -682,7 +684,7 @@ this.remark_reqTextBox.Multiline = true; this.remark_reqTextBox.Name = "remark_reqTextBox"; this.remark_reqTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.remark_reqTextBox.Size = new System.Drawing.Size(485, 304); + this.remark_reqTextBox.Size = new System.Drawing.Size(569, 272); this.remark_reqTextBox.TabIndex = 49; // // tbXdate @@ -699,7 +701,7 @@ this.assetTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "asset", true)); this.assetTextBox.Location = new System.Drawing.Point(93, 52); this.assetTextBox.Name = "assetTextBox"; - this.assetTextBox.Size = new System.Drawing.Size(252, 21); + this.assetTextBox.Size = new System.Drawing.Size(342, 21); this.assetTextBox.TabIndex = 3; // // bn @@ -733,7 +735,7 @@ this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; this.bn.Name = "bn"; this.bn.PositionItem = this.bindingNavigatorPositionItem; - this.bn.Size = new System.Drawing.Size(1058, 25); + this.bn.Size = new System.Drawing.Size(1238, 25); this.bn.TabIndex = 65; this.bn.Text = "bindingNavigator1"; // @@ -895,7 +897,7 @@ this.dataGridView1.RowHeadersVisible = false; this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dataGridView1.Size = new System.Drawing.Size(472, 270); + this.dataGridView1.Size = new System.Drawing.Size(652, 303); this.dataGridView1.TabIndex = 0; this.dataGridView1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridView1_DataError); this.dataGridView1.DoubleClick += new System.EventHandler(this.dataGridView1_DoubleClick); @@ -921,8 +923,8 @@ // this.dataGridViewTextBoxColumn10.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.dataGridViewTextBoxColumn10.DataPropertyName = "remark"; - dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle3; + dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle15; this.dataGridViewTextBoxColumn10.HeaderText = "비고"; this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; this.dataGridViewTextBoxColumn10.ReadOnly = true; @@ -946,10 +948,10 @@ this.cmbReqProcess.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.cmbReqProcess.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.cmbReqProcess.FormattingEnabled = true; - this.cmbReqProcess.Location = new System.Drawing.Point(224, 28); + this.cmbReqProcess.Location = new System.Drawing.Point(278, 28); this.cmbReqProcess.Margin = new System.Windows.Forms.Padding(4); this.cmbReqProcess.Name = "cmbReqProcess"; - this.cmbReqProcess.Size = new System.Drawing.Size(128, 20); + this.cmbReqProcess.Size = new System.Drawing.Size(155, 20); this.cmbReqProcess.TabIndex = 68; // // cmbState @@ -959,7 +961,7 @@ this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.cmbState.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbState.FormattingEnabled = true; - this.cmbState.Location = new System.Drawing.Point(413, 52); + this.cmbState.Location = new System.Drawing.Point(507, 52); this.cmbState.Margin = new System.Windows.Forms.Padding(4); this.cmbState.Name = "cmbState"; this.cmbState.Size = new System.Drawing.Size(127, 20); @@ -996,13 +998,13 @@ this.panel7.Controls.Add(label1); this.panel7.Location = new System.Drawing.Point(6, 204); this.panel7.Name = "panel7"; - this.panel7.Size = new System.Drawing.Size(547, 99); + this.panel7.Size = new System.Drawing.Size(643, 99); this.panel7.TabIndex = 85; // // linkLabel10 // this.linkLabel10.AutoSize = true; - this.linkLabel10.Location = new System.Drawing.Point(331, 78); + this.linkLabel10.Location = new System.Drawing.Point(423, 78); this.linkLabel10.Name = "linkLabel10"; this.linkLabel10.Size = new System.Drawing.Size(80, 12); this.linkLabel10.TabIndex = 99; @@ -1014,7 +1016,7 @@ // this.textBox12.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "jasmin", true)); this.textBox12.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.textBox12.Location = new System.Drawing.Point(412, 74); + this.textBox12.Location = new System.Drawing.Point(504, 74); this.textBox12.Name = "textBox12"; this.textBox12.Size = new System.Drawing.Size(128, 21); this.textBox12.TabIndex = 98; @@ -1028,7 +1030,7 @@ this.cmbReqPlant.Location = new System.Drawing.Point(80, 74); this.cmbReqPlant.Margin = new System.Windows.Forms.Padding(4); this.cmbReqPlant.Name = "cmbReqPlant"; - this.cmbReqPlant.Size = new System.Drawing.Size(83, 20); + this.cmbReqPlant.Size = new System.Drawing.Size(137, 20); this.cmbReqPlant.TabIndex = 96; // // cmbReqPackage @@ -1037,7 +1039,7 @@ this.cmbReqPackage.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.cmbReqPackage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.cmbReqPackage.FormattingEnabled = true; - this.cmbReqPackage.Location = new System.Drawing.Point(412, 52); + this.cmbReqPackage.Location = new System.Drawing.Point(504, 52); this.cmbReqPackage.Margin = new System.Windows.Forms.Padding(4); this.cmbReqPackage.Name = "cmbReqPackage"; this.cmbReqPackage.Size = new System.Drawing.Size(128, 20); @@ -1049,10 +1051,10 @@ this.cmbReqSite.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.cmbReqSite.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.cmbReqSite.FormattingEnabled = true; - this.cmbReqSite.Location = new System.Drawing.Point(224, 52); + this.cmbReqSite.Location = new System.Drawing.Point(278, 52); this.cmbReqSite.Margin = new System.Windows.Forms.Padding(4); this.cmbReqSite.Name = "cmbReqSite"; - this.cmbReqSite.Size = new System.Drawing.Size(128, 20); + this.cmbReqSite.Size = new System.Drawing.Size(155, 20); this.cmbReqSite.TabIndex = 92; // // cmbReqLine @@ -1064,7 +1066,7 @@ this.cmbReqLine.Location = new System.Drawing.Point(80, 51); this.cmbReqLine.Margin = new System.Windows.Forms.Padding(4); this.cmbReqLine.Name = "cmbReqLine"; - this.cmbReqLine.Size = new System.Drawing.Size(83, 20); + this.cmbReqLine.Size = new System.Drawing.Size(137, 20); this.cmbReqLine.TabIndex = 90; // // cmbReqTeam @@ -1076,7 +1078,7 @@ this.cmbReqTeam.Location = new System.Drawing.Point(80, 28); this.cmbReqTeam.Margin = new System.Windows.Forms.Padding(4); this.cmbReqTeam.Name = "cmbReqTeam"; - this.cmbReqTeam.Size = new System.Drawing.Size(83, 20); + this.cmbReqTeam.Size = new System.Drawing.Size(137, 20); this.cmbReqTeam.TabIndex = 88; // // arLabel1 @@ -1116,7 +1118,7 @@ this.arLabel1.SignAlign = System.Drawing.ContentAlignment.BottomRight; this.arLabel1.SignColor = System.Drawing.Color.Yellow; this.arLabel1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.arLabel1.Size = new System.Drawing.Size(547, 23); + this.arLabel1.Size = new System.Drawing.Size(643, 23); this.arLabel1.TabIndex = 86; this.arLabel1.Text = "Basic info"; this.arLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1126,6 +1128,8 @@ // panel1 // this.panel1.BackColor = System.Drawing.Color.Gainsboro; + this.panel1.Controls.Add(this.chkCostSave); + this.panel1.Controls.Add(this.chkHigh); this.panel1.Controls.Add(label17); this.panel1.Controls.Add(this.tbPno); this.panel1.Controls.Add(label12); @@ -1136,7 +1140,7 @@ this.panel1.Controls.Add(label10); this.panel1.Controls.Add(this.textBox5); this.panel1.Controls.Add(this.tbDue); - this.panel1.Controls.Add(this.checkBox2); + this.panel1.Controls.Add(this.chkFanout); this.panel1.Controls.Add(this.linkLabel1); this.panel1.Controls.Add(label9); this.panel1.Controls.Add(this.textBox4); @@ -1154,35 +1158,55 @@ this.panel1.Controls.Add(this.tbIdx); this.panel1.Location = new System.Drawing.Point(6, 6); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(547, 193); + this.panel1.Size = new System.Drawing.Size(643, 193); this.panel1.TabIndex = 86; this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); // + // chkCostSave + // + this.chkCostSave.AutoSize = true; + this.chkCostSave.Location = new System.Drawing.Point(251, 122); + this.chkCostSave.Name = "chkCostSave"; + this.chkCostSave.Size = new System.Drawing.Size(98, 16); + this.chkCostSave.TabIndex = 100; + this.chkCostSave.Text = "chkCostSave"; + this.chkCostSave.UseVisualStyleBackColor = true; + // + // chkHigh + // + this.chkHigh.AutoSize = true; + this.chkHigh.Location = new System.Drawing.Point(169, 122); + this.chkHigh.Name = "chkHigh"; + this.chkHigh.Size = new System.Drawing.Size(76, 16); + this.chkHigh.TabIndex = 99; + this.chkHigh.Text = "HighLight"; + this.chkHigh.UseVisualStyleBackColor = true; + // // tbPno // this.tbPno.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.tbPno.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "pno", true)); - this.tbPno.Location = new System.Drawing.Point(413, 165); + this.tbPno.Location = new System.Drawing.Point(464, 165); this.tbPno.Name = "tbPno"; - this.tbPno.Size = new System.Drawing.Size(127, 21); + this.tbPno.Size = new System.Drawing.Size(170, 21); this.tbPno.TabIndex = 98; this.tbPno.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBox6 // this.textBox6.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "serial", true)); - this.textBox6.Location = new System.Drawing.Point(350, 141); + this.textBox6.Location = new System.Drawing.Point(464, 141); this.textBox6.Name = "textBox6"; - this.textBox6.Size = new System.Drawing.Size(190, 21); + this.textBox6.Size = new System.Drawing.Size(170, 21); this.textBox6.TabIndex = 95; this.textBox6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBox1 // this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "model", true)); - this.textBox1.Location = new System.Drawing.Point(93, 139); + this.textBox1.Location = new System.Drawing.Point(93, 141); this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(190, 21); + this.textBox1.Size = new System.Drawing.Size(294, 21); this.textBox1.TabIndex = 93; this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // @@ -1193,26 +1217,26 @@ this.textBox5.ImeMode = System.Windows.Forms.ImeMode.Hangul; this.textBox5.Location = new System.Drawing.Point(93, 165); this.textBox5.Name = "textBox5"; - this.textBox5.Size = new System.Drawing.Size(190, 21); + this.textBox5.Size = new System.Drawing.Size(294, 21); this.textBox5.TabIndex = 90; // // tbDue // - this.tbDue.Location = new System.Drawing.Point(413, 118); + this.tbDue.Location = new System.Drawing.Point(507, 118); this.tbDue.Name = "tbDue"; this.tbDue.Size = new System.Drawing.Size(127, 21); this.tbDue.TabIndex = 91; this.tbDue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // checkBox2 + // chkFanout // - this.checkBox2.AutoSize = true; - this.checkBox2.Location = new System.Drawing.Point(93, 123); - this.checkBox2.Name = "checkBox2"; - this.checkBox2.Size = new System.Drawing.Size(70, 16); - this.checkBox2.TabIndex = 88; - this.checkBox2.Text = "Fan-Out"; - this.checkBox2.UseVisualStyleBackColor = true; + this.chkFanout.AutoSize = true; + this.chkFanout.Location = new System.Drawing.Point(93, 122); + this.chkFanout.Name = "chkFanout"; + this.chkFanout.Size = new System.Drawing.Size(70, 16); + this.chkFanout.TabIndex = 88; + this.chkFanout.Text = "Fan-Out"; + this.chkFanout.UseVisualStyleBackColor = true; // // linkLabel1 // @@ -1228,7 +1252,7 @@ // textBox4 // this.textBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "orderno", true)); - this.textBox4.Location = new System.Drawing.Point(413, 96); + this.textBox4.Location = new System.Drawing.Point(507, 96); this.textBox4.Name = "textBox4"; this.textBox4.Size = new System.Drawing.Size(127, 21); this.textBox4.TabIndex = 13; @@ -1239,7 +1263,7 @@ this.tbPath.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "path", true)); this.tbPath.Location = new System.Drawing.Point(93, 96); this.tbPath.Name = "tbPath"; - this.tbPath.Size = new System.Drawing.Size(252, 21); + this.tbPath.Size = new System.Drawing.Size(342, 21); this.tbPath.TabIndex = 11; // // textBox2 @@ -1248,7 +1272,7 @@ this.textBox2.ImeMode = System.Windows.Forms.ImeMode.Hangul; this.textBox2.Location = new System.Drawing.Point(93, 74); this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(252, 21); + this.textBox2.Size = new System.Drawing.Size(342, 21); this.textBox2.TabIndex = 7; // // arLabel2 @@ -1288,7 +1312,7 @@ this.arLabel2.SignAlign = System.Drawing.ContentAlignment.BottomRight; this.arLabel2.SignColor = System.Drawing.Color.Yellow; this.arLabel2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.arLabel2.Size = new System.Drawing.Size(547, 23); + this.arLabel2.Size = new System.Drawing.Size(643, 23); this.arLabel2.TabIndex = 86; this.arLabel2.Text = "프로젝트"; this.arLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1458,9 +1482,9 @@ this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "userhw2", true)); this.textBox3.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.textBox3.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.textBox3.Location = new System.Drawing.Point(353, 82); + this.textBox3.Location = new System.Drawing.Point(359, 82); this.textBox3.Name = "textBox3"; - this.textBox3.Size = new System.Drawing.Size(185, 25); + this.textBox3.Size = new System.Drawing.Size(177, 25); this.textBox3.TabIndex = 88; // // arLabel3 @@ -1820,7 +1844,7 @@ this.arLabel6.SignAlign = System.Drawing.ContentAlignment.BottomRight; this.arLabel6.SignColor = System.Drawing.Color.Yellow; this.arLabel6.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.arLabel6.Size = new System.Drawing.Size(485, 23); + this.arLabel6.Size = new System.Drawing.Size(569, 23); this.arLabel6.TabIndex = 86; this.arLabel6.Text = "개선 방향"; this.arLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1842,7 +1866,7 @@ this.arPanel1.ForeColor = System.Drawing.Color.Khaki; this.arPanel1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; this.arPanel1.GradientRepeatBG = true; - this.arPanel1.Location = new System.Drawing.Point(559, 6); + this.arPanel1.Location = new System.Drawing.Point(655, 6); this.arPanel1.Name = "arPanel1"; this.arPanel1.Padding = new System.Windows.Forms.Padding(1); this.arPanel1.ProgressColor1 = System.Drawing.Color.LightSkyBlue; @@ -1853,7 +1877,7 @@ this.arPanel1.ProgressValue = 0F; this.arPanel1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.arPanel1.ShowBorder = true; - this.arPanel1.Size = new System.Drawing.Size(487, 329); + this.arPanel1.Size = new System.Drawing.Size(571, 297); this.arPanel1.TabIndex = 88; this.arPanel1.Text = "arPanel1"; this.arPanel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -1884,7 +1908,7 @@ this.arPanel2.ProgressValue = 0F; this.arPanel2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.arPanel2.ShowBorder = true; - this.arPanel2.Size = new System.Drawing.Size(474, 297); + this.arPanel2.Size = new System.Drawing.Size(654, 330); this.arPanel2.TabIndex = 89; this.arPanel2.Text = "arPanel2"; this.arPanel2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -1911,14 +1935,14 @@ this.btwADd, this.btwEdit, this.btwDel}); - this.bindingNavigator1.Location = new System.Drawing.Point(1, 271); + this.bindingNavigator1.Location = new System.Drawing.Point(1, 304); this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem1; this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem1; this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem1; this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem1; this.bindingNavigator1.Name = "bindingNavigator1"; this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem1; - this.bindingNavigator1.Size = new System.Drawing.Size(472, 25); + this.bindingNavigator1.Size = new System.Drawing.Size(652, 25); this.bindingNavigator1.TabIndex = 87; this.bindingNavigator1.Text = "bindingNavigator1"; // @@ -2024,7 +2048,7 @@ this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point(3, 257); this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(516, 379); + this.panel4.Size = new System.Drawing.Size(606, 379); this.panel4.TabIndex = 90; // // rtBef @@ -2033,7 +2057,7 @@ this.rtBef.Location = new System.Drawing.Point(0, 23); this.rtBef.Name = "rtBef"; this.rtBef.ReadOnly = true; - this.rtBef.Size = new System.Drawing.Size(516, 356); + this.rtBef.Size = new System.Drawing.Size(606, 356); this.rtBef.TabIndex = 87; this.rtBef.Text = ""; this.rtBef.Click += new System.EventHandler(this.rtBack_Click); @@ -2076,7 +2100,7 @@ this.arLabel8.SignAlign = System.Drawing.ContentAlignment.BottomRight; this.arLabel8.SignColor = System.Drawing.Color.Yellow; this.arLabel8.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.arLabel8.Size = new System.Drawing.Size(516, 23); + this.arLabel8.Size = new System.Drawing.Size(606, 23); this.arLabel8.TabIndex = 86; this.arLabel8.Text = "개선 전"; this.arLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -2098,7 +2122,7 @@ this.tableLayoutPanel1.RowCount = 2; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 254F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(1044, 639); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1224, 639); this.tableLayoutPanel1.TabIndex = 91; // // panel8 @@ -2107,9 +2131,9 @@ this.panel8.Controls.Add(this.rtDesc); this.panel8.Controls.Add(this.arLabel11); this.panel8.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel8.Location = new System.Drawing.Point(525, 3); + this.panel8.Location = new System.Drawing.Point(615, 3); this.panel8.Name = "panel8"; - this.panel8.Size = new System.Drawing.Size(516, 248); + this.panel8.Size = new System.Drawing.Size(606, 248); this.panel8.TabIndex = 94; // // rtDesc @@ -2118,7 +2142,7 @@ this.rtDesc.Location = new System.Drawing.Point(0, 23); this.rtDesc.Name = "rtDesc"; this.rtDesc.ReadOnly = true; - this.rtDesc.Size = new System.Drawing.Size(516, 225); + this.rtDesc.Size = new System.Drawing.Size(606, 225); this.rtDesc.TabIndex = 87; this.rtDesc.Text = ""; this.rtDesc.Click += new System.EventHandler(this.rtBack_Click); @@ -2161,7 +2185,7 @@ this.arLabel11.SignAlign = System.Drawing.ContentAlignment.BottomRight; this.arLabel11.SignColor = System.Drawing.Color.Yellow; this.arLabel11.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.arLabel11.Size = new System.Drawing.Size(516, 23); + this.arLabel11.Size = new System.Drawing.Size(606, 23); this.arLabel11.TabIndex = 86; this.arLabel11.Text = "완료내역"; this.arLabel11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -2192,7 +2216,7 @@ this.arPanel3.ProgressValue = 0F; this.arPanel3.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.arPanel3.ShowBorder = true; - this.arPanel3.Size = new System.Drawing.Size(516, 248); + this.arPanel3.Size = new System.Drawing.Size(606, 248); this.arPanel3.TabIndex = 92; this.arPanel3.Text = "arPanel3"; this.arPanel3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -2205,7 +2229,7 @@ this.rtBack.Location = new System.Drawing.Point(1, 24); this.rtBack.Name = "rtBack"; this.rtBack.ReadOnly = true; - this.rtBack.Size = new System.Drawing.Size(514, 223); + this.rtBack.Size = new System.Drawing.Size(604, 223); this.rtBack.TabIndex = 87; this.rtBack.Text = ""; this.rtBack.Click += new System.EventHandler(this.rtBack_Click); @@ -2248,7 +2272,7 @@ this.arLabel10.SignAlign = System.Drawing.ContentAlignment.BottomRight; this.arLabel10.SignColor = System.Drawing.Color.Yellow; this.arLabel10.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.arLabel10.Size = new System.Drawing.Size(514, 23); + this.arLabel10.Size = new System.Drawing.Size(604, 23); this.arLabel10.TabIndex = 86; this.arLabel10.Text = "개선 배경"; this.arLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -2261,9 +2285,9 @@ this.panel6.Controls.Add(this.rtAft); this.panel6.Controls.Add(this.arLabel9); this.panel6.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel6.Location = new System.Drawing.Point(525, 257); + this.panel6.Location = new System.Drawing.Point(615, 257); this.panel6.Name = "panel6"; - this.panel6.Size = new System.Drawing.Size(516, 379); + this.panel6.Size = new System.Drawing.Size(606, 379); this.panel6.TabIndex = 90; // // rtAft @@ -2272,7 +2296,7 @@ this.rtAft.Location = new System.Drawing.Point(0, 23); this.rtAft.Name = "rtAft"; this.rtAft.ReadOnly = true; - this.rtAft.Size = new System.Drawing.Size(516, 356); + this.rtAft.Size = new System.Drawing.Size(606, 356); this.rtAft.TabIndex = 87; this.rtAft.Text = ""; this.rtAft.Click += new System.EventHandler(this.rtBack_Click); @@ -2315,7 +2339,7 @@ this.arLabel9.SignAlign = System.Drawing.ContentAlignment.BottomRight; this.arLabel9.SignColor = System.Drawing.Color.Yellow; this.arLabel9.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.arLabel9.Size = new System.Drawing.Size(516, 23); + this.arLabel9.Size = new System.Drawing.Size(606, 23); this.arLabel9.TabIndex = 86; this.arLabel9.Text = "개선 후"; this.arLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -2330,7 +2354,7 @@ this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(1058, 703); + this.tabControl1.Size = new System.Drawing.Size(1238, 703); this.tabControl1.TabIndex = 93; // // tabPage1 @@ -2345,7 +2369,7 @@ this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); - this.tabPage1.Size = new System.Drawing.Size(1050, 677); + this.tabPage1.Size = new System.Drawing.Size(1230, 677); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "일반사항"; this.tabPage1.UseVisualStyleBackColor = true; @@ -2356,10 +2380,10 @@ | System.Windows.Forms.AnchorStyles.Right))); this.tabControl2.Controls.Add(this.tabPage3); this.tabControl2.Controls.Add(this.tabPage4); - this.tabControl2.Location = new System.Drawing.Point(559, 342); + this.tabControl2.Location = new System.Drawing.Point(559, 309); this.tabControl2.Name = "tabControl2"; this.tabControl2.SelectedIndex = 0; - this.tabControl2.Size = new System.Drawing.Size(488, 329); + this.tabControl2.Size = new System.Drawing.Size(668, 362); this.tabControl2.TabIndex = 90; // // tabPage3 @@ -2368,7 +2392,7 @@ this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Padding = new System.Windows.Forms.Padding(3); - this.tabPage3.Size = new System.Drawing.Size(480, 303); + this.tabPage3.Size = new System.Drawing.Size(660, 336); this.tabPage3.TabIndex = 0; this.tabPage3.Text = "업무 현황"; this.tabPage3.UseVisualStyleBackColor = true; @@ -2379,7 +2403,7 @@ this.tabPage4.Location = new System.Drawing.Point(4, 22); this.tabPage4.Name = "tabPage4"; this.tabPage4.Padding = new System.Windows.Forms.Padding(3); - this.tabPage4.Size = new System.Drawing.Size(480, 303); + this.tabPage4.Size = new System.Drawing.Size(564, 303); this.tabPage4.TabIndex = 1; this.tabPage4.Text = "메모"; this.tabPage4.UseVisualStyleBackColor = true; @@ -2408,7 +2432,7 @@ this.arPanel4.ProgressValue = 0F; this.arPanel4.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.arPanel4.ShowBorder = true; - this.arPanel4.Size = new System.Drawing.Size(474, 297); + this.arPanel4.Size = new System.Drawing.Size(558, 297); this.arPanel4.TabIndex = 90; this.arPanel4.Text = "arPanel4"; this.arPanel4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -2437,7 +2461,7 @@ this.dataGridView2.RowHeadersVisible = false; this.dataGridView2.RowTemplate.Height = 23; this.dataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dataGridView2.Size = new System.Drawing.Size(472, 270); + this.dataGridView2.Size = new System.Drawing.Size(556, 270); this.dataGridView2.TabIndex = 0; this.dataGridView2.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridView2_DataError); // @@ -2462,8 +2486,8 @@ // this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.dataGridViewTextBoxColumn5.DataPropertyName = "remark"; - dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle4; + dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle16; this.dataGridViewTextBoxColumn5.HeaderText = "비고"; this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; this.dataGridViewTextBoxColumn5.ReadOnly = true; @@ -2500,7 +2524,7 @@ this.bindingNavigator2.MovePreviousItem = this.toolStripButton2; this.bindingNavigator2.Name = "bindingNavigator2"; this.bindingNavigator2.PositionItem = this.toolStripTextBox1; - this.bindingNavigator2.Size = new System.Drawing.Size(472, 25); + this.bindingNavigator2.Size = new System.Drawing.Size(556, 25); this.bindingNavigator2.TabIndex = 87; this.bindingNavigator2.Text = "bindingNavigator2"; // @@ -2605,7 +2629,7 @@ this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(1050, 677); + this.tabPage2.Size = new System.Drawing.Size(1230, 677); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "완료내역"; this.tabPage2.UseVisualStyleBackColor = true; @@ -2647,7 +2671,7 @@ this.arLabel12.SignAlign = System.Drawing.ContentAlignment.BottomRight; this.arLabel12.SignColor = System.Drawing.Color.Yellow; this.arLabel12.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.arLabel12.Size = new System.Drawing.Size(1044, 32); + this.arLabel12.Size = new System.Drawing.Size(1224, 32); this.arLabel12.TabIndex = 92; this.arLabel12.Text = "내역을 편집하려면 각 창을 \"더블클릭\" 하세요."; this.arLabel12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -2701,7 +2725,7 @@ // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1058, 728); + this.ClientSize = new System.Drawing.Size(1238, 728); this.Controls.Add(this.tabControl1); this.Controls.Add(this.bn); this.MinimizeBox = false; @@ -2848,7 +2872,7 @@ private System.Windows.Forms.TextBox textBox5; private System.Windows.Forms.Panel panel4; private arCtl.arLabel arLabel8; - private System.Windows.Forms.CheckBox checkBox2; + private System.Windows.Forms.CheckBox chkFanout; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.Panel panel6; private arCtl.arLabel arLabel9; @@ -2922,5 +2946,7 @@ private System.Windows.Forms.LinkLabel linkLabel10; private System.Windows.Forms.LinkLabel linkLabel11; private System.Windows.Forms.TextBox tbSFI; + private System.Windows.Forms.CheckBox chkHigh; + private System.Windows.Forms.CheckBox chkCostSave; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectData.cs b/SubProject/FPJ0000/Project/fProjectData.cs index 96dca26..c392633 100644 --- a/SubProject/FPJ0000/Project/fProjectData.cs +++ b/SubProject/FPJ0000/Project/fProjectData.cs @@ -20,6 +20,9 @@ namespace FPJ0000 this.dr = pidx_; this.dsPRJ.ProjectsHistory.TableNewRow += ProjectsHistory_TableNewRow; this.EditMode = editmode_; + this.chkCostSave.Checked = pidx_.bCost; + this.chkFanout.Checked = pidx_.bFanOut; + this.chkHigh.Checked = pidx_.bHighlight; } void ProjectsHistory_TableNewRow(object sender, DataTableNewRowEventArgs e) @@ -253,6 +256,11 @@ namespace FPJ0000 this.dr.ReqPackage = cmbReqPackage.Text; this.dr.ReqPlant = cmbReqPlant.Text; + this.dr.bCost = chkCostSave.Checked; + this.dr.bHighlight = chkHigh.Checked; + this.dr.bFanOut = chkFanout.Checked; + + if (tbSFI.Text.isEmpty() == false) { if (float.TryParse(tbSFI.Text, out float sfi)) diff --git a/SubProject/FPJ0000/Project/fProjectList.Designer.cs b/SubProject/FPJ0000/Project/fProjectList.Designer.cs index ca9cc5f..da91f1c 100644 --- a/SubProject/FPJ0000/Project/fProjectList.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectList.Designer.cs @@ -30,37 +30,40 @@ { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectList)); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType25 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType28 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType13 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType33 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType34 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType14 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType35 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType36 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType37 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType38 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType39 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType40 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType41 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType42 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType43 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType44 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); this.bn = new System.Windows.Forms.BindingNavigator(this.components); this.bs = new System.Windows.Forms.BindingSource(this.components); this.dsMSSQL = new FPJ0000.dsPRJ(); @@ -112,7 +115,6 @@ this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); - this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.cmbDateType = new System.Windows.Forms.ToolStripComboBox(); this.cmbYearS = new System.Windows.Forms.ToolStripComboBox(); @@ -128,6 +130,11 @@ this.tbRequest = new System.Windows.Forms.ToolStripTextBox(); this.label1 = new System.Windows.Forms.Label(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.rtMemo = new System.Windows.Forms.RichTextBox(); + this.bsHistD = new System.Windows.Forms.BindingSource(this.components); + this.panel5 = new System.Windows.Forms.Panel(); + this.label31 = new System.Windows.Forms.Label(); + this.sbDateMemo = new System.Windows.Forms.Label(); this.panel4 = new System.Windows.Forms.Panel(); this.label11 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); @@ -189,21 +196,18 @@ this.button1 = new System.Windows.Forms.Button(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.label17 = new System.Windows.Forms.Label(); - this.panel5 = new System.Windows.Forms.Panel(); - this.label31 = new System.Windows.Forms.Label(); - this.sbDateMemo = new System.Windows.Forms.Label(); - this.rtMemo = new System.Windows.Forms.RichTextBox(); - this.bsHistD = new System.Windows.Forms.BindingSource(this.components); this.taHistD = new FPJ0000.dsPRJTableAdapters.EETGW_ProjecthistoryDTableAdapter(); + this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); this.bn.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); this.cm.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); this.toolStrip1.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsHistD)).BeginInit(); + this.panel5.SuspendLayout(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bsHist)).BeginInit(); this.tableLayoutPanel2.SuspendLayout(); @@ -212,8 +216,7 @@ this.toolStrip2.SuspendLayout(); this.panel1.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout(); - this.panel5.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bsHistD)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); this.SuspendLayout(); // // bn @@ -668,261 +671,7 @@ this.fpSpread1.Size = new System.Drawing.Size(1585, 520); this.fpSpread1.StatusBarVisible = true; this.fpSpread1.TabIndex = 2; - this.fpSpread1.SetViewportLeftColumn(0, 0, 6); - // - // fpSpread1_Sheet1 - // - this.fpSpread1_Sheet1.Reset(); - this.fpSpread1_Sheet1.SheetName = "Sheet1"; - // Formulas and custom names must be loaded with R1C1 reference style - this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; - this.fpSpread1_Sheet1.ColumnCount = 31; - this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2; - this.fpSpread1_Sheet1.ActiveColumnIndex = -1; - this.fpSpread1_Sheet1.ActiveRowIndex = -1; - this.fpSpread1_Sheet1.AutoGenerateColumns = false; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).ColumnSpan = 8; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Basic Info"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Process /\r\nEquipment"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).ColumnSpan = 7; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Schedule"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Schedule"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).ColumnSpan = 4; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "Effect"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "Original\r\n($K)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).StyleName = " "; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "Input\r\n($K)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "Effect\r\n($K)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "Budget"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).ColumnSpan = 4; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "Human Resource"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).ColumnSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "Comment"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "Comment"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).ColumnSpan = 4; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "Ext.Info"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 1).Value = "Project\r\nNo"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 2).Value = "Process / Equipment"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 3).Value = "Site"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 4).Value = "Plant"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 5).Value = "PKG"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "Line"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "Request Team"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "Project Title"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "준수(%)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "완료(%)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "Status"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 12).Value = "검토\r\n기한"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 13).Value = "Start Date"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 14).Value = "Due Date"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 15).Value = "Done Date"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 16).Value = "Q\'ty"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 17).Value = "Outsourced Cost ($K)/Set\r\n"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 18).Value = "In-house Cost ($K/Set)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 19).Value = "Cost Save ($k)/Set"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 20).Value = "SCR/CF"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 21).Value = "Champion"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 22).Value = "S/W"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 23).Value = "Design"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 24).Value = "ePanel"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 25).Value = "History"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 26).Value = "Memo"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 27).Value = "Asset"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 28).Value = "Model#"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 29).Value = "Serial#"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 30).Value = "자스민"; - this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F; - this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 44F; - this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType10.DecimalPlaces = 0; - numberCellType10.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType10.MaximumValue = 2147483647D; - numberCellType10.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType10; - this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx"; - this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(0).Locked = true; - this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F; - numberCellType11.DecimalPlaces = 0; - numberCellType11.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType11.MaximumValue = 2147483647D; - numberCellType11.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = numberCellType11; - this.fpSpread1_Sheet1.Columns.Get(1).DataField = "pno"; - this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(1).Label = "Project\r\nNo"; - this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType23; - this.fpSpread1_Sheet1.Columns.Get(2).DataField = "process"; - this.fpSpread1_Sheet1.Columns.Get(2).Label = "Process / Equipment"; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType24; - this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ReqSite"; - this.fpSpread1_Sheet1.Columns.Get(3).Label = "Site"; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType25; - this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ReqPlant"; - this.fpSpread1_Sheet1.Columns.Get(4).Label = "Plant"; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType26; - this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ReqPackage"; - this.fpSpread1_Sheet1.Columns.Get(5).Label = "PKG"; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType27; - this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ReqLine"; - this.fpSpread1_Sheet1.Columns.Get(6).Label = "Line"; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType28; - this.fpSpread1_Sheet1.Columns.Get(7).DataField = "part"; - this.fpSpread1_Sheet1.Columns.Get(7).Label = "Request Team"; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType29; - this.fpSpread1_Sheet1.Columns.Get(8).DataField = "name"; - this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(8).Label = "Project Title"; - this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType12.DecimalPlaces = 0; - numberCellType12.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType12.MaximumValue = 2147483647D; - numberCellType12.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType12; - this.fpSpread1_Sheet1.Columns.Get(9).DataField = "finishrate"; - this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(9).Label = "준수(%)"; - this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType13.DecimalPlaces = 0; - numberCellType13.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType13.MaximumValue = 2147483647D; - numberCellType13.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType13; - this.fpSpread1_Sheet1.Columns.Get(10).DataField = "ProgressPrj"; - this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(10).Label = "완료(%)"; - this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(10).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType30; - this.fpSpread1_Sheet1.Columns.Get(11).DataField = "status"; - this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(11).Label = "Status"; - this.fpSpread1_Sheet1.Columns.Get(11).Tag = "Status"; - this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType31; - this.fpSpread1_Sheet1.Columns.Get(12).DataField = "kdate"; - this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(12).Label = "검토\r\n기한"; - this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType32; - this.fpSpread1_Sheet1.Columns.Get(13).DataField = "sdate"; - this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).Label = "Start Date"; - this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).Width = 52F; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType33; - this.fpSpread1_Sheet1.Columns.Get(14).DataField = "ddate"; - this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(14).Label = "Due Date"; - this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType34; - this.fpSpread1_Sheet1.Columns.Get(15).DataField = "edate"; - this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(15).Label = "Done Date"; - this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType14.DecimalPlaces = 0; - numberCellType14.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType14.MaximumValue = 2147483647D; - numberCellType14.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType14; - this.fpSpread1_Sheet1.Columns.Get(16).DataField = "cnt"; - this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).Label = "Q\'ty"; - this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).Width = 42F; - numberCellType15.MaximumValue = 999999999999999D; - numberCellType15.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType15; - this.fpSpread1_Sheet1.Columns.Get(17).DataField = "costo"; - this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(17).Label = "Outsourced Cost ($K)/Set\r\n"; - this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(17).Width = 63F; - numberCellType16.MaximumValue = 999999999999999D; - numberCellType16.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType16; - this.fpSpread1_Sheet1.Columns.Get(18).DataField = "costn"; - this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(18).Label = "In-house Cost ($K/Set)"; - this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(18).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(19).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType17.MaximumValue = 999999999999999D; - numberCellType17.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType17; - this.fpSpread1_Sheet1.Columns.Get(19).DataField = "coste"; - this.fpSpread1_Sheet1.Columns.Get(19).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(19).Label = "Cost Save ($k)/Set"; - this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(19).Width = 67F; - this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType35; - this.fpSpread1_Sheet1.Columns.Get(20).DataField = "orderno"; - this.fpSpread1_Sheet1.Columns.Get(20).Label = "SCR/CF"; - this.fpSpread1_Sheet1.Columns.Get(21).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType36; - this.fpSpread1_Sheet1.Columns.Get(21).DataField = "name_champion"; - this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(21).Label = "Champion"; - this.fpSpread1_Sheet1.Columns.Get(21).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(22).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType37; - this.fpSpread1_Sheet1.Columns.Get(22).DataField = "name_software"; - this.fpSpread1_Sheet1.Columns.Get(22).Label = "S/W"; - this.fpSpread1_Sheet1.Columns.Get(23).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType38; - this.fpSpread1_Sheet1.Columns.Get(23).DataField = "name_design"; - this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(23).Label = "Design"; - this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(24).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType39; - this.fpSpread1_Sheet1.Columns.Get(24).DataField = "name_epanel"; - this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(24).Label = "ePanel"; - this.fpSpread1_Sheet1.Columns.Get(24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType40; - this.fpSpread1_Sheet1.Columns.Get(25).DataField = "lasthistory"; - this.fpSpread1_Sheet1.Columns.Get(25).Label = "History"; - this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType41; - this.fpSpread1_Sheet1.Columns.Get(26).DataField = "memo"; - this.fpSpread1_Sheet1.Columns.Get(26).Label = "Memo"; - this.fpSpread1_Sheet1.Columns.Get(26).Width = 77F; - this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType42; - this.fpSpread1_Sheet1.Columns.Get(27).DataField = "asset"; - this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(27).Label = "Asset"; - this.fpSpread1_Sheet1.Columns.Get(27).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType43; - this.fpSpread1_Sheet1.Columns.Get(28).DataField = "model"; - this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(28).Label = "Model#"; - this.fpSpread1_Sheet1.Columns.Get(28).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType44; - this.fpSpread1_Sheet1.Columns.Get(29).DataField = "serial"; - this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(29).Label = "Serial#"; - this.fpSpread1_Sheet1.Columns.Get(29).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType18.DecimalPlaces = 0; - numberCellType18.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType18.MaximumValue = 2147483647D; - numberCellType18.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(30).CellType = numberCellType18; - this.fpSpread1_Sheet1.Columns.Get(30).DataField = "jasmin"; - this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(30).Label = "자스민"; - this.fpSpread1_Sheet1.Columns.Get(30).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.DataAutoSizeColumns = false; - this.fpSpread1_Sheet1.DataSource = this.bs; - this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; - this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; + this.fpSpread1.SetViewportLeftColumn(0, 0, 8); // // toolStrip1 // @@ -1086,6 +835,61 @@ this.tableLayoutPanel1.Size = new System.Drawing.Size(1585, 139); this.tableLayoutPanel1.TabIndex = 11; // + // rtMemo + // + this.rtMemo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.rtMemo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHistD, "remark", true)); + this.rtMemo.Dock = System.Windows.Forms.DockStyle.Fill; + this.rtMemo.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.rtMemo.Location = new System.Drawing.Point(1112, 28); + this.rtMemo.Name = "rtMemo"; + this.rtMemo.ReadOnly = true; + this.rtMemo.Size = new System.Drawing.Size(470, 108); + this.rtMemo.TabIndex = 35; + this.rtMemo.Text = ""; + // + // bsHistD + // + this.bsHistD.DataMember = "EETGW_ProjecthistoryD"; + this.bsHistD.DataSource = this.dsMSSQL; + this.bsHistD.Sort = "pdate desc"; + this.bsHistD.CurrentChanged += new System.EventHandler(this.bsHistD_CurrentChanged); + // + // panel5 + // + this.panel5.Controls.Add(this.label31); + this.panel5.Controls.Add(this.sbDateMemo); + this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel5.Location = new System.Drawing.Point(1109, 0); + this.panel5.Margin = new System.Windows.Forms.Padding(0); + this.panel5.Name = "panel5"; + this.panel5.Size = new System.Drawing.Size(476, 25); + this.panel5.TabIndex = 35; + // + // label31 + // + this.label31.Dock = System.Windows.Forms.DockStyle.Fill; + this.label31.Location = new System.Drawing.Point(0, 0); + this.label31.Name = "label31"; + this.label31.Size = new System.Drawing.Size(376, 25); + this.label31.TabIndex = 14; + this.label31.Text = "프로젝트 메모"; + this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // sbDateMemo + // + this.sbDateMemo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.sbDateMemo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHistD, "pdate", true)); + this.sbDateMemo.Dock = System.Windows.Forms.DockStyle.Right; + this.sbDateMemo.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.sbDateMemo.Location = new System.Drawing.Point(376, 0); + this.sbDateMemo.Margin = new System.Windows.Forms.Padding(0); + this.sbDateMemo.Name = "sbDateMemo"; + this.sbDateMemo.Size = new System.Drawing.Size(100, 25); + this.sbDateMemo.TabIndex = 12; + this.sbDateMemo.Text = "--"; + this.sbDateMemo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // panel4 // this.panel4.Controls.Add(this.label11); @@ -1896,65 +1700,279 @@ this.label17.Text = "구매 진행"; this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // panel5 - // - this.panel5.Controls.Add(this.label31); - this.panel5.Controls.Add(this.sbDateMemo); - this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel5.Location = new System.Drawing.Point(1109, 0); - this.panel5.Margin = new System.Windows.Forms.Padding(0); - this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(476, 25); - this.panel5.TabIndex = 35; - // - // label31 - // - this.label31.Dock = System.Windows.Forms.DockStyle.Fill; - this.label31.Location = new System.Drawing.Point(0, 0); - this.label31.Name = "label31"; - this.label31.Size = new System.Drawing.Size(376, 25); - this.label31.TabIndex = 14; - this.label31.Text = "프로젝트 메모"; - this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // sbDateMemo - // - this.sbDateMemo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.sbDateMemo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHistD, "pdate", true)); - this.sbDateMemo.Dock = System.Windows.Forms.DockStyle.Right; - this.sbDateMemo.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.sbDateMemo.Location = new System.Drawing.Point(376, 0); - this.sbDateMemo.Margin = new System.Windows.Forms.Padding(0); - this.sbDateMemo.Name = "sbDateMemo"; - this.sbDateMemo.Size = new System.Drawing.Size(100, 25); - this.sbDateMemo.TabIndex = 12; - this.sbDateMemo.Text = "--"; - this.sbDateMemo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // rtMemo - // - this.rtMemo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.rtMemo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHistD, "remark", true)); - this.rtMemo.Dock = System.Windows.Forms.DockStyle.Fill; - this.rtMemo.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.rtMemo.Location = new System.Drawing.Point(1112, 28); - this.rtMemo.Name = "rtMemo"; - this.rtMemo.ReadOnly = true; - this.rtMemo.Size = new System.Drawing.Size(470, 108); - this.rtMemo.TabIndex = 35; - this.rtMemo.Text = ""; - // - // bsHistD - // - this.bsHistD.DataMember = "EETGW_ProjecthistoryD"; - this.bsHistD.DataSource = this.dsMSSQL; - this.bsHistD.Sort = "pdate desc"; - this.bsHistD.CurrentChanged += new System.EventHandler(this.bsHistD_CurrentChanged); - // // taHistD // this.taHistD.ClearBeforeFill = true; // + // fpSpread1_Sheet1 + // + this.fpSpread1_Sheet1.Reset(); + this.fpSpread1_Sheet1.SheetName = "Sheet1"; + // Formulas and custom names must be loaded with R1C1 reference style + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; + this.fpSpread1_Sheet1.ColumnCount = 34; + this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2; + this.fpSpread1_Sheet1.ActiveColumnIndex = -1; + this.fpSpread1_Sheet1.ActiveRowIndex = -1; + this.fpSpread1_Sheet1.AutoGenerateColumns = false; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).ColumnSpan = 8; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Basic Info"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Process /\r\nEquipment"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).ColumnSpan = 7; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Schedule"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Schedule"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).ColumnSpan = 4; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "Effect"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "Original\r\n($K)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).StyleName = " "; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "Input\r\n($K)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "Effect\r\n($K)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "Budget"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).ColumnSpan = 4; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "Human Resource"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).ColumnSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "Comment"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "Comment"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).ColumnSpan = 4; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "Ext.Info"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).Value = "Cost Save"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).Value = "Fan Out"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).Value = "High Light"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 1).Value = "Project\r\nNo"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 2).Value = "Process / Equipment"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 3).Value = "Site"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 4).Value = "Plant"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 5).Value = "PKG"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "Line"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "Request Team"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "Project Title"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "준수(%)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "완료(%)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "Status"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 12).Value = "검토\r\n기한"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 13).Value = "Start Date"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 14).Value = "Due Date"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 15).Value = "Done Date"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 16).Value = "Q\'ty"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 17).Value = "Outsourced Cost ($K)/Set\r\n"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 18).Value = "In-house Cost ($K/Set)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 19).Value = "Cost Save ($k)/Set"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 20).Value = "SCR/CF"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 21).Value = "Champion"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 22).Value = "S/W"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 23).Value = "Design"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 24).Value = "ePanel"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 25).Value = "History"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 26).Value = "Memo"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 27).Value = "Asset"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 28).Value = "Model#"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 29).Value = "Serial#"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 30).Value = "자스민"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 44F; + this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType1.DecimalPlaces = 0; + numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType1.MaximumValue = 2147483647D; + numberCellType1.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1; + this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx"; + this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(0).Locked = true; + this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F; + numberCellType2.DecimalPlaces = 0; + numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType2.MaximumValue = 2147483647D; + numberCellType2.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = numberCellType2; + this.fpSpread1_Sheet1.Columns.Get(1).DataField = "pno"; + this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Label = "Project\r\nNo"; + this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(2).DataField = "process"; + this.fpSpread1_Sheet1.Columns.Get(2).Label = "Process / Equipment"; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ReqSite"; + this.fpSpread1_Sheet1.Columns.Get(3).Label = "Site"; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ReqPlant"; + this.fpSpread1_Sheet1.Columns.Get(4).Label = "Plant"; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ReqPackage"; + this.fpSpread1_Sheet1.Columns.Get(5).Label = "PKG"; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ReqLine"; + this.fpSpread1_Sheet1.Columns.Get(6).Label = "Line"; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6; + this.fpSpread1_Sheet1.Columns.Get(7).DataField = "part"; + this.fpSpread1_Sheet1.Columns.Get(7).Label = "Request Team"; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; + this.fpSpread1_Sheet1.Columns.Get(8).DataField = "name"; + this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(8).Label = "Project Title"; + this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + numberCellType3.DecimalPlaces = 0; + numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType3.MaximumValue = 2147483647D; + numberCellType3.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType3; + this.fpSpread1_Sheet1.Columns.Get(9).DataField = "finishrate"; + this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(9).Label = "준수(%)"; + this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + numberCellType4.DecimalPlaces = 0; + numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType4.MaximumValue = 2147483647D; + numberCellType4.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType4; + this.fpSpread1_Sheet1.Columns.Get(10).DataField = "ProgressPrj"; + this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Label = "완료(%)"; + this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType8; + this.fpSpread1_Sheet1.Columns.Get(11).DataField = "status"; + this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(11).Label = "Status"; + this.fpSpread1_Sheet1.Columns.Get(11).Tag = "Status"; + this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(12).DataField = "kdate"; + this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(12).Label = "검토\r\n기한"; + this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(13).DataField = "sdate"; + this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).Label = "Start Date"; + this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).Width = 52F; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType11; + this.fpSpread1_Sheet1.Columns.Get(14).DataField = "ddate"; + this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).Label = "Due Date"; + this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType12; + this.fpSpread1_Sheet1.Columns.Get(15).DataField = "edate"; + this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(15).Label = "Done Date"; + this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + numberCellType5.DecimalPlaces = 0; + numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType5.MaximumValue = 2147483647D; + numberCellType5.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType5; + this.fpSpread1_Sheet1.Columns.Get(16).DataField = "cnt"; + this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(16).Label = "Q\'ty"; + this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(16).Width = 42F; + numberCellType6.MaximumValue = 999999999999999D; + numberCellType6.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType6; + this.fpSpread1_Sheet1.Columns.Get(17).DataField = "costo"; + this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(17).Label = "Outsourced Cost ($K)/Set\r\n"; + this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(17).Width = 63F; + numberCellType7.MaximumValue = 999999999999999D; + numberCellType7.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType7; + this.fpSpread1_Sheet1.Columns.Get(18).DataField = "costn"; + this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(18).Label = "In-house Cost ($K/Set)"; + this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(18).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(19).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType8.MaximumValue = 999999999999999D; + numberCellType8.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType8; + this.fpSpread1_Sheet1.Columns.Get(19).DataField = "coste"; + this.fpSpread1_Sheet1.Columns.Get(19).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(19).Label = "Cost Save ($k)/Set"; + this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(19).Width = 67F; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType13; + this.fpSpread1_Sheet1.Columns.Get(20).DataField = "orderno"; + this.fpSpread1_Sheet1.Columns.Get(20).Label = "SCR/CF"; + this.fpSpread1_Sheet1.Columns.Get(21).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType14; + this.fpSpread1_Sheet1.Columns.Get(21).DataField = "name_champion"; + this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(21).Label = "Champion"; + this.fpSpread1_Sheet1.Columns.Get(21).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(22).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType15; + this.fpSpread1_Sheet1.Columns.Get(22).DataField = "name_software"; + this.fpSpread1_Sheet1.Columns.Get(22).Label = "S/W"; + this.fpSpread1_Sheet1.Columns.Get(23).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType16; + this.fpSpread1_Sheet1.Columns.Get(23).DataField = "name_design"; + this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(23).Label = "Design"; + this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(24).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17; + this.fpSpread1_Sheet1.Columns.Get(24).DataField = "name_epanel"; + this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(24).Label = "ePanel"; + this.fpSpread1_Sheet1.Columns.Get(24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType18; + this.fpSpread1_Sheet1.Columns.Get(25).DataField = "lasthistory"; + this.fpSpread1_Sheet1.Columns.Get(25).Label = "History"; + this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType19; + this.fpSpread1_Sheet1.Columns.Get(26).DataField = "memo"; + this.fpSpread1_Sheet1.Columns.Get(26).Label = "Memo"; + this.fpSpread1_Sheet1.Columns.Get(26).Width = 77F; + this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType20; + this.fpSpread1_Sheet1.Columns.Get(27).DataField = "asset"; + this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(27).Label = "Asset"; + this.fpSpread1_Sheet1.Columns.Get(27).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType21; + this.fpSpread1_Sheet1.Columns.Get(28).DataField = "model"; + this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(28).Label = "Model#"; + this.fpSpread1_Sheet1.Columns.Get(28).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType22; + this.fpSpread1_Sheet1.Columns.Get(29).DataField = "serial"; + this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(29).Label = "Serial#"; + this.fpSpread1_Sheet1.Columns.Get(29).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + numberCellType9.DecimalPlaces = 0; + numberCellType9.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType9.MaximumValue = 2147483647D; + numberCellType9.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(30).CellType = numberCellType9; + this.fpSpread1_Sheet1.Columns.Get(30).DataField = "jasmin"; + this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(30).Label = "자스민"; + this.fpSpread1_Sheet1.Columns.Get(30).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(31).CellType = checkBoxCellType1; + this.fpSpread1_Sheet1.Columns.Get(31).DataField = "bCost"; + this.fpSpread1_Sheet1.Columns.Get(31).Width = 44F; + this.fpSpread1_Sheet1.Columns.Get(32).CellType = checkBoxCellType2; + this.fpSpread1_Sheet1.Columns.Get(32).DataField = "bFanOut"; + this.fpSpread1_Sheet1.Columns.Get(32).Width = 44F; + this.fpSpread1_Sheet1.Columns.Get(33).CellType = checkBoxCellType3; + this.fpSpread1_Sheet1.Columns.Get(33).DataField = "bHighlight"; + this.fpSpread1_Sheet1.Columns.Get(33).Width = 39F; + this.fpSpread1_Sheet1.DataAutoSizeColumns = false; + this.fpSpread1_Sheet1.DataSource = this.bs; + this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; + // // fProjectList // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -1976,10 +1994,11 @@ ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); this.cm.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.tableLayoutPanel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.bsHistD)).EndInit(); + this.panel5.ResumeLayout(false); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.bsHist)).EndInit(); this.tableLayoutPanel2.ResumeLayout(false); @@ -1990,8 +2009,7 @@ this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.tableLayoutPanel3.ResumeLayout(false); - this.panel5.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.bsHistD)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -2126,12 +2144,12 @@ private System.Windows.Forms.Button button2; private System.Windows.Forms.Label label29; private System.Windows.Forms.Label label30; - private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; private System.Windows.Forms.Panel panel5; private System.Windows.Forms.Label label31; private System.Windows.Forms.Label sbDateMemo; private System.Windows.Forms.RichTextBox rtMemo; private System.Windows.Forms.BindingSource bsHistD; private dsPRJTableAdapters.EETGW_ProjecthistoryDTableAdapter taHistD; + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectList.cs b/SubProject/FPJ0000/Project/fProjectList.cs index ffc5bfd..71e0d72 100644 --- a/SubProject/FPJ0000/Project/fProjectList.cs +++ b/SubProject/FPJ0000/Project/fProjectList.cs @@ -171,7 +171,7 @@ namespace FPJ0000 string State_Select = " SELECT [idx],[pidx],[gcode],[isdel],[status],[asset],[level],[rev]," + " [process],[part],[pdate],[name],[userManager],[usermain],[usersub],[userhw2],[reqstaff]," + " [costo],[costn],[cnt],[remark_req],[remark_ans],[sdate],[ddate],[edate],[odate],[progress]," + - " [memo],[wuid],[wdate],[orderno],[crdue],[import],[path],[userprocess],[bCost],[bFanOut],[div]," + + " [memo],[wuid],[wdate],[orderno],[crdue],[import],[path],[userprocess],[bCost],[bFanOut],[bHighlight],[div]," + " dbo.getScheduleProgress(idx) as ProgressPrj,'' AS lasthistory,'' AS wws, '' AS wwo, '' AS wwe, '' AS wwd,model,serial," + " [championid], dbo.getProjectFinishRate(gcode, idx) AS finishrate," + " championid,designid,assemblyid,epanelid,softwareid,userAssembly," + diff --git a/SubProject/FPJ0000/Project/fProjectList.resx b/SubProject/FPJ0000/Project/fProjectList.resx index ff280c4..1ba2816 100644 --- a/SubProject/FPJ0000/Project/fProjectList.resx +++ b/SubProject/FPJ0000/Project/fProjectList.resx @@ -290,9 +290,6 @@ TgDQASA1MVpwzwAAAABJRU5ErkJggg== - - 17, 17 - 387, 17 @@ -342,7 +339,7 @@ 248, 17 - 934, 17 + 110, 56 455, 17 @@ -353,18 +350,12 @@ 561, 17 - - 561, 17 - 731, 17 647, 17 - - 731, 17 - 828, 17 diff --git a/SubProject/FPJ0000/Project/fProjectListU.Designer.cs b/SubProject/FPJ0000/Project/fProjectListU.Designer.cs index 235b64b..603af5b 100644 --- a/SubProject/FPJ0000/Project/fProjectListU.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectListU.Designer.cs @@ -30,6 +30,8 @@ { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectListU)); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); @@ -45,8 +47,9 @@ 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(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); this.bn = new System.Windows.Forms.BindingNavigator(this.components); this.bs = new System.Windows.Forms.BindingSource(this.components); this.dsMSSQL = new FPJ0000.dsPRJ(); @@ -98,7 +101,6 @@ this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); - this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.bsHist = new System.Windows.Forms.BindingSource(this.components); this.taHist = new FPJ0000.dsPRJTableAdapters.ProjectsHistoryTableAdapter(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); @@ -114,6 +116,7 @@ this.richTextBox2 = new System.Windows.Forms.RichTextBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.richTextBox1 = new System.Windows.Forms.RichTextBox(); + this.grpsum = new System.Windows.Forms.GroupBox(); this.arDatagridView1 = new arCtl.arDatagridView(); this.prjDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.perc = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -132,25 +135,25 @@ this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.cmbUserList = new System.Windows.Forms.ComboBox(); this.projectHrsTableAdapter = new FPJ0000.Project.DSProjectSummaryTableAdapters.ProjectHrsTableAdapter(); - this.grpsum = new System.Windows.Forms.GroupBox(); + this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); this.bn.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); this.cm.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bsHist)).BeginInit(); this.panel3.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox1.SuspendLayout(); + this.grpsum.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.arDatagridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bsProjectHRS)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsProjectSummary1)).BeginInit(); this.tableLayoutPanel3.SuspendLayout(); this.panel2.SuspendLayout(); - this.grpsum.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); this.SuspendLayout(); // // bn @@ -606,149 +609,6 @@ this.fpSpread1.StatusBarVisible = true; this.fpSpread1.TabIndex = 2; // - // fpSpread1_Sheet1 - // - this.fpSpread1_Sheet1.Reset(); - this.fpSpread1_Sheet1.SheetName = "Sheet1"; - // Formulas and custom names must be loaded with R1C1 reference style - this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; - this.fpSpread1_Sheet1.ColumnCount = 15; - this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2; - this.fpSpread1_Sheet1.ActiveColumnIndex = -1; - this.fpSpread1_Sheet1.ActiveRowIndex = -1; - this.fpSpread1_Sheet1.AutoGenerateColumns = false; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "상태"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).ColumnSpan = 4; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Basic Info"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).ColumnSpan = 5; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "Schedule"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).ColumnSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Effect"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "Effect\r\n($K)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).ColumnSpan = 3; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "Human Resource"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 0).Value = "상태"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 1).Value = "Project\r\nNo"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 2).Value = "Req"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 3).Value = "Package"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 4).Value = "Title"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 5).Value = "완료(%)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "참여(%)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "Start"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "Due"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "Done"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "Q\'ty"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "Cost Save ($k)/Set"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 12).Value = "S/W"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 13).Value = "Design"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 14).Value = "ePanel"; - this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F; - this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 44F; - this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; - this.fpSpread1_Sheet1.Columns.Get(0).DataField = "status"; - this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - 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).Locked = true; - this.fpSpread1_Sheet1.Columns.Get(0).Tag = "Status"; - this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F; - numberCellType1.DecimalPlaces = 0; - numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType1.MaximumValue = 2147483647D; - numberCellType1.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = numberCellType1; - this.fpSpread1_Sheet1.Columns.Get(1).DataField = "pno"; - this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(1).Label = "Project\r\nNo"; - this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; - this.fpSpread1_Sheet1.Columns.Get(2).DataField = "part"; - this.fpSpread1_Sheet1.Columns.Get(2).Label = "Req"; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; - this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ReqPackage"; - this.fpSpread1_Sheet1.Columns.Get(3).Label = "Package"; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; - this.fpSpread1_Sheet1.Columns.Get(4).DataField = "name2"; - this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(4).Label = "Title"; - this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType2.DecimalPlaces = 0; - numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType2.MaximumValue = 2147483647D; - numberCellType2.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType2; - this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ProgressPrj"; - this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(5).Label = "완료(%)"; - this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(5).Width = 63F; - numberCellType3.MaximumValue = 999999999999999D; - numberCellType3.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = numberCellType3; - this.fpSpread1_Sheet1.Columns.Get(6).DataField = "chamyeo"; - 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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType5; - this.fpSpread1_Sheet1.Columns.Get(7).DataField = "sdate"; - this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(7).Label = "Start"; - this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(7).Width = 52F; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType6; - this.fpSpread1_Sheet1.Columns.Get(8).DataField = "ddate"; - this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(8).Label = "Due"; - this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(8).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType7; - this.fpSpread1_Sheet1.Columns.Get(9).DataField = "edate"; - this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(9).Label = "Done"; - this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType4.DecimalPlaces = 0; - numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType4.MaximumValue = 2147483647D; - numberCellType4.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType4; - this.fpSpread1_Sheet1.Columns.Get(10).DataField = "cnt"; - this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(10).Label = "Q\'ty"; - this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(10).Width = 42F; - this.fpSpread1_Sheet1.Columns.Get(11).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType5.MaximumValue = 999999999999999D; - numberCellType5.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType5; - this.fpSpread1_Sheet1.Columns.Get(11).DataField = "coste"; - this.fpSpread1_Sheet1.Columns.Get(11).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(11).Label = "Cost Save ($k)/Set"; - this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(11).Width = 67F; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType8; - this.fpSpread1_Sheet1.Columns.Get(12).DataField = "name_software"; - this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(12).Label = "S/W"; - this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType9; - this.fpSpread1_Sheet1.Columns.Get(13).DataField = "name_design"; - this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).Label = "Design"; - this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType10; - this.fpSpread1_Sheet1.Columns.Get(14).DataField = "name_epanel"; - this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(14).Label = "ePanel"; - this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.DataAutoSizeColumns = false; - this.fpSpread1_Sheet1.DataSource = this.bs; - this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; - this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; - // // bsHist // this.bsHist.DataMember = "ProjectsHistory"; @@ -943,6 +803,17 @@ this.richTextBox1.Text = ""; this.richTextBox1.ZoomFactor = 1.5F; // + // grpsum + // + this.grpsum.Controls.Add(this.arDatagridView1); + this.grpsum.Dock = System.Windows.Forms.DockStyle.Left; + this.grpsum.Location = new System.Drawing.Point(0, 0); + this.grpsum.Name = "grpsum"; + this.grpsum.Size = new System.Drawing.Size(406, 438); + this.grpsum.TabIndex = 5; + this.grpsum.TabStop = false; + this.grpsum.Text = "집계기간"; + // // arDatagridView1 // this.arDatagridView1.A_DelCurrentCell = true; @@ -1143,16 +1014,162 @@ // this.projectHrsTableAdapter.ClearBeforeFill = true; // - // grpsum + // fpSpread1_Sheet1 // - this.grpsum.Controls.Add(this.arDatagridView1); - this.grpsum.Dock = System.Windows.Forms.DockStyle.Left; - this.grpsum.Location = new System.Drawing.Point(0, 0); - this.grpsum.Name = "grpsum"; - this.grpsum.Size = new System.Drawing.Size(406, 438); - this.grpsum.TabIndex = 5; - this.grpsum.TabStop = false; - this.grpsum.Text = "집계기간"; + 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 = 18; + this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2; + this.fpSpread1_Sheet1.ActiveColumnIndex = -1; + this.fpSpread1_Sheet1.ActiveRowIndex = -1; + this.fpSpread1_Sheet1.AutoGenerateColumns = false; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "상태"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).ColumnSpan = 4; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Basic Info"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).ColumnSpan = 5; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "Schedule"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).ColumnSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Effect"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "Effect\r\n($K)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).ColumnSpan = 3; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "Human Resource"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).ColumnSpan = 3; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "Property"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 0).Value = "상태"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 1).Value = "Project\r\nNo"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 2).Value = "Req"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 3).Value = "Package"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 4).Value = "Title"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 5).Value = "완료(%)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "참여(%)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "Start"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "Due"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "Done"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "Q\'ty"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "Cost Save ($k)/Set"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 12).Value = "S/W"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 13).Value = "Design"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 14).Value = "ePanel"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 15).Value = "Fanout"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 16).Value = "H.Light"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 17).Value = "CostSave"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 47F; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 44F; + this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(0).DataField = "status"; + this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + 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).Locked = true; + this.fpSpread1_Sheet1.Columns.Get(0).Tag = "Status"; + this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F; + numberCellType1.DecimalPlaces = 0; + numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType1.MaximumValue = 2147483647D; + numberCellType1.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = numberCellType1; + this.fpSpread1_Sheet1.Columns.Get(1).DataField = "pno"; + this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Label = "Project\r\nNo"; + this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(2).DataField = "part"; + this.fpSpread1_Sheet1.Columns.Get(2).Label = "Req"; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ReqPackage"; + this.fpSpread1_Sheet1.Columns.Get(3).Label = "Package"; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(4).DataField = "name2"; + this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(4).Label = "Title"; + this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + numberCellType2.DecimalPlaces = 0; + numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType2.MaximumValue = 2147483647D; + numberCellType2.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType2; + this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ProgressPrj"; + this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(5).Label = "완료(%)"; + this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(5).Width = 63F; + numberCellType3.MaximumValue = 999999999999999D; + numberCellType3.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = numberCellType3; + this.fpSpread1_Sheet1.Columns.Get(6).DataField = "chamyeo"; + 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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(7).DataField = "sdate"; + this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(7).Label = "Start"; + this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(7).Width = 52F; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType6; + this.fpSpread1_Sheet1.Columns.Get(8).DataField = "ddate"; + this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(8).Label = "Due"; + this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(8).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType7; + this.fpSpread1_Sheet1.Columns.Get(9).DataField = "edate"; + this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(9).Label = "Done"; + this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + numberCellType4.DecimalPlaces = 0; + numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType4.MaximumValue = 2147483647D; + numberCellType4.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType4; + this.fpSpread1_Sheet1.Columns.Get(10).DataField = "cnt"; + this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Label = "Q\'ty"; + this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Width = 42F; + this.fpSpread1_Sheet1.Columns.Get(11).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType5.MaximumValue = 999999999999999D; + numberCellType5.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType5; + this.fpSpread1_Sheet1.Columns.Get(11).DataField = "coste"; + this.fpSpread1_Sheet1.Columns.Get(11).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(11).Label = "Cost Save ($k)/Set"; + this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(11).Width = 67F; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType8; + this.fpSpread1_Sheet1.Columns.Get(12).DataField = "name_software"; + this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(12).Label = "S/W"; + this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(13).DataField = "name_design"; + this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).Label = "Design"; + this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(14).DataField = "name_epanel"; + this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).Label = "ePanel"; + this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = checkBoxCellType1; + this.fpSpread1_Sheet1.Columns.Get(15).DataField = "bFanOut"; + this.fpSpread1_Sheet1.Columns.Get(15).Label = "Fanout"; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = checkBoxCellType2; + this.fpSpread1_Sheet1.Columns.Get(16).DataField = "bHighlight"; + this.fpSpread1_Sheet1.Columns.Get(16).Label = "H.Light"; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = checkBoxCellType3; + this.fpSpread1_Sheet1.Columns.Get(17).DataField = "bCost"; + this.fpSpread1_Sheet1.Columns.Get(17).Label = "CostSave"; + this.fpSpread1_Sheet1.DataAutoSizeColumns = false; + this.fpSpread1_Sheet1.DataSource = this.bs; + this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // // fProjectListU // @@ -1174,19 +1191,19 @@ ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); this.cm.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bsHist)).EndInit(); this.panel3.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); + this.grpsum.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.arDatagridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bsProjectHRS)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsProjectSummary1)).EndInit(); this.tableLayoutPanel3.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); - this.grpsum.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -1263,7 +1280,6 @@ private System.Windows.Forms.BindingSource bsProjectHRS; private Project.DSProjectSummaryTableAdapters.ProjectHrsTableAdapter projectHrsTableAdapter; private arCtl.arDatagridView arDatagridView1; - private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; private System.Windows.Forms.GroupBox groupBox2; private System.Windows.Forms.RichTextBox richTextBox2; private System.Windows.Forms.GroupBox groupBox1; @@ -1280,5 +1296,6 @@ private System.Windows.Forms.DateTimePicker dts; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.GroupBox grpsum; + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectListU.cs b/SubProject/FPJ0000/Project/fProjectListU.cs index ca4527a..c332fc0 100644 --- a/SubProject/FPJ0000/Project/fProjectListU.cs +++ b/SubProject/FPJ0000/Project/fProjectListU.cs @@ -118,7 +118,7 @@ namespace FPJ0000 "SELECT [idx],pno,[status],[process],[part],[pdate], " + "ReqSite,ReqPlant,ReqLine,ReqPackage,[name],'' as remark_ans,[reqstaff], [costo],[costn],[cnt], " + "[remark_req],[sdate],[ddate],[edate],[odate], [orderno], " + - "[path], dbo.getScheduleProgress(idx) as ProgressPrj, " + + "[path], dbo.getScheduleProgress(idx) as ProgressPrj,[bHighlight],[bCost],[bFanOut], " + "dbo.getLastHistory(idx) AS lasthistory, " + "dbo.getProjectFinishRate(gcode, idx) AS finishrate, " + "championid, designid, assemblyid, epanelid, softwareid, userAssembly, " + diff --git a/SubProject/FPJ0000/dsPRJ.Designer.cs b/SubProject/FPJ0000/dsPRJ.Designer.cs index 0235284..abcfe84 100644 --- a/SubProject/FPJ0000/dsPRJ.Designer.cs +++ b/SubProject/FPJ0000/dsPRJ.Designer.cs @@ -1045,6 +1045,8 @@ namespace FPJ0000 { private global::System.Data.DataColumn columnlasthistoryD; + private global::System.Data.DataColumn columnbHighlight; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public ProjectsDataTable() : @@ -1719,6 +1721,14 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn bHighlightColumn { + get { + return this.columnbHighlight; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -1834,7 +1844,8 @@ namespace FPJ0000 { double sfi, float chamyeo, string name2, - string lasthistoryD) { + string lasthistoryD, + bool bHighlight) { ProjectsRow rowProjectsRow = ((ProjectsRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -1915,7 +1926,8 @@ namespace FPJ0000 { sfi, chamyeo, name2, - lasthistoryD}; + lasthistoryD, + bHighlight}; rowProjectsRow.ItemArray = columnValuesArray; this.Rows.Add(rowProjectsRow); return rowProjectsRow; @@ -2000,7 +2012,8 @@ namespace FPJ0000 { double sfi, float chamyeo, string name2, - string lasthistoryD) { + string lasthistoryD, + bool bHighlight) { ProjectsRow rowProjectsRow = ((ProjectsRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -2081,7 +2094,8 @@ namespace FPJ0000 { sfi, chamyeo, name2, - lasthistoryD}; + lasthistoryD, + bHighlight}; rowProjectsRow.ItemArray = columnValuesArray; this.Rows.Add(rowProjectsRow); return rowProjectsRow; @@ -2190,6 +2204,7 @@ namespace FPJ0000 { this.columnchamyeo = base.Columns["chamyeo"]; this.columnname2 = base.Columns["name2"]; this.columnlasthistoryD = base.Columns["lasthistoryD"]; + this.columnbHighlight = base.Columns["bHighlight"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -2353,6 +2368,8 @@ namespace FPJ0000 { base.Columns.Add(this.columnname2); this.columnlasthistoryD = new global::System.Data.DataColumn("lasthistoryD", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnlasthistoryD); + this.columnbHighlight = new global::System.Data.DataColumn("bHighlight", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnbHighlight); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnidx}, true)); this.columnidx.AutoIncrement = true; @@ -13061,6 +13078,22 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool bHighlight { + get { + if (this.IsbHighlightNull()) { + return false; + } + else { + return ((bool)(this[this.tableProjects.bHighlightColumn])); + } + } + set { + this[this.tableProjects.bHighlightColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool IsnameNull() { @@ -13960,6 +13993,18 @@ namespace FPJ0000 { public void SetlasthistoryDNull() { this[this.tableProjects.lasthistoryDColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsbHighlightNull() { + return this.IsNull(this.tableProjects.bHighlightColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetbHighlightNull() { + this[this.tableProjects.bHighlightColumn] = global::System.Convert.DBNull; + } } /// @@ -23015,6 +23060,7 @@ namespace FPJ0000.dsPRJTableAdapters { tableMapping.ColumnMappings.Add("jasmin", "jasmin"); tableMapping.ColumnMappings.Add("sfi", "sfi"); tableMapping.ColumnMappings.Add("lasthistoryD", "lasthistoryD"); + tableMapping.ColumnMappings.Add("bHighlight", "bHighlight"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; @@ -23023,7 +23069,7 @@ namespace FPJ0000.dsPRJTableAdapters { 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand.Connection = this.Connection; - this._adapter.InsertCommand.CommandText = @"INSERT INTO [Projects] ([status], [pdate], [name], [usermain], [usersub], [reqstaff], [sdate], [edate], [odate], [memo], [wuid], [wdate], [rev], [pidx], [userManager], [level], [part], [process], [costo], [costn], [cnt], [remark_req], [remark_ans], [ddate], [progress], [import], [asset], [isdel], [path], [userhw2], [orderno], [gcode], [category], [userprocess], [CMP_Background], [CMP_Description], [CMP_Before], [CMP_After], [bCost], [bFanOut], [div], [crdue], [model], [serial], [bdate], [qdate], [cdate], [championid], [designid], [assemblyid], [epanelid], [softwareid], [userAssembly], [ReqLine], [ReqSite], [ReqPackage], [ReqPlant], [pno], [kdate], [jasmin], [sfi]) VALUES (@status, @pdate, @name, @usermain, @usersub, @reqstaff, @sdate, @edate, @odate, @memo, @wuid, @wdate, @rev, @pidx, @userManager, @level, @part, @process, @costo, @costn, @cnt, @remark_req, @remark_ans, @ddate, @progress, @import, @asset, @isdel, @path, @userhw2, @orderno, @gcode, @category, @userprocess, @CMP_Background, @CMP_Description, @CMP_Before, @CMP_After, @bCost, @bFanOut, @div, @crdue, @model, @serial, @bdate, @qdate, @cdate, @championid, @designid, @assemblyid, @epanelid, @softwareid, @userAssembly, @ReqLine, @ReqSite, @ReqPackage, @ReqPlant, @pno, @kdate, @jasmin, @sfi)"; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [Projects] ([status], [pdate], [name], [usermain], [usersub], [reqstaff], [sdate], [edate], [odate], [memo], [wuid], [wdate], [rev], [pidx], [userManager], [level], [part], [process], [costo], [costn], [cnt], [remark_req], [remark_ans], [ddate], [progress], [import], [asset], [isdel], [path], [userhw2], [orderno], [gcode], [category], [userprocess], [CMP_Background], [CMP_Description], [CMP_Before], [CMP_After], [bCost], [bFanOut], [div], [crdue], [model], [serial], [bdate], [qdate], [cdate], [championid], [designid], [assemblyid], [epanelid], [softwareid], [userAssembly], [ReqLine], [ReqSite], [ReqPackage], [ReqPlant], [pno], [kdate], [jasmin], [sfi], [bHighlight]) VALUES (@status, @pdate, @name, @usermain, @usersub, @reqstaff, @sdate, @edate, @odate, @memo, @wuid, @wdate, @rev, @pidx, @userManager, @level, @part, @process, @costo, @costn, @cnt, @remark_req, @remark_ans, @ddate, @progress, @import, @asset, @isdel, @path, @userhw2, @orderno, @gcode, @category, @userprocess, @CMP_Background, @CMP_Description, @CMP_Before, @CMP_After, @bCost, @bFanOut, @div, @crdue, @model, @serial, @bdate, @qdate, @cdate, @championid, @designid, @assemblyid, @epanelid, @softwareid, @userAssembly, @ReqLine, @ReqSite, @ReqPackage, @ReqPlant, @pno, @kdate, @jasmin, @sfi, @bHighlight)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); @@ -23086,6 +23132,7 @@ namespace FPJ0000.dsPRJTableAdapters { this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@jasmin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "jasmin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sfi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sfi", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bHighlight", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bHighlight", 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 Projects\r\nSET status = @status, pdate = @pdate, name = @name, userm" + @@ -23211,13 +23258,13 @@ namespace FPJ0000.dsPRJTableAdapters { "o.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_ep" + "anel, dbo.getUserName(softwareid) AS name_software, userAssembly, \r\n " + " ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin, sfi, dbo.getLastH" + - "istoryD(idx) AS lasthistoryD\r\nFROM Projects\r\nWHERE (status LIKE @state) AND" + - " (ISNULL(userManager, \'\') LIKE @username OR\r\n ISNULL(usermain, \'\')" + - " LIKE @username OR\r\n ISNULL(usersub, \'\') LIKE @username) AND (ISNU" + - "LL(isdel, 0) = 0) AND (gcode = @gcode)\r\nORDER BY (CASE WHEN [status] = \'검토\' THEN" + - " \'0\' WHEN ([status] = \'진행\') THEN \'1\' WHEN ([status] = \'보류\') THEN \'2\' WHEN ([stat" + - "us] = \'완료\') THEN \'3\' WHEN ([status] = \'취소\') \r\n THEN \'9\' ELSE \'5\' E" + - "ND)"; + "istoryD(idx) AS lasthistoryD, bHighlight\r\nFROM Projects\r\nWHERE (status LIKE" + + " @state) AND (ISNULL(userManager, \'\') LIKE @username OR\r\n ISNULL(u" + + "sermain, \'\') LIKE @username OR\r\n ISNULL(usersub, \'\') LIKE @usernam" + + "e) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)\r\nORDER BY (CASE WHEN [status]" + + " = \'검토\' THEN \'0\' WHEN ([status] = \'진행\') THEN \'1\' WHEN ([status] = \'보류\') THEN \'2\'" + + " WHEN ([status] = \'완료\') THEN \'3\' WHEN ([status] = \'취소\') \r\n THEN \'9" + + "\' ELSE \'5\' END)"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); @@ -23514,7 +23561,8 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode = global::System.Nullable pno, string kdate, global::System.Nullable jasmin, - global::System.Nullable sfi) { + global::System.Nullable sfi, + global::System.Nullable bHighlight) { if ((status == null)) { this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; } @@ -23876,6 +23924,12 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode = else { this.Adapter.InsertCommand.Parameters[60].Value = global::System.DBNull.Value; } + if ((bHighlight.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[61].Value = ((bool)(bHighlight.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[61].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)) { diff --git a/SubProject/FPJ0000/dsPRJ.xsd b/SubProject/FPJ0000/dsPRJ.xsd index 53359e3..e95c087 100644 --- a/SubProject/FPJ0000/dsPRJ.xsd +++ b/SubProject/FPJ0000/dsPRJ.xsd @@ -21,7 +21,7 @@ WHERE (idx = @Original_idx) - INSERT INTO [Projects] ([status], [pdate], [name], [usermain], [usersub], [reqstaff], [sdate], [edate], [odate], [memo], [wuid], [wdate], [rev], [pidx], [userManager], [level], [part], [process], [costo], [costn], [cnt], [remark_req], [remark_ans], [ddate], [progress], [import], [asset], [isdel], [path], [userhw2], [orderno], [gcode], [category], [userprocess], [CMP_Background], [CMP_Description], [CMP_Before], [CMP_After], [bCost], [bFanOut], [div], [crdue], [model], [serial], [bdate], [qdate], [cdate], [championid], [designid], [assemblyid], [epanelid], [softwareid], [userAssembly], [ReqLine], [ReqSite], [ReqPackage], [ReqPlant], [pno], [kdate], [jasmin], [sfi]) VALUES (@status, @pdate, @name, @usermain, @usersub, @reqstaff, @sdate, @edate, @odate, @memo, @wuid, @wdate, @rev, @pidx, @userManager, @level, @part, @process, @costo, @costn, @cnt, @remark_req, @remark_ans, @ddate, @progress, @import, @asset, @isdel, @path, @userhw2, @orderno, @gcode, @category, @userprocess, @CMP_Background, @CMP_Description, @CMP_Before, @CMP_After, @bCost, @bFanOut, @div, @crdue, @model, @serial, @bdate, @qdate, @cdate, @championid, @designid, @assemblyid, @epanelid, @softwareid, @userAssembly, @ReqLine, @ReqSite, @ReqPackage, @ReqPlant, @pno, @kdate, @jasmin, @sfi) + INSERT INTO [Projects] ([status], [pdate], [name], [usermain], [usersub], [reqstaff], [sdate], [edate], [odate], [memo], [wuid], [wdate], [rev], [pidx], [userManager], [level], [part], [process], [costo], [costn], [cnt], [remark_req], [remark_ans], [ddate], [progress], [import], [asset], [isdel], [path], [userhw2], [orderno], [gcode], [category], [userprocess], [CMP_Background], [CMP_Description], [CMP_Before], [CMP_After], [bCost], [bFanOut], [div], [crdue], [model], [serial], [bdate], [qdate], [cdate], [championid], [designid], [assemblyid], [epanelid], [softwareid], [userAssembly], [ReqLine], [ReqSite], [ReqPackage], [ReqPlant], [pno], [kdate], [jasmin], [sfi], [bHighlight]) VALUES (@status, @pdate, @name, @usermain, @usersub, @reqstaff, @sdate, @edate, @odate, @memo, @wuid, @wdate, @rev, @pidx, @userManager, @level, @part, @process, @costo, @costn, @cnt, @remark_req, @remark_ans, @ddate, @progress, @import, @asset, @isdel, @path, @userhw2, @orderno, @gcode, @category, @userprocess, @CMP_Background, @CMP_Description, @CMP_Before, @CMP_After, @bCost, @bFanOut, @div, @crdue, @model, @serial, @bdate, @qdate, @cdate, @championid, @designid, @assemblyid, @epanelid, @softwareid, @userAssembly, @ReqLine, @ReqSite, @ReqPackage, @ReqPlant, @pno, @kdate, @jasmin, @sfi, @bHighlight) @@ -84,6 +84,7 @@ WHERE (idx = @Original_idx) + @@ -94,7 +95,7 @@ WHERE (idx = @Original_idx) bCost, bFanOut, div, crdue, dbo.getScheduleProgressI(idx) AS ProgressPrj, '' AS wws, '' AS wwo, '' AS wwe, '' AS wwd, model, serial, bdate, qdate, cdate, championid, dbo.getProjectFinishRate(gcode, idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUserName(designid) AS name_design, dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly, - ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin, sfi, dbo.getLastHistoryD(idx) AS lasthistoryD + ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin, sfi, dbo.getLastHistoryD(idx) AS lasthistoryD, bHighlight FROM Projects WHERE (status LIKE @state) AND (ISNULL(userManager, '') LIKE @username OR ISNULL(usermain, '') LIKE @username OR @@ -264,6 +265,7 @@ SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odat + @@ -2922,7 +2924,7 @@ WHERE (idx = @idx) - + @@ -3346,10 +3348,11 @@ WHERE (idx = @idx) + - + @@ -3393,7 +3396,7 @@ WHERE (idx = @idx) - + @@ -3438,7 +3441,7 @@ WHERE (idx = @idx) - + @@ -3548,7 +3551,7 @@ WHERE (idx = @idx) - + @@ -3586,7 +3589,7 @@ WHERE (idx = @idx) - + @@ -3702,7 +3705,7 @@ WHERE (idx = @idx) - + @@ -3753,7 +3756,7 @@ WHERE (idx = @idx) - + @@ -3766,7 +3769,7 @@ WHERE (idx = @idx) - + @@ -3939,7 +3942,7 @@ WHERE (idx = @idx) - + @@ -4145,7 +4148,7 @@ WHERE (idx = @idx) - + @@ -4190,7 +4193,7 @@ WHERE (idx = @idx) - + @@ -4267,7 +4270,7 @@ WHERE (idx = @idx) - + @@ -4458,7 +4461,7 @@ WHERE (idx = @idx) - + @@ -4597,7 +4600,7 @@ WHERE (idx = @idx) - + @@ -4664,7 +4667,7 @@ WHERE (idx = @idx) - + @@ -4710,7 +4713,7 @@ WHERE (idx = @idx) - + @@ -4730,7 +4733,7 @@ WHERE (idx = @idx) - + diff --git a/SubProject/FPJ0000/dsPRJ.xss b/SubProject/FPJ0000/dsPRJ.xss index 3921c02..c3ea4b6 100644 --- a/SubProject/FPJ0000/dsPRJ.xss +++ b/SubProject/FPJ0000/dsPRJ.xss @@ -4,7 +4,7 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + @@ -22,9 +22,9 @@ + - \ No newline at end of file