From 81aea94a7964222df8d84db318d70a60b87c3ac6 Mon Sep 17 00:00:00 2001 From: chi Date: Tue, 13 Sep 2022 12:03:49 +0900 Subject: [PATCH] =?UTF-8?q?license=20=EB=AA=A9=EB=A1=9D=EC=97=90=20s/n=20?= =?UTF-8?q?=EA=B0=92=20=EC=B6=94=EA=B0=80,=20=EB=82=B4=EB=B6=80=20?= =?UTF-8?q?=EA=B2=80=EC=83=89=20=EA=B8=B0=EB=8A=A5=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=8A=88=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Project/Properties/AssemblyInfo.cs | 4 +- Project/_Common/fUserList.Designer.cs | 24 +- SubProject/FCOMMON/DataBaseManager.cs | 13 +- SubProject/FED0000/EEDataSet.Designer.cs | 302 +- SubProject/FED0000/EEDataSet.xsd | 44 +- SubProject/FED0000/FED0000.csproj | 5 + .../FED0000/License/fLicenseList.Designer.cs | 948 +++--- SubProject/FED0000/License/fLicenseList.cs | 824 ++--- SubProject/FED0000/License/fLicenseList.resx | 70 +- .../FPJ0000/Project/fProjectList.Designer.cs | 2938 +++++++++-------- SubProject/FPJ0000/Project/fProjectList.cs | 1555 ++++----- SubProject/FPJ0000/Project/fProjectList.resx | 40 +- 12 files changed, 3484 insertions(+), 3283 deletions(-) diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs index 3f04745..81dbd30 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("22.08.24.0850")] -[assembly: AssemblyFileVersion("22.08.24.0850")] +[assembly: AssemblyVersion("22.09.13.0900")] +[assembly: AssemblyFileVersion("22.09.13.0900")] diff --git a/Project/_Common/fUserList.Designer.cs b/Project/_Common/fUserList.Designer.cs index d3df508..895b0bf 100644 --- a/Project/_Common/fUserList.Designer.cs +++ b/Project/_Common/fUserList.Designer.cs @@ -79,8 +79,8 @@ this.btRef = new System.Windows.Forms.ToolStripButton(); this.textBox1 = new System.Windows.Forms.TextBox(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); - this.ta = new Project.dsMSSQLTableAdapters.vGroupUserTableAdapter(); this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + this.ta = new Project.dsMSSQLTableAdapters.vGroupUserTableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); this.bn.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); @@ -115,14 +115,14 @@ this.btSave, this.toolStripSeparator1, this.btDevel}); - this.bn.Location = new System.Drawing.Point(0, 774); + this.bn.Location = new System.Drawing.Point(0, 672); this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; this.bn.Name = "bn"; this.bn.PositionItem = this.bindingNavigatorPositionItem; - this.bn.Size = new System.Drawing.Size(1357, 39); + this.bn.Size = new System.Drawing.Size(1234, 39); this.bn.TabIndex = 0; this.bn.Text = "bindingNavigator1"; // @@ -324,7 +324,7 @@ this.btRef}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(1357, 25); + this.toolStrip1.Size = new System.Drawing.Size(1234, 25); this.toolStrip1.TabIndex = 2; this.toolStrip1.Text = "toolStrip1"; // @@ -368,9 +368,9 @@ // this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ads_title", true)); this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.textBox1.Location = new System.Drawing.Point(0, 753); + this.textBox1.Location = new System.Drawing.Point(0, 651); this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(1357, 21); + this.textBox1.Size = new System.Drawing.Size(1234, 21); this.textBox1.TabIndex = 3; // // fpSpread1 @@ -390,7 +390,7 @@ this.fpSpread1.SelectionBlockOptions = ((FarPoint.Win.Spread.SelectionBlockOptions)((FarPoint.Win.Spread.SelectionBlockOptions.Rows | FarPoint.Win.Spread.SelectionBlockOptions.Sheet))); this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1_Sheet1}); - this.fpSpread1.Size = new System.Drawing.Size(1357, 728); + this.fpSpread1.Size = new System.Drawing.Size(1234, 626); this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Classic; this.fpSpread1.TabIndex = 5; this.fpSpread1.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); @@ -398,10 +398,6 @@ this.fpSpread1.VerticalScrollBar.Renderer = defaultScrollBarRenderer2; this.fpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off; // - // ta - // - this.ta.ClearBeforeFill = true; - // // fpSpread1_Sheet1 // this.fpSpread1_Sheet1.Reset(); @@ -524,11 +520,15 @@ this.fpSpread1_Sheet1.SheetCornerStyle.Parent = "RowHeaderDefault"; this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // + // ta + // + this.ta.ClearBeforeFill = true; + // // fUserList // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1357, 813); + this.ClientSize = new System.Drawing.Size(1234, 711); this.Controls.Add(this.fpSpread1); this.Controls.Add(this.textBox1); this.Controls.Add(this.toolStrip1); diff --git a/SubProject/FCOMMON/DataBaseManager.cs b/SubProject/FCOMMON/DataBaseManager.cs index afcabb2..8db45e9 100644 --- a/SubProject/FCOMMON/DataBaseManager.cs +++ b/SubProject/FCOMMON/DataBaseManager.cs @@ -292,7 +292,7 @@ namespace FCOMMON { var gcode = FCOMMON.info.Login.gcode; var sdate = mon;// DateTime.Now.AddMonths(-6).ToString("yyyy-MM"); - //var edate = DateTime.Now.AddMonths(1).ToString("yyyy-MM"); + //var edate = DateTime.Now.AddMonths(1).ToString("yyyy-MM"); //해당기간내의 마감 자료를 조회해서 넣는다. var cn = getCn(); @@ -309,7 +309,7 @@ namespace FCOMMON cmd.Parameters.Add("sdate", System.Data.SqlDbType.VarChar).Value = sdate; var cnt = int.Parse(cmd.ExecuteScalar().ToString()); - + cn.Close(); cn.Dispose(); @@ -575,9 +575,12 @@ namespace FCOMMON var retval = new sItemInfo(); retval.idx = -1; - string sql = "select [id],[name],([name] +'(' +[id] +')') as dispName,isnull([dept],'') as dept,isnull(grade,'') as grade,[email],[level],[tel],isnull(processs,'') as process,isnull(indate,'') as indate, isnull(outdate,'') as outdate " + - " from vGroupUser " + - " where gcode='" + FCOMMON.info.Login.gcode + "' and [id] <> 'dev' and isnull(outdate,'') = '' and useUserState = 1 order by [name]"; + string sql = "select [id],[name],([name] +'(' +[id] +')') as dispName,isnull([dept],'') as dept,isnull(grade,'') as grade," + + $" [email],[level],[tel], isnull(processs, '') as process,isnull(indate, '') as indate, isnull(outdate, '') as outdate " + + $" from vGroupUser " + + $" where gcode='{FCOMMON.info.Login.gcode}' and [id] <> 'dev' and isnull(outdate,'') = '' and useUserState = 1 " + + $" order by[name]"; + var cmd = new SqlCommand(sql, cn); var da = new SqlDataAdapter(sql, cn); var ds = new System.Data.DataSet(); diff --git a/SubProject/FED0000/EEDataSet.Designer.cs b/SubProject/FED0000/EEDataSet.Designer.cs index 5b5521c..d3e8cba 100644 --- a/SubProject/FED0000/EEDataSet.Designer.cs +++ b/SubProject/FED0000/EEDataSet.Designer.cs @@ -828,6 +828,10 @@ namespace FED0000 { private global::System.Data.DataColumn columnVersion; + private global::System.Data.DataColumn columnSerialNo; + + private global::System.Data.DataColumn columnMeterialNo; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public EETGW_LicenseDataTable() { @@ -973,6 +977,22 @@ namespace FED0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn SerialNoColumn { + get { + return this.columnSerialNo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn MeterialNoColumn { + get { + return this.columnMeterialNo; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -1010,7 +1030,7 @@ namespace FED0000 { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public EETGW_LicenseRow AddEETGW_LicenseRow(string gcode, bool expire, string name, string manu, string Supply, int qty, string uids, string sdate, string edate, string wuid, System.DateTime wdate, string Remark, string Version) { + public EETGW_LicenseRow AddEETGW_LicenseRow(string gcode, bool expire, string name, string manu, string Supply, int qty, string uids, string sdate, string edate, string wuid, System.DateTime wdate, string Remark, string Version, string SerialNo, string MeterialNo) { EETGW_LicenseRow rowEETGW_LicenseRow = ((EETGW_LicenseRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -1026,7 +1046,9 @@ namespace FED0000 { wuid, wdate, Remark, - Version}; + Version, + SerialNo, + MeterialNo}; rowEETGW_LicenseRow.ItemArray = columnValuesArray; this.Rows.Add(rowEETGW_LicenseRow); return rowEETGW_LicenseRow; @@ -1070,6 +1092,8 @@ namespace FED0000 { this.columnwdate = base.Columns["wdate"]; this.columnRemark = base.Columns["Remark"]; this.columnVersion = base.Columns["Version"]; + this.columnSerialNo = base.Columns["SerialNo"]; + this.columnMeterialNo = base.Columns["MeterialNo"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -1103,6 +1127,10 @@ namespace FED0000 { base.Columns.Add(this.columnRemark); this.columnVersion = new global::System.Data.DataColumn("Version", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnVersion); + this.columnSerialNo = new global::System.Data.DataColumn("SerialNo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSerialNo); + this.columnMeterialNo = new global::System.Data.DataColumn("MeterialNo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMeterialNo); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnidx}, true)); this.columnidx.AutoIncrement = true; @@ -1124,6 +1152,8 @@ namespace FED0000 { this.columnwdate.AllowDBNull = false; this.columnRemark.MaxLength = 255; this.columnVersion.MaxLength = 100; + this.columnSerialNo.MaxLength = 100; + this.columnMeterialNo.MaxLength = 20; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -1863,6 +1893,38 @@ namespace FED0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string SerialNo { + get { + if (this.IsSerialNoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_License.SerialNoColumn])); + } + } + set { + this[this.tableEETGW_License.SerialNoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string MeterialNo { + get { + if (this.IsMeterialNoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_License.MeterialNoColumn])); + } + } + set { + this[this.tableEETGW_License.MeterialNoColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool IsexpireNull() { @@ -1982,6 +2044,30 @@ namespace FED0000 { public void SetVersionNull() { this[this.tableEETGW_License.VersionColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsSerialNoNull() { + return this.IsNull(this.tableEETGW_License.SerialNoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetSerialNoNull() { + this[this.tableEETGW_License.SerialNoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsMeterialNoNull() { + return this.IsNull(this.tableEETGW_License.MeterialNoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetMeterialNoNull() { + this[this.tableEETGW_License.MeterialNoColumn] = global::System.Convert.DBNull; + } } /// @@ -3104,10 +3190,12 @@ SELECT idx, gcode, sdate, edate, title, edutype, proposal, target, eduoffice, me tableMapping.ColumnMappings.Add("wdate", "wdate"); tableMapping.ColumnMappings.Add("Remark", "Remark"); tableMapping.ColumnMappings.Add("Version", "Version"); + tableMapping.ColumnMappings.Add("SerialNo", "SerialNo"); + tableMapping.ColumnMappings.Add("MeterialNo", "MeterialNo"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; - this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EETGW_License] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uids] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Version)))"; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EETGW_License] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uids] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Version)) AND ((@IsNull_SerialNo = 1 AND [SerialNo] IS NULL) OR ([SerialNo] = @Original_SerialNo)) AND ((@IsNull_MeterialNo = 1 AND [MeterialNo] IS NULL) OR ([MeterialNo] = @Original_MeterialNo)))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); @@ -3133,10 +3221,14 @@ SELECT idx, gcode, sdate, edate, title, edutype, proposal, target, eduoffice, me this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Version", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Version", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SerialNo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SerialNo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SerialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SerialNo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MeterialNo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MeterialNo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MeterialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MeterialNo", 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 [EETGW_License] ([gcode], [expire], [name], [manu], [Supply], [qty], [uids], [sdate], [edate], [Remark], [wuid], [wdate], [Version]) VALUES (@gcode, @expire, @name, @manu, @Supply, @qty, @uids, @sdate, @edate, @Remark, @wuid, @wdate, @Version); -SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version FROM EETGW_License WHERE (idx = SCOPE_IDENTITY()) ORDER BY expire, name, sdate"; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_License] ([gcode], [expire], [name], [manu], [Supply], [qty], [uids], [sdate], [edate], [Remark], [wuid], [wdate], [Version], [SerialNo], [MeterialNo]) VALUES (@gcode, @expire, @name, @manu, @Supply, @qty, @uids, @sdate, @edate, @Remark, @wuid, @wdate, @Version, @SerialNo, @MeterialNo); +SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version, SerialNo, MeterialNo FROM EETGW_License WHERE (idx = SCOPE_IDENTITY()) ORDER BY expire, name, sdate"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@expire", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "expire", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); @@ -3151,10 +3243,30 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Version", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SerialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SerialNo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MeterialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MeterialNo", 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 [EETGW_License] SET [gcode] = @gcode, [expire] = @expire, [name] = @name, [manu] = @manu, [Supply] = @Supply, [qty] = @qty, [uids] = @uids, [sdate] = @sdate, [edate] = @edate, [Remark] = @Remark, [wuid] = @wuid, [wdate] = @wdate, [Version] = @Version WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uids] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Version))); -SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version FROM EETGW_License WHERE (idx = @idx) ORDER BY expire, name, sdate"; + this._adapter.UpdateCommand.CommandText = "UPDATE [EETGW_License] SET [gcode] = @gcode, [expire] = @expire, [name] = @name, " + + "[manu] = @manu, [Supply] = @Supply, [qty] = @qty, [uids] = @uids, [sdate] = @sda" + + "te, [edate] = @edate, [Remark] = @Remark, [wuid] = @wuid, [wdate] = @wdate, [Ver" + + "sion] = @Version, [SerialNo] = @SerialNo, [MeterialNo] = @MeterialNo WHERE (([id" + + "x] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND" + + " [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND " + + "[name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] " + + "IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS " + + "NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL)" + + " OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uid" + + "s] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] =" + + " @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @O" + + "riginal_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @O" + + "riginal_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) A" + + "ND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Versio" + + "n)) AND ((@IsNull_SerialNo = 1 AND [SerialNo] IS NULL) OR ([SerialNo] = @Origina" + + "l_SerialNo)) AND ((@IsNull_MeterialNo = 1 AND [MeterialNo] IS NULL) OR ([Meteria" + + "lNo] = @Original_MeterialNo)));\r\nSELECT idx, gcode, expire, name, manu, Supply, " + + "qty, uids, sdate, edate, Remark, wuid, wdate, Version, SerialNo, MeterialNo FROM" + + " EETGW_License WHERE (idx = @idx) ORDER BY expire, name, sdate"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@expire", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "expire", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); @@ -3169,6 +3281,8 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Version", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SerialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SerialNo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MeterialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MeterialNo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_expire", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "expire", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); @@ -3193,6 +3307,10 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Version", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Version", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SerialNo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SerialNo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SerialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SerialNo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MeterialNo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MeterialNo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MeterialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MeterialNo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } @@ -3210,8 +3328,8 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, " + - "wuid, wdate, Version\r\nFROM EETGW_License\r\nWHERE (gcode = @gcode)\r\nORDER BY " + - "expire, name, sdate"; + "wuid, wdate, Version, SerialNo, MeterialNo\r\nFROM EETGW_License\r\nWHERE (gcod" + + "e = @gcode)\r\nORDER BY expire, name, sdate"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } @@ -3285,7 +3403,23 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(int Original_idx, string Original_gcode, global::System.Nullable Original_expire, string Original_name, string Original_manu, string Original_Supply, global::System.Nullable Original_qty, string Original_uids, string Original_sdate, string Original_edate, string Original_Remark, string Original_wuid, System.DateTime Original_wdate, string Original_Version) { + public virtual int Delete( + int Original_idx, + string Original_gcode, + global::System.Nullable Original_expire, + string Original_name, + string Original_manu, + string Original_Supply, + global::System.Nullable Original_qty, + string Original_uids, + string Original_sdate, + string Original_edate, + string Original_Remark, + string Original_wuid, + System.DateTime Original_wdate, + string Original_Version, + string Original_SerialNo, + string Original_MeterialNo) { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); if ((Original_gcode == null)) { throw new global::System.ArgumentNullException("Original_gcode"); @@ -3380,6 +3514,22 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[23].Value = ((string)(Original_Version)); } + if ((Original_SerialNo == null)) { + this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[25].Value = ((string)(Original_SerialNo)); + } + if ((Original_MeterialNo == null)) { + this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[27].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[27].Value = ((string)(Original_MeterialNo)); + } global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { @@ -3400,7 +3550,7 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string gcode, global::System.Nullable expire, string name, string manu, string Supply, global::System.Nullable qty, string uids, string sdate, string edate, string Remark, string wuid, System.DateTime wdate, string Version) { + public virtual int Insert(string gcode, global::System.Nullable expire, string name, string manu, string Supply, global::System.Nullable qty, string uids, string sdate, string edate, string Remark, string wuid, System.DateTime wdate, string Version, string SerialNo, string MeterialNo) { if ((gcode == null)) { throw new global::System.ArgumentNullException("gcode"); } @@ -3474,6 +3624,18 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, else { this.Adapter.InsertCommand.Parameters[12].Value = ((string)(Version)); } + if ((SerialNo == null)) { + this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[13].Value = ((string)(SerialNo)); + } + if ((MeterialNo == null)) { + this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = ((string)(MeterialNo)); + } 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)) { @@ -3508,6 +3670,8 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, string wuid, System.DateTime wdate, string Version, + string SerialNo, + string MeterialNo, int Original_idx, string Original_gcode, global::System.Nullable Original_expire, @@ -3522,6 +3686,8 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, string Original_wuid, System.DateTime Original_wdate, string Original_Version, + string Original_SerialNo, + string Original_MeterialNo, int idx) { if ((gcode == null)) { throw new global::System.ArgumentNullException("gcode"); @@ -3596,101 +3762,129 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, else { this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Version)); } - this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_idx)); + if ((SerialNo == null)) { + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(SerialNo)); + } + if ((MeterialNo == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(MeterialNo)); + } + this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_idx)); if ((Original_gcode == null)) { throw new global::System.ArgumentNullException("Original_gcode"); } else { - this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_gcode)); + this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_gcode)); } if ((Original_expire.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[16].Value = ((bool)(Original_expire.Value)); + this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[18].Value = ((bool)(Original_expire.Value)); } else { - this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; - } - if ((Original_name == null)) { this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; } - else { - this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_name)); - } - if ((Original_manu == null)) { + if ((Original_name == null)) { this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_manu)); + this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_name)); } - if ((Original_Supply == null)) { + if ((Original_manu == null)) { this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_Supply)); + this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_manu)); } - if ((Original_qty.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[24].Value = ((int)(Original_qty.Value)); - } - else { + if ((Original_Supply == null)) { this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; } - if ((Original_uids == null)) { + else { + this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_Supply)); + } + if ((Original_qty.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_qty.Value)); + } + else { this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; } - else { - this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_uids)); - } - if ((Original_sdate == null)) { + if ((Original_uids == null)) { this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_sdate)); + this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_uids)); } - if ((Original_edate == null)) { + if ((Original_sdate == null)) { this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_edate)); + this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_sdate)); } - if ((Original_Remark == null)) { + if ((Original_edate == null)) { this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_Remark)); + this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_edate)); + } + if ((Original_Remark == null)) { + this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_Remark)); } if ((Original_wuid == null)) { throw new global::System.ArgumentNullException("Original_wuid"); } else { - this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_wuid)); + this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_wuid)); } - this.Adapter.UpdateCommand.Parameters[34].Value = ((System.DateTime)(Original_wdate)); + this.Adapter.UpdateCommand.Parameters[36].Value = ((System.DateTime)(Original_wdate)); if ((Original_Version == null)) { - this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; + this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; } else { - this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_Version)); + this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_Version)); } - this.Adapter.UpdateCommand.Parameters[37].Value = ((int)(idx)); + if ((Original_SerialNo == null)) { + this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_SerialNo)); + } + if ((Original_MeterialNo == null)) { + this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_MeterialNo)); + } + this.Adapter.UpdateCommand.Parameters[43].Value = ((int)(idx)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { @@ -3725,6 +3919,8 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, string wuid, System.DateTime wdate, string Version, + string SerialNo, + string MeterialNo, int Original_idx, string Original_gcode, global::System.Nullable Original_expire, @@ -3738,8 +3934,10 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, string Original_Remark, string Original_wuid, System.DateTime Original_wdate, - string Original_Version) { - return this.Update(gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version, Original_idx, Original_gcode, Original_expire, Original_name, Original_manu, Original_Supply, Original_qty, Original_uids, Original_sdate, Original_edate, Original_Remark, Original_wuid, Original_wdate, Original_Version, Original_idx); + string Original_Version, + string Original_SerialNo, + string Original_MeterialNo) { + return this.Update(gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version, SerialNo, MeterialNo, Original_idx, Original_gcode, Original_expire, Original_name, Original_manu, Original_Supply, Original_qty, Original_uids, Original_sdate, Original_edate, Original_Remark, Original_wuid, Original_wdate, Original_Version, Original_SerialNo, Original_MeterialNo, Original_idx); } } diff --git a/SubProject/FED0000/EEDataSet.xsd b/SubProject/FED0000/EEDataSet.xsd index d3bf291..d62551e 100644 --- a/SubProject/FED0000/EEDataSet.xsd +++ b/SubProject/FED0000/EEDataSet.xsd @@ -160,7 +160,7 @@ SELECT idx, gcode, sdate, edate, title, edutype, proposal, target, eduoffice, me - DELETE FROM [EETGW_License] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uids] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Version))) + DELETE FROM [EETGW_License] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uids] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Version)) AND ((@IsNull_SerialNo = 1 AND [SerialNo] IS NULL) OR ([SerialNo] = @Original_SerialNo)) AND ((@IsNull_MeterialNo = 1 AND [MeterialNo] IS NULL) OR ([MeterialNo] = @Original_MeterialNo))) @@ -186,13 +186,17 @@ SELECT idx, gcode, sdate, edate, title, edutype, proposal, target, eduoffice, me + + + + - INSERT INTO [EETGW_License] ([gcode], [expire], [name], [manu], [Supply], [qty], [uids], [sdate], [edate], [Remark], [wuid], [wdate], [Version]) VALUES (@gcode, @expire, @name, @manu, @Supply, @qty, @uids, @sdate, @edate, @Remark, @wuid, @wdate, @Version); -SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version FROM EETGW_License WHERE (idx = SCOPE_IDENTITY()) ORDER BY expire, name, sdate + INSERT INTO [EETGW_License] ([gcode], [expire], [name], [manu], [Supply], [qty], [uids], [sdate], [edate], [Remark], [wuid], [wdate], [Version], [SerialNo], [MeterialNo]) VALUES (@gcode, @expire, @name, @manu, @Supply, @qty, @uids, @sdate, @edate, @Remark, @wuid, @wdate, @Version, @SerialNo, @MeterialNo); +SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version, SerialNo, MeterialNo FROM EETGW_License WHERE (idx = SCOPE_IDENTITY()) ORDER BY expire, name, sdate @@ -207,12 +211,14 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, + + - SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version + SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version, SerialNo, MeterialNo FROM EETGW_License WHERE (gcode = @gcode) ORDER BY expire, name, sdate @@ -223,8 +229,8 @@ ORDER BY expire, name, sdate - UPDATE [EETGW_License] SET [gcode] = @gcode, [expire] = @expire, [name] = @name, [manu] = @manu, [Supply] = @Supply, [qty] = @qty, [uids] = @uids, [sdate] = @sdate, [edate] = @edate, [Remark] = @Remark, [wuid] = @wuid, [wdate] = @wdate, [Version] = @Version WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uids] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Version))); -SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version FROM EETGW_License WHERE (idx = @idx) ORDER BY expire, name, sdate + UPDATE [EETGW_License] SET [gcode] = @gcode, [expire] = @expire, [name] = @name, [manu] = @manu, [Supply] = @Supply, [qty] = @qty, [uids] = @uids, [sdate] = @sdate, [edate] = @edate, [Remark] = @Remark, [wuid] = @wuid, [wdate] = @wdate, [Version] = @Version, [SerialNo] = @SerialNo, [MeterialNo] = @MeterialNo WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uids] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Version)) AND ((@IsNull_SerialNo = 1 AND [SerialNo] IS NULL) OR ([SerialNo] = @Original_SerialNo)) AND ((@IsNull_MeterialNo = 1 AND [MeterialNo] IS NULL) OR ([MeterialNo] = @Original_MeterialNo))); +SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version, SerialNo, MeterialNo FROM EETGW_License WHERE (idx = @idx) ORDER BY expire, name, sdate @@ -239,6 +245,8 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, + + @@ -263,6 +271,10 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, + + + + @@ -284,6 +296,8 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, + + @@ -295,7 +309,7 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, - + @@ -383,7 +397,7 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, - + @@ -460,6 +474,20 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, + + + + + + + + + + + + + + diff --git a/SubProject/FED0000/FED0000.csproj b/SubProject/FED0000/FED0000.csproj index a64c287..bb79d51 100644 --- a/SubProject/FED0000/FED0000.csproj +++ b/SubProject/FED0000/FED0000.csproj @@ -35,9 +35,14 @@ false + + False + bin\Debug\arControl.Net4.dll + ..\..\DLL\ArSetting.Net4.dll + diff --git a/SubProject/FED0000/License/fLicenseList.Designer.cs b/SubProject/FED0000/License/fLicenseList.Designer.cs index 0694e2f..02ff41c 100644 --- a/SubProject/FED0000/License/fLicenseList.Designer.cs +++ b/SubProject/FED0000/License/fLicenseList.Designer.cs @@ -28,92 +28,87 @@ /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLicenseList)); - FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); - 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(); - this.dsPurchase = new FED0000.EEDataSet(); - this.bs = new System.Windows.Forms.BindingSource(); - this.tam = new FED0000.EEDataSetTableAdapters.TableAdapterManager(); - this.bn = new System.Windows.Forms.BindingNavigator(); - this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); - this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); - this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.btAdd = new System.Windows.Forms.ToolStripButton(); - this.btCopy = new System.Windows.Forms.ToolStripButton(); - this.btEdit = new System.Windows.Forms.ToolStripButton(); - this.btDel = new System.Windows.Forms.ToolStripButton(); - this.btSave = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); - this.tbFind = new System.Windows.Forms.ToolStripTextBox(); - this.btFind = new System.Windows.Forms.ToolStripButton(); - this.cm1 = new System.Windows.Forms.ContextMenuStrip(); - this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); - this.exportDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStrip1 = new System.Windows.Forms.ToolStrip(); - this.btSearch = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); - this.label1 = new System.Windows.Forms.Label(); - this.ta = new FED0000.EEDataSetTableAdapters.EETGW_LicenseTableAdapter(); - this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); - this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); - ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); - this.bn.SuspendLayout(); - this.cm1.SuspendLayout(); - this.toolStrip1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); - this.SuspendLayout(); - // - // dsPurchase - // - this.dsPurchase.DataSetName = "EEDataSet"; - this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // bs - // - this.bs.DataMember = "EETGW_License"; - this.bs.DataSource = this.dsPurchase; - this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); - // - // tam - // - this.tam.BackupDataSetBeforeUpdate = true; - this.tam.Connection = null; - this.tam.EETGW_EducationListTableAdapter = null; - this.tam.EETGW_LicenseTableAdapter = null; - this.tam.UpdateOrder = FED0000.EEDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - // - // bn - // - this.bn.AddNewItem = null; - this.bn.BindingSource = this.bs; - this.bn.CountItem = this.bindingNavigatorCountItem; - this.bn.DeleteItem = null; - this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLicenseList)); + this.dsPurchase = new FED0000.EEDataSet(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.tam = new FED0000.EEDataSetTableAdapters.TableAdapterManager(); + this.bn = new System.Windows.Forms.BindingNavigator(this.components); + this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); + this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.btAdd = new System.Windows.Forms.ToolStripButton(); + this.btCopy = new System.Windows.Forms.ToolStripButton(); + this.btEdit = new System.Windows.Forms.ToolStripButton(); + this.btDel = new System.Windows.Forms.ToolStripButton(); + this.btSave = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); + this.tbFind = new System.Windows.Forms.ToolStripTextBox(); + this.btFind = new System.Windows.Forms.ToolStripButton(); + this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.exportDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.btSearch = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); + this.label1 = new System.Windows.Forms.Label(); + this.ta = new FED0000.EEDataSetTableAdapters.EETGW_LicenseTableAdapter(); + this.dv1 = new arCtl.arDatagridView(); + this.expireDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.versionDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.MeterialNo = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.supplyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.qtyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.uidsDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.SerialNo = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.remarkDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.sdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.manuDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); + this.bn.SuspendLayout(); + this.cm1.SuspendLayout(); + this.toolStrip1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit(); + this.SuspendLayout(); + // + // dsPurchase + // + this.dsPurchase.DataSetName = "EEDataSet"; + this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bs + // + this.bs.DataMember = "EETGW_License"; + this.bs.DataSource = this.dsPurchase; + this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = true; + this.tam.Connection = null; + this.tam.EETGW_EducationListTableAdapter = null; + this.tam.EETGW_LicenseTableAdapter = null; + this.tam.UpdateOrder = FED0000.EEDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // bn + // + this.bn.AddNewItem = null; + this.bn.BindingSource = this.bs; + this.bn.CountItem = this.bindingNavigatorCountItem; + this.bn.DeleteItem = null; + this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.bindingNavigatorMoveFirstItem, this.bindingNavigatorMovePreviousItem, this.bindingNavigatorSeparator, @@ -133,409 +128,370 @@ this.toolStripLabel2, this.tbFind, this.btFind}); - this.bn.Location = new System.Drawing.Point(0, 645); - this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; - this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; - this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; - this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; - this.bn.Name = "bn"; - this.bn.PositionItem = this.bindingNavigatorPositionItem; - this.bn.Size = new System.Drawing.Size(1244, 25); - this.bn.TabIndex = 0; - this.bn.Text = "bindingNavigator1"; - // - // bindingNavigatorCountItem - // - this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; - this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); - this.bindingNavigatorCountItem.Text = "/{0}"; - this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; - // - // bindingNavigatorMoveFirstItem - // - this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); - this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; - this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; - this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); - this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; - // - // bindingNavigatorMovePreviousItem - // - this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); - this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; - this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; - this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); - this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; - // - // bindingNavigatorSeparator - // - this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; - this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); - // - // bindingNavigatorPositionItem - // - this.bindingNavigatorPositionItem.AccessibleName = "위치"; - this.bindingNavigatorPositionItem.AutoSize = false; - this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); - this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; - this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); - this.bindingNavigatorPositionItem.Text = "0"; - this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; - // - // bindingNavigatorSeparator1 - // - this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; - this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); - // - // bindingNavigatorMoveNextItem - // - this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); - this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; - this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; - this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); - this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; - // - // bindingNavigatorMoveLastItem - // - this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); - this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; - this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; - this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); - this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; - // - // bindingNavigatorSeparator2 - // - this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; - this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); - // - // btAdd - // - this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image"))); - this.btAdd.Name = "btAdd"; - this.btAdd.RightToLeftAutoMirrorImage = true; - this.btAdd.Size = new System.Drawing.Size(67, 22); - this.btAdd.Text = "추가(&A)"; - this.btAdd.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); - // - // btCopy - // - this.btCopy.Image = ((System.Drawing.Image)(resources.GetObject("btCopy.Image"))); - this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btCopy.Name = "btCopy"; - this.btCopy.Size = new System.Drawing.Size(67, 22); - this.btCopy.Text = "복사(&C)"; - this.btCopy.Visible = false; - // - // btEdit - // - this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image"))); - this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btEdit.Name = "btEdit"; - this.btEdit.Size = new System.Drawing.Size(65, 22); - this.btEdit.Text = "편집(&E)"; - this.btEdit.Visible = false; - this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click); - // - // btDel - // - this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image"))); - this.btDel.Name = "btDel"; - this.btDel.RightToLeftAutoMirrorImage = true; - this.btDel.Size = new System.Drawing.Size(68, 22); - this.btDel.Text = "삭제(&D)"; - this.btDel.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); - // - // btSave - // - this.btSave.Image = global::FED0000.Properties.Resources.action_save; - this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btSave.Name = "btSave"; - this.btSave.Size = new System.Drawing.Size(66, 22); - this.btSave.Text = "저장(&S)"; - this.btSave.Click += new System.EventHandler(this.btSave_Click); - // - // toolStripButton1 - // - this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); - this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton1.Name = "toolStripButton1"; - this.toolStripButton1.Size = new System.Drawing.Size(75, 22); - this.toolStripButton1.Text = "폴더열기"; - this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); - // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); - // - // toolStripLabel2 - // - this.toolStripLabel2.Name = "toolStripLabel2"; - this.toolStripLabel2.Size = new System.Drawing.Size(31, 22); - this.toolStripLabel2.Text = "검색"; - // - // tbFind - // - this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F); - this.tbFind.Name = "tbFind"; - this.tbFind.Size = new System.Drawing.Size(100, 25); - this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); - // - // btFind - // - this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image"))); - this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btFind.Name = "btFind"; - this.btFind.Size = new System.Drawing.Size(23, 22); - this.btFind.Text = "toolStripButton2"; - this.btFind.Click += new System.EventHandler(this.btFind_Click); - // - // cm1 - // - this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); - this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.columnSizeToolStripMenuItem, - this.toolStripMenuItem3, + this.bn.Location = new System.Drawing.Point(0, 645); + this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; + this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; + this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; + this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; + this.bn.Name = "bn"; + this.bn.PositionItem = this.bindingNavigatorPositionItem; + this.bn.Size = new System.Drawing.Size(1244, 25); + this.bn.TabIndex = 0; + this.bn.Text = "bindingNavigator1"; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); + this.bindingNavigatorCountItem.Text = "/{0}"; + this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; + // + // bindingNavigatorMoveFirstItem + // + this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); + this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; + this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); + this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; + this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); + this.bindingNavigatorPositionItem.Text = "0"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); + this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; + this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); + this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; + this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); + // + // btAdd + // + this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image"))); + this.btAdd.Name = "btAdd"; + this.btAdd.RightToLeftAutoMirrorImage = true; + this.btAdd.Size = new System.Drawing.Size(67, 22); + this.btAdd.Text = "추가(&A)"; + this.btAdd.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); + // + // btCopy + // + this.btCopy.Image = ((System.Drawing.Image)(resources.GetObject("btCopy.Image"))); + this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btCopy.Name = "btCopy"; + this.btCopy.Size = new System.Drawing.Size(67, 22); + this.btCopy.Text = "복사(&C)"; + this.btCopy.Visible = false; + // + // btEdit + // + this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image"))); + this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btEdit.Name = "btEdit"; + this.btEdit.Size = new System.Drawing.Size(65, 22); + this.btEdit.Text = "편집(&E)"; + this.btEdit.Visible = false; + this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click); + // + // btDel + // + this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image"))); + this.btDel.Name = "btDel"; + this.btDel.RightToLeftAutoMirrorImage = true; + this.btDel.Size = new System.Drawing.Size(68, 22); + this.btDel.Text = "삭제(&D)"; + this.btDel.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); + // + // btSave + // + this.btSave.Image = global::FED0000.Properties.Resources.action_save; + this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btSave.Name = "btSave"; + this.btSave.Size = new System.Drawing.Size(66, 22); + this.btSave.Text = "저장(&S)"; + this.btSave.Click += new System.EventHandler(this.btSave_Click); + // + // toolStripButton1 + // + this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); + this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton1.Name = "toolStripButton1"; + this.toolStripButton1.Size = new System.Drawing.Size(75, 22); + this.toolStripButton1.Text = "폴더열기"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); + // + // toolStripLabel2 + // + this.toolStripLabel2.Name = "toolStripLabel2"; + this.toolStripLabel2.Size = new System.Drawing.Size(31, 22); + this.toolStripLabel2.Text = "검색"; + // + // tbFind + // + this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.tbFind.Name = "tbFind"; + this.tbFind.Size = new System.Drawing.Size(100, 25); + this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); + // + // btFind + // + this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image"))); + this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btFind.Name = "btFind"; + this.btFind.Size = new System.Drawing.Size(23, 22); + this.btFind.Text = "toolStripButton2"; + this.btFind.Click += new System.EventHandler(this.btFind_Click); + // + // cm1 + // + this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); + this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.exportDataToolStripMenuItem}); - this.cm1.Name = "contextMenuStrip1"; - this.cm1.Size = new System.Drawing.Size(314, 94); - // - // columnSizeToolStripMenuItem - // - this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.autoToolStripMenuItem, - this.resetToolStripMenuItem, - this.saveToolStripMenuItem, - this.loadToolStripMenuItem}); - this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; - this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(313, 42); - this.columnSizeToolStripMenuItem.Text = "Column Size"; - // - // autoToolStripMenuItem - // - this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image"))); - this.autoToolStripMenuItem.Name = "autoToolStripMenuItem"; - this.autoToolStripMenuItem.Size = new System.Drawing.Size(159, 42); - this.autoToolStripMenuItem.Text = "Auto"; - this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click); - // - // resetToolStripMenuItem - // - this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image"))); - this.resetToolStripMenuItem.Name = "resetToolStripMenuItem"; - this.resetToolStripMenuItem.Size = new System.Drawing.Size(159, 42); - this.resetToolStripMenuItem.Text = "Reset"; - this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click); - // - // saveToolStripMenuItem - // - this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); - this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; - this.saveToolStripMenuItem.Size = new System.Drawing.Size(159, 42); - this.saveToolStripMenuItem.Text = "Save"; - this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); - // - // loadToolStripMenuItem - // - this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image"))); - this.loadToolStripMenuItem.Name = "loadToolStripMenuItem"; - this.loadToolStripMenuItem.Size = new System.Drawing.Size(159, 42); - this.loadToolStripMenuItem.Text = "Load"; - this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); - // - // toolStripMenuItem3 - // - this.toolStripMenuItem3.Name = "toolStripMenuItem3"; - this.toolStripMenuItem3.Size = new System.Drawing.Size(310, 6); - // - // exportDataToolStripMenuItem - // - this.exportDataToolStripMenuItem.Name = "exportDataToolStripMenuItem"; - this.exportDataToolStripMenuItem.Size = new System.Drawing.Size(313, 42); - this.exportDataToolStripMenuItem.Text = "목록 내보내기(xls)"; - this.exportDataToolStripMenuItem.Click += new System.EventHandler(this.exportDataToolStripMenuItem_Click); - // - // toolStrip1 - // - this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30); - this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.cm1.Name = "contextMenuStrip1"; + this.cm1.Size = new System.Drawing.Size(314, 46); + // + // exportDataToolStripMenuItem + // + this.exportDataToolStripMenuItem.Name = "exportDataToolStripMenuItem"; + this.exportDataToolStripMenuItem.Size = new System.Drawing.Size(313, 42); + this.exportDataToolStripMenuItem.Text = "목록 내보내기(xls)"; + this.exportDataToolStripMenuItem.Click += new System.EventHandler(this.exportDataToolStripMenuItem_Click); + // + // toolStrip1 + // + this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30); + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btSearch, this.toolStripSeparator5, this.toolStripButton2}); - this.toolStrip1.Location = new System.Drawing.Point(0, 0); - this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(1244, 37); - this.toolStrip1.TabIndex = 3; - this.toolStrip1.Text = "toolStrip1"; - // - // btSearch - // - this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); - this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btSearch.Name = "btSearch"; - this.btSearch.Size = new System.Drawing.Size(80, 34); - this.btSearch.Text = "조회(&R)"; - this.btSearch.Click += new System.EventHandler(this.btSearch_Click); - // - // toolStripSeparator5 - // - this.toolStripSeparator5.Name = "toolStripSeparator5"; - this.toolStripSeparator5.Size = new System.Drawing.Size(6, 37); - // - // toolStripButton2 - // - this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); - this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton2.Name = "toolStripButton2"; - this.toolStripButton2.Size = new System.Drawing.Size(65, 34); - this.toolStripButton2.Text = "닫기"; - this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1); - // - // label1 - // - this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.label1.Location = new System.Drawing.Point(0, 622); - this.label1.Name = "label1"; - this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); - this.label1.Size = new System.Drawing.Size(1244, 23); - this.label1.TabIndex = 6; - this.label1.Text = "--"; - this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // fpSpread1 - // - this.fpSpread1.AccessibleDescription = "fpSpread1, Sheet1"; - this.fpSpread1.ContextMenuStrip = this.cm1; - this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; - this.fpSpread1.Location = new System.Drawing.Point(0, 37); - this.fpSpread1.Name = "fpSpread1"; - this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { - this.fpSpread1_Sheet1}); - this.fpSpread1.Size = new System.Drawing.Size(1244, 585); - this.fpSpread1.TabIndex = 4; - this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff); - // - // 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 = 9; - this.fpSpread1_Sheet1.ActiveColumnIndex = -1; - this.fpSpread1_Sheet1.ActiveRowIndex = -1; - this.fpSpread1_Sheet1.AutoGenerateColumns = false; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "만료"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "이름"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "버젼"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "제조사"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "공급처"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "수량"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "실사용자"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "구매일"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "비고"; - this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 40F; - this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1; - this.fpSpread1_Sheet1.Columns.Get(0).DataField = "expire"; - this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(0).Label = "만료"; - this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; - this.fpSpread1_Sheet1.Columns.Get(1).DataField = "name"; - this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(1).Label = "이름"; - this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(1).Width = 151F; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; - this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Version"; - this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(2).Label = "버젼"; - this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(2).Width = 122F; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; - this.fpSpread1_Sheet1.Columns.Get(3).DataField = "manu"; - this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(3).Label = "제조사"; - this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(3).Width = 151F; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; - this.fpSpread1_Sheet1.Columns.Get(4).DataField = "Supply"; - this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(4).Label = "공급처"; - this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(4).Width = 151F; - numberCellType1.DecimalPlaces = 0; - numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType1.MaximumValue = 2147483647D; - numberCellType1.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType1; - this.fpSpread1_Sheet1.Columns.Get(5).DataField = "qty"; - 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 = 77F; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; - this.fpSpread1_Sheet1.Columns.Get(6).DataField = "uids"; - 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(6).Width = 151F; - this.fpSpread1_Sheet1.Columns.Get(7).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6; - 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 = "구매일"; - this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(7).Width = 151F; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; - this.fpSpread1_Sheet1.Columns.Get(8).DataField = "Remark"; - this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(8).Label = "비고"; - this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(8).Width = 249F; - 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; - // - // fLicenseList - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1244, 670); - this.Controls.Add(this.fpSpread1); - this.Controls.Add(this.label1); - this.Controls.Add(this.toolStrip1); - this.Controls.Add(this.bn); - this.DoubleBuffered = true; - this.Name = "fLicenseList"; - this.Text = "라이선스 목록"; - this.Load += new System.EventHandler(this.@__Load); - ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); - this.bn.ResumeLayout(false); - this.bn.PerformLayout(); - this.cm1.ResumeLayout(false); - this.toolStrip1.ResumeLayout(false); - this.toolStrip1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(1244, 37); + this.toolStrip1.TabIndex = 3; + this.toolStrip1.Text = "toolStrip1"; + // + // btSearch + // + this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); + this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btSearch.Name = "btSearch"; + this.btSearch.Size = new System.Drawing.Size(80, 34); + this.btSearch.Text = "조회(&R)"; + this.btSearch.Click += new System.EventHandler(this.btSearch_Click); + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(6, 37); + // + // toolStripButton2 + // + this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); + this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton2.Name = "toolStripButton2"; + this.toolStripButton2.Size = new System.Drawing.Size(65, 34); + this.toolStripButton2.Text = "닫기"; + this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1); + // + // label1 + // + this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label1.Location = new System.Drawing.Point(0, 622); + this.label1.Name = "label1"; + this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); + this.label1.Size = new System.Drawing.Size(1244, 23); + this.label1.TabIndex = 6; + this.label1.Text = "--"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // dv1 + // + this.dv1.A_DelCurrentCell = true; + this.dv1.A_EnterToTab = true; + this.dv1.A_KoreanField = null; + this.dv1.A_UpperField = null; + this.dv1.A_ViewRownumOnHeader = true; + this.dv1.AllowUserToAddRows = false; + this.dv1.AutoGenerateColumns = false; + this.dv1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; + this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.expireDataGridViewCheckBoxColumn, + this.nameDataGridViewTextBoxColumn, + this.versionDataGridViewTextBoxColumn, + this.MeterialNo, + this.supplyDataGridViewTextBoxColumn, + this.qtyDataGridViewTextBoxColumn, + this.uidsDataGridViewTextBoxColumn, + this.SerialNo, + this.remarkDataGridViewTextBoxColumn, + this.sdateDataGridViewTextBoxColumn, + this.manuDataGridViewTextBoxColumn}); + this.dv1.ContextMenuStrip = this.cm1; + this.dv1.DataSource = this.bs; + this.dv1.Dock = System.Windows.Forms.DockStyle.Fill; + this.dv1.Location = new System.Drawing.Point(0, 37); + this.dv1.Name = "dv1"; + this.dv1.RowTemplate.Height = 23; + this.dv1.Size = new System.Drawing.Size(1244, 585); + this.dv1.TabIndex = 7; + // + // expireDataGridViewCheckBoxColumn + // + this.expireDataGridViewCheckBoxColumn.DataPropertyName = "expire"; + this.expireDataGridViewCheckBoxColumn.HeaderText = "만료"; + this.expireDataGridViewCheckBoxColumn.Name = "expireDataGridViewCheckBoxColumn"; + this.expireDataGridViewCheckBoxColumn.Width = 35; + // + // nameDataGridViewTextBoxColumn + // + this.nameDataGridViewTextBoxColumn.DataPropertyName = "name"; + this.nameDataGridViewTextBoxColumn.HeaderText = "품명"; + this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn"; + this.nameDataGridViewTextBoxColumn.Width = 54; + // + // versionDataGridViewTextBoxColumn + // + this.versionDataGridViewTextBoxColumn.DataPropertyName = "Version"; + this.versionDataGridViewTextBoxColumn.HeaderText = "버젼"; + this.versionDataGridViewTextBoxColumn.Name = "versionDataGridViewTextBoxColumn"; + this.versionDataGridViewTextBoxColumn.Width = 54; + // + // MeterialNo + // + this.MeterialNo.DataPropertyName = "MeterialNo"; + this.MeterialNo.HeaderText = "SID"; + this.MeterialNo.Name = "MeterialNo"; + this.MeterialNo.Width = 49; + // + // supplyDataGridViewTextBoxColumn + // + this.supplyDataGridViewTextBoxColumn.DataPropertyName = "Supply"; + this.supplyDataGridViewTextBoxColumn.HeaderText = "공급"; + this.supplyDataGridViewTextBoxColumn.Name = "supplyDataGridViewTextBoxColumn"; + this.supplyDataGridViewTextBoxColumn.Width = 54; + // + // qtyDataGridViewTextBoxColumn + // + this.qtyDataGridViewTextBoxColumn.DataPropertyName = "qty"; + this.qtyDataGridViewTextBoxColumn.HeaderText = "수량"; + this.qtyDataGridViewTextBoxColumn.Name = "qtyDataGridViewTextBoxColumn"; + this.qtyDataGridViewTextBoxColumn.Width = 54; + // + // uidsDataGridViewTextBoxColumn + // + this.uidsDataGridViewTextBoxColumn.DataPropertyName = "uids"; + this.uidsDataGridViewTextBoxColumn.HeaderText = "사용자"; + this.uidsDataGridViewTextBoxColumn.Name = "uidsDataGridViewTextBoxColumn"; + this.uidsDataGridViewTextBoxColumn.Width = 66; + // + // SerialNo + // + this.SerialNo.DataPropertyName = "SerialNo"; + this.SerialNo.HeaderText = "S/N"; + this.SerialNo.Name = "SerialNo"; + this.SerialNo.Width = 53; + // + // remarkDataGridViewTextBoxColumn + // + this.remarkDataGridViewTextBoxColumn.DataPropertyName = "Remark"; + this.remarkDataGridViewTextBoxColumn.HeaderText = "비고"; + this.remarkDataGridViewTextBoxColumn.Name = "remarkDataGridViewTextBoxColumn"; + this.remarkDataGridViewTextBoxColumn.Width = 54; + // + // sdateDataGridViewTextBoxColumn + // + this.sdateDataGridViewTextBoxColumn.DataPropertyName = "sdate"; + this.sdateDataGridViewTextBoxColumn.HeaderText = "구매일"; + this.sdateDataGridViewTextBoxColumn.Name = "sdateDataGridViewTextBoxColumn"; + this.sdateDataGridViewTextBoxColumn.Width = 66; + // + // manuDataGridViewTextBoxColumn + // + this.manuDataGridViewTextBoxColumn.DataPropertyName = "manu"; + this.manuDataGridViewTextBoxColumn.HeaderText = "제조"; + this.manuDataGridViewTextBoxColumn.Name = "manuDataGridViewTextBoxColumn"; + this.manuDataGridViewTextBoxColumn.Width = 54; + // + // fLicenseList + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1244, 670); + this.Controls.Add(this.dv1); + this.Controls.Add(this.label1); + this.Controls.Add(this.toolStrip1); + this.Controls.Add(this.bn); + this.DoubleBuffered = true; + this.Name = "fLicenseList"; + this.Text = "라이선스 목록"; + this.Load += new System.EventHandler(this.@__Load); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); + this.bn.ResumeLayout(false); + this.bn.PerformLayout(); + this.cm1.ResumeLayout(false); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } @@ -564,21 +520,25 @@ private System.Windows.Forms.ToolStripLabel toolStripLabel2; private System.Windows.Forms.ToolStripTextBox tbFind; private System.Windows.Forms.ToolStripButton btFind; - private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem autoToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem; private System.Windows.Forms.ToolStripButton btEdit; private System.Windows.Forms.ToolStripMenuItem exportDataToolStripMenuItem; private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; - private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3; private System.Windows.Forms.ToolStripButton btCopy; private System.Windows.Forms.ToolStripButton toolStripButton2; private System.Windows.Forms.Label label1; private EEDataSetTableAdapters.EETGW_LicenseTableAdapter ta; private System.Windows.Forms.ToolStripButton toolStripButton1; - private FarPoint.Win.Spread.FpSpread fpSpread1; - private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; - } + private arCtl.arDatagridView dv1; + private System.Windows.Forms.DataGridViewCheckBoxColumn expireDataGridViewCheckBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn versionDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn MeterialNo; + private System.Windows.Forms.DataGridViewTextBoxColumn supplyDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn qtyDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn uidsDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn SerialNo; + private System.Windows.Forms.DataGridViewTextBoxColumn remarkDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn sdateDataGridViewTextBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn manuDataGridViewTextBoxColumn; + } } diff --git a/SubProject/FED0000/License/fLicenseList.cs b/SubProject/FED0000/License/fLicenseList.cs index 4ebbfb4..88e2d13 100644 --- a/SubProject/FED0000/License/fLicenseList.cs +++ b/SubProject/FED0000/License/fLicenseList.cs @@ -11,429 +11,435 @@ using util = FCOMMON.Util; namespace FED0000 { - public partial class fLicenseList : FCOMMON.fBase - { - string fn_fpcolsize = ""; + public partial class fLicenseList : FCOMMON.fBase + { + string fn_fpcolsize = ""; - public fLicenseList() - { - InitializeComponent(); - Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; - Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; + public fLicenseList() + { + InitializeComponent(); + Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; + Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; - fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); - this.dsPurchase.EETGW_License.TableNewRow += Purchase_TableNewRow; - this.FormClosing += FPurchase_FormClosing; - this.FormClosed += __Closed; - } - - private void FPurchase_FormClosing(object sender, FormClosingEventArgs e) - { - if (dsPurchase.HasChanges()) - { - var dlg = FCOMMON.Util.MsgQ("변경된 자료가 있습니다. 화면을 닫을까요? 닫으면 변경된 자료는 손실 됩니다"); - if (dlg != DialogResult.Yes) - { - e.Cancel = true; - return; - } - } - } + fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); + this.dsPurchase.EETGW_License.TableNewRow += Purchase_TableNewRow; + this.FormClosing += FPurchase_FormClosing; + this.FormClosed += __Closed; + } + + private void FPurchase_FormClosing(object sender, FormClosingEventArgs e) + { + if (dsPurchase.HasChanges()) + { + var dlg = FCOMMON.Util.MsgQ("변경된 자료가 있습니다. 화면을 닫을까요? 닫으면 변경된 자료는 손실 됩니다"); + if (dlg != DialogResult.Yes) + { + e.Cancel = true; + return; + } + } + } - void __Closed(object sender, FormClosedEventArgs e) - { + void __Closed(object sender, FormClosedEventArgs e) + { - } + } - void Purchase_TableNewRow(object sender, DataTableNewRowEventArgs e) - { - e.Row["gcode"] = FCOMMON.info.Login.gcode; - e.Row["sdate"] = DateTime.Now.ToShortDateString(); - e.Row["wuid"] = FCOMMON.info.Login.no; - e.Row["wdate"] = DateTime.Now; + void Purchase_TableNewRow(object sender, DataTableNewRowEventArgs e) + { + e.Row["gcode"] = FCOMMON.info.Login.gcode; + e.Row["sdate"] = DateTime.Now.ToShortDateString(); + e.Row["wuid"] = FCOMMON.info.Login.no; + e.Row["wdate"] = DateTime.Now; - } + } - private void __Load(object sender, EventArgs e) - { + private void __Load(object sender, EventArgs e) + { - refreshData(); + refreshData(); - } + } - private void refreshData() - { + private void refreshData() + { - try - { + try + { - this.ta.Fill(this.dsPurchase.EETGW_License, FCOMMON.info.Login.gcode); - FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize); - } - catch (System.Exception ex) - { - System.Windows.Forms.MessageBox.Show(ex.Message); - } - - FormattingData(); - } - void FormattingData() - { - - } - - Font fBase = new Font("맑은 고딕", 9); - Font fBold = new Font("맑은 고딕", 9, FontStyle.Bold); - - private void saveData(Boolean prompt) - { - this.Validate(); - this.bs.EndEdit(); - try - { - var cnt = this.ta.Update(this.dsPurchase); - if (prompt) FCOMMON.Util.MsgI(string.Format("{0}건의 자료가 저장 되었습니다.", cnt)); - } - catch (Exception ex) - { - FCOMMON.Util.MsgE("저장 실패\n" + ex.Message); - } - - - } - - - private void btSearch_Click(object sender, EventArgs e) - { - refreshData(); - } - - private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) - { - func_add(); - } - - private void tbRequest_KeyDown(object sender, KeyEventArgs e) - { - if (e.KeyCode == Keys.Enter) - btSearch.PerformClick(); - } - - private void btSave_Click(object sender, EventArgs e) - { - saveData(true); - } - - - - private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) - { - func_delete(); - } - void func_add() - { - var newdr = this.bs.AddNew(); - this.bs.Position = this.bs.Count - 1; - - - } - void func_delete() - { - var drv = bs.Current as DataRowView; - if (drv == null) return; - - //var dlg = FCOMMON.Util.MsgQ("현재 선택된 데이터를 삭제 하시겠습니까?"); - //if (dlg != DialogResult.Yes) return; - - - int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase)); - var dr = drv.Row as EEDataSet.EETGW_EducationListRow; - - - var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?"); - if (dlg != System.Windows.Forms.DialogResult.Yes) return; - - bs.RemoveCurrent(); - bs.EndEdit(); - } - - - private void btFind_Click(object sender, EventArgs e) - { - var search = tbFind.Text.Trim(); - search = search.Replace("*", "x"); - if (tbFind.Text != search) tbFind.Text = search; - try - { - if (search.isEmpty()) - { - this.bs.Filter = ""; - tbFind.BackColor = Color.White; - } - else - { - var cols = new List(); - cols.Add("title like ?"); - cols.Add("proposal like ?"); - cols.Add("target like ?"); - cols.Add("eduoffice like ?"); - cols.Add("location like ?"); - - search = search.Replace("'", "''"); - string filter = string.Join(" or ", cols.ToArray()); - filter = filter.Replace("?", "'%" + search + "%'"); - this.bs.Filter = filter; - tbFind.BackColor = Color.Lime; - } - tbFind.SelectAll(); - tbFind.Focus(); - } - catch (Exception ex) - { - this.tbFind.BackColor = Color.Tomato; - FCOMMON.Util.MsgE(ex.Message); - } - } - - private void tbFind_KeyDown(object sender, KeyEventArgs e) - { - if (e.KeyCode == Keys.Enter) btFind.PerformClick(); - } - - private void editDataToolStripMenuItem_Click(object sender, EventArgs e) - { - Func_Edit(); - } - void Func_Edit() - { - - - } - - private void autoToolStripMenuItem_Click(object sender, EventArgs e) - { - FCOMMON.Util.FPColSizeAuto(this.fpSpread1); - //this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; - - //for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) - // this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); - //dv1.AutoResizeColumns(); - } - - private void resetToolStripMenuItem_Click(object sender, EventArgs e) - { - foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns) - { - col.Width = 100; - } - } - - private void saveToolStripMenuItem_Click(object sender, EventArgs e) - { - FCOMMON.Util.FPColsizeSave(this.fpSpread1, fn_fpcolsize); - } - - private void loadToolStripMenuItem_Click(object sender, EventArgs e) - { - FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize); - } - - private void toolStripButton2_Click(object sender, EventArgs e) - { - Func_Edit(); - } - - - void dv1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) - { - //if (e.ColumnIndex < 0 || e.RowIndex < 0) return; - //var state = this.dv1.Rows[e.RowIndex].Cells["dvc_state"].Value.ToString(); - //switch (state) - //{ - // case "00": //입력대기(미확인) - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black; - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray; - // break; - // case "01": //파트장 승인 기다림 - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkBlue; - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White; - // break; - // case "03": //PO (협력업체 전달) - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkMagenta; - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White; - // break; - // case "04": //자재 수령 - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White; - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Green; - // break; - // case "05": //canceld (취소) - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray; - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Red; - // break; - // case "06": //cancel (취소됨) - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.HotPink; - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black; - // break; - // case "08": //문의 - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.Green; - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.White; - // break; - // default: - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White; - // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black; - // break; - //} - } - - private void updateSCToolStripMenuItem_Click(object sender, EventArgs e) - { - var dlg = FCOMMON.Util.MsgQ("#SC가 없는 자료에 한하여 일괄 기록을 실행 합니다."); - if (dlg == System.Windows.Forms.DialogResult.Yes) - { - - } - } - - private void exportDataToolStripMenuItem_Click(object sender, EventArgs e) - { - SaveFileDialog sd = new SaveFileDialog(); - sd.Filter = "excel|*.xls"; - sd.FileName = "edulist.xls"; - if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK) - { - fpSpread1.SaveExcel(sd.FileName, - FarPoint.Excel.ExcelSaveFlags.SaveAsViewed - | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered - | FarPoint.Excel.ExcelSaveFlags.NoFormulas - | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); - FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName); - } - - } - - - - private void btViewDel_Click(object sender, EventArgs e) - { - refreshData(); - } - - - private void copyToolStripMenuItem_Click(object sender, EventArgs e) - { - - } - - void func_copy() - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as EEDataSet.EETGW_LicenseRow; - - //현재 데이터를 입력하여 신규 추가를 한다. - var newdr = this.dsPurchase.EETGW_EducationList.NewEETGW_EducationListRow(); - FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr); - newdr.sdate = DateTime.Now.ToShortDateString(); - newdr.edate = DateTime.Now.ToShortDateString(); - - newdr.wdate = DateTime.Now; - newdr.wuid = FCOMMON.info.Login.no; - newdr.EndEdit(); - - this.dsPurchase.EETGW_EducationList.AddEETGW_EducationListRow(newdr); - } - - - - private void bs_CurrentChanged(object sender, EventArgs e) - { - var drv = this.bs.Current as DataRowView; - if (drv == null) - { - this.label1.Text = "데이터가 선택되지 않았습니다"; - return; - } - var dr = drv.Row as EEDataSet.EETGW_EducationListRow; - // this.label1.Text = string.Format("{0}", dr.bigo.Replace("\r", "").Replace("\n", "")); - } - - private void toolStripButton4_Click(object sender, EventArgs e) - { - - } - - string getmaxstr(string src, int len = 30) - { - if (src.Length > len) return src.Substring(0, len) + "..."; - else return src; - } - - List ChangeMailAddress(List userid) - { - var db = new DataClasses1DataContext(); - - List retval = new List(); - foreach (var id in userid) - { - UInt32 userno; - if (UInt32.TryParse(id, out userno) == true) - { - var user = db.Users.Where(t => t.id == id).FirstOrDefault(); - if (user != null) - { - var data = string.Format("{0}<{1}>", user.name, user.email); - if (retval.Contains(data) == false) - retval.Add(data); - } - } - else - { - if (retval.Contains(id) == false) - retval.Add(id); - } - } - return retval; - } - - private void toolStripButton3_Click_1(object sender, EventArgs e) - { - var fn = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "PurcManual.pdf"); - if (System.IO.File.Exists(fn)) - { - FCOMMON.Util.RunExplorer(fn); - } - else FCOMMON.Util.MsgE("설명서 파일(manual.pdf)이 없습니다. 개발자 문의 해주세요(chikyun.kim@amkor.co.kr)"); - } - - private void fpSpread1_EditModeOff(object sender, EventArgs e) - { - - } - - private void toolStripButton2_Click_1(object sender, EventArgs e) - { - this.Close(); - } - - private void toolStripButton1_Click(object sender, EventArgs e) - { - //open path - - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as EEDataSet.EETGW_LicenseRow; - if (dr.RowState == DataRowState.Added || dr.RowState == DataRowState.Detached) - { - FCOMMON.Util.MsgE("자료가 저장된 후 폴더열기를 사용할 수 있습니다"); - return; - } - - FCOMMON.Util.OpenSharedPath(null, "Data", "License", dr.idx.ToString()); - - } - } + this.ta.Fill(this.dsPurchase.EETGW_License, FCOMMON.info.Login.gcode); + //FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize); + } + catch (System.Exception ex) + { + System.Windows.Forms.MessageBox.Show(ex.Message); + } + + FormattingData(); + } + void FormattingData() + { + + } + + Font fBase = new Font("맑은 고딕", 9); + Font fBold = new Font("맑은 고딕", 9, FontStyle.Bold); + + private void saveData(Boolean prompt) + { + this.Validate(); + this.bs.EndEdit(); + try + { + var cnt = this.ta.Update(this.dsPurchase); + if (prompt) FCOMMON.Util.MsgI(string.Format("{0}건의 자료가 저장 되었습니다.", cnt)); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE("저장 실패\n" + ex.Message); + } + + + } + + + private void btSearch_Click(object sender, EventArgs e) + { + refreshData(); + } + + private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) + { + func_add(); + } + + private void tbRequest_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + btSearch.PerformClick(); + } + + private void btSave_Click(object sender, EventArgs e) + { + saveData(true); + } + + + + private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) + { + func_delete(); + } + void func_add() + { + var newdr = this.bs.AddNew(); + this.bs.Position = this.bs.Count - 1; + + + } + void func_delete() + { + var drv = bs.Current as DataRowView; + if (drv == null) return; + + //var dlg = FCOMMON.Util.MsgQ("현재 선택된 데이터를 삭제 하시겠습니까?"); + //if (dlg != DialogResult.Yes) return; + + + int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase)); + var dr = drv.Row as EEDataSet.EETGW_EducationListRow; + + + var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?"); + if (dlg != System.Windows.Forms.DialogResult.Yes) return; + + bs.RemoveCurrent(); + bs.EndEdit(); + } + + + private void btFind_Click(object sender, EventArgs e) + { + var dv = this.dv1; + var cols = new List(); + foreach (DataGridViewColumn col in dv.Columns) + { + if (col.Visible == false || col.DataPropertyName.isEmpty()) continue; + if (col.ValueType == typeof(bool)) continue; + if (col.ValueType == typeof(Int32)) continue; + cols.Add(col.DataPropertyName); + } + + var search = tbFind.Text.Trim(); + search = search.Replace("*", "x"); + string filter = string.Empty; + if (tbFind.Text != search) tbFind.Text = search; + try + { + if (search.isEmpty()) + { + this.bs.Filter = ""; + tbFind.BackColor = Color.White; + } + else + { + search = search.Replace("'", "''"); + filter = string.Join(" like ? or ", cols.ToArray()); + filter = filter.Replace("?", "'%" + search + "%'"); + filter += " like '%" + search + "%'"; + this.bs.Filter = filter; + tbFind.BackColor = Color.Lime; + } + tbFind.SelectAll(); + tbFind.Focus(); + } + catch (Exception ex) + { + this.tbFind.BackColor = Color.Tomato; + FCOMMON.Util.MsgE(ex.Message + "\n" + filter); + } + } + + private void tbFind_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) btFind.PerformClick(); + } + + private void editDataToolStripMenuItem_Click(object sender, EventArgs e) + { + Func_Edit(); + } + void Func_Edit() + { + + + } + + private void autoToolStripMenuItem_Click(object sender, EventArgs e) + { + // FCOMMON.Util.FPColSizeAuto(this.fpSpread1); + //this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; + + //for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) + // this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); + //dv1.AutoResizeColumns(); + } + + private void resetToolStripMenuItem_Click(object sender, EventArgs e) + { + //foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns) + //{ + // col.Width = 100; + //} + } + + private void saveToolStripMenuItem_Click(object sender, EventArgs e) + {// + // FCOMMON.Util.FPColsizeSave(this.fpSpread1, fn_fpcolsize); + } + + private void loadToolStripMenuItem_Click(object sender, EventArgs e) + { + // FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize); + } + + private void toolStripButton2_Click(object sender, EventArgs e) + { + Func_Edit(); + } + + + void dv1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) + { + //if (e.ColumnIndex < 0 || e.RowIndex < 0) return; + //var state = this.dv1.Rows[e.RowIndex].Cells["dvc_state"].Value.ToString(); + //switch (state) + //{ + // case "00": //입력대기(미확인) + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black; + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray; + // break; + // case "01": //파트장 승인 기다림 + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkBlue; + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White; + // break; + // case "03": //PO (협력업체 전달) + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkMagenta; + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White; + // break; + // case "04": //자재 수령 + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White; + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Green; + // break; + // case "05": //canceld (취소) + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray; + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Red; + // break; + // case "06": //cancel (취소됨) + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.HotPink; + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black; + // break; + // case "08": //문의 + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.Green; + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.White; + // break; + // default: + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White; + // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black; + // break; + //} + } + + private void updateSCToolStripMenuItem_Click(object sender, EventArgs e) + { + var dlg = FCOMMON.Util.MsgQ("#SC가 없는 자료에 한하여 일괄 기록을 실행 합니다."); + if (dlg == System.Windows.Forms.DialogResult.Yes) + { + + } + } + + private void exportDataToolStripMenuItem_Click(object sender, EventArgs e) + { + SaveFileDialog sd = new SaveFileDialog(); + sd.Filter = "csv|*.csv"; + sd.FileName = "edulist.csv"; + if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + dv1.ExportData(sd.FileName, false); + //fpSpread1.SaveExcel(sd.FileName, + // FarPoint.Excel.ExcelSaveFlags.SaveAsViewed + // | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered + // | FarPoint.Excel.ExcelSaveFlags.NoFormulas + // | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); + FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName); + } + + } + + + + private void btViewDel_Click(object sender, EventArgs e) + { + refreshData(); + } + + + private void copyToolStripMenuItem_Click(object sender, EventArgs e) + { + + } + + void func_copy() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as EEDataSet.EETGW_LicenseRow; + + //현재 데이터를 입력하여 신규 추가를 한다. + var newdr = this.dsPurchase.EETGW_EducationList.NewEETGW_EducationListRow(); + FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr); + newdr.sdate = DateTime.Now.ToShortDateString(); + newdr.edate = DateTime.Now.ToShortDateString(); + + newdr.wdate = DateTime.Now; + newdr.wuid = FCOMMON.info.Login.no; + newdr.EndEdit(); + + this.dsPurchase.EETGW_EducationList.AddEETGW_EducationListRow(newdr); + } + + + + private void bs_CurrentChanged(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) + { + this.label1.Text = "데이터가 선택되지 않았습니다"; + return; + } + var dr = drv.Row as EEDataSet.EETGW_EducationListRow; + // this.label1.Text = string.Format("{0}", dr.bigo.Replace("\r", "").Replace("\n", "")); + } + + private void toolStripButton4_Click(object sender, EventArgs e) + { + + } + + string getmaxstr(string src, int len = 30) + { + if (src.Length > len) return src.Substring(0, len) + "..."; + else return src; + } + + List ChangeMailAddress(List userid) + { + var db = new DataClasses1DataContext(); + + List retval = new List(); + foreach (var id in userid) + { + UInt32 userno; + if (UInt32.TryParse(id, out userno) == true) + { + var user = db.Users.Where(t => t.id == id).FirstOrDefault(); + if (user != null) + { + var data = string.Format("{0}<{1}>", user.name, user.email); + if (retval.Contains(data) == false) + retval.Add(data); + } + } + else + { + if (retval.Contains(id) == false) + retval.Add(id); + } + } + return retval; + } + + private void toolStripButton3_Click_1(object sender, EventArgs e) + { + var fn = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "PurcManual.pdf"); + if (System.IO.File.Exists(fn)) + { + FCOMMON.Util.RunExplorer(fn); + } + else FCOMMON.Util.MsgE("설명서 파일(manual.pdf)이 없습니다. 개발자 문의 해주세요(chikyun.kim@amkor.co.kr)"); + } + + private void fpSpread1_EditModeOff(object sender, EventArgs e) + { + + } + + private void toolStripButton2_Click_1(object sender, EventArgs e) + { + this.Close(); + } + + private void toolStripButton1_Click(object sender, EventArgs e) + { + //open path + + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as EEDataSet.EETGW_LicenseRow; + if (dr.RowState == DataRowState.Added || dr.RowState == DataRowState.Detached) + { + FCOMMON.Util.MsgE("자료가 저장된 후 폴더열기를 사용할 수 있습니다"); + return; + } + + FCOMMON.Util.OpenSharedPath(null, "Data", "License", dr.idx.ToString()); + + } + } } diff --git a/SubProject/FED0000/License/fLicenseList.resx b/SubProject/FED0000/License/fLicenseList.resx index 302ad8c..9088fa3 100644 --- a/SubProject/FED0000/License/fLicenseList.resx +++ b/SubProject/FED0000/License/fLicenseList.resx @@ -220,18 +220,18 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKWSURBVDhPzZNdSFNhGMdfSfq48qouSpSgi9KsbDqlDINA - vOtKhZIiJSu1NBMhk/zCnErqaC2p0JabmZ+FJWmBKJSmqVutWn6ESxOnuTO3ebadnXP+nc1TLejCyx7O - n3Pew/n9nue5OOT/qE/PJFpjTwLzrTfJJ4nMZHf09FT7vm3TLZKAv/JSEtDXF+sv4oToWqROnucA8MLl - ydqz27GIub501+xgivNX5kezHcbBHKPh6cFEESdE3xlp4VkHnHPVWP0qx+pMA2hjG3g3Jbjs4FmbkJW1 - s9sM2r7iMnRI9SJOyERTuJVjVgRYAfvULVg/FmN5OB2LI5mgPpSBel8ESpsP83iekBxhMhMmOiJsIi4I - WiMZN70ASq+AeUwGU/8V0Ka3Qler2N1zt/yewLOernW/Q8Q9E0Qx3v05pxAaYFe9IEsb4JxXwDFbhrzm - GJxtCIfdkAzW/hk6ta+gTuriWRqsdQhuqgfMjza4Fu4LYBXomQLQU5m4pI5AcdcJJNXtBmvTQqf0Eeju - Sp0cYwWz3AWXSS10vY0szRFkqaNx4WEEUusPoKAzAS0jcuS2Hke8fDu0Nb4C4cAzlACr4Pwuh8NYjIzG - KDwZU6J9VOEFm0dqUfsqF6rBSpzXxCG6fDMIiJ9X8KUibJ626C1L+kecfbIetgklUoV9PXB1bxYqXmSg - rDsNRV1nUPL8HOoGSpH8IAaBecTlFRhuhGYbZHub9OUhi+OyMIcnJ+/twePhWmiGbkL1phL1r2WCJB13 - BkqQpomH5Lq/OfAy2eIV/Kvi7+zkjsp3cLE1W7nDVQHcqYZDUPYXIaUxDkEFRLfrItkkfrq+Ci31Wzqt - OobgfPIupJBsFF+vv4KvkqWgaxtACsmfn4gQ8hPkkfO+Q+IluQAAAABJRU5ErkJggg== + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKYSURBVDhPzZNbSFNxHMf/knR58qmgC0rQQ2lWNp1Shg+R + +BZ0hZKkJCu1VipCJnnDnErqcF6o0JabmtfEsiuIQmmam9aq5SVcmjjNbW7zbDs753w7m6da0IOP/Thf + zvkfzufz+/0eDvk/6tNj0bC+6wj97ekxrxylx7oiJsZbd22YaBL5/ZWXIr/u7ihfASdE3SB2cBwLgOMv + d5afXfY5THcnOqf64hy/MjMksev7UvS6jr0nBJwQbXuYmWPscEyXYOmrDEuTtaD0LeBcJt5lA8dY+Swu + n11GWBeNTl2bWCvghIzWh1hYepGH5bCNl8PyMQcLA4mYG0yG6UM+TO+zYRrOgFGTzieFn8yA0bZQq4Dz + guYw2kXNwqSVw6iWwtCTCsrwlu9qEbq77+bfE7jX0zTvtgu4e4Jw2rM/6+BDAcySB2QoHRwzctin8pHe + GInztSGw6WLB2D5Do/QWVIidHEOBsfTDZXoO+kcLnLP3eLAY1GQmqPFkXFGGIqfzFE5WbwdjHYam3Eug + viN2sLQF9EInnAYl37UCEtUBSJQRuPQgFPE1e5DZfhxNgzKkNR9GjGwTNKVeAveBo008rIDjuwx2fQ6S + 6sLxSF2J1iG5B2wcLEPZqzQo+opwURWNiIK1ICA+HsGXwuAZyqw1z440sLaxGlhHKxHP7+uGS15IUPgs + CfldCcjuPIvcJxdQ3ZuH2PuR2JhKnB6B7lbQVZ10Z722IHBOIw22u3P67g48HCiDqv82FG+KUPNayksS + UdWbiwRVDEQ3fY1brpF1HsG/6lDVVjZKtpmNKl3P7i/2Y8/U7kNlTzbO1UXDP5OMbLtM1gifrqyC8nzm + 4xQHEZBB3gVmkdXC65VXwHUy739jFUgW+fMTEUJ+Av3G82Xe6HqeAAAAAElFTkSuQmCC @@ -248,45 +248,6 @@ 440, 17 - - - R0lGODlhEAAQAIQfAJXG2JXa+ZLO5ChrlkCy4TZ1kiVvpCN0trvo9SN5xTd4lrfh7iR9zo3S+EGz7JDJ - 4TaCromrvC9ymyV+0Dd3mTl1koe72YvN7LTj+9ne6N3g6v7+/0Cw2Stoh////////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAInwA/CBzooaAHgQUHKvRQoUABCgUlHFT4IYMCBAsQIIBg - wcBEgh0WCBDAgcAFDAc+fvDQIUKHDgMeEHDQIIFKlgoMGgjQoAGDmwUOehhg4EACBhM+GlzKVOkEBgkO - GBggNOhCBhgCBPBYUEGHmwkCOCDwYMCAll8XHghwgQCHkQDSLjRgAcKDBwAAKNCwgaIHiR4oOKygkuDE - pRQTK6YYEAA7 - - - - - R0lGODlhEAAQAIQfALnik2aXQv7+/dPut73llbfala3LmW6gSWqdQ2eYRGqaSLfck568iYrUQN7yzF6R - PLTXlYjUP8XwmYfQQLbYl4jRQGiaQsPumNbyu7nglNPzsLXYlf7+/lCHK////////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIlgA/CBzooaAHgQUHEvSgIEAABQUfHFTIwQECDAMwYDhg - oENCgRw8dBgAAECFBgsweJxYsAODDjApTIhAwCMHkCItGOxwgUCGlQQTeAgJsyhQg0iTGvzQ0qhND0IX - dtBwQcJKDxZsIhQpIcIECkVffmwpYUGDCiUheBQg1cCBAgU2QFDg4KZCDxIZOoQ48S7LpQoDCx4cEAA7 - - - - - R0lGODlhEAAQAIQAAJXD9Iasxm6MqnSn2lZtjVaRyEpXbYu767TX/2KZztvr/4Gy5KrT/3ut32+gzlFh - e+r0/0RNX9/u/9Ln+8Xg//n8/4e36CkxQz9GVkSCvKjL35/N/Je91K7T5bDS4////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIuQA/CBxIsKDACRwScggQwIGAhwIICBDYQcEEgwg+bNjw - QKCHCQgkQBgpQcKBCg0AEBCoAaRIkhIsVBigUiAHCgwkKNjJU8GAAx0/3NwIAMABCwsaDHCwIGgAChuK - HjiQdMDSAQYEPpWKtKqDBA6yfgiAwGhXpUsTJIgg0AGCo0nRfi1QgO0HAQyQNpCrtkAGDAIFbKi69GsC - un8FEohqdEFavxkyXAhMoPKDBwYMRIiAAcOFoAZDCwwIADs= - - - - - R0lGODlhEAAQAIQfAJfL/OTs9HWVsW6aUqnT+6bnZldwkYiux7TZ/O3z+UlVa/P2+ZfTW36wWJDLV4m7 - 69nn78bi/qjL3qDP+VJhe4rAVa7S40NLXJ3bYJrA1ikxQz5FVdDU22OPRf///////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIwQA9CBxIcOCHgx4gWLAgIUOGAwcESBTgAaEFCAEGaBwQ - IGOABwYqerCQsYBJBho7JHgAUqCEDjAxYGBQgYHKBAsoCMzQIUIEmA6CdkCAIOfOBT5/MnBQYSgBozCj - SoVJ4KkCDx1MFhhKFEFVAhMCXM1aAANMoh2qTgh7AWvZmQ6igp0AIEDbDg0aLA06YC4AABA2eBjgYcHG - vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw== - - 334, 17 @@ -314,8 +275,11 @@ 667, 17 - - 729, 17 + + True + + + True 65 diff --git a/SubProject/FPJ0000/Project/fProjectList.Designer.cs b/SubProject/FPJ0000/Project/fProjectList.Designer.cs index 8bab925..23ee420 100644 --- a/SubProject/FPJ0000/Project/fProjectList.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectList.Designer.cs @@ -28,167 +28,167 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectList)); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = 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.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); - this.bn = new System.Windows.Forms.BindingNavigator(this.components); - this.bs = new System.Windows.Forms.BindingSource(this.components); - this.dsMSSQL = new FPJ0000.dsPRJ(); - this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); - this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); - this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.btAdd = new System.Windows.Forms.ToolStripButton(); - this.btCopy = new System.Windows.Forms.ToolStripButton(); - this.btEdit = new System.Windows.Forms.ToolStripButton(); - this.btDel = new System.Windows.Forms.ToolStripButton(); - this.btSave = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); - this.tbFind = new System.Windows.Forms.ToolStripTextBox(); - this.btFind = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); - this.sbCount = new System.Windows.Forms.ToolStripLabel(); - this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); - this.cm = new System.Windows.Forms.ContextMenuStrip(this.components); - this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); - this.편집ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.partListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.iOMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.공유폴더ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.scheduleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); - this.메일발송주소관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.makeRepeatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.삭제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.편집ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); - this.엑셀파일로저장ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - 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(); - this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); - this.cmbYearE = new System.Windows.Forms.ToolStripComboBox(); - this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel(); - this.cmbCate = new System.Windows.Forms.ToolStripComboBox(); - this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel(); - this.cmbProcess = new System.Windows.Forms.ToolStripComboBox(); - this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); - this.tbRequest = new System.Windows.Forms.ToolStripTextBox(); - this.label1 = new System.Windows.Forms.Label(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.panel4 = new System.Windows.Forms.Panel(); - this.label11 = new System.Windows.Forms.Label(); - this.label4 = new System.Windows.Forms.Label(); - this.bsHist = new System.Windows.Forms.BindingSource(this.components); - this.label2 = new System.Windows.Forms.Label(); - this.richTextBox1 = new System.Windows.Forms.RichTextBox(); - this.richTextBox2 = new System.Windows.Forms.RichTextBox(); - this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); - this.label6 = new System.Windows.Forms.Label(); - this.label5 = new System.Windows.Forms.Label(); - this.label9 = new System.Windows.Forms.Label(); - this.label3 = new System.Windows.Forms.Label(); - this.label7 = new System.Windows.Forms.Label(); - this.label8 = new System.Windows.Forms.Label(); - this.label10 = new System.Windows.Forms.Label(); - this.label12 = new System.Windows.Forms.Label(); - this.label13 = new System.Windows.Forms.Label(); - this.label14 = new System.Windows.Forms.Label(); - this.label15 = new System.Windows.Forms.Label(); - this.label16 = new System.Windows.Forms.Label(); - this.sbSumO = new System.Windows.Forms.Label(); - this.sbSumI = new System.Windows.Forms.Label(); - this.sbSumE = new System.Windows.Forms.Label(); - this.taHist = new FPJ0000.dsPRJTableAdapters.ProjectsHistoryTableAdapter(); - this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); - this.prb1 = new arCtl.arLabel(); - this.panel3 = new System.Windows.Forms.Panel(); - this.toolStrip2 = new System.Windows.Forms.ToolStrip(); - this.toolStripLabel8 = new System.Windows.Forms.ToolStripLabel(); - this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); - this.chk검토 = new System.Windows.Forms.ToolStripButton(); - this.chk대기 = new System.Windows.Forms.ToolStripButton(); - this.chk진행 = new System.Windows.Forms.ToolStripButton(); - this.chk보류 = new System.Windows.Forms.ToolStripButton(); - this.chk취소 = new System.Windows.Forms.ToolStripButton(); - this.chk완료 = new System.Windows.Forms.ToolStripButton(); - this.chk완료보고 = new System.Windows.Forms.ToolStripButton(); - this.btViewDel = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); - this.cmbSort = new System.Windows.Forms.ToolStripComboBox(); - this.panel1 = new System.Windows.Forms.Panel(); - this.btSearch = new System.Windows.Forms.Button(); - this.button1 = new System.Windows.Forms.Button(); - this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); - this.label17 = new System.Windows.Forms.Label(); - ((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(); - this.panel4.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bsHist)).BeginInit(); - this.tableLayoutPanel2.SuspendLayout(); - this.panel3.SuspendLayout(); - this.toolStrip2.SuspendLayout(); - this.panel1.SuspendLayout(); - this.tableLayoutPanel3.SuspendLayout(); - this.SuspendLayout(); - // - // bn - // - this.bn.AddNewItem = null; - this.bn.BindingSource = this.bs; - this.bn.CountItem = this.bindingNavigatorCountItem; - this.bn.DeleteItem = null; - this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectList)); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = 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.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); + this.bn = new System.Windows.Forms.BindingNavigator(this.components); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.dsMSSQL = new FPJ0000.dsPRJ(); + this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); + this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.btAdd = new System.Windows.Forms.ToolStripButton(); + this.btCopy = new System.Windows.Forms.ToolStripButton(); + this.btEdit = new System.Windows.Forms.ToolStripButton(); + this.btDel = new System.Windows.Forms.ToolStripButton(); + this.btSave = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); + this.tbFind = new System.Windows.Forms.ToolStripTextBox(); + this.btFind = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.sbCount = new System.Windows.Forms.ToolStripLabel(); + this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); + this.cm = new System.Windows.Forms.ContextMenuStrip(this.components); + this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); + this.편집ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.partListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.iOMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.공유폴더ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.scheduleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); + this.메일발송주소관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.makeRepeatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.삭제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.편집ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); + this.엑셀파일로저장ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + 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(); + this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); + this.cmbYearE = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel(); + this.cmbCate = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel(); + this.cmbProcess = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); + this.tbRequest = new System.Windows.Forms.ToolStripTextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.panel4 = new System.Windows.Forms.Panel(); + this.label11 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.bsHist = new System.Windows.Forms.BindingSource(this.components); + this.label2 = new System.Windows.Forms.Label(); + this.richTextBox1 = new System.Windows.Forms.RichTextBox(); + this.richTextBox2 = new System.Windows.Forms.RichTextBox(); + this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); + this.label6 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.label9 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.label10 = new System.Windows.Forms.Label(); + this.label12 = new System.Windows.Forms.Label(); + this.label13 = new System.Windows.Forms.Label(); + this.label14 = new System.Windows.Forms.Label(); + this.label15 = new System.Windows.Forms.Label(); + this.label16 = new System.Windows.Forms.Label(); + this.sbSumO = new System.Windows.Forms.Label(); + this.sbSumI = new System.Windows.Forms.Label(); + this.sbSumE = new System.Windows.Forms.Label(); + this.taHist = new FPJ0000.dsPRJTableAdapters.ProjectsHistoryTableAdapter(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.prb1 = new arCtl.arLabel(); + this.panel3 = new System.Windows.Forms.Panel(); + this.toolStrip2 = new System.Windows.Forms.ToolStrip(); + this.toolStripLabel8 = new System.Windows.Forms.ToolStripLabel(); + this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); + this.chk검토 = new System.Windows.Forms.ToolStripButton(); + this.chk대기 = new System.Windows.Forms.ToolStripButton(); + this.chk진행 = new System.Windows.Forms.ToolStripButton(); + this.chk보류 = new System.Windows.Forms.ToolStripButton(); + this.chk취소 = new System.Windows.Forms.ToolStripButton(); + this.chk완료 = new System.Windows.Forms.ToolStripButton(); + this.chk완료보고 = new System.Windows.Forms.ToolStripButton(); + this.btViewDel = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); + this.cmbSort = new System.Windows.Forms.ToolStripComboBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.btSearch = new System.Windows.Forms.Button(); + this.button1 = new System.Windows.Forms.Button(); + this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); + this.label17 = new System.Windows.Forms.Label(); + ((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(); + this.panel4.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsHist)).BeginInit(); + this.tableLayoutPanel2.SuspendLayout(); + this.panel3.SuspendLayout(); + this.toolStrip2.SuspendLayout(); + this.panel1.SuspendLayout(); + this.tableLayoutPanel3.SuspendLayout(); + this.SuspendLayout(); + // + // bn + // + this.bn.AddNewItem = null; + this.bn.BindingSource = this.bs; + this.bn.CountItem = this.bindingNavigatorCountItem; + this.bn.DeleteItem = null; + this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.bindingNavigatorMoveFirstItem, this.bindingNavigatorMovePreviousItem, this.bindingNavigatorSeparator, @@ -214,225 +214,223 @@ this.toolStripSeparator6, this.sbCount, this.toolStripButton2}); - this.bn.Location = new System.Drawing.Point(0, 837); - this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; - this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; - this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; - this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; - this.bn.Name = "bn"; - this.bn.PositionItem = this.bindingNavigatorPositionItem; - this.bn.Size = new System.Drawing.Size(1585, 25); - this.bn.TabIndex = 0; - this.bn.Text = "bindingNavigator1"; - // - // bs - // - this.bs.DataMember = "Projects"; - this.bs.DataSource = this.dsMSSQL; - this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); - // - // dsMSSQL - // - this.dsMSSQL.DataSetName = "dsMSSQL"; - this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // bindingNavigatorCountItem - // - this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; - this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); - this.bindingNavigatorCountItem.Text = "/{0}"; - this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; - // - // bindingNavigatorMoveFirstItem - // - this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); - this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; - this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; - this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); - this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; - // - // bindingNavigatorMovePreviousItem - // - this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); - this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; - this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; - this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); - this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; - // - // bindingNavigatorSeparator - // - this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; - this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); - // - // bindingNavigatorPositionItem - // - this.bindingNavigatorPositionItem.AccessibleName = "위치"; - this.bindingNavigatorPositionItem.AutoSize = false; - this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); - this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; - this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(30, 23); - this.bindingNavigatorPositionItem.Text = "0"; - this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; - // - // bindingNavigatorSeparator1 - // - this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; - this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); - // - // bindingNavigatorMoveNextItem - // - this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); - this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; - this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; - this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); - this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; - // - // bindingNavigatorMoveLastItem - // - this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); - this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; - this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; - this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); - this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; - // - // bindingNavigatorSeparator2 - // - this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; - this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); - // - // btAdd - // - this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image"))); - this.btAdd.Name = "btAdd"; - this.btAdd.RightToLeftAutoMirrorImage = true; - this.btAdd.Size = new System.Drawing.Size(67, 22); - this.btAdd.Text = "추가(&A)"; - this.btAdd.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); - // - // btCopy - // - this.btCopy.Image = global::FPJ0000.Properties.Resources.copy; - this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btCopy.Name = "btCopy"; - this.btCopy.Size = new System.Drawing.Size(67, 22); - this.btCopy.Text = "복사(&C)"; - this.btCopy.Click += new System.EventHandler(this.btCopy_Click); - // - // btEdit - // - this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image"))); - this.btEdit.Name = "btEdit"; - this.btEdit.Size = new System.Drawing.Size(65, 22); - this.btEdit.Text = "편집(&E)"; - this.btEdit.Click += new System.EventHandler(this.btEdit_Click); - // - // btDel - // - this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image"))); - this.btDel.Name = "btDel"; - this.btDel.RightToLeftAutoMirrorImage = true; - this.btDel.Size = new System.Drawing.Size(68, 22); - this.btDel.Text = "삭제(&D)"; - this.btDel.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); - // - // btSave - // - this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image"))); - this.btSave.Name = "btSave"; - this.btSave.Size = new System.Drawing.Size(66, 22); - this.btSave.Text = "저장(&S)"; - this.btSave.Click += new System.EventHandler(this.projectsBindingNavigatorSaveItem_Click); - // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); - // - // toolStripButton1 - // - this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); - this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton1.Name = "toolStripButton1"; - this.toolStripButton1.Size = new System.Drawing.Size(75, 22); - this.toolStripButton1.Text = "부품목록"; - this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); - // - // toolStripButton3 - // - this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); - this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton3.Name = "toolStripButton3"; - this.toolStripButton3.Size = new System.Drawing.Size(56, 22); - this.toolStripButton3.Text = "I/O맵"; - this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); - // - // toolStripButton4 - // - this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); - this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton4.Name = "toolStripButton4"; - this.toolStripButton4.Size = new System.Drawing.Size(75, 22); - this.toolStripButton4.Text = "공유폴더"; - this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); - // - // toolStripSeparator5 - // - this.toolStripSeparator5.Name = "toolStripSeparator5"; - this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); - // - // toolStripLabel1 - // - this.toolStripLabel1.Name = "toolStripLabel1"; - this.toolStripLabel1.Size = new System.Drawing.Size(31, 22); - this.toolStripLabel1.Text = "검색"; - // - // tbFind - // - this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F); - this.tbFind.Name = "tbFind"; - this.tbFind.Size = new System.Drawing.Size(100, 25); - this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); - // - // btFind - // - this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btFind.Image = global::FPJ0000.Properties.Resources.accept; - this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btFind.Name = "btFind"; - this.btFind.Size = new System.Drawing.Size(23, 22); - this.btFind.Text = "toolStripButton1"; - this.btFind.Click += new System.EventHandler(this.btFind_Click); - // - // toolStripSeparator6 - // - this.toolStripSeparator6.Name = "toolStripSeparator6"; - this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25); - // - // sbCount - // - this.sbCount.Name = "sbCount"; - this.sbCount.Size = new System.Drawing.Size(83, 22); - this.sbCount.Text = "프로젝트 수량"; - // - // toolStripButton2 - // - this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); - this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton2.Name = "toolStripButton2"; - this.toolStripButton2.Size = new System.Drawing.Size(103, 22); - this.toolStripButton2.Text = "프로젝트 요약"; - this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1); - // - // cm - // - this.cm.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.cm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bn.Location = new System.Drawing.Point(0, 837); + this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; + this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; + this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; + this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; + this.bn.Name = "bn"; + this.bn.PositionItem = this.bindingNavigatorPositionItem; + this.bn.Size = new System.Drawing.Size(1585, 25); + this.bn.TabIndex = 0; + this.bn.Text = "bindingNavigator1"; + // + // bs + // + this.bs.DataMember = "Projects"; + this.bs.DataSource = this.dsMSSQL; + this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); + // + // dsMSSQL + // + this.dsMSSQL.DataSetName = "dsMSSQL"; + this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); + this.bindingNavigatorCountItem.Text = "/{0}"; + this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; + // + // bindingNavigatorMoveFirstItem + // + this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); + this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; + this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); + this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; + this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(30, 23); + this.bindingNavigatorPositionItem.Text = "0"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); + this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; + this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); + this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; + this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); + // + // btAdd + // + this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image"))); + this.btAdd.Name = "btAdd"; + this.btAdd.RightToLeftAutoMirrorImage = true; + this.btAdd.Size = new System.Drawing.Size(67, 22); + this.btAdd.Text = "추가(&A)"; + this.btAdd.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); + // + // btCopy + // + this.btCopy.Image = global::FPJ0000.Properties.Resources.copy; + this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btCopy.Name = "btCopy"; + this.btCopy.Size = new System.Drawing.Size(67, 22); + this.btCopy.Text = "복사(&C)"; + this.btCopy.Click += new System.EventHandler(this.btCopy_Click); + // + // btEdit + // + this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image"))); + this.btEdit.Name = "btEdit"; + this.btEdit.Size = new System.Drawing.Size(65, 22); + this.btEdit.Text = "편집(&E)"; + this.btEdit.Click += new System.EventHandler(this.btEdit_Click); + // + // btDel + // + this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image"))); + this.btDel.Name = "btDel"; + this.btDel.RightToLeftAutoMirrorImage = true; + this.btDel.Size = new System.Drawing.Size(68, 22); + this.btDel.Text = "삭제(&D)"; + this.btDel.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); + // + // btSave + // + this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image"))); + this.btSave.Name = "btSave"; + this.btSave.Size = new System.Drawing.Size(66, 22); + this.btSave.Text = "저장(&S)"; + this.btSave.Click += new System.EventHandler(this.projectsBindingNavigatorSaveItem_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); + // + // toolStripButton1 + // + this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); + this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton1.Name = "toolStripButton1"; + this.toolStripButton1.Size = new System.Drawing.Size(75, 22); + this.toolStripButton1.Text = "부품목록"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); + // + // toolStripButton3 + // + this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); + this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton3.Name = "toolStripButton3"; + this.toolStripButton3.Size = new System.Drawing.Size(56, 22); + this.toolStripButton3.Text = "I/O맵"; + this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); + // + // toolStripButton4 + // + this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); + this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton4.Name = "toolStripButton4"; + this.toolStripButton4.Size = new System.Drawing.Size(75, 22); + this.toolStripButton4.Text = "공유폴더"; + this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); + // + // toolStripLabel1 + // + this.toolStripLabel1.Name = "toolStripLabel1"; + this.toolStripLabel1.Size = new System.Drawing.Size(31, 22); + this.toolStripLabel1.Text = "검색"; + // + // tbFind + // + this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbFind.Name = "tbFind"; + this.tbFind.Size = new System.Drawing.Size(100, 25); + this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); + // + // btFind + // + this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.btFind.Image = global::FPJ0000.Properties.Resources.accept; + this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btFind.Name = "btFind"; + this.btFind.Size = new System.Drawing.Size(23, 22); + this.btFind.Text = "toolStripButton1"; + this.btFind.Click += new System.EventHandler(this.btFind_Click); + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25); + // + // sbCount + // + this.sbCount.Name = "sbCount"; + this.sbCount.Size = new System.Drawing.Size(83, 22); + this.sbCount.Text = "프로젝트 수량"; + // + // toolStripButton2 + // + this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); + this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton2.Name = "toolStripButton2"; + this.toolStripButton2.Size = new System.Drawing.Size(103, 22); + this.toolStripButton2.Text = "프로젝트 요약"; + this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1); + // + // cm + // + this.cm.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.columnSizeToolStripMenuItem, this.toolStripMenuItem2, this.편집ToolStripMenuItem, @@ -447,382 +445,382 @@ this.편집ToolStripMenuItem1, this.toolStripMenuItem1, this.엑셀파일로저장ToolStripMenuItem}); - this.cm.Name = "contextMenuStrip1"; - this.cm.Size = new System.Drawing.Size(299, 418); - // - // columnSizeToolStripMenuItem - // - this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.cm.Name = "contextMenuStrip1"; + this.cm.Size = new System.Drawing.Size(299, 418); + // + // columnSizeToolStripMenuItem + // + this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.autoToolStripMenuItem, this.resetToolStripMenuItem, this.saveToolStripMenuItem, this.loadToolStripMenuItem}); - this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; - this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(298, 36); - this.columnSizeToolStripMenuItem.Text = "열 너비"; - // - // autoToolStripMenuItem - // - this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image"))); - this.autoToolStripMenuItem.Name = "autoToolStripMenuItem"; - this.autoToolStripMenuItem.Size = new System.Drawing.Size(149, 36); - this.autoToolStripMenuItem.Text = "Auto"; - this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click); - // - // resetToolStripMenuItem - // - this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image"))); - this.resetToolStripMenuItem.Name = "resetToolStripMenuItem"; - this.resetToolStripMenuItem.Size = new System.Drawing.Size(149, 36); - this.resetToolStripMenuItem.Text = "Reset"; - this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click); - // - // saveToolStripMenuItem - // - this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); - this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; - this.saveToolStripMenuItem.Size = new System.Drawing.Size(149, 36); - this.saveToolStripMenuItem.Text = "Save"; - this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); - // - // loadToolStripMenuItem - // - this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image"))); - this.loadToolStripMenuItem.Name = "loadToolStripMenuItem"; - this.loadToolStripMenuItem.Size = new System.Drawing.Size(149, 36); - this.loadToolStripMenuItem.Text = "Load"; - this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); - // - // toolStripMenuItem2 - // - this.toolStripMenuItem2.Name = "toolStripMenuItem2"; - this.toolStripMenuItem2.Size = new System.Drawing.Size(295, 6); - // - // 편집ToolStripMenuItem - // - this.편집ToolStripMenuItem.Name = "편집ToolStripMenuItem"; - this.편집ToolStripMenuItem.Size = new System.Drawing.Size(298, 36); - this.편집ToolStripMenuItem.Text = "편집"; - this.편집ToolStripMenuItem.Click += new System.EventHandler(this.편집ToolStripMenuItem_Click); - // - // partListToolStripMenuItem - // - this.partListToolStripMenuItem.Name = "partListToolStripMenuItem"; - this.partListToolStripMenuItem.Size = new System.Drawing.Size(298, 36); - this.partListToolStripMenuItem.Text = "부품목록"; - this.partListToolStripMenuItem.Click += new System.EventHandler(this.partListToolStripMenuItem_Click); - // - // iOMapToolStripMenuItem - // - this.iOMapToolStripMenuItem.Name = "iOMapToolStripMenuItem"; - this.iOMapToolStripMenuItem.Size = new System.Drawing.Size(298, 36); - this.iOMapToolStripMenuItem.Text = "I/O 맵"; - this.iOMapToolStripMenuItem.Click += new System.EventHandler(this.iOMapToolStripMenuItem_Click); - // - // 공유폴더ToolStripMenuItem - // - this.공유폴더ToolStripMenuItem.Name = "공유폴더ToolStripMenuItem"; - this.공유폴더ToolStripMenuItem.Size = new System.Drawing.Size(298, 36); - this.공유폴더ToolStripMenuItem.Text = "공유 폴더"; - this.공유폴더ToolStripMenuItem.Click += new System.EventHandler(this.공유폴더ToolStripMenuItem_Click); - // - // scheduleToolStripMenuItem - // - this.scheduleToolStripMenuItem.ForeColor = System.Drawing.Color.Black; - this.scheduleToolStripMenuItem.Name = "scheduleToolStripMenuItem"; - this.scheduleToolStripMenuItem.Size = new System.Drawing.Size(298, 36); - this.scheduleToolStripMenuItem.Text = "스케쥴 관리"; - this.scheduleToolStripMenuItem.Click += new System.EventHandler(this.scheduleToolStripMenuItem_Click); - // - // toolStripMenuItem3 - // - this.toolStripMenuItem3.Name = "toolStripMenuItem3"; - this.toolStripMenuItem3.Size = new System.Drawing.Size(295, 6); - // - // 메일발송주소관리ToolStripMenuItem - // - this.메일발송주소관리ToolStripMenuItem.ForeColor = System.Drawing.Color.Gray; - this.메일발송주소관리ToolStripMenuItem.Name = "메일발송주소관리ToolStripMenuItem"; - this.메일발송주소관리ToolStripMenuItem.Size = new System.Drawing.Size(298, 36); - this.메일발송주소관리ToolStripMenuItem.Text = "메일발송 주소 관리"; - this.메일발송주소관리ToolStripMenuItem.Click += new System.EventHandler(this.메일발송주소관리ToolStripMenuItem_Click); - // - // makeRepeatToolStripMenuItem - // - this.makeRepeatToolStripMenuItem.Name = "makeRepeatToolStripMenuItem"; - this.makeRepeatToolStripMenuItem.Size = new System.Drawing.Size(298, 36); - this.makeRepeatToolStripMenuItem.Text = "복사"; - this.makeRepeatToolStripMenuItem.Click += new System.EventHandler(this.makeRepeatToolStripMenuItem_Click); - // - // 삭제ToolStripMenuItem - // - this.삭제ToolStripMenuItem.Name = "삭제ToolStripMenuItem"; - this.삭제ToolStripMenuItem.Size = new System.Drawing.Size(298, 36); - this.삭제ToolStripMenuItem.Text = "삭제"; - this.삭제ToolStripMenuItem.Click += new System.EventHandler(this.삭제ToolStripMenuItem_Click); - // - // 편집ToolStripMenuItem1 - // - this.편집ToolStripMenuItem1.Name = "편집ToolStripMenuItem1"; - this.편집ToolStripMenuItem1.Size = new System.Drawing.Size(298, 36); - this.편집ToolStripMenuItem1.Text = "편집"; - // - // toolStripMenuItem1 - // - this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(295, 6); - // - // 엑셀파일로저장ToolStripMenuItem - // - this.엑셀파일로저장ToolStripMenuItem.Name = "엑셀파일로저장ToolStripMenuItem"; - this.엑셀파일로저장ToolStripMenuItem.Size = new System.Drawing.Size(298, 36); - this.엑셀파일로저장ToolStripMenuItem.Text = "목록 내보내기"; - this.엑셀파일로저장ToolStripMenuItem.Click += new System.EventHandler(this.엑셀파일로저장ToolStripMenuItem_Click); - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // tam - // - this.tam.BackupDataSetBeforeUpdate = false; - this.tam.EETGW_JobReport_AutoInputTableAdapter = null; - this.tam.EETGW_JobReport_EBoardTableAdapter = null; - this.tam.EETGW_NoteTableAdapter = null; - this.tam.EETGW_ProjecthistoryDTableAdapter = null; - this.tam.EETGW_ProjectResonTableAdapter = null; - this.tam.EETGW_ProjectsScheduleTableAdapter = null; - this.tam.EETGW_ProjectToDoTableAdapter = null; - this.tam.EETGW_SaveCostTableAdapter = null; - this.tam.JobReportTableAdapter = null; - this.tam.ProjectPartStatusTableAdapter = null; - this.tam.ProjectsHistoryTableAdapter = null; - this.tam.ProjectsIOMapTableAdapter = null; - this.tam.ProjectsMailListTableAdapter = null; - this.tam.ProjectsPartTableAdapter = null; - this.tam.ProjectsTableAdapter = this.ta; - this.tam.SPMasterTableAdapter = null; - this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - // - // fpSpread1 - // - this.fpSpread1.AccessibleDescription = ""; - this.fpSpread1.AutoFitColumnOptions = FarPoint.Win.Spread.PreferredSizeColumnOptions.IncludeAll; - this.fpSpread1.AutoFitRowOptions = FarPoint.Win.Spread.PreferredSizeRowOptions.IncludeAll; - this.fpSpread1.ContextMenuStrip = this.cm; - this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; - this.fpSpread1.EditModeReplace = true; - this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F); - this.fpSpread1.Location = new System.Drawing.Point(0, 55); - this.fpSpread1.Name = "fpSpread1"; - this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { + this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; + this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(298, 36); + this.columnSizeToolStripMenuItem.Text = "열 너비"; + // + // autoToolStripMenuItem + // + this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image"))); + this.autoToolStripMenuItem.Name = "autoToolStripMenuItem"; + this.autoToolStripMenuItem.Size = new System.Drawing.Size(149, 36); + this.autoToolStripMenuItem.Text = "Auto"; + this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click); + // + // resetToolStripMenuItem + // + this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image"))); + this.resetToolStripMenuItem.Name = "resetToolStripMenuItem"; + this.resetToolStripMenuItem.Size = new System.Drawing.Size(149, 36); + this.resetToolStripMenuItem.Text = "Reset"; + this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click); + // + // saveToolStripMenuItem + // + this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); + this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; + this.saveToolStripMenuItem.Size = new System.Drawing.Size(149, 36); + this.saveToolStripMenuItem.Text = "Save"; + this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); + // + // loadToolStripMenuItem + // + this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image"))); + this.loadToolStripMenuItem.Name = "loadToolStripMenuItem"; + this.loadToolStripMenuItem.Size = new System.Drawing.Size(149, 36); + this.loadToolStripMenuItem.Text = "Load"; + this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); + // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(295, 6); + // + // 편집ToolStripMenuItem + // + this.편집ToolStripMenuItem.Name = "편집ToolStripMenuItem"; + this.편집ToolStripMenuItem.Size = new System.Drawing.Size(298, 36); + this.편집ToolStripMenuItem.Text = "편집"; + this.편집ToolStripMenuItem.Click += new System.EventHandler(this.편집ToolStripMenuItem_Click); + // + // partListToolStripMenuItem + // + this.partListToolStripMenuItem.Name = "partListToolStripMenuItem"; + this.partListToolStripMenuItem.Size = new System.Drawing.Size(298, 36); + this.partListToolStripMenuItem.Text = "부품목록"; + this.partListToolStripMenuItem.Click += new System.EventHandler(this.partListToolStripMenuItem_Click); + // + // iOMapToolStripMenuItem + // + this.iOMapToolStripMenuItem.Name = "iOMapToolStripMenuItem"; + this.iOMapToolStripMenuItem.Size = new System.Drawing.Size(298, 36); + this.iOMapToolStripMenuItem.Text = "I/O 맵"; + this.iOMapToolStripMenuItem.Click += new System.EventHandler(this.iOMapToolStripMenuItem_Click); + // + // 공유폴더ToolStripMenuItem + // + this.공유폴더ToolStripMenuItem.Name = "공유폴더ToolStripMenuItem"; + this.공유폴더ToolStripMenuItem.Size = new System.Drawing.Size(298, 36); + this.공유폴더ToolStripMenuItem.Text = "공유 폴더"; + this.공유폴더ToolStripMenuItem.Click += new System.EventHandler(this.공유폴더ToolStripMenuItem_Click); + // + // scheduleToolStripMenuItem + // + this.scheduleToolStripMenuItem.ForeColor = System.Drawing.Color.Black; + this.scheduleToolStripMenuItem.Name = "scheduleToolStripMenuItem"; + this.scheduleToolStripMenuItem.Size = new System.Drawing.Size(298, 36); + this.scheduleToolStripMenuItem.Text = "스케쥴 관리"; + this.scheduleToolStripMenuItem.Click += new System.EventHandler(this.scheduleToolStripMenuItem_Click); + // + // toolStripMenuItem3 + // + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new System.Drawing.Size(295, 6); + // + // 메일발송주소관리ToolStripMenuItem + // + this.메일발송주소관리ToolStripMenuItem.ForeColor = System.Drawing.Color.Gray; + this.메일발송주소관리ToolStripMenuItem.Name = "메일발송주소관리ToolStripMenuItem"; + this.메일발송주소관리ToolStripMenuItem.Size = new System.Drawing.Size(298, 36); + this.메일발송주소관리ToolStripMenuItem.Text = "메일발송 주소 관리"; + this.메일발송주소관리ToolStripMenuItem.Click += new System.EventHandler(this.메일발송주소관리ToolStripMenuItem_Click); + // + // makeRepeatToolStripMenuItem + // + this.makeRepeatToolStripMenuItem.Name = "makeRepeatToolStripMenuItem"; + this.makeRepeatToolStripMenuItem.Size = new System.Drawing.Size(298, 36); + this.makeRepeatToolStripMenuItem.Text = "복사"; + this.makeRepeatToolStripMenuItem.Click += new System.EventHandler(this.makeRepeatToolStripMenuItem_Click); + // + // 삭제ToolStripMenuItem + // + this.삭제ToolStripMenuItem.Name = "삭제ToolStripMenuItem"; + this.삭제ToolStripMenuItem.Size = new System.Drawing.Size(298, 36); + this.삭제ToolStripMenuItem.Text = "삭제"; + this.삭제ToolStripMenuItem.Click += new System.EventHandler(this.삭제ToolStripMenuItem_Click); + // + // 편집ToolStripMenuItem1 + // + this.편집ToolStripMenuItem1.Name = "편집ToolStripMenuItem1"; + this.편집ToolStripMenuItem1.Size = new System.Drawing.Size(298, 36); + this.편집ToolStripMenuItem1.Text = "편집"; + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(295, 6); + // + // 엑셀파일로저장ToolStripMenuItem + // + this.엑셀파일로저장ToolStripMenuItem.Name = "엑셀파일로저장ToolStripMenuItem"; + this.엑셀파일로저장ToolStripMenuItem.Size = new System.Drawing.Size(298, 36); + this.엑셀파일로저장ToolStripMenuItem.Text = "목록 내보내기"; + this.엑셀파일로저장ToolStripMenuItem.Click += new System.EventHandler(this.엑셀파일로저장ToolStripMenuItem_Click); + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.EETGW_JobReport_AutoInputTableAdapter = null; + this.tam.EETGW_JobReport_EBoardTableAdapter = null; + this.tam.EETGW_NoteTableAdapter = null; + this.tam.EETGW_ProjecthistoryDTableAdapter = null; + this.tam.EETGW_ProjectResonTableAdapter = null; + this.tam.EETGW_ProjectsScheduleTableAdapter = null; + this.tam.EETGW_ProjectToDoTableAdapter = null; + this.tam.EETGW_SaveCostTableAdapter = null; + this.tam.JobReportTableAdapter = null; + this.tam.ProjectPartStatusTableAdapter = null; + this.tam.ProjectsHistoryTableAdapter = null; + this.tam.ProjectsIOMapTableAdapter = null; + this.tam.ProjectsMailListTableAdapter = null; + this.tam.ProjectsPartTableAdapter = null; + this.tam.ProjectsTableAdapter = this.ta; + this.tam.SPMasterTableAdapter = null; + this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // fpSpread1 + // + this.fpSpread1.AccessibleDescription = ""; + this.fpSpread1.AutoFitColumnOptions = FarPoint.Win.Spread.PreferredSizeColumnOptions.IncludeAll; + this.fpSpread1.AutoFitRowOptions = FarPoint.Win.Spread.PreferredSizeRowOptions.IncludeAll; + this.fpSpread1.ContextMenuStrip = this.cm; + this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; + this.fpSpread1.EditModeReplace = true; + this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.fpSpread1.Location = new System.Drawing.Point(0, 55); + this.fpSpread1.Name = "fpSpread1"; + this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1_Sheet1}); - this.fpSpread1.Size = new System.Drawing.Size(1585, 520); - 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 = 21; - 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).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "상태"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "완료"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "진행\r\n(%)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "파트"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "공정"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "요청"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "담당"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).ColumnSpan = 3; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "협업"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "자산번호"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "Model#"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "Serial#"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "프로젝트"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "대수"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "Original\r\n($K)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).StyleName = " "; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "Input\r\n($K)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "Effect\r\n($K)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "SCR/CF"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "비고"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "H/W"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "전장"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "S/W"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "Asset No."; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 19).Value = "SCR/CF"; - this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F; - 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 = 63F; - this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; - this.fpSpread1_Sheet1.Columns.Get(1).DataField = "status"; - this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(1).Tag = "state"; - this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(1).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; - this.fpSpread1_Sheet1.Columns.Get(2).DataField = "edate"; - this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(2).Width = 63F; - numberCellType2.DecimalPlaces = 0; - numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType2.MaximumValue = 2147483647D; - numberCellType2.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType2; - this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ProgressPrj"; - this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(3).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3; - this.fpSpread1_Sheet1.Columns.Get(4).DataField = "part"; - this.fpSpread1_Sheet1.Columns.Get(4).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4; - this.fpSpread1_Sheet1.Columns.Get(5).DataField = "process"; - this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(5).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; - this.fpSpread1_Sheet1.Columns.Get(6).DataField = "reqstaff"; - this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(6).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6; - this.fpSpread1_Sheet1.Columns.Get(7).DataField = "userManager"; - this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(7).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; - this.fpSpread1_Sheet1.Columns.Get(8).DataField = "usermain"; - this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(8).Label = "H/W"; - this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(8).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8; - this.fpSpread1_Sheet1.Columns.Get(9).DataField = "userhw2"; - 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; - this.fpSpread1_Sheet1.Columns.Get(9).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9; - this.fpSpread1_Sheet1.Columns.Get(10).DataField = "usersub"; - this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(10).Label = "S/W"; - 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 = textCellType10; - this.fpSpread1_Sheet1.Columns.Get(11).DataField = "asset"; - this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(11).Label = "Asset No."; - this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(11).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11; - this.fpSpread1_Sheet1.Columns.Get(12).DataField = "model"; - this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType12; - this.fpSpread1_Sheet1.Columns.Get(13).DataField = "serial"; - this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(14).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType13; - this.fpSpread1_Sheet1.Columns.Get(14).DataField = "name"; - this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(14).Width = 63F; - numberCellType3.DecimalPlaces = 0; - numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType3.MaximumValue = 2147483647D; - numberCellType3.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType3; - this.fpSpread1_Sheet1.Columns.Get(15).DataField = "cnt"; - this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(15).Width = 63F; - numberCellType4.MaximumValue = 999999999999999D; - numberCellType4.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType4; - this.fpSpread1_Sheet1.Columns.Get(16).DataField = "costo"; - this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).Width = 63F; - numberCellType5.MaximumValue = 999999999999999D; - numberCellType5.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType5; - this.fpSpread1_Sheet1.Columns.Get(17).DataField = "costn"; - this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(17).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(18).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType6.MaximumValue = 999999999999999D; - numberCellType6.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType6; - this.fpSpread1_Sheet1.Columns.Get(18).DataField = "coste"; - this.fpSpread1_Sheet1.Columns.Get(18).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - 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).CellType = textCellType14; - this.fpSpread1_Sheet1.Columns.Get(19).DataField = "orderno"; - this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(19).Label = "SCR/CF"; - this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(19).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType15; - this.fpSpread1_Sheet1.Columns.Get(20).DataField = "memo"; - this.fpSpread1_Sheet1.Columns.Get(20).Width = 63F; - this.fpSpread1_Sheet1.DataAutoSizeColumns = false; - this.fpSpread1_Sheet1.DataSource = this.bs; - this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; - this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; - // - // toolStrip1 - // - this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; - this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); - this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fpSpread1.Size = new System.Drawing.Size(1585, 520); + 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 = 21; + 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).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "상태"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "완료"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "진행\r\n(%)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "파트"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "공정"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "요청"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "담당"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).ColumnSpan = 3; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "협업"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "자산번호"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "Model#"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "Serial#"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "프로젝트"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "대수"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "Original\r\n($K)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).StyleName = " "; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "Input\r\n($K)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "Effect\r\n($K)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "SCR/CF"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "비고"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "H/W"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "전장"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "S/W"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "Asset No."; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 19).Value = "SCR/CF"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F; + 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 = 63F; + this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(1).DataField = "status"; + this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Tag = "state"; + this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(2).DataField = "edate"; + this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).Width = 63F; + numberCellType2.DecimalPlaces = 0; + numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType2.MaximumValue = 2147483647D; + numberCellType2.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType2; + this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ProgressPrj"; + this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(3).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(4).DataField = "part"; + this.fpSpread1_Sheet1.Columns.Get(4).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(5).DataField = "process"; + this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(5).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(6).DataField = "reqstaff"; + this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(6).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6; + this.fpSpread1_Sheet1.Columns.Get(7).DataField = "userManager"; + this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(7).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; + this.fpSpread1_Sheet1.Columns.Get(8).DataField = "usermain"; + this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(8).Label = "H/W"; + this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(8).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8; + this.fpSpread1_Sheet1.Columns.Get(9).DataField = "userhw2"; + 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; + this.fpSpread1_Sheet1.Columns.Get(9).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(10).DataField = "usersub"; + this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Label = "S/W"; + 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 = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(11).DataField = "asset"; + this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(11).Label = "Asset No."; + this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(11).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11; + this.fpSpread1_Sheet1.Columns.Get(12).DataField = "model"; + this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType12; + this.fpSpread1_Sheet1.Columns.Get(13).DataField = "serial"; + this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType13; + this.fpSpread1_Sheet1.Columns.Get(14).DataField = "name"; + this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).Width = 63F; + numberCellType3.DecimalPlaces = 0; + numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType3.MaximumValue = 2147483647D; + numberCellType3.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType3; + this.fpSpread1_Sheet1.Columns.Get(15).DataField = "cnt"; + this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(15).Width = 63F; + numberCellType4.MaximumValue = 999999999999999D; + numberCellType4.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType4; + this.fpSpread1_Sheet1.Columns.Get(16).DataField = "costo"; + this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(16).Width = 63F; + numberCellType5.MaximumValue = 999999999999999D; + numberCellType5.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType5; + this.fpSpread1_Sheet1.Columns.Get(17).DataField = "costn"; + this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(17).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(18).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType6.MaximumValue = 999999999999999D; + numberCellType6.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType6; + this.fpSpread1_Sheet1.Columns.Get(18).DataField = "coste"; + this.fpSpread1_Sheet1.Columns.Get(18).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + 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).CellType = textCellType14; + this.fpSpread1_Sheet1.Columns.Get(19).DataField = "orderno"; + this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(19).Label = "SCR/CF"; + this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(19).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType15; + this.fpSpread1_Sheet1.Columns.Get(20).DataField = "memo"; + this.fpSpread1_Sheet1.Columns.Get(20).Width = 63F; + this.fpSpread1_Sheet1.DataAutoSizeColumns = false; + this.fpSpread1_Sheet1.DataSource = this.bs; + this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; + // + // toolStrip1 + // + this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; + this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cmbDateType, this.cmbYearS, this.toolStripLabel4, @@ -835,58 +833,58 @@ this.toolStripSeparator4, this.toolStripLabel3, this.tbRequest}); - this.toolStrip1.Location = new System.Drawing.Point(5, 5); - this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(1355, 25); - this.toolStrip1.TabIndex = 4; - this.toolStrip1.Text = "toolStrip1"; - // - // cmbDateType - // - this.cmbDateType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbDateType.Items.AddRange(new object[] { + this.toolStrip1.Location = new System.Drawing.Point(5, 5); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(1355, 25); + this.toolStrip1.TabIndex = 4; + this.toolStrip1.Text = "toolStrip1"; + // + // cmbDateType + // + this.cmbDateType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbDateType.Items.AddRange(new object[] { "시작일기준", "완료일기준", "출고일기준"}); - this.cmbDateType.Name = "cmbDateType"; - this.cmbDateType.Size = new System.Drawing.Size(121, 25); - this.cmbDateType.Visible = false; - this.cmbDateType.Click += new System.EventHandler(this.cmbDateType_Click); - // - // cmbYearS - // - this.cmbYearS.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbYearS.DropDownWidth = 70; - this.cmbYearS.Name = "cmbYearS"; - this.cmbYearS.Size = new System.Drawing.Size(100, 25); - this.cmbYearS.Visible = false; - // - // toolStripLabel4 - // - this.toolStripLabel4.Name = "toolStripLabel4"; - this.toolStripLabel4.Size = new System.Drawing.Size(15, 22); - this.toolStripLabel4.Text = "~"; - this.toolStripLabel4.Visible = false; - // - // cmbYearE - // - this.cmbYearE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbYearE.DropDownWidth = 70; - this.cmbYearE.Name = "cmbYearE"; - this.cmbYearE.Size = new System.Drawing.Size(100, 25); - this.cmbYearE.Visible = false; - this.cmbYearE.Click += new System.EventHandler(this.cmbYearE_Click); - // - // toolStripLabel6 - // - this.toolStripLabel6.Name = "toolStripLabel6"; - this.toolStripLabel6.Size = new System.Drawing.Size(31, 22); - this.toolStripLabel6.Text = "분류"; - // - // cmbCate - // - this.cmbCate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbCate.Items.AddRange(new object[] { + this.cmbDateType.Name = "cmbDateType"; + this.cmbDateType.Size = new System.Drawing.Size(121, 25); + this.cmbDateType.Visible = false; + this.cmbDateType.Click += new System.EventHandler(this.cmbDateType_Click); + // + // cmbYearS + // + this.cmbYearS.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbYearS.DropDownWidth = 70; + this.cmbYearS.Name = "cmbYearS"; + this.cmbYearS.Size = new System.Drawing.Size(100, 25); + this.cmbYearS.Visible = false; + // + // toolStripLabel4 + // + this.toolStripLabel4.Name = "toolStripLabel4"; + this.toolStripLabel4.Size = new System.Drawing.Size(15, 22); + this.toolStripLabel4.Text = "~"; + this.toolStripLabel4.Visible = false; + // + // cmbYearE + // + this.cmbYearE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbYearE.DropDownWidth = 70; + this.cmbYearE.Name = "cmbYearE"; + this.cmbYearE.Size = new System.Drawing.Size(100, 25); + this.cmbYearE.Visible = false; + this.cmbYearE.Click += new System.EventHandler(this.cmbYearE_Click); + // + // toolStripLabel6 + // + this.toolStripLabel6.Name = "toolStripLabel6"; + this.toolStripLabel6.Size = new System.Drawing.Size(31, 22); + this.toolStripLabel6.Text = "분류"; + // + // cmbCate + // + this.cmbCate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbCate.Items.AddRange(new object[] { "---", "Origin Cost", "Input Cost", @@ -896,24 +894,24 @@ "Champion", "Requestor", "Process"}); - this.cmbCate.Name = "cmbCate"; - this.cmbCate.Size = new System.Drawing.Size(100, 25); - // - // toolStripSeparator2 - // - this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); - // - // toolStripLabel7 - // - this.toolStripLabel7.Name = "toolStripLabel7"; - this.toolStripLabel7.Size = new System.Drawing.Size(31, 22); - this.toolStripLabel7.Text = "공정"; - // - // cmbProcess - // - this.cmbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbProcess.Items.AddRange(new object[] { + this.cmbCate.Name = "cmbCate"; + this.cmbCate.Size = new System.Drawing.Size(100, 25); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); + // + // toolStripLabel7 + // + this.toolStripLabel7.Name = "toolStripLabel7"; + this.toolStripLabel7.Size = new System.Drawing.Size(31, 22); + this.toolStripLabel7.Text = "공정"; + // + // cmbProcess + // + this.cmbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbProcess.Items.AddRange(new object[] { "---", "Origin Cost", "Input Cost", @@ -923,427 +921,426 @@ "Champion", "Requestor", "Process"}); - this.cmbProcess.Name = "cmbProcess"; - this.cmbProcess.Size = new System.Drawing.Size(100, 25); - // - // toolStripSeparator4 - // - this.toolStripSeparator4.Name = "toolStripSeparator4"; - this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); - // - // toolStripLabel3 - // - this.toolStripLabel3.Name = "toolStripLabel3"; - this.toolStripLabel3.Size = new System.Drawing.Size(43, 22); - this.toolStripLabel3.Text = "담당자"; - this.toolStripLabel3.Click += new System.EventHandler(this.toolStripLabel3_Click); - // - // tbRequest - // - this.tbRequest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbRequest.Font = new System.Drawing.Font("맑은 고딕", 9F); - this.tbRequest.Name = "tbRequest"; - this.tbRequest.Size = new System.Drawing.Size(120, 25); - this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.tbRequest.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbRequest_KeyDown); - // - // label1 - // - this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.label1.Location = new System.Drawing.Point(0, 596); - this.label1.Name = "label1"; - this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); - this.label1.Size = new System.Drawing.Size(1585, 23); - this.label1.TabIndex = 5; - this.label1.Text = "--"; - this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.ColumnCount = 2; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel1.Controls.Add(this.panel4, 1, 0); - this.tableLayoutPanel1.Controls.Add(this.label2, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.richTextBox1, 0, 1); - this.tableLayoutPanel1.Controls.Add(this.richTextBox2, 1, 1); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 47); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 2; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(1585, 171); - this.tableLayoutPanel1.TabIndex = 11; - // - // panel4 - // - this.panel4.Controls.Add(this.label11); - this.panel4.Controls.Add(this.label4); - this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel4.Location = new System.Drawing.Point(792, 0); - this.panel4.Margin = new System.Windows.Forms.Padding(0); - this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(793, 25); - this.panel4.TabIndex = 0; - // - // label11 - // - this.label11.Dock = System.Windows.Forms.DockStyle.Fill; - this.label11.Location = new System.Drawing.Point(0, 0); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(693, 25); - this.label11.TabIndex = 14; - this.label11.Text = "주간 진행 내용"; - this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label4 - // - this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.label4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHist, "pdate", true)); - this.label4.Dock = System.Windows.Forms.DockStyle.Right; - this.label4.Font = new System.Drawing.Font("Cambria", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label4.Location = new System.Drawing.Point(693, 0); - this.label4.Margin = new System.Windows.Forms.Padding(0); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(100, 25); - this.label4.TabIndex = 12; - this.label4.Text = "--"; - this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // bsHist - // - this.bsHist.DataMember = "ProjectsHistory"; - this.bsHist.DataSource = this.dsMSSQL; - this.bsHist.Sort = "pdate desc"; - // - // label2 - // - this.label2.Dock = System.Windows.Forms.DockStyle.Fill; - this.label2.Font = new System.Drawing.Font("굴림", 9F); - this.label2.Location = new System.Drawing.Point(0, 0); - this.label2.Margin = new System.Windows.Forms.Padding(0); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(792, 25); - this.label2.TabIndex = 0; - this.label2.Text = "요청 사항"; - this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // richTextBox1 - // - this.richTextBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.richTextBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "remark_req", true)); - this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; - this.richTextBox1.Location = new System.Drawing.Point(3, 28); - this.richTextBox1.Name = "richTextBox1"; - this.richTextBox1.ReadOnly = true; - this.richTextBox1.Size = new System.Drawing.Size(786, 140); - this.richTextBox1.TabIndex = 1; - this.richTextBox1.Text = ""; - // - // richTextBox2 - // - this.richTextBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.richTextBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHist, "remark", true)); - this.richTextBox2.Dock = System.Windows.Forms.DockStyle.Fill; - this.richTextBox2.Location = new System.Drawing.Point(795, 28); - this.richTextBox2.Name = "richTextBox2"; - this.richTextBox2.ReadOnly = true; - this.richTextBox2.Size = new System.Drawing.Size(787, 140); - this.richTextBox2.TabIndex = 1; - this.richTextBox2.Text = ""; - this.richTextBox2.TextChanged += new System.EventHandler(this.richTextBox2_TextChanged); - // - // tableLayoutPanel2 - // - this.tableLayoutPanel2.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; - this.tableLayoutPanel2.ColumnCount = 8; - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.06266F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.06266F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.06266F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 24.81203F)); - this.tableLayoutPanel2.Controls.Add(this.label6, 0, 0); - this.tableLayoutPanel2.Controls.Add(this.label5, 6, 0); - this.tableLayoutPanel2.Controls.Add(this.label9, 2, 0); - this.tableLayoutPanel2.Controls.Add(this.label3, 4, 0); - this.tableLayoutPanel2.Controls.Add(this.label7, 1, 0); - this.tableLayoutPanel2.Controls.Add(this.label8, 3, 0); - this.tableLayoutPanel2.Controls.Add(this.label10, 5, 0); - this.tableLayoutPanel2.Controls.Add(this.label12, 7, 0); - this.tableLayoutPanel2.Controls.Add(this.label13, 0, 1); - this.tableLayoutPanel2.Controls.Add(this.label14, 2, 1); - this.tableLayoutPanel2.Controls.Add(this.label15, 4, 1); - this.tableLayoutPanel2.Controls.Add(this.label16, 6, 1); - this.tableLayoutPanel2.Controls.Add(this.sbSumO, 3, 1); - this.tableLayoutPanel2.Controls.Add(this.sbSumI, 5, 1); - this.tableLayoutPanel2.Controls.Add(this.sbSumE, 7, 1); - this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Top; - this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel2.Name = "tableLayoutPanel2"; - this.tableLayoutPanel2.RowCount = 2; - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel2.Size = new System.Drawing.Size(1585, 47); - this.tableLayoutPanel2.TabIndex = 12; - // - // label6 - // - this.label6.Dock = System.Windows.Forms.DockStyle.Fill; - this.label6.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label6.Location = new System.Drawing.Point(4, 1); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(74, 24); - this.label6.TabIndex = 0; - this.label6.Text = "Start"; - this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.toolTip1.SetToolTip(this.label6, "시작일"); - // - // label5 - // - this.label5.Dock = System.Windows.Forms.DockStyle.Fill; - this.label5.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label5.Location = new System.Drawing.Point(1192, 1); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(74, 24); - this.label5.TabIndex = 0; - this.label5.Text = "End(ww)"; - this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.toolTip1.SetToolTip(this.label5, "완료일"); - // - // label9 - // - this.label9.Dock = System.Windows.Forms.DockStyle.Fill; - this.label9.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.label9.Location = new System.Drawing.Point(400, 1); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(74, 24); - this.label9.TabIndex = 0; - this.label9.Text = "Due(ww)"; - this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.toolTip1.SetToolTip(this.label9, "예상완료일"); - // - // label3 - // - this.label3.Dock = System.Windows.Forms.DockStyle.Fill; - this.label3.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); - this.label3.Location = new System.Drawing.Point(796, 1); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(74, 24); - this.label3.TabIndex = 0; - this.label3.Text = "Out(ww)"; - this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.toolTip1.SetToolTip(this.label3, "출고일(프로그램의 경우 설치일)"); - // - // label7 - // - this.label7.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sdate", true)); - this.label7.Dock = System.Windows.Forms.DockStyle.Fill; - this.label7.Location = new System.Drawing.Point(85, 1); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(308, 24); - this.label7.TabIndex = 1; - this.label7.Text = "--"; - this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label8 - // - this.label8.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ddate", true)); - this.label8.Dock = System.Windows.Forms.DockStyle.Fill; - this.label8.Location = new System.Drawing.Point(481, 1); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(308, 24); - this.label8.TabIndex = 1; - this.label8.Text = "--"; - this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label10 - // - this.label10.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "odate", true)); - this.label10.Dock = System.Windows.Forms.DockStyle.Fill; - this.label10.Location = new System.Drawing.Point(877, 1); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(308, 24); - this.label10.TabIndex = 1; - this.label10.Text = "--"; - this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label12 - // - this.label12.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "edate", true)); - this.label12.Dock = System.Windows.Forms.DockStyle.Fill; - this.label12.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.label12.Location = new System.Drawing.Point(1273, 1); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(308, 24); - this.label12.TabIndex = 1; - this.label12.Text = "--"; - this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label13 - // - this.label13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.tableLayoutPanel2.SetColumnSpan(this.label13, 2); - this.label13.Dock = System.Windows.Forms.DockStyle.Fill; - this.label13.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label13.Location = new System.Drawing.Point(1, 26); - this.label13.Margin = new System.Windows.Forms.Padding(0); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(395, 20); - this.label13.TabIndex = 0; - this.label13.Text = "Cost Summary"; - this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label14 - // - this.label14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.label14.Dock = System.Windows.Forms.DockStyle.Fill; - this.label14.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label14.Location = new System.Drawing.Point(397, 26); - this.label14.Margin = new System.Windows.Forms.Padding(0); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(80, 20); - this.label14.TabIndex = 0; - this.label14.Text = "Origin"; - this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label15 - // - this.label15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.label15.Dock = System.Windows.Forms.DockStyle.Fill; - this.label15.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label15.Location = new System.Drawing.Point(793, 26); - this.label15.Margin = new System.Windows.Forms.Padding(0); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(80, 20); - this.label15.TabIndex = 0; - this.label15.Text = "Input"; - this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label16 - // - this.label16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.label16.Dock = System.Windows.Forms.DockStyle.Fill; - this.label16.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label16.Location = new System.Drawing.Point(1189, 26); - this.label16.Margin = new System.Windows.Forms.Padding(0); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(80, 20); - this.label16.TabIndex = 0; - this.label16.Text = "Effect"; - this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // sbSumO - // - this.sbSumO.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.sbSumO.Dock = System.Windows.Forms.DockStyle.Fill; - this.sbSumO.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold); - this.sbSumO.Location = new System.Drawing.Point(478, 26); - this.sbSumO.Margin = new System.Windows.Forms.Padding(0); - this.sbSumO.Name = "sbSumO"; - this.sbSumO.Size = new System.Drawing.Size(314, 20); - this.sbSumO.TabIndex = 1; - this.sbSumO.Text = "--"; - this.sbSumO.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // sbSumI - // - this.sbSumI.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.sbSumI.Dock = System.Windows.Forms.DockStyle.Fill; - this.sbSumI.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold); - this.sbSumI.Location = new System.Drawing.Point(874, 26); - this.sbSumI.Margin = new System.Windows.Forms.Padding(0); - this.sbSumI.Name = "sbSumI"; - this.sbSumI.Size = new System.Drawing.Size(314, 20); - this.sbSumI.TabIndex = 1; - this.sbSumI.Text = "--"; - this.sbSumI.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // sbSumE - // - this.sbSumE.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.sbSumE.Dock = System.Windows.Forms.DockStyle.Fill; - this.sbSumE.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.sbSumE.Location = new System.Drawing.Point(1270, 26); - this.sbSumE.Margin = new System.Windows.Forms.Padding(0); - this.sbSumE.Name = "sbSumE"; - this.sbSumE.Size = new System.Drawing.Size(314, 20); - this.sbSumE.TabIndex = 1; - this.sbSumE.Text = "--"; - this.sbSumE.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // taHist - // - this.taHist.ClearBeforeFill = true; - // - // prb1 - // - this.prb1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); - this.prb1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); - this.prb1.BackgroundImagePadding = new System.Windows.Forms.Padding(0); - this.prb1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(24)))), ((int)(((byte)(24))))); - this.prb1.BorderColorOver = System.Drawing.Color.Red; - this.prb1.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); - this.prb1.ColorTheme = arCtl.arLabel.eColorTheme.Custom; - this.tableLayoutPanel3.SetColumnSpan(this.prb1, 4); - this.prb1.Cursor = System.Windows.Forms.Cursors.Arrow; - this.prb1.Dock = System.Windows.Forms.DockStyle.Fill; - this.prb1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.prb1.ForeColor = System.Drawing.Color.Black; - this.prb1.GradientEnable = true; - this.prb1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; - this.prb1.GradientRepeatBG = false; - this.prb1.isButton = false; - this.prb1.Location = new System.Drawing.Point(153, 5); - this.prb1.Margin = new System.Windows.Forms.Padding(5); - this.prb1.MouseDownColor = System.Drawing.Color.Yellow; - this.prb1.MouseOverColor = System.Drawing.Color.Yellow; - this.prb1.msg = null; - this.prb1.Name = "prb1"; - this.prb1.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); - this.prb1.ProgressBorderColor = System.Drawing.Color.Black; - this.prb1.ProgressColor1 = System.Drawing.Color.Lime; - this.prb1.ProgressColor2 = System.Drawing.Color.Green; - this.prb1.ProgressEnable = true; - this.prb1.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); - this.prb1.ProgressForeColor = System.Drawing.Color.White; - this.prb1.ProgressMax = 100F; - this.prb1.ProgressMin = 0F; - this.prb1.ProgressPadding = new System.Windows.Forms.Padding(0); - this.prb1.ProgressValue = 50F; - this.prb1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.prb1.Sign = ""; - this.prb1.SignAlign = System.Drawing.ContentAlignment.BottomRight; - this.prb1.SignColor = System.Drawing.Color.Yellow; - this.prb1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); - this.prb1.Size = new System.Drawing.Size(1427, 11); - this.prb1.TabIndex = 32; - this.prb1.TextAlign = System.Drawing.ContentAlignment.TopCenter; - this.prb1.TextShadow = false; - this.prb1.TextVisible = true; - this.toolTip1.SetToolTip(this.prb1, "구매대상 중 구매완료 율"); - // - // panel3 - // - this.panel3.Controls.Add(this.tableLayoutPanel1); - this.panel3.Controls.Add(this.tableLayoutPanel2); - this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel3.Location = new System.Drawing.Point(0, 619); - this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(1585, 218); - this.panel3.TabIndex = 7; - // - // toolStrip2 - // - this.toolStrip2.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; - this.toolStrip2.ImageScalingSize = new System.Drawing.Size(20, 20); - this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.cmbProcess.Name = "cmbProcess"; + this.cmbProcess.Size = new System.Drawing.Size(100, 25); + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); + // + // toolStripLabel3 + // + this.toolStripLabel3.Name = "toolStripLabel3"; + this.toolStripLabel3.Size = new System.Drawing.Size(43, 22); + this.toolStripLabel3.Text = "담당자"; + this.toolStripLabel3.Click += new System.EventHandler(this.toolStripLabel3_Click); + // + // tbRequest + // + this.tbRequest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbRequest.Name = "tbRequest"; + this.tbRequest.Size = new System.Drawing.Size(120, 25); + this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.tbRequest.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbRequest_KeyDown); + // + // label1 + // + this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label1.Location = new System.Drawing.Point(0, 596); + this.label1.Name = "label1"; + this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); + this.label1.Size = new System.Drawing.Size(1585, 23); + this.label1.TabIndex = 5; + this.label1.Text = "--"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.ColumnCount = 2; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.Controls.Add(this.panel4, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.label2, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.richTextBox1, 0, 1); + this.tableLayoutPanel1.Controls.Add(this.richTextBox2, 1, 1); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 47); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 2; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1585, 171); + this.tableLayoutPanel1.TabIndex = 11; + // + // panel4 + // + this.panel4.Controls.Add(this.label11); + this.panel4.Controls.Add(this.label4); + this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel4.Location = new System.Drawing.Point(792, 0); + this.panel4.Margin = new System.Windows.Forms.Padding(0); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(793, 25); + this.panel4.TabIndex = 0; + // + // label11 + // + this.label11.Dock = System.Windows.Forms.DockStyle.Fill; + this.label11.Location = new System.Drawing.Point(0, 0); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(693, 25); + this.label11.TabIndex = 14; + this.label11.Text = "주간 진행 내용"; + this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label4 + // + this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.label4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHist, "pdate", true)); + this.label4.Dock = System.Windows.Forms.DockStyle.Right; + this.label4.Font = new System.Drawing.Font("Cambria", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label4.Location = new System.Drawing.Point(693, 0); + this.label4.Margin = new System.Windows.Forms.Padding(0); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(100, 25); + this.label4.TabIndex = 12; + this.label4.Text = "--"; + this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // bsHist + // + this.bsHist.DataMember = "ProjectsHistory"; + this.bsHist.DataSource = this.dsMSSQL; + this.bsHist.Sort = "pdate desc"; + // + // label2 + // + this.label2.Dock = System.Windows.Forms.DockStyle.Fill; + this.label2.Font = new System.Drawing.Font("굴림", 9F); + this.label2.Location = new System.Drawing.Point(0, 0); + this.label2.Margin = new System.Windows.Forms.Padding(0); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(792, 25); + this.label2.TabIndex = 0; + this.label2.Text = "요청 사항"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // richTextBox1 + // + this.richTextBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.richTextBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "remark_req", true)); + this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.richTextBox1.Location = new System.Drawing.Point(3, 28); + this.richTextBox1.Name = "richTextBox1"; + this.richTextBox1.ReadOnly = true; + this.richTextBox1.Size = new System.Drawing.Size(786, 140); + this.richTextBox1.TabIndex = 1; + this.richTextBox1.Text = ""; + // + // richTextBox2 + // + this.richTextBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.richTextBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHist, "remark", true)); + this.richTextBox2.Dock = System.Windows.Forms.DockStyle.Fill; + this.richTextBox2.Location = new System.Drawing.Point(795, 28); + this.richTextBox2.Name = "richTextBox2"; + this.richTextBox2.ReadOnly = true; + this.richTextBox2.Size = new System.Drawing.Size(787, 140); + this.richTextBox2.TabIndex = 1; + this.richTextBox2.Text = ""; + this.richTextBox2.TextChanged += new System.EventHandler(this.richTextBox2_TextChanged); + // + // tableLayoutPanel2 + // + this.tableLayoutPanel2.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; + this.tableLayoutPanel2.ColumnCount = 8; + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.06266F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.06266F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.06266F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 24.81203F)); + this.tableLayoutPanel2.Controls.Add(this.label6, 0, 0); + this.tableLayoutPanel2.Controls.Add(this.label5, 6, 0); + this.tableLayoutPanel2.Controls.Add(this.label9, 2, 0); + this.tableLayoutPanel2.Controls.Add(this.label3, 4, 0); + this.tableLayoutPanel2.Controls.Add(this.label7, 1, 0); + this.tableLayoutPanel2.Controls.Add(this.label8, 3, 0); + this.tableLayoutPanel2.Controls.Add(this.label10, 5, 0); + this.tableLayoutPanel2.Controls.Add(this.label12, 7, 0); + this.tableLayoutPanel2.Controls.Add(this.label13, 0, 1); + this.tableLayoutPanel2.Controls.Add(this.label14, 2, 1); + this.tableLayoutPanel2.Controls.Add(this.label15, 4, 1); + this.tableLayoutPanel2.Controls.Add(this.label16, 6, 1); + this.tableLayoutPanel2.Controls.Add(this.sbSumO, 3, 1); + this.tableLayoutPanel2.Controls.Add(this.sbSumI, 5, 1); + this.tableLayoutPanel2.Controls.Add(this.sbSumE, 7, 1); + this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Top; + this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0); + this.tableLayoutPanel2.Name = "tableLayoutPanel2"; + this.tableLayoutPanel2.RowCount = 2; + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel2.Size = new System.Drawing.Size(1585, 47); + this.tableLayoutPanel2.TabIndex = 12; + // + // label6 + // + this.label6.Dock = System.Windows.Forms.DockStyle.Fill; + this.label6.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label6.Location = new System.Drawing.Point(4, 1); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(74, 24); + this.label6.TabIndex = 0; + this.label6.Text = "Start"; + this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.toolTip1.SetToolTip(this.label6, "시작일"); + // + // label5 + // + this.label5.Dock = System.Windows.Forms.DockStyle.Fill; + this.label5.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label5.Location = new System.Drawing.Point(1192, 1); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(74, 24); + this.label5.TabIndex = 0; + this.label5.Text = "End(ww)"; + this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.toolTip1.SetToolTip(this.label5, "완료일"); + // + // label9 + // + this.label9.Dock = System.Windows.Forms.DockStyle.Fill; + this.label9.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); + this.label9.Location = new System.Drawing.Point(400, 1); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(74, 24); + this.label9.TabIndex = 0; + this.label9.Text = "Due(ww)"; + this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.toolTip1.SetToolTip(this.label9, "예상완료일"); + // + // label3 + // + this.label3.Dock = System.Windows.Forms.DockStyle.Fill; + this.label3.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); + this.label3.Location = new System.Drawing.Point(796, 1); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(74, 24); + this.label3.TabIndex = 0; + this.label3.Text = "Out(ww)"; + this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.toolTip1.SetToolTip(this.label3, "출고일(프로그램의 경우 설치일)"); + // + // label7 + // + this.label7.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sdate", true)); + this.label7.Dock = System.Windows.Forms.DockStyle.Fill; + this.label7.Location = new System.Drawing.Point(85, 1); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(308, 24); + this.label7.TabIndex = 1; + this.label7.Text = "--"; + this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label8 + // + this.label8.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ddate", true)); + this.label8.Dock = System.Windows.Forms.DockStyle.Fill; + this.label8.Location = new System.Drawing.Point(481, 1); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(308, 24); + this.label8.TabIndex = 1; + this.label8.Text = "--"; + this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label10 + // + this.label10.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "odate", true)); + this.label10.Dock = System.Windows.Forms.DockStyle.Fill; + this.label10.Location = new System.Drawing.Point(877, 1); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(308, 24); + this.label10.TabIndex = 1; + this.label10.Text = "--"; + this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label12 + // + this.label12.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "edate", true)); + this.label12.Dock = System.Windows.Forms.DockStyle.Fill; + this.label12.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label12.Location = new System.Drawing.Point(1273, 1); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(308, 24); + this.label12.TabIndex = 1; + this.label12.Text = "--"; + this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label13 + // + this.label13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.tableLayoutPanel2.SetColumnSpan(this.label13, 2); + this.label13.Dock = System.Windows.Forms.DockStyle.Fill; + this.label13.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label13.Location = new System.Drawing.Point(1, 26); + this.label13.Margin = new System.Windows.Forms.Padding(0); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(395, 20); + this.label13.TabIndex = 0; + this.label13.Text = "Cost Summary"; + this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label14 + // + this.label14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.label14.Dock = System.Windows.Forms.DockStyle.Fill; + this.label14.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label14.Location = new System.Drawing.Point(397, 26); + this.label14.Margin = new System.Windows.Forms.Padding(0); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(80, 20); + this.label14.TabIndex = 0; + this.label14.Text = "Origin"; + this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label15 + // + this.label15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.label15.Dock = System.Windows.Forms.DockStyle.Fill; + this.label15.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label15.Location = new System.Drawing.Point(793, 26); + this.label15.Margin = new System.Windows.Forms.Padding(0); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(80, 20); + this.label15.TabIndex = 0; + this.label15.Text = "Input"; + this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label16 + // + this.label16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.label16.Dock = System.Windows.Forms.DockStyle.Fill; + this.label16.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label16.Location = new System.Drawing.Point(1189, 26); + this.label16.Margin = new System.Windows.Forms.Padding(0); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(80, 20); + this.label16.TabIndex = 0; + this.label16.Text = "Effect"; + this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // sbSumO + // + this.sbSumO.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.sbSumO.Dock = System.Windows.Forms.DockStyle.Fill; + this.sbSumO.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold); + this.sbSumO.Location = new System.Drawing.Point(478, 26); + this.sbSumO.Margin = new System.Windows.Forms.Padding(0); + this.sbSumO.Name = "sbSumO"; + this.sbSumO.Size = new System.Drawing.Size(314, 20); + this.sbSumO.TabIndex = 1; + this.sbSumO.Text = "--"; + this.sbSumO.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // sbSumI + // + this.sbSumI.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.sbSumI.Dock = System.Windows.Forms.DockStyle.Fill; + this.sbSumI.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold); + this.sbSumI.Location = new System.Drawing.Point(874, 26); + this.sbSumI.Margin = new System.Windows.Forms.Padding(0); + this.sbSumI.Name = "sbSumI"; + this.sbSumI.Size = new System.Drawing.Size(314, 20); + this.sbSumI.TabIndex = 1; + this.sbSumI.Text = "--"; + this.sbSumI.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // sbSumE + // + this.sbSumE.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.sbSumE.Dock = System.Windows.Forms.DockStyle.Fill; + this.sbSumE.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.sbSumE.Location = new System.Drawing.Point(1270, 26); + this.sbSumE.Margin = new System.Windows.Forms.Padding(0); + this.sbSumE.Name = "sbSumE"; + this.sbSumE.Size = new System.Drawing.Size(314, 20); + this.sbSumE.TabIndex = 1; + this.sbSumE.Text = "--"; + this.sbSumE.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // taHist + // + this.taHist.ClearBeforeFill = true; + // + // prb1 + // + this.prb1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); + this.prb1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); + this.prb1.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.prb1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(24)))), ((int)(((byte)(24))))); + this.prb1.BorderColorOver = System.Drawing.Color.Red; + this.prb1.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4); + this.prb1.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.tableLayoutPanel3.SetColumnSpan(this.prb1, 4); + this.prb1.Cursor = System.Windows.Forms.Cursors.Arrow; + this.prb1.Dock = System.Windows.Forms.DockStyle.Fill; + this.prb1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.prb1.ForeColor = System.Drawing.Color.Black; + this.prb1.GradientEnable = true; + this.prb1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; + this.prb1.GradientRepeatBG = false; + this.prb1.isButton = false; + this.prb1.Location = new System.Drawing.Point(153, 5); + this.prb1.Margin = new System.Windows.Forms.Padding(5); + this.prb1.MouseDownColor = System.Drawing.Color.Yellow; + this.prb1.MouseOverColor = System.Drawing.Color.Yellow; + this.prb1.msg = null; + this.prb1.Name = "prb1"; + this.prb1.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0); + this.prb1.ProgressBorderColor = System.Drawing.Color.Black; + this.prb1.ProgressColor1 = System.Drawing.Color.Lime; + this.prb1.ProgressColor2 = System.Drawing.Color.Green; + this.prb1.ProgressEnable = true; + this.prb1.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold); + this.prb1.ProgressForeColor = System.Drawing.Color.White; + this.prb1.ProgressMax = 100F; + this.prb1.ProgressMin = 0F; + this.prb1.ProgressPadding = new System.Windows.Forms.Padding(0); + this.prb1.ProgressValue = 50F; + this.prb1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); + this.prb1.Sign = ""; + this.prb1.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.prb1.SignColor = System.Drawing.Color.Yellow; + this.prb1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); + this.prb1.Size = new System.Drawing.Size(1427, 11); + this.prb1.TabIndex = 32; + this.prb1.TextAlign = System.Drawing.ContentAlignment.TopCenter; + this.prb1.TextShadow = false; + this.prb1.TextVisible = true; + this.toolTip1.SetToolTip(this.prb1, "구매대상 중 구매완료 율"); + // + // panel3 + // + this.panel3.Controls.Add(this.tableLayoutPanel1); + this.panel3.Controls.Add(this.tableLayoutPanel2); + this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel3.Location = new System.Drawing.Point(0, 619); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(1585, 218); + this.panel3.TabIndex = 7; + // + // toolStrip2 + // + this.toolStrip2.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; + this.toolStrip2.ImageScalingSize = new System.Drawing.Size(20, 20); + this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel8, this.toolStripSeparator8, this.chk검토, @@ -1351,127 +1348,134 @@ this.chk진행, this.chk보류, this.chk취소, - this.chk완료, this.chk완료보고, + this.chk완료, this.btViewDel, this.toolStripSeparator3, this.toolStripLabel2, this.cmbSort}); - this.toolStrip2.Location = new System.Drawing.Point(5, 30); - this.toolStrip2.Name = "toolStrip2"; - this.toolStrip2.Size = new System.Drawing.Size(1355, 27); - this.toolStrip2.TabIndex = 8; - this.toolStrip2.Text = "toolStrip2"; - // - // toolStripLabel8 - // - this.toolStripLabel8.Name = "toolStripLabel8"; - this.toolStripLabel8.Size = new System.Drawing.Size(83, 24); - this.toolStripLabel8.Text = "표시항목 선택"; - // - // toolStripSeparator8 - // - this.toolStripSeparator8.Name = "toolStripSeparator8"; - this.toolStripSeparator8.Size = new System.Drawing.Size(6, 27); - // - // chk검토 - // - this.chk검토.Checked = true; - this.chk검토.CheckOnClick = true; - this.chk검토.CheckState = System.Windows.Forms.CheckState.Checked; - this.chk검토.Image = ((System.Drawing.Image)(resources.GetObject("chk검토.Image"))); - this.chk검토.ImageTransparentColor = System.Drawing.Color.Magenta; - this.chk검토.Name = "chk검토"; - this.chk검토.Size = new System.Drawing.Size(55, 24); - this.chk검토.Text = "검토"; - // - // chk대기 - // - this.chk대기.Checked = true; - this.chk대기.CheckOnClick = true; - this.chk대기.CheckState = System.Windows.Forms.CheckState.Checked; - this.chk대기.Image = ((System.Drawing.Image)(resources.GetObject("chk대기.Image"))); - this.chk대기.ImageTransparentColor = System.Drawing.Color.Magenta; - this.chk대기.Name = "chk대기"; - this.chk대기.Size = new System.Drawing.Size(55, 24); - this.chk대기.Text = "대기"; - // - // chk진행 - // - this.chk진행.Checked = true; - this.chk진행.CheckOnClick = true; - this.chk진행.CheckState = System.Windows.Forms.CheckState.Checked; - this.chk진행.Image = ((System.Drawing.Image)(resources.GetObject("chk진행.Image"))); - this.chk진행.ImageTransparentColor = System.Drawing.Color.Magenta; - this.chk진행.Name = "chk진행"; - this.chk진행.Size = new System.Drawing.Size(55, 24); - this.chk진행.Text = "진행"; - // - // chk보류 - // - this.chk보류.Checked = true; - this.chk보류.CheckOnClick = true; - this.chk보류.CheckState = System.Windows.Forms.CheckState.Checked; - this.chk보류.Image = ((System.Drawing.Image)(resources.GetObject("chk보류.Image"))); - this.chk보류.ImageTransparentColor = System.Drawing.Color.Magenta; - this.chk보류.Name = "chk보류"; - this.chk보류.Size = new System.Drawing.Size(55, 24); - this.chk보류.Text = "보류"; - // - // chk취소 - // - this.chk취소.CheckOnClick = true; - this.chk취소.Image = ((System.Drawing.Image)(resources.GetObject("chk취소.Image"))); - this.chk취소.ImageTransparentColor = System.Drawing.Color.Magenta; - this.chk취소.Name = "chk취소"; - this.chk취소.Size = new System.Drawing.Size(55, 24); - this.chk취소.Text = "취소"; - // - // chk완료 - // - this.chk완료.Checked = true; - this.chk완료.CheckOnClick = true; - this.chk완료.CheckState = System.Windows.Forms.CheckState.Checked; - this.chk완료.Image = ((System.Drawing.Image)(resources.GetObject("chk완료.Image"))); - this.chk완료.ImageTransparentColor = System.Drawing.Color.Magenta; - this.chk완료.Name = "chk완료"; - this.chk완료.Size = new System.Drawing.Size(55, 24); - this.chk완료.Text = "완료"; - // - // chk완료보고 - // - this.chk완료보고.CheckOnClick = true; - this.chk완료보고.ForeColor = System.Drawing.Color.Green; - this.chk완료보고.Image = ((System.Drawing.Image)(resources.GetObject("chk완료보고.Image"))); - this.chk완료보고.ImageTransparentColor = System.Drawing.Color.Magenta; - this.chk완료보고.Name = "chk완료보고"; - this.chk완료보고.Size = new System.Drawing.Size(87, 24); - this.chk완료보고.Text = "완료(보고)"; - // - // btViewDel - // - this.btViewDel.CheckOnClick = true; - this.btViewDel.Image = ((System.Drawing.Image)(resources.GetObject("btViewDel.Image"))); - this.btViewDel.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btViewDel.Name = "btViewDel"; - this.btViewDel.Size = new System.Drawing.Size(79, 24); - this.btViewDel.Text = "삭제자료"; - // - // toolStripSeparator3 - // - this.toolStripSeparator3.Name = "toolStripSeparator3"; - this.toolStripSeparator3.Size = new System.Drawing.Size(6, 27); - // - // toolStripLabel2 - // - this.toolStripLabel2.Name = "toolStripLabel2"; - this.toolStripLabel2.Size = new System.Drawing.Size(55, 24); - this.toolStripLabel2.Text = "정렬방식"; - // - // cmbSort - // - this.cmbSort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbSort.Items.AddRange(new object[] { + this.toolStrip2.Location = new System.Drawing.Point(5, 30); + this.toolStrip2.Name = "toolStrip2"; + this.toolStrip2.Size = new System.Drawing.Size(1355, 27); + this.toolStrip2.TabIndex = 8; + this.toolStrip2.Text = "toolStrip2"; + // + // toolStripLabel8 + // + this.toolStripLabel8.Name = "toolStripLabel8"; + this.toolStripLabel8.Size = new System.Drawing.Size(83, 24); + this.toolStripLabel8.Text = "표시항목 선택"; + // + // toolStripSeparator8 + // + this.toolStripSeparator8.Name = "toolStripSeparator8"; + this.toolStripSeparator8.Size = new System.Drawing.Size(6, 27); + // + // chk검토 + // + this.chk검토.Checked = true; + this.chk검토.CheckOnClick = true; + this.chk검토.CheckState = System.Windows.Forms.CheckState.Checked; + this.chk검토.Image = ((System.Drawing.Image)(resources.GetObject("chk검토.Image"))); + this.chk검토.ImageTransparentColor = System.Drawing.Color.Magenta; + this.chk검토.Name = "chk검토"; + this.chk검토.Size = new System.Drawing.Size(55, 24); + this.chk검토.Text = "검토"; + this.chk검토.CheckedChanged += new System.EventHandler(this.chk검토_CheckedChanged); + // + // chk대기 + // + this.chk대기.Checked = true; + this.chk대기.CheckOnClick = true; + this.chk대기.CheckState = System.Windows.Forms.CheckState.Checked; + this.chk대기.Image = ((System.Drawing.Image)(resources.GetObject("chk대기.Image"))); + this.chk대기.ImageTransparentColor = System.Drawing.Color.Magenta; + this.chk대기.Name = "chk대기"; + this.chk대기.Size = new System.Drawing.Size(55, 24); + this.chk대기.Text = "대기"; + this.chk대기.CheckedChanged += new System.EventHandler(this.chk검토_CheckedChanged); + // + // chk진행 + // + this.chk진행.Checked = true; + this.chk진행.CheckOnClick = true; + this.chk진행.CheckState = System.Windows.Forms.CheckState.Checked; + this.chk진행.Image = ((System.Drawing.Image)(resources.GetObject("chk진행.Image"))); + this.chk진행.ImageTransparentColor = System.Drawing.Color.Magenta; + this.chk진행.Name = "chk진행"; + this.chk진행.Size = new System.Drawing.Size(55, 24); + this.chk진행.Text = "진행"; + this.chk진행.CheckedChanged += new System.EventHandler(this.chk검토_CheckedChanged); + // + // chk보류 + // + this.chk보류.Checked = true; + this.chk보류.CheckOnClick = true; + this.chk보류.CheckState = System.Windows.Forms.CheckState.Checked; + this.chk보류.Image = ((System.Drawing.Image)(resources.GetObject("chk보류.Image"))); + this.chk보류.ImageTransparentColor = System.Drawing.Color.Magenta; + this.chk보류.Name = "chk보류"; + this.chk보류.Size = new System.Drawing.Size(55, 24); + this.chk보류.Text = "보류"; + this.chk보류.CheckedChanged += new System.EventHandler(this.chk검토_CheckedChanged); + // + // chk취소 + // + this.chk취소.CheckOnClick = true; + this.chk취소.Image = ((System.Drawing.Image)(resources.GetObject("chk취소.Image"))); + this.chk취소.ImageTransparentColor = System.Drawing.Color.Magenta; + this.chk취소.Name = "chk취소"; + this.chk취소.Size = new System.Drawing.Size(55, 24); + this.chk취소.Text = "취소"; + this.chk취소.CheckedChanged += new System.EventHandler(this.chk검토_CheckedChanged); + // + // chk완료 + // + this.chk완료.Checked = true; + this.chk완료.CheckOnClick = true; + this.chk완료.CheckState = System.Windows.Forms.CheckState.Checked; + this.chk완료.Image = ((System.Drawing.Image)(resources.GetObject("chk완료.Image"))); + this.chk완료.ImageTransparentColor = System.Drawing.Color.Magenta; + this.chk완료.Name = "chk완료"; + this.chk완료.Size = new System.Drawing.Size(55, 24); + this.chk완료.Text = "완료"; + this.chk완료.CheckedChanged += new System.EventHandler(this.chk검토_CheckedChanged); + // + // chk완료보고 + // + this.chk완료보고.CheckOnClick = true; + this.chk완료보고.ForeColor = System.Drawing.Color.Green; + this.chk완료보고.Image = ((System.Drawing.Image)(resources.GetObject("chk완료보고.Image"))); + this.chk완료보고.ImageTransparentColor = System.Drawing.Color.Magenta; + this.chk완료보고.Name = "chk완료보고"; + this.chk완료보고.Size = new System.Drawing.Size(87, 24); + this.chk완료보고.Text = "완료(보고)"; + this.chk완료보고.CheckedChanged += new System.EventHandler(this.chk검토_CheckedChanged); + // + // btViewDel + // + this.btViewDel.CheckOnClick = true; + this.btViewDel.Image = ((System.Drawing.Image)(resources.GetObject("btViewDel.Image"))); + this.btViewDel.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btViewDel.Name = "btViewDel"; + this.btViewDel.Size = new System.Drawing.Size(79, 24); + this.btViewDel.Text = "삭제자료"; + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(6, 27); + // + // toolStripLabel2 + // + this.toolStripLabel2.Name = "toolStripLabel2"; + this.toolStripLabel2.Size = new System.Drawing.Size(55, 24); + this.toolStripLabel2.Text = "정렬방식"; + // + // cmbSort + // + this.cmbSort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbSort.Items.AddRange(new object[] { "---", "Origin Cost", "Input Cost", @@ -1481,118 +1485,118 @@ "Champion", "Requestor", "Process"}); - this.cmbSort.Name = "cmbSort"; - this.cmbSort.Size = new System.Drawing.Size(100, 27); - this.cmbSort.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBox1_SelectedIndexChanged); - // - // panel1 - // - this.panel1.Controls.Add(this.toolStrip2); - this.panel1.Controls.Add(this.toolStrip1); - this.panel1.Controls.Add(this.btSearch); - this.panel1.Controls.Add(this.button1); - this.panel1.Dock = System.Windows.Forms.DockStyle.Top; - this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Name = "panel1"; - this.panel1.Padding = new System.Windows.Forms.Padding(5); - this.panel1.Size = new System.Drawing.Size(1585, 55); - this.panel1.TabIndex = 9; - // - // btSearch - // - this.btSearch.Dock = System.Windows.Forms.DockStyle.Right; - this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); - this.btSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btSearch.Location = new System.Drawing.Point(1360, 5); - this.btSearch.Name = "btSearch"; - this.btSearch.Padding = new System.Windows.Forms.Padding(5, 0, 3, 0); - this.btSearch.Size = new System.Drawing.Size(122, 45); - this.btSearch.TabIndex = 9; - this.btSearch.Text = "새로고침(&R)"; - this.btSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.btSearch.UseVisualStyleBackColor = true; - this.btSearch.Click += new System.EventHandler(this.button2_Click); - // - // button1 - // - this.button1.Dock = System.Windows.Forms.DockStyle.Right; - this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image"))); - this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.button1.Location = new System.Drawing.Point(1482, 5); - this.button1.Name = "button1"; - this.button1.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.button1.Size = new System.Drawing.Size(98, 45); - this.button1.TabIndex = 0; - this.button1.Text = "닫기"; - this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click_1); - // - // tableLayoutPanel3 - // - this.tableLayoutPanel3.ColumnCount = 5; - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 148F)); - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); - this.tableLayoutPanel3.Controls.Add(this.label17, 0, 0); - this.tableLayoutPanel3.Controls.Add(this.prb1, 1, 0); - this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Bottom; - this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 575); - this.tableLayoutPanel3.Name = "tableLayoutPanel3"; - this.tableLayoutPanel3.RowCount = 1; - this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel3.Size = new System.Drawing.Size(1585, 21); - this.tableLayoutPanel3.TabIndex = 34; - // - // label17 - // - this.label17.Dock = System.Windows.Forms.DockStyle.Fill; - this.label17.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label17.Location = new System.Drawing.Point(3, 0); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(142, 21); - this.label17.TabIndex = 0; - this.label17.Text = "구매 진행"; - this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // fProjectList - // - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; - this.ClientSize = new System.Drawing.Size(1585, 862); - this.Controls.Add(this.fpSpread1); - this.Controls.Add(this.tableLayoutPanel3); - this.Controls.Add(this.panel1); - this.Controls.Add(this.label1); - this.Controls.Add(this.panel3); - this.Controls.Add(this.bn); - this.Name = "fProjectList"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "프로젝트 목록"; - this.Load += new System.EventHandler(this.@__Load); - ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); - this.bn.ResumeLayout(false); - this.bn.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); - ((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); - this.panel4.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.bsHist)).EndInit(); - this.tableLayoutPanel2.ResumeLayout(false); - this.panel3.ResumeLayout(false); - this.toolStrip2.ResumeLayout(false); - this.toolStrip2.PerformLayout(); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - this.tableLayoutPanel3.ResumeLayout(false); - this.ResumeLayout(false); - this.PerformLayout(); + this.cmbSort.Name = "cmbSort"; + this.cmbSort.Size = new System.Drawing.Size(100, 27); + this.cmbSort.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBox1_SelectedIndexChanged); + // + // panel1 + // + this.panel1.Controls.Add(this.toolStrip2); + this.panel1.Controls.Add(this.toolStrip1); + this.panel1.Controls.Add(this.btSearch); + this.panel1.Controls.Add(this.button1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Padding = new System.Windows.Forms.Padding(5); + this.panel1.Size = new System.Drawing.Size(1585, 55); + this.panel1.TabIndex = 9; + // + // btSearch + // + this.btSearch.Dock = System.Windows.Forms.DockStyle.Right; + this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); + this.btSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btSearch.Location = new System.Drawing.Point(1360, 5); + this.btSearch.Name = "btSearch"; + this.btSearch.Padding = new System.Windows.Forms.Padding(5, 0, 3, 0); + this.btSearch.Size = new System.Drawing.Size(122, 45); + this.btSearch.TabIndex = 9; + this.btSearch.Text = "새로고침(&R)"; + this.btSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.btSearch.UseVisualStyleBackColor = true; + this.btSearch.Click += new System.EventHandler(this.button2_Click); + // + // button1 + // + this.button1.Dock = System.Windows.Forms.DockStyle.Right; + this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image"))); + this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.button1.Location = new System.Drawing.Point(1482, 5); + this.button1.Name = "button1"; + this.button1.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.button1.Size = new System.Drawing.Size(98, 45); + this.button1.TabIndex = 0; + this.button1.Text = "닫기"; + this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click_1); + // + // tableLayoutPanel3 + // + this.tableLayoutPanel3.ColumnCount = 5; + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 148F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel3.Controls.Add(this.label17, 0, 0); + this.tableLayoutPanel3.Controls.Add(this.prb1, 1, 0); + this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Bottom; + this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 575); + this.tableLayoutPanel3.Name = "tableLayoutPanel3"; + this.tableLayoutPanel3.RowCount = 1; + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel3.Size = new System.Drawing.Size(1585, 21); + this.tableLayoutPanel3.TabIndex = 34; + // + // label17 + // + this.label17.Dock = System.Windows.Forms.DockStyle.Fill; + this.label17.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label17.Location = new System.Drawing.Point(3, 0); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(142, 21); + this.label17.TabIndex = 0; + this.label17.Text = "구매 진행"; + this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // fProjectList + // + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; + this.ClientSize = new System.Drawing.Size(1585, 862); + this.Controls.Add(this.fpSpread1); + this.Controls.Add(this.tableLayoutPanel3); + this.Controls.Add(this.panel1); + this.Controls.Add(this.label1); + this.Controls.Add(this.panel3); + this.Controls.Add(this.bn); + this.Name = "fProjectList"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "프로젝트 목록"; + this.Load += new System.EventHandler(this.@__Load); + ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); + this.bn.ResumeLayout(false); + this.bn.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + ((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); + this.panel4.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.bsHist)).EndInit(); + this.tableLayoutPanel2.ResumeLayout(false); + this.panel3.ResumeLayout(false); + this.toolStrip2.ResumeLayout(false); + this.toolStrip2.PerformLayout(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.tableLayoutPanel3.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); } diff --git a/SubProject/FPJ0000/Project/fProjectList.cs b/SubProject/FPJ0000/Project/fProjectList.cs index d2bccf6..6e38a1e 100644 --- a/SubProject/FPJ0000/Project/fProjectList.cs +++ b/SubProject/FPJ0000/Project/fProjectList.cs @@ -10,765 +10,798 @@ using util = FCOMMON.Util; namespace FPJ0000 { - public partial class fProjectList : FCOMMON.fBase - { - string fn_fpcolsize = ""; - public fProjectList() - { - InitializeComponent(); - fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); - this.dsMSSQL.Projects.TableNewRow += Projects_TableNewRow; - this.FormClosed += __Closed; - - } - - void __Closed(object sender, FormClosedEventArgs e) - { - - } - - private void __Load(object sender, EventArgs e) - { - //프로젝트 목록을 처리함 - this.tbRequest.Text = FCOMMON.info.Login.nameK; - cmbDateType.SelectedIndex = 0; //기본시작일 기준으로 한다 - - //분류 - 190905 - var dt_cate = FCOMMON.DBM.getCodeTable("20"); - cmbCate.Items.Clear(); - cmbCate.Items.Add("--전체--"); - foreach (DataRow dr in dt_cate.Rows) - cmbCate.Items.Add(dr["Value"].ToString()); - cmbCate.SelectedIndex = 0; - - - this.cmbProcess.Items.Clear(); - this.cmbProcess.Items.Add("전체"); - var procesList = FCOMMON.DBM.getProcessList(); - foreach (DataRow dr in procesList.Rows) - cmbProcess.Items.Add(dr["Value"].ToString()); - cmbProcess.Text = FCOMMON.info.Login.process; - if (cmbProcess.SelectedIndex < 0) cmbProcess.SelectedIndex = 0; - - this.cmbSort.SelectedIndex = 0; - this.cmbYearS.Items.Clear(); - this.cmbYearE.Items.Clear(); - for (int i = 2010; i <= DateTime.Now.Year; i++) - { - cmbYearS.Items.Add(i.ToString("0000")); - cmbYearE.Items.Add(i.ToString("0000")); - } - this.cmbYearS.Text = DateTime.Now.AddYears(-2).Year.ToString("0000"); - this.cmbYearE.Text = DateTime.Now.Year.ToString("0000"); - refreshData(); - - //일반사용자의경우에는 상태를 변경하지 못한다. - int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project)); - if (curLevel >= 5) - { - btSave.Visible = true; - } - else - { - btSave.Visible = false; //목록에서 저장버튼은 제거한다. - btViewDel.Visible = false; - fpSpread1.EditMode = false; - fpSpread1.Sheets[0].SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row; - fpSpread1.EditModePermanent = false; - fpSpread1.EditModeReplace = false; - - foreach (FarPoint.Win.Spread.Column col in fpSpread1.ActiveSheet.Columns) - col.Locked = true; - } - - - } - - void refreshData() - { - - string state = ""; - if (chk검토.Checked && chk진행.Checked && chk보류.Checked && chk완료.Checked && chk취소.Checked && chk대기.Checked) - { - state = ""; - } - else if (chk검토.Checked == false && chk진행.Checked == false && chk보류.Checked == false && chk완료.Checked == false && chk취소.Checked == false && chk대기.Checked == false) - { - chk진행.Checked = true; - state = "[status] = '진행'"; //아무것도 선택안하면 진행을 선택해준다. - } - else - { - state = "[status] in ("; - if (chk검토.Checked) state += "'검토'"; - - if (chk보류.Checked) - { - if (state.EndsWith("(") == false) state += ","; - state += "'보류'"; - } - if (chk대기.Checked) - { - if (state.EndsWith("(") == false) state += ","; - state += "'대기'"; - } - if (chk진행.Checked) - { - if (state.EndsWith("(") == false) state += ","; - state += "'진행'"; - } - if (chk취소.Checked) - { - if (state.EndsWith("(") == false) state += ","; - state += "'취소'"; - } - if (chk완료.Checked) - { - if (state.EndsWith("(") == false) state += ","; - state += "'완료'"; - } - if (chk완료보고.Checked) - { - if (state.EndsWith("(") == false) state += ","; - state += "'완료(보고)'"; - } - state += ")"; - } - - // SELECT idx, status, pdate, name, usermain, usersub, request, reqstaff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn, cnt, remark_req, - // remark_ans, ddate, progress, import - //FROM Projects - //WHERE (status LIKE @state) AND (ISNULL(userManager, '') LIKE @username OR - // ISNULL(usermain, '') LIKE @username OR - // ISNULL(usersub, '') LIKE @username) - //ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소') - // THEN '9' ELSE '5' END) - - // var orgQuery = this.ta.Adapter.SelectCommand.CommandText; - - - 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],dbo.getScheduleProgress(idx) as ProgressPrj, dbo.getLastHistory(idx) AS lasthistory,'' AS wws, '' AS wwo, '' AS wwe, '' AS wwd,model,serial FROM Projects"; - //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],dbo.getScheduleProgress(idx) as ProgressPrj, dbo.getLastHistory(idx) AS lasthistory, dbo.getWorkWeek(sdate) AS wws, dbo.getWorkWeek(odate) AS wwo, dbo.getWorkWeek(edate) AS wwe, dbo.getWorkWeek(ddate) AS wwd FROM Projects"; - string State_where = " WHERE gcode=@gcode and isnull(div,'') <> 'EB' and "; - - if (btViewDel.Checked == false) State_where += " isnull(isdel,0)=0 and "; //삭제보기 햇을 경우 - - //var dateField = "pdate"; - //if (cmbDateType.SelectedIndex == 1) dateField = "edate"; - //else if (cmbDateType.SelectedIndex == 2) dateField = "odate"; - - //State_where += " " + dateField + " between '" + cmbYearS.Text + "-01-01' and '" + cmbYearE.Text + "-12-31' AND (ISNULL(userManager, '') LIKE @username OR " + - // "ISNULL(usermain, '') LIKE @username OR " + - // "ISNULL(reqstaff, '') LIKE @username OR " + - // "ISNULL(usersub, '') LIKE @username) "; - State_where += " (ISNULL(userManager, '') LIKE @username OR " + - "ISNULL(usermain, '') LIKE @username OR " + - "ISNULL(reqstaff, '') LIKE @username OR " + - "ISNULL(usersub, '') LIKE @username) "; - - if (state != "") State_where += " AND " + state; - if (cmbCate.SelectedIndex > 0) State_where += " AND isnull(category,'') = '" + cmbCate.Text + "'"; - if (cmbProcess.SelectedIndex > 0) State_where += " and isnull(userprocess,'') = '" + cmbProcess.Text.Trim() + "'"; - string State_order = " ORDER BY (CASE " + - " WHEN ([status] = '진행') THEN '0' " + - " WHEN ([status] = '검토') THEN '1' " + - " WHEN ([status] = '대기') THEN '2' " + - " WHEN ([status] = '완료') THEN '3' " + - " WHEN ([status] = '완료(보고)') THEN '4' " + - " WHEN ([status] = '보류') THEN '5' " + - " WHEN ([status] = '취소') THEN '9' " + - " ELSE '5' END),userManager,sdate"; - - string request = "%"; - if (tbRequest.Text.Trim() != "") request = "%" + this.tbRequest.Text.Trim() + "%"; - - System.Data.SqlClient.SqlCommand selCmd = new System.Data.SqlClient.SqlCommand(); - selCmd.Connection = ta.Connection; - selCmd.CommandText = State_Select + State_where + State_order; - selCmd.Parameters.Add("gcode", SqlDbType.VarChar).Value = FCOMMON.info.Login.gcode; - selCmd.Parameters.Add("username", SqlDbType.VarChar); - selCmd.Parameters["username"].Value = request; - - System.Data.SqlClient.SqlDataAdapter sda = new System.Data.SqlClient.SqlDataAdapter(); - sda.SelectCommand = selCmd; - - this.dsMSSQL.Projects.Clear(); - sda.Fill(this.dsMSSQL.Projects); - - //this.ta.Adapter.SelectCommand = selCmd; - //this.ta.Fill(this.dsMSSQL.Projects, state,request); - // this.ta.Adapter.SelectCommand.CommandText = orgQuery; - this.dsMSSQL.Projects.AcceptChanges(); - - sbSumE.Text = this.dsMSSQL.Projects.Sum(t => t.coste).ToString("N2"); - sbSumO.Text = this.dsMSSQL.Projects.Sum(t => t.costo).ToString("N2"); - sbSumI.Text = this.dsMSSQL.Projects.Sum(t => t.costn).ToString("N2"); - - FormattingData(); - FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); - } - - void FormattingData() - { - - //삭제컬럼인덱스 - this.fpSpread1.SuspendLayout(); - var statindex = this.fpSpread1.ActiveSheet.Columns["state"].Index; - for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) - { - var state = this.fpSpread1.ActiveSheet.GetValue(i, statindex); - string stateStr = string.Empty; - if (state != null) stateStr = state.ToString(); - - this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.White; - switch (stateStr.ToLower()) - { - case "검토": - this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Blue; - break; - case "취소": - this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Red; - break; - case "진행": - this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Green; - break; - case "보류": - this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Tomato; - break; - case "완료(보고)": - this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Gray; - break; - case "완료": - this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Magenta; - break; - default: - this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Black; - break; - } - - } - FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); - this.fpSpread1.ResumeLayout(); - } - - void funcSave(Boolean pmt) - { - this.Validate(); - this.bs.EndEdit(); - - if (pmt) - { - var dlg = FCOMMON.Util.MsgQ("변경 사항을 저장하시겠습니까?"); - if (dlg != System.Windows.Forms.DialogResult.Yes) return; - } - - try - { - this.tam.UpdateAll(this.dsMSSQL); - dsMSSQL.AcceptChanges(); - FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); - } - catch (Exception ex) - { - FCOMMON.Util.MsgE(ex.Message); - } - } - - private void projectsBindingNavigatorSaveItem_Click(object sender, EventArgs e) - { - funcSave(true); - - } - void Projects_TableNewRow(object sender, DataTableNewRowEventArgs e) - { - e.Row["gcode"] = FCOMMON.info.Login.gcode; - e.Row["wuid"] = FCOMMON.info.Login.no; - e.Row["wdate"] = DateTime.Now; - } - - private void refreshToolStripMenuItem_Click(object sender, EventArgs e) - { - refreshData(); - } - - void menu_partlist() - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as dsPRJ.ProjectsRow; - var f = new fPartList(dr.idx); - f.StartPosition = FormStartPosition.CenterScreen; - f.Show(); - } - private void partListToolStripMenuItem_Click(object sender, EventArgs e) - { - menu_partlist(); - } - - - private void autoToolStripMenuItem_Click(object sender, EventArgs e) - { - this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; - - for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) - this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); - //dv1.AutoResizeColumns(); - } - - private void resetToolStripMenuItem_Click(object sender, EventArgs e) - { - foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns) - { - col.ResetVisible(); - col.Width = 100; - } - } - - private void saveToolStripMenuItem_Click(object sender, EventArgs e) - { - FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize); - } - - private void loadToolStripMenuItem_Click(object sender, EventArgs e) - { - FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); - } - - private void btSearch_Click(object sender, EventArgs e) - { - - } - - private void toolStripLabel3_Click(object sender, EventArgs e) - { - //사용자목록처리 - if (tbRequest.Text != "") - { - tbRequest.Text = string.Empty; - } - else tbRequest.Text = FCOMMON.info.Login.nameK; - - refreshData(); - } - - private void scheduleToolStripMenuItem_Click(object sender, EventArgs e) - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as dsPRJ.ProjectsRow; - var f = new fProjectSchedule(dr.idx); - f.MdiParent = this.MdiParent; - f.Show(); - } - - private void makeRepeatToolStripMenuItem_Click(object sender, EventArgs e) - { - funcCopy(); - } - void funcCopy() - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as dsPRJ.ProjectsRow; - var dlg = FCOMMON.Util.MsgQ("선택된 프로젝트를 복사하시겠습니까?\n\n생성된 자료는 [검토] 상태로 전환 됩니다."); - if (dlg == System.Windows.Forms.DialogResult.Yes) - { - var ta = new dsPRJTableAdapters.QueriesTableAdapter(); - int? newidx = -1; - var retval = ta.CopyProjectData(dr.idx, FCOMMON.info.Login.no, ref newidx); - refreshData(); - if (newidx != null) - { - var newdr = this.dsMSSQL.Projects.Where(t => t.idx == newidx).FirstOrDefault(); - newdr.userprocess = FCOMMON.info.Login.process; - var f = new fProjectData(newdr); - if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) - { - int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project)); - if (curLevel < 5) - { - funcSave(false); //자동저장 - } - } - } - } - } - - void menu_iomap() - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as dsPRJ.ProjectsRow; - var f = new fProjectIOMap(dr.idx); - f.Show(); - } - - private void iOMapToolStripMenuItem_Click(object sender, EventArgs e) - { - menu_iomap(); - } - - private void tbFind_KeyDown(object sender, KeyEventArgs e) - { - if (e.KeyCode == Keys.Enter) - btFind.PerformClick(); - } - - private void btFind_Click(object sender, EventArgs e) - { - - string search = tbFind.Text.Trim(); - if (search == "") - { - - bs.Filter = ""; - tbFind.BackColor = SystemColors.Control; - FormattingData(); - } - else - { - try - { - var cols = new string[] { - "name","process","reqstaff","usermain", - "orderno","usersub","userManager", - "remark_req"}; - bs.Filter = FCOMMON.Util.MakeFilterString(cols, search); - tbFind.BackColor = Color.Lime; - tbFind.SelectAll(); - tbFind.Focus(); - FormattingData(); - } - catch (Exception ex) - { - bs.Filter = ""; - FCOMMON.Util.MsgE(ex.Message); - tbFind.BackColor = Color.Red; - FormattingData(); - } - } - } - - private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) - { - funcDelete(); - } - void funcDelete() - { - var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?"); - if (dlg == System.Windows.Forms.DialogResult.Yes) - { - bs.RemoveCurrent(); - - //일반사용자는 바로 저장되도록 함 - int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project)); - if (curLevel < 5) - { - funcSave(false); //자동저장 - } - } - } - private void 엑셀파일로저장ToolStripMenuItem_Click(object sender, EventArgs e) - { - SaveFileDialog sd = new SaveFileDialog(); - sd.Filter = ("excel|*.xls"); - var dlg = sd.ShowDialog(); - if (dlg == System.Windows.Forms.DialogResult.OK) - { - this.fpSpread1.SaveExcel(sd.FileName, - FarPoint.Excel.ExcelSaveFlags.SaveAsViewed - | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered - | FarPoint.Excel.ExcelSaveFlags.NoFormulas - | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); - - FCOMMON.Util.MsgI("파일생성 완료\n\n" + sd.FileName); - } - } - - private void 메일발송주소관리ToolStripMenuItem_Click(object sender, EventArgs e) - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as dsPRJ.ProjectsRow; - var f = new fMailList(dr.idx); - f.ShowDialog(); - } - - private void bs_CurrentChanged(object sender, EventArgs e) - { - //히스토리 데이터를 업데이트하고 첫번재 자료를 표시한다. - var drv = this.bs.Current as DataRowView; - if (drv == null) - { - this.label1.Text = "프로젝트가 선택되지 않았습니다"; - return; - } - var dr = drv.Row as dsPRJ.ProjectsRow; - this.label1.Text = string.Format("[{0}] {1}", dr.name, dr.memo); - - var sql = "select ((sum((case when isnull(qtybuy,0) = isnull(qtyin,0) then 1 else 0 end))*1.0) / count(*))*100 from ProjectsPart where project = " + dr.idx.ToString(); - var stR_result = FCOMMON.DBM.ExecuteScalar(sql); - if (string.IsNullOrEmpty(stR_result)) - { - tableLayoutPanel3.Visible = false; - } - else - { - tableLayoutPanel3.Visible = true; - var perc = float.Parse(stR_result); - this.label17.Text = string.Format("구매 완료({0:N0}%)", perc); - this.prb1.ProgressMin = 0; - this.prb1.ProgressMax = 100; - this.prb1.ProgressValue = perc; - } - - try - { - taHist.Fill(this.dsMSSQL.ProjectsHistory, dr.idx); - } - catch - { - - } - } - - private void button1_Click(object sender, EventArgs e) - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as dsPRJ.ProjectsRow; - var f = new fProejctHistory(dr.idx); - f.StartPosition = FormStartPosition.CenterScreen; - var dlg = f.ShowDialog(); - bs_CurrentChanged(sender, e); - } - - private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) - { - var newdr = this.dsMSSQL.Projects.NewProjectsRow(); - newdr.wuid = FCOMMON.info.Login.no; - newdr.wdate = DateTime.Now; - newdr.pdate = DateTime.Now.ToString("yyyy-MM-dd"); - newdr.sdate = DateTime.Now.ToString("yyyy-MM-dd"); - newdr.userManager = FCOMMON.info.Login.nameK; - newdr.progress = 0; - newdr.userprocess = FCOMMON.info.Login.process; - newdr.costn = 0; - newdr.costo = 0; - newdr.cnt = 1; - newdr.name = "Project Title"; - var f = new fProjectData(newdr); - f.StartPosition = FormStartPosition.CenterScreen; - var dlg = f.ShowDialog(); - if (dlg == System.Windows.Forms.DialogResult.OK) - { - this.dsMSSQL.Projects.AddProjectsRow(newdr); - try - { - - ta.Update(newdr); - } - catch (Exception ex) - { - FCOMMON.Util.MsgE("Save Error\n" + ex.Message); - } - - } - else newdr.Delete(); - } - - private void btEdit_Click(object sender, EventArgs e) - { - funcEdit(); - } - void funcEdit() - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as dsPRJ.ProjectsRow; - var f = new fProjectData(dr); - if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) - { - int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project)); - if (curLevel < 5) - { - funcSave(false); //자동저장 - } - FormattingData(); - } - } - - private void 편집ToolStripMenuItem_Click(object sender, EventArgs e) - { - funcEdit(); - } - - private void tbRequest_KeyDown(object sender, KeyEventArgs e) - { - if (e.KeyCode == Keys.Enter) - btSearch.PerformClick(); - } - - private void toolStripComboBox1_SelectedIndexChanged(object sender, EventArgs e) - { - // --- - //Origin Cost - //Input Cost - //Effect Cost - //Asset No - //Project - //Champion - //Requestor - //Process - switch (cmbSort.SelectedIndex) - { - case 1: - if (this.bs.Sort == "costo") this.bs.Sort = "costo desc"; - else this.bs.Sort = "costo"; - break; - case 2: - if (this.bs.Sort == "costn") this.bs.Sort = "costn desc"; - else this.bs.Sort = "costn"; - break; - case 3: - if (this.bs.Sort == "coste") this.bs.Sort = "coste desc"; - else this.bs.Sort = "coste"; - break; - case 4: - if (this.bs.Sort == "asset") this.bs.Sort = "asset desc"; - else this.bs.Sort = "asset"; - break; - case 5: - if (this.bs.Sort == "[namme]") this.bs.Sort = "[namme] desc"; - else this.bs.Sort = "[namme]"; - break; - case 6: - if (this.bs.Sort == "userManager") this.bs.Sort = "userManager desc"; - else this.bs.Sort = "userManager"; - break; - case 7: - if (this.bs.Sort == "reqstaff") this.bs.Sort = "reqstaff desc"; - else this.bs.Sort = "reqstaff"; - break; - case 8: - if (this.bs.Sort == "process") this.bs.Sort = "process desc"; - else this.bs.Sort = "process"; - break; - default: - this.bs.Sort = ""; - break; - } - } - - private void btCopy_Click(object sender, EventArgs e) - { - funcCopy(); - } - - private void toolStripButton2_Click(object sender, EventArgs e) - { - - } - - private void toolStripButton1_Click(object sender, EventArgs e) - { - menu_partlist(); - } - - private void toolStripButton3_Click(object sender, EventArgs e) - { - menu_iomap(); - } - - private void 삭제ToolStripMenuItem_Click(object sender, EventArgs e) - { - funcDelete(); - } - - private void 공유폴더ToolStripMenuItem_Click(object sender, EventArgs e) - { - showfolder(); - } - void showfolder() - { - var drv = this.bs.Current as DataRowView; - if (drv == null) return; - var dr = drv.Row as dsPRJ.ProjectsRow; - - var tbPath = dr.path; - - if (tbPath == "") tbPath = "/" + dr.idx.ToString(); - - if (tbPath.StartsWith("\\") == false) - { - if (tbPath.StartsWith("/")) tbPath = tbPath.Replace("/", "\\"); - else tbPath = "\\" + tbPath; - } - //\\10.131.32.29\Data - var serverpath = System.IO.Path.Combine(FCOMMON.info.datapath, "Data", "Project"); - if (System.IO.Directory.Exists(serverpath) == false) - { - FCOMMON.Util.MsgE("프로젝트 기본경로가 존재하지 않아 진행할 수 없습니다\n\n" + - serverpath); - return; - } - - var path = serverpath + tbPath; - if (System.IO.Directory.Exists(path) == false) - { - try - { - System.IO.Directory.CreateDirectory(path); - - string[] subdir = new string[] { "Source", "Document", "Draw", "Estimate" }; - foreach (var dir in subdir) - System.IO.Directory.CreateDirectory(path + "\\" + dir); - - } - catch (Exception eX) - { - FCOMMON.Util.MsgE("프로젝트 저장소 생성실패\n" + eX.Message); - return; - } - } - - FCOMMON.Util.RunExplorer(path); - } - - private void toolStripButton4_Click(object sender, EventArgs e) - { - showfolder(); - } - - private void button1_Click_1(object sender, EventArgs e) - { - this.Close(); - } - - private void button2_Click(object sender, EventArgs e) - { - refreshData(); - } - - private void richTextBox2_TextChanged(object sender, EventArgs e) - { - - } - - private void cmbDateType_Click(object sender, EventArgs e) - { - - } - - private void cmbYearE_Click(object sender, EventArgs e) - { - - } - - private void toolStripButton2_Click_1(object sender, EventArgs e) - { - var f = new fProjectSummary(); - f.Show(); - } - } + public partial class fProjectList : FCOMMON.fBase + { + string fn_fpcolsize = ""; + public fProjectList() + { + InitializeComponent(); + fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); + this.dsMSSQL.Projects.TableNewRow += Projects_TableNewRow; + this.FormClosed += __Closed; + } + + void __Closed(object sender, FormClosedEventArgs e) + { + + } + + private void __Load(object sender, EventArgs e) + { + //프로젝트 목록을 처리함 + this.tbRequest.Text = FCOMMON.info.Login.nameK; + cmbDateType.SelectedIndex = 0; //기본시작일 기준으로 한다 + + //분류 - 190905 + var dt_cate = FCOMMON.DBM.getCodeTable("20"); + cmbCate.Items.Clear(); + cmbCate.Items.Add("--전체--"); + foreach (DataRow dr in dt_cate.Rows) + cmbCate.Items.Add(dr["Value"].ToString()); + cmbCate.SelectedIndex = 0; + + this.cmbSort.Items.Clear(); + this.cmbSort.Items.AddRange(new string[] { + "---", + "Origin Cost", + "Input Cost", + "Effect Cost", + "Asset No", + "Project", + "Champion", + "Requestor", + "Process", + "Asset / 사용자 / 등록날짜", + }); + + chk검토_CheckedChanged(this.chk검토, null); + chk검토_CheckedChanged(this.chk진행, null); + chk검토_CheckedChanged(this.chk대기, null); + chk검토_CheckedChanged(this.chk보류, null); + chk검토_CheckedChanged(this.chk완료, null); + chk검토_CheckedChanged(this.chk취소, null); + chk검토_CheckedChanged(this.chk완료보고, null); + + this.cmbProcess.Items.Clear(); + this.cmbProcess.Items.Add("전체"); + var procesList = FCOMMON.DBM.getProcessList(); + foreach (DataRow dr in procesList.Rows) + cmbProcess.Items.Add(dr["Value"].ToString()); + cmbProcess.Text = FCOMMON.info.Login.process; + if (cmbProcess.SelectedIndex < 0) cmbProcess.SelectedIndex = 0; + + this.cmbSort.SelectedIndex = 0; + this.cmbYearS.Items.Clear(); + this.cmbYearE.Items.Clear(); + for (int i = 2010; i <= DateTime.Now.Year; i++) + { + cmbYearS.Items.Add(i.ToString("0000")); + cmbYearE.Items.Add(i.ToString("0000")); + } + this.cmbYearS.Text = DateTime.Now.AddYears(-2).Year.ToString("0000"); + this.cmbYearE.Text = DateTime.Now.Year.ToString("0000"); + refreshData(); + + //일반사용자의경우에는 상태를 변경하지 못한다. + int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project)); + if (curLevel >= 5) + { + btSave.Visible = true; + } + else + { + btSave.Visible = false; //목록에서 저장버튼은 제거한다. + btViewDel.Visible = false; + fpSpread1.EditMode = false; + fpSpread1.Sheets[0].SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row; + fpSpread1.EditModePermanent = false; + fpSpread1.EditModeReplace = false; + + foreach (FarPoint.Win.Spread.Column col in fpSpread1.ActiveSheet.Columns) + col.Locked = true; + } + + + } + + void refreshData() + { + + string state = ""; + if (chk검토.Checked && chk진행.Checked && chk보류.Checked && chk완료.Checked && chk취소.Checked && chk대기.Checked) + { + state = ""; + } + else if (chk검토.Checked == false && chk진행.Checked == false && chk보류.Checked == false && chk완료.Checked == false && chk취소.Checked == false && chk대기.Checked == false) + { + chk진행.Checked = true; + state = "[status] = '진행'"; //아무것도 선택안하면 진행을 선택해준다. + } + else + { + state = "[status] in ("; + if (chk검토.Checked) state += "'검토'"; + + if (chk보류.Checked) + { + if (state.EndsWith("(") == false) state += ","; + state += "'보류'"; + } + if (chk대기.Checked) + { + if (state.EndsWith("(") == false) state += ","; + state += "'대기'"; + } + if (chk진행.Checked) + { + if (state.EndsWith("(") == false) state += ","; + state += "'진행'"; + } + if (chk취소.Checked) + { + if (state.EndsWith("(") == false) state += ","; + state += "'취소'"; + } + if (chk완료.Checked) + { + if (state.EndsWith("(") == false) state += ","; + state += "'완료'"; + } + if (chk완료보고.Checked) + { + if (state.EndsWith("(") == false) state += ","; + state += "'완료(보고)'"; + } + state += ")"; + } + + // SELECT idx, status, pdate, name, usermain, usersub, request, reqstaff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn, cnt, remark_req, + // remark_ans, ddate, progress, import + //FROM Projects + //WHERE (status LIKE @state) AND (ISNULL(userManager, '') LIKE @username OR + // ISNULL(usermain, '') LIKE @username OR + // ISNULL(usersub, '') LIKE @username) + //ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소') + // THEN '9' ELSE '5' END) + + // var orgQuery = this.ta.Adapter.SelectCommand.CommandText; + + + 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],dbo.getScheduleProgress(idx) as ProgressPrj, dbo.getLastHistory(idx) AS lasthistory,'' AS wws, '' AS wwo, '' AS wwe, '' AS wwd,model,serial FROM Projects"; + //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],dbo.getScheduleProgress(idx) as ProgressPrj, dbo.getLastHistory(idx) AS lasthistory, dbo.getWorkWeek(sdate) AS wws, dbo.getWorkWeek(odate) AS wwo, dbo.getWorkWeek(edate) AS wwe, dbo.getWorkWeek(ddate) AS wwd FROM Projects"; + string State_where = " WHERE gcode=@gcode and isnull(div,'') <> 'EB' and "; + + if (btViewDel.Checked == false) State_where += " isnull(isdel,0)=0 and "; //삭제보기 햇을 경우 + + //var dateField = "pdate"; + //if (cmbDateType.SelectedIndex == 1) dateField = "edate"; + //else if (cmbDateType.SelectedIndex == 2) dateField = "odate"; + + //State_where += " " + dateField + " between '" + cmbYearS.Text + "-01-01' and '" + cmbYearE.Text + "-12-31' AND (ISNULL(userManager, '') LIKE @username OR " + + // "ISNULL(usermain, '') LIKE @username OR " + + // "ISNULL(reqstaff, '') LIKE @username OR " + + // "ISNULL(usersub, '') LIKE @username) "; + State_where += " (ISNULL(userManager, '') LIKE @username OR " + + "ISNULL(usermain, '') LIKE @username OR " + + "ISNULL(reqstaff, '') LIKE @username OR " + + "ISNULL(usersub, '') LIKE @username) "; + + if (state != "") State_where += " AND " + state; + if (cmbCate.SelectedIndex > 0) State_where += " AND isnull(category,'') = '" + cmbCate.Text + "'"; + if (cmbProcess.SelectedIndex > 0) State_where += " and isnull(userprocess,'') = '" + cmbProcess.Text.Trim() + "'"; + string State_order = " ORDER BY (CASE " + + " WHEN ([status] = '진행') THEN '0' " + + " WHEN ([status] = '검토') THEN '1' " + + " WHEN ([status] = '대기') THEN '2' " + + " WHEN ([status] = '완료') THEN '3' " + + " WHEN ([status] = '완료(보고)') THEN '4' " + + " WHEN ([status] = '보류') THEN '5' " + + " WHEN ([status] = '취소') THEN '9' " + + " ELSE '5' END),userManager,sdate"; + + string request = "%"; + if (tbRequest.Text.Trim() != "") request = "%" + this.tbRequest.Text.Trim() + "%"; + + System.Data.SqlClient.SqlCommand selCmd = new System.Data.SqlClient.SqlCommand(); + selCmd.Connection = ta.Connection; + selCmd.CommandText = State_Select + State_where + State_order; + selCmd.Parameters.Add("gcode", SqlDbType.VarChar).Value = FCOMMON.info.Login.gcode; + selCmd.Parameters.Add("username", SqlDbType.VarChar); + selCmd.Parameters["username"].Value = request; + + System.Data.SqlClient.SqlDataAdapter sda = new System.Data.SqlClient.SqlDataAdapter(); + sda.SelectCommand = selCmd; + + this.dsMSSQL.Projects.Clear(); + sda.Fill(this.dsMSSQL.Projects); + + //this.ta.Adapter.SelectCommand = selCmd; + //this.ta.Fill(this.dsMSSQL.Projects, state,request); + // this.ta.Adapter.SelectCommand.CommandText = orgQuery; + this.dsMSSQL.Projects.AcceptChanges(); + + sbSumE.Text = this.dsMSSQL.Projects.Sum(t => t.coste).ToString("N2"); + sbSumO.Text = this.dsMSSQL.Projects.Sum(t => t.costo).ToString("N2"); + sbSumI.Text = this.dsMSSQL.Projects.Sum(t => t.costn).ToString("N2"); + + FormattingData(); + FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); + } + + void FormattingData() + { + + //삭제컬럼인덱스 + this.fpSpread1.SuspendLayout(); + var statindex = this.fpSpread1.ActiveSheet.Columns["state"].Index; + for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) + { + var state = this.fpSpread1.ActiveSheet.GetValue(i, statindex); + string stateStr = string.Empty; + if (state != null) stateStr = state.ToString(); + + this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.White; + switch (stateStr.ToLower()) + { + case "검토": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Blue; + break; + case "취소": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Red; + break; + case "진행": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Green; + break; + case "보류": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Tomato; + break; + case "완료(보고)": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Gray; + break; + case "완료": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Magenta; + break; + default: + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Black; + break; + } + + } + FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); + this.fpSpread1.ResumeLayout(); + } + + void funcSave(Boolean pmt) + { + this.Validate(); + this.bs.EndEdit(); + + if (pmt) + { + var dlg = FCOMMON.Util.MsgQ("변경 사항을 저장하시겠습니까?"); + if (dlg != System.Windows.Forms.DialogResult.Yes) return; + } + + try + { + this.tam.UpdateAll(this.dsMSSQL); + dsMSSQL.AcceptChanges(); + FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE(ex.Message); + } + } + + private void projectsBindingNavigatorSaveItem_Click(object sender, EventArgs e) + { + funcSave(true); + + } + void Projects_TableNewRow(object sender, DataTableNewRowEventArgs e) + { + e.Row["gcode"] = FCOMMON.info.Login.gcode; + e.Row["wuid"] = FCOMMON.info.Login.no; + e.Row["wdate"] = DateTime.Now; + } + + private void refreshToolStripMenuItem_Click(object sender, EventArgs e) + { + refreshData(); + } + + void menu_partlist() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var f = new fPartList(dr.idx); + f.StartPosition = FormStartPosition.CenterScreen; + f.Show(); + } + private void partListToolStripMenuItem_Click(object sender, EventArgs e) + { + menu_partlist(); + } + + + private void autoToolStripMenuItem_Click(object sender, EventArgs e) + { + this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; + + for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) + this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); + //dv1.AutoResizeColumns(); + } + + private void resetToolStripMenuItem_Click(object sender, EventArgs e) + { + foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns) + { + col.ResetVisible(); + col.Width = 100; + } + } + + private void saveToolStripMenuItem_Click(object sender, EventArgs e) + { + FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize); + } + + private void loadToolStripMenuItem_Click(object sender, EventArgs e) + { + FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); + } + + private void btSearch_Click(object sender, EventArgs e) + { + + } + + private void toolStripLabel3_Click(object sender, EventArgs e) + { + //사용자목록처리 + if (tbRequest.Text != "") + { + tbRequest.Text = string.Empty; + } + else tbRequest.Text = FCOMMON.info.Login.nameK; + + refreshData(); + } + + private void scheduleToolStripMenuItem_Click(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var f = new fProjectSchedule(dr.idx); + f.MdiParent = this.MdiParent; + f.Show(); + } + + private void makeRepeatToolStripMenuItem_Click(object sender, EventArgs e) + { + funcCopy(); + } + void funcCopy() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var dlg = FCOMMON.Util.MsgQ("선택된 프로젝트를 복사하시겠습니까?\n\n생성된 자료는 [검토] 상태로 전환 됩니다."); + if (dlg == System.Windows.Forms.DialogResult.Yes) + { + var ta = new dsPRJTableAdapters.QueriesTableAdapter(); + int? newidx = -1; + var retval = ta.CopyProjectData(dr.idx, FCOMMON.info.Login.no, ref newidx); + refreshData(); + if (newidx != null) + { + var newdr = this.dsMSSQL.Projects.Where(t => t.idx == newidx).FirstOrDefault(); + newdr.userprocess = FCOMMON.info.Login.process; + var f = new fProjectData(newdr); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project)); + if (curLevel < 5) + { + funcSave(false); //자동저장 + } + } + } + } + } + + void menu_iomap() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var f = new fProjectIOMap(dr.idx); + f.Show(); + } + + private void iOMapToolStripMenuItem_Click(object sender, EventArgs e) + { + menu_iomap(); + } + + private void tbFind_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + btFind.PerformClick(); + } + + private void btFind_Click(object sender, EventArgs e) + { + + string search = tbFind.Text.Trim(); + if (search == "") + { + + bs.Filter = ""; + tbFind.BackColor = SystemColors.Control; + FormattingData(); + } + else + { + try + { + var cols = new string[] { + "name","process","reqstaff","usermain", + "orderno","usersub","userManager", + "remark_req"}; + bs.Filter = FCOMMON.Util.MakeFilterString(cols, search); + tbFind.BackColor = Color.Lime; + tbFind.SelectAll(); + tbFind.Focus(); + FormattingData(); + } + catch (Exception ex) + { + bs.Filter = ""; + FCOMMON.Util.MsgE(ex.Message); + tbFind.BackColor = Color.Red; + FormattingData(); + } + } + } + + private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) + { + funcDelete(); + } + void funcDelete() + { + var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?"); + if (dlg == System.Windows.Forms.DialogResult.Yes) + { + bs.RemoveCurrent(); + + //일반사용자는 바로 저장되도록 함 + int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project)); + if (curLevel < 5) + { + funcSave(false); //자동저장 + } + } + } + private void 엑셀파일로저장ToolStripMenuItem_Click(object sender, EventArgs e) + { + SaveFileDialog sd = new SaveFileDialog(); + sd.Filter = ("excel|*.xls"); + var dlg = sd.ShowDialog(); + if (dlg == System.Windows.Forms.DialogResult.OK) + { + this.fpSpread1.SaveExcel(sd.FileName, + FarPoint.Excel.ExcelSaveFlags.SaveAsViewed + | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered + | FarPoint.Excel.ExcelSaveFlags.NoFormulas + | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); + + FCOMMON.Util.MsgI("파일생성 완료\n\n" + sd.FileName); + } + } + + private void 메일발송주소관리ToolStripMenuItem_Click(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var f = new fMailList(dr.idx); + f.ShowDialog(); + } + + private void bs_CurrentChanged(object sender, EventArgs e) + { + //히스토리 데이터를 업데이트하고 첫번재 자료를 표시한다. + var drv = this.bs.Current as DataRowView; + if (drv == null) + { + this.label1.Text = "프로젝트가 선택되지 않았습니다"; + return; + } + var dr = drv.Row as dsPRJ.ProjectsRow; + this.label1.Text = string.Format("[{0}] {1}", dr.name, dr.memo); + + var sql = "select ((sum((case when isnull(qtybuy,0) = isnull(qtyin,0) then 1 else 0 end))*1.0) / count(*))*100 from ProjectsPart where project = " + dr.idx.ToString(); + var stR_result = FCOMMON.DBM.ExecuteScalar(sql); + if (string.IsNullOrEmpty(stR_result)) + { + tableLayoutPanel3.Visible = false; + } + else + { + tableLayoutPanel3.Visible = true; + var perc = float.Parse(stR_result); + this.label17.Text = string.Format("구매 완료({0:N0}%)", perc); + this.prb1.ProgressMin = 0; + this.prb1.ProgressMax = 100; + this.prb1.ProgressValue = perc; + } + + try + { + taHist.Fill(this.dsMSSQL.ProjectsHistory, dr.idx); + } + catch + { + + } + } + + private void button1_Click(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var f = new fProejctHistory(dr.idx); + f.StartPosition = FormStartPosition.CenterScreen; + var dlg = f.ShowDialog(); + bs_CurrentChanged(sender, e); + } + + private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) + { + var newdr = this.dsMSSQL.Projects.NewProjectsRow(); + newdr.wuid = FCOMMON.info.Login.no; + newdr.wdate = DateTime.Now; + newdr.pdate = DateTime.Now.ToString("yyyy-MM-dd"); + newdr.sdate = DateTime.Now.ToString("yyyy-MM-dd"); + newdr.userManager = FCOMMON.info.Login.nameK; + newdr.progress = 0; + newdr.userprocess = FCOMMON.info.Login.process; + newdr.costn = 0; + newdr.costo = 0; + newdr.cnt = 1; + newdr.name = "Project Title"; + var f = new fProjectData(newdr); + f.StartPosition = FormStartPosition.CenterScreen; + var dlg = f.ShowDialog(); + if (dlg == System.Windows.Forms.DialogResult.OK) + { + this.dsMSSQL.Projects.AddProjectsRow(newdr); + try + { + + ta.Update(newdr); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE("Save Error\n" + ex.Message); + } + + } + else newdr.Delete(); + } + + private void btEdit_Click(object sender, EventArgs e) + { + funcEdit(); + } + void funcEdit() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var f = new fProjectData(dr); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project)); + if (curLevel < 5) + { + funcSave(false); //자동저장 + } + FormattingData(); + } + } + + private void 편집ToolStripMenuItem_Click(object sender, EventArgs e) + { + funcEdit(); + } + + private void tbRequest_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + btSearch.PerformClick(); + } + + private void toolStripComboBox1_SelectedIndexChanged(object sender, EventArgs e) + { + // --- + //Origin Cost + //Input Cost + //Effect Cost + //Asset No + //Project + //Champion + //Requestor + //Process + switch (cmbSort.SelectedIndex) + { + case 1: + if (this.bs.Sort == "costo") this.bs.Sort = "costo desc"; + else this.bs.Sort = "costo"; + break; + case 2: + if (this.bs.Sort == "costn") this.bs.Sort = "costn desc"; + else this.bs.Sort = "costn"; + break; + case 3: + if (this.bs.Sort == "coste") this.bs.Sort = "coste desc"; + else this.bs.Sort = "coste"; + break; + case 4: + if (this.bs.Sort == "asset") this.bs.Sort = "asset desc"; + else this.bs.Sort = "asset"; + break; + case 5: + if (this.bs.Sort == "[name]") this.bs.Sort = "[name] desc"; + else this.bs.Sort = "[name]"; + break; + case 6: + if (this.bs.Sort == "userManager") this.bs.Sort = "userManager desc"; + else this.bs.Sort = "userManager"; + break; + case 7: + if (this.bs.Sort == "reqstaff") this.bs.Sort = "reqstaff desc"; + else this.bs.Sort = "reqstaff"; + break; + case 8: + if (this.bs.Sort == "process") this.bs.Sort = "process desc"; + else this.bs.Sort = "process"; + break; + case 9: + //"Asset / 사용자 / 등록날짜" + var sort = "asset,usermain,pdate"; + if (this.bs.Sort == sort) this.bs.Sort = sort; + else this.bs.Sort = sort; + break; + default: + this.bs.Sort = ""; + break; + } + } + + private void btCopy_Click(object sender, EventArgs e) + { + funcCopy(); + } + + private void toolStripButton2_Click(object sender, EventArgs e) + { + + } + + private void toolStripButton1_Click(object sender, EventArgs e) + { + menu_partlist(); + } + + private void toolStripButton3_Click(object sender, EventArgs e) + { + menu_iomap(); + } + + private void 삭제ToolStripMenuItem_Click(object sender, EventArgs e) + { + funcDelete(); + } + + private void 공유폴더ToolStripMenuItem_Click(object sender, EventArgs e) + { + showfolder(); + } + void showfolder() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + + var tbPath = dr.path; + + if (tbPath == "") tbPath = "/" + dr.idx.ToString(); + + if (tbPath.StartsWith("\\") == false) + { + if (tbPath.StartsWith("/")) tbPath = tbPath.Replace("/", "\\"); + else tbPath = "\\" + tbPath; + } + //\\10.131.32.29\Data + var serverpath = System.IO.Path.Combine(FCOMMON.info.datapath, "Data", "Project"); + if (System.IO.Directory.Exists(serverpath) == false) + { + FCOMMON.Util.MsgE("프로젝트 기본경로가 존재하지 않아 진행할 수 없습니다\n\n" + + serverpath); + return; + } + + var path = serverpath + tbPath; + if (System.IO.Directory.Exists(path) == false) + { + try + { + System.IO.Directory.CreateDirectory(path); + + string[] subdir = new string[] { "Source", "Document", "Draw", "Estimate" }; + foreach (var dir in subdir) + System.IO.Directory.CreateDirectory(path + "\\" + dir); + + } + catch (Exception eX) + { + FCOMMON.Util.MsgE("프로젝트 저장소 생성실패\n" + eX.Message); + return; + } + } + + FCOMMON.Util.RunExplorer(path); + } + + private void toolStripButton4_Click(object sender, EventArgs e) + { + showfolder(); + } + + private void button1_Click_1(object sender, EventArgs e) + { + this.Close(); + } + + private void button2_Click(object sender, EventArgs e) + { + refreshData(); + } + + private void richTextBox2_TextChanged(object sender, EventArgs e) + { + + } + + private void cmbDateType_Click(object sender, EventArgs e) + { + + } + + private void cmbYearE_Click(object sender, EventArgs e) + { + + } + + private void toolStripButton2_Click_1(object sender, EventArgs e) + { + var f = new fProjectSummary(); + f.Show(); + } + + private void chk검토_CheckedChanged(object sender, EventArgs e) + { + var but = sender as ToolStripButton; + but.ForeColor = but.Checked ? Color.Blue : Color.Black; + but.Font = but.Checked ? new Font("맑은 고딕", 10, FontStyle.Bold) : new Font("맑은 고딕", 10); + } + } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectList.resx b/SubProject/FPJ0000/Project/fProjectList.resx index 0653427..5ea8e93 100644 --- a/SubProject/FPJ0000/Project/fProjectList.resx +++ b/SubProject/FPJ0000/Project/fProjectList.resx @@ -231,33 +231,33 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIwSURBVDhPpZL/SxNxHMbvPwoClVIsFrTKUtcmLY0WGChF - SKESs3bThpqMigpL15TLXCprrcWoLLd0MjVtaUv6al9mX7Zbm9taWxnd091nh+6WP9ULHg7u/TwPbz68 - qf/G6PiI9psBGKzvoR9cwMn+N9Ayrx6JYwl9Y1Fd7+jSYu/DCMyuMLofhEEl07+Qq3p6gBMzEhh39Huu - lzrtbYHBo4N+VIsTrkbys870DGJGQo/7K5n3z18B478M8+xFUMhBMBy6NLdmgWkkTObZUBZPCNkSDAcv + SKESs3bThpqMigpL15RLXSlrrcWoLLd0MjVtaUv6al9mX7Zbm9taWxnd091nh+6WP9ULHg7u/TwPbz68 + qf/G6PiI9psBGKzvoR9cwMmBN9Ayrx6JYwl9Y1Fd7+jSYu/DCMyuMLofhEEl07+Qq3q6nxMzEhh39Huu + lzrtbYHBo4N+VIsTrkbys870DGJGQo/7K5kPzF8B478M8+xFUMhBMBy6NLdmgWkkTObZUBZPCNkSDAcv +CQFVRaFqoLZhbIuOdTdComfsk4Exa4M4XgamrPTKwVVllKVki7hmkea0DbWjPJzO0hQYHA8mCmwT4Vg nwzCORPE2y8J7O2YJAXqvlKVgt7Oae/WY4+pHMWnCiBv3YIhbwhWQRPs3xu8/hRHRasXKmZnZRkt5xqd - dZDRhVwRnbfNeGsR8dQybFMs8dr5LykgW/Ab2HjVWA9A2VOC6uv7cNRxGJvpDdxGev1WYaM22wfEkstw + dZDRhVwRnbfNeGsR8dQybFMs8dr5LykgW/Ab2HjVWA9A2VOC6mv7cNRxGJvpDdxGev1WYaM22wfEkstw TLO4PZMRNfyERSK1+rKaq5XQu7U4Yq9BMV3A5TdlwgItQ++w9O0n7vgyG9yf5Q/J+ZhFttRdSsjaC1Gk - z0P+8XUrYQHdwAIpGOaDQpgU3OAfIpsXgRg0Ru+ad6C99hJRvsD1NEy8bj9fIARytanD/VvMSGhgniOS - +AE2lsbnSAoBNglqt8GDXMka7tnFjIRj5vnx2k5/srZzDtXnfdh/ZvVe/hGK+gPucyysxdb5pQAAAABJ + z0P+8XUrYQHd9QVSMMwHhTApuME/RDYvAjFojN4170Db/xJRvsD1NEy8bj9fIARytanD/VvMSGhgniOS + +AE2lsbnSAoBNglqt8GDXMka7tnFjIRj5vnx2k5/srZzDtXnfdh/ZvVe/hGK+gPglyyoGjPLOgAAAABJ RU5ErkJggg== iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ0SURBVDhPpZFLTNNwHMd78M7NuwcvIhJFpjcOJiYmHjwZ - Eg8mGi9gosGEgwcqMSBiguGhJpNgFOQtKEPCZsiCgW2AMGQVx9hmN8akE+ho18e6rl//G1XUxMTHN/2m - j/w/39+j1H9rebRkMTJyVov+4tWxk6HgiyP7Q/0lBT/5TUmB01m2z8QpytNpUQ0jC8AgV867zxklgZiz - Ir3mvqB+c3z+mhJxV0X8r46dN3GKYoZLk4auQI01QQo3Q2KfQI4MwsjwJCsFQxeJd3bfM9vgOC7tH7Iw - Jk5Rge6jQlbbIXAbUsFWCB9qsTVbgcTcVfC+OvBLt8Av3sS2t5q4inTGITB0XDRxEjBQqmXkDfBMG7YX - GsBN3oDMzZCqglk9d09+7yA3nnegWDHxXAcntPz8WZVYBnQpD+qyH2r8ARimDzaXBx0TLHqm1uHwRpHb - m4mTgDZL2tBl6IIHGd4ObXMQ6Y12KGv34FvqxOg8h9XPEj5tqpgJCRhf/IIRG62bOPkLVoua1QRoWzak - ua58VSVaBzlcjX5XHMsxEbOsDFdYwjSxL66i9y0LE6co7/1ixdB4Aj+Fut4MJVJL4CpIgcv5toMJFa5Q - ClPBFCb8IuajKromY3sBK3eL4nKSSXqcPdnUagfEwEOI/iaIH+vRS2ZeXpcwGdiFc363psI6trIX4K8v - vO5vONzN3DmU8DYUKT/69TCtzwQFLBDIzSqYI9Vt70XQdL1hrzl10Yz4vVrs7AGrg6UHyC76puN47HBm - abrR8I23w9NaLjyvLCw3j/65XtacueJ+dIkP21swdrtMMj//nZ5VHiwfp0/LjsZze7v4N1HUV7Y0I6k6 - NvpGAAAAAElFTkSuQmCC + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ1SURBVDhPpZFLTNNwHMd78M7NuwcvIhJFpjcOJiYmHjwZ + Eg8mGi9gosGEgwcqGhA1wfBQk0kwCvIWlCFhM2TBwDZAGLKJZWyzG2PSCXS062Nd16//jSpqYuLjm37T + R/6f7+9R6r+1NFKyEBk+rUV/8cro8VDwxaG9ob6Sgp/8pqTA6SzbY+IU5emwqIaRBWCQK+ed54ySQMxZ + kV51n1O/OT53RYm4qyLMqyNnTZyi/EOlSUNXoMYaIYWbILFPIEcGYGR4kpWCoYvE2zvvmS1wHJdmBi1+ + E6eoQNdhIattE7gVqWALhA+12JypQGL2MnhfHfjFG+AXrmPLW01cRTrjEBg8Kpo4Cegv1TLyOnh/K7bm + G8BNXIPMTZOqglk9d09+7yA3nre/WDHxXAfHtPz8WZVYBnQpD+oyAzX+AH5/L2wuD9rHWXRPrsHhjSK3 + NxMnAa2WtKHL0AUPMrwd2sYA0uttUFbvwbfYgZE5DiufJXzaUDEdEjC28AXDNlo3cfIXrBY1qwnQNm1I + c535qkq0DnK4Gn2uOJZiImZYGa6whCliX1xFz1sWJk5R3vvFiqHxBH4Kda0JSqSWwFWQAhfzbQcTKlyh + FCaDKYwzIuaiKjonYrsBy3eK4nLSn5x0dmdTK+0QAw8hMo0QP9ajh8y8tCZhIrAD5/xuVYV1dHk3gKkv + vMo0HOzy3z6Q8DYUKT/69RCtTwcFzBPIzSqYJdVt70XQ9E3DXnPivBnxezXb2X1WB0v3k130TsXx2OHM + 0nS94Rtrg6elXHheWVhuHv1zvaw5dcn96AIftjdj9FaZZH7+Oz2r3F8+Rp+UHXfP7O7i30RRXwGoxCOd + rElI4AAAAABJRU5ErkJggg== @@ -431,7 +431,7 @@ AABJRU5ErkJggg== - + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKrSURBVDhPrZPbS5NxHMbfv6DrubX3LQ0vMi+KUVQK6UWE @@ -449,7 +449,7 @@ AABJRU5ErkJggg== - + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKrSURBVDhPrZPbS5NxHMbfv6DrubX3LQ0vMi+KUVQK6UWE