From 1ba03df18384028ff20b5cb3d096eec80445776d Mon Sep 17 00:00:00 2001 From: chi Date: Tue, 22 Aug 2023 15:27:34 +0900 Subject: [PATCH] =?UTF-8?q?=ED=94=84=EB=A1=9C=EC=A0=9D=ED=8A=B8=20?= =?UTF-8?q?=EB=AA=A8=EB=A1=9D=EC=97=90=20sfi=20=EC=B6=94=EA=B0=80=20(?= =?UTF-8?q?=EB=B0=95=EC=84=B1=EB=AF=BC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SubProject/FPJ0000/Model1.Context.cs | 2 - SubProject/FPJ0000/Model1.cs | 10 +- SubProject/FPJ0000/Model1.edmx | 125 - SubProject/FPJ0000/Model1.edmx.diagram | 24 +- SubProject/FPJ0000/Project/ctlLayout.cs | 18 +- .../FPJ0000/Project/fLayoutEdit.Designer.cs | 6 + SubProject/FPJ0000/Project/fLayoutEdit.cs | 11 +- SubProject/FPJ0000/Project/fLayoutEdit.resx | 3 + SubProject/FPJ0000/Project/fProjectLayout.cs | 52 +- .../FPJ0000/Project/fProjectList.Designer.cs | 564 ++-- SubProject/FPJ0000/Project/fProjectList.resx | 16 +- SubProject/FPJ0000/dsPRJ.Designer.cs | 2267 ++++++++++++++++- SubProject/FPJ0000/dsPRJ.xsd | 254 +- 13 files changed, 2861 insertions(+), 491 deletions(-) diff --git a/SubProject/FPJ0000/Model1.Context.cs b/SubProject/FPJ0000/Model1.Context.cs index 39fe145..6a92614 100644 --- a/SubProject/FPJ0000/Model1.Context.cs +++ b/SubProject/FPJ0000/Model1.Context.cs @@ -42,10 +42,8 @@ namespace FPJ0000 public virtual DbSet vJobReportForUser { get; set; } public virtual DbSet Auth { get; set; } public virtual DbSet Projects { get; set; } - public virtual DbSet EETGW_Project_Layout { get; set; } public virtual DbSet EETGW_DocuForm { get; set; } public virtual DbSet EETGW_ProjectsSchedule { get; set; } public virtual DbSet EETGW_HolydayRequest { get; set; } - public virtual DbSet vEETGW_Project_LayoutList { get; set; } } } diff --git a/SubProject/FPJ0000/Model1.cs b/SubProject/FPJ0000/Model1.cs index 7a9ab12..5f28270 100644 --- a/SubProject/FPJ0000/Model1.cs +++ b/SubProject/FPJ0000/Model1.cs @@ -1,9 +1 @@ -//------------------------------------------------------------------------------ -// -// 이 코드는 템플릿에서 생성되었습니다. -// -// 이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다. -// 이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다. -// -//------------------------------------------------------------------------------ - + \ No newline at end of file diff --git a/SubProject/FPJ0000/Model1.edmx b/SubProject/FPJ0000/Model1.edmx index 9cb3695..8ad2bb2 100644 --- a/SubProject/FPJ0000/Model1.edmx +++ b/SubProject/FPJ0000/Model1.edmx @@ -131,23 +131,6 @@ - - - - - - - - - - - - - - - - - @@ -462,24 +445,6 @@ - - - - - - - - - - - - - - - - - - @@ -591,7 +556,6 @@ - @@ -602,22 +566,6 @@ - - SELECT - [vEETGW_Project_LayoutList].[idx] AS [idx], - [vEETGW_Project_LayoutList].[gcode] AS [gcode], - [vEETGW_Project_LayoutList].[pdate] AS [pdate], - [vEETGW_Project_LayoutList].[edate] AS [edate], - [vEETGW_Project_LayoutList].[ddate] AS [ddate], - [vEETGW_Project_LayoutList].[sdate] AS [sdate], - [vEETGW_Project_LayoutList].[name] AS [name], - [vEETGW_Project_LayoutList].[userManager] AS [userManager], - [vEETGW_Project_LayoutList].[memo] AS [memo], - [vEETGW_Project_LayoutList].[isdel] AS [isdel], - [vEETGW_Project_LayoutList].[status] AS [status], - [vEETGW_Project_LayoutList].[champion] AS [champion] - FROM [dbo].[vEETGW_Project_LayoutList] AS [vEETGW_Project_LayoutList] - SELECT [vGroupUser].[gcode] AS [gcode], @@ -812,11 +760,9 @@ - - @@ -1200,23 +1146,6 @@ - - - - - - - - - - - - - - - - - @@ -1277,24 +1206,6 @@ - - - - - - - - - - - - - - - - - - @@ -1783,24 +1694,6 @@ - - - - - - - - - - - - - - - - - - @@ -1864,24 +1757,6 @@ - - - - - - - - - - - - - - - - - - diff --git a/SubProject/FPJ0000/Model1.edmx.diagram b/SubProject/FPJ0000/Model1.edmx.diagram index 36c9157..5d0617a 100644 --- a/SubProject/FPJ0000/Model1.edmx.diagram +++ b/SubProject/FPJ0000/Model1.edmx.diagram @@ -6,27 +6,25 @@ - - - - - + + + + + - + - + - - + + - - - - + + diff --git a/SubProject/FPJ0000/Project/ctlLayout.cs b/SubProject/FPJ0000/Project/ctlLayout.cs index f3c687f..4b2fa42 100644 --- a/SubProject/FPJ0000/Project/ctlLayout.cs +++ b/SubProject/FPJ0000/Project/ctlLayout.cs @@ -73,20 +73,9 @@ namespace FPJ0000.Project Boolean brect = true; protected override void OnPaint(PaintEventArgs pe) { - if (items == null || items.Count != 12) + if (items == null || items.Any()==false ) { - for (int i = 1; i <= 12; i++) - { - items.Add(new itemdata() - { - no = i, - body = string.Empty, - champion = "담당자", - duedate = "만료일자", - rect = Rectangle.Empty - }); - - } + return; } base.OnPaint(pe); @@ -133,6 +122,9 @@ namespace FPJ0000.Project rect.Top + (j * itemh) + ((j + 1) * itemp), itemw, itemh); + + if (cnt >= items.Count) continue; + var data = items[cnt - 1]; var no = j * colcount + i + 1; diff --git a/SubProject/FPJ0000/Project/fLayoutEdit.Designer.cs b/SubProject/FPJ0000/Project/fLayoutEdit.Designer.cs index 9088303..2dff091 100644 --- a/SubProject/FPJ0000/Project/fLayoutEdit.Designer.cs +++ b/SubProject/FPJ0000/Project/fLayoutEdit.Designer.cs @@ -37,6 +37,7 @@ namespace FPJ0000.Project this.textBox3 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); + this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_Project_LayoutTableAdapter(); this.SuspendLayout(); // // label1 @@ -112,6 +113,10 @@ namespace FPJ0000.Project this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // + // ta + // + this.ta.ClearBeforeFill = true; + // // fLayoutEdit // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -146,5 +151,6 @@ namespace FPJ0000.Project private System.Windows.Forms.TextBox textBox3; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; + private dsPRJTableAdapters.EETGW_Project_LayoutTableAdapter ta; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fLayoutEdit.cs b/SubProject/FPJ0000/Project/fLayoutEdit.cs index a0c672a..76af3ea 100644 --- a/SubProject/FPJ0000/Project/fLayoutEdit.cs +++ b/SubProject/FPJ0000/Project/fLayoutEdit.cs @@ -17,8 +17,8 @@ namespace FPJ0000.Project InitializeComponent(); this.textBox1.Text = no.ToString(); - var db = new EEEntities(); - var dr = db.EETGW_Project_Layout.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.no == no).FirstOrDefault(); + var db = ta.GetData(FCOMMON.info.Login.gcode); + var dr = db.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.no == no).FirstOrDefault(); if (dr != null) { textBox2.Text = dr.project.ToString(); @@ -44,14 +44,15 @@ namespace FPJ0000.Project //값을 저장해준다. - var db = new EEEntities(); + var db = ta.GetData(FCOMMON.info.Login.gcode); var no = int.Parse(textBox1.Text); - var dr = db.EETGW_Project_Layout.Where(t => t.no == no).FirstOrDefault(); + var dr = db.Where(t => t.no == no).FirstOrDefault(); if (dr != null) { dr.reserve = this.textBox3.Text.Trim(); dr.project = int.Parse(textBox2.Text); - db.SaveChanges(); + dr.EndEdit(); + ta.Update(dr); DialogResult = DialogResult.OK; } else diff --git a/SubProject/FPJ0000/Project/fLayoutEdit.resx b/SubProject/FPJ0000/Project/fLayoutEdit.resx index 29dcb1b..6f1959e 100644 --- a/SubProject/FPJ0000/Project/fLayoutEdit.resx +++ b/SubProject/FPJ0000/Project/fLayoutEdit.resx @@ -117,4 +117,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 17, 17 + \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectLayout.cs b/SubProject/FPJ0000/Project/fProjectLayout.cs index 79a3bcb..1593714 100644 --- a/SubProject/FPJ0000/Project/fProjectLayout.cs +++ b/SubProject/FPJ0000/Project/fProjectLayout.cs @@ -54,7 +54,8 @@ namespace FPJ0000 { if (ctlLayout1.items == null || ctlLayout1.items.Count != 10) { - for (int i = 1; i <= 10; i++) + if (ctlLayout1.items != null) ctlLayout1.items.Clear(); + for (int i = 1; i <= 12; i++) { ctlLayout1.items.Add(new itemdata() { @@ -76,19 +77,19 @@ namespace FPJ0000 } ctlLayout1.Refresh(); + var ta = new dsPRJTableAdapters.vEETGW_Project_LayoutListTableAdapter(); + var dtlay = ta.GetData(FCOMMON.info.Login.gcode); - var db = new EEEntities(); - var list = db.EETGW_Project_Layout.AsNoTracking().Where(t => t.gcode == FCOMMON.info.Login.gcode).OrderBy(t => t.no).ToList(); - var maxrow = list.Max(t => t.row); - var maxcol = list.Max(t => t.col); + + var list = dtlay.OrderBy(t => t.no).ToList(); if (list.Any()) { //this.cmsview1.GridCount = new Point(maxcol + 1, maxrow + 1); foreach (var dr in list) { var data = ctlLayout1.items[dr.no - 1]; - var drprj = db.vEETGW_Project_LayoutList.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.idx == dr.project).FirstOrDefault(); - if (drprj == null) + //var drprj = db.vEETGW_Project_LayoutList.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.idx == dr.project).FirstOrDefault(); + if (dr.IsprojectNull() || dr.project < 1) { data.bodyColor = Color.DarkMagenta; data.body = string.Empty; @@ -100,11 +101,11 @@ namespace FPJ0000 else { data.reserve = dr.reserve; - data.project = drprj.idx; - data.body = "[" + drprj.status + "] " + drprj.name; - data.champion = drprj.champion; - data.duedate = drprj.ddate; - var isdate = DateTime.TryParse(drprj.ddate, out DateTime dt); + data.project = dr.project; + data.body = "[" + dr.status + "] " + dr.name; + data.champion = dr.champion; + data.duedate = dr.ddate; + var isdate = DateTime.TryParse(dr.ddate, out DateTime dt); if (isdate) { if (DateTime.Now >= dt) data.bodyColor = Color.Tomato; @@ -395,12 +396,14 @@ namespace FPJ0000 var f = new FCM0000.fLovProject(string.Empty, "진행"); if (f.ShowDialog() == DialogResult.OK) { - var db = new EEEntities(); - var dr = db.EETGW_Project_Layout.Where(t => t.no == this.no && t.project == this.project).FirstOrDefault(); + //yfmf + var ta = new dsPRJTableAdapters.EETGW_Project_LayoutTableAdapter(); + var dt = ta.GetData(FCOMMON.info.Login.gcode); + var dr = dt.Where(t => t.no == this.no && t.project == this.project).FirstOrDefault(); if (dr == null) { //없으면 추가 해야하마 - var newdr = new EETGW_Project_Layout(); + var newdr = dt.NewEETGW_Project_LayoutRow(); newdr.gcode = FCOMMON.info.Login.gcode; newdr.no = this.no; newdr.project = f.Index; @@ -412,13 +415,14 @@ namespace FPJ0000 newdr.colspan = 1; newdr.wdate = DateTime.Now; newdr.wuid = FCOMMON.info.Login.no; - db.EETGW_Project_Layout.Add(newdr); - db.SaveChanges(); + dt.AddEETGW_Project_LayoutRow(newdr); + ta.Update(dt); } else { dr.project = f.Index; - db.SaveChanges(); + dr.EndEdit(); + ta.Update(dr); util.MsgI("프로젝트를 변경했습니다"); } refreshData(); @@ -608,14 +612,10 @@ namespace FPJ0000 "해당 슬롯은 '미사용'이 됩니다"); if (dlg == DialogResult.Yes) { - var db = new EEEntities(); - var dr = db.EETGW_Project_Layout.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.no == this.no).FirstOrDefault(); - if (dr != null) - { - dr.project = -1; - db.SaveChanges(); - refreshData(); - } + //자료를 삭제한다. + var ta = new dsPRJTableAdapters.EETGW_Project_LayoutTableAdapter(); + ta.DeleteNo(FCOMMON.info.Login.gcode, this.no); + refreshData(); } } } diff --git a/SubProject/FPJ0000/Project/fProjectList.Designer.cs b/SubProject/FPJ0000/Project/fProjectList.Designer.cs index 9804aa6..e03b303 100644 --- a/SubProject/FPJ0000/Project/fProjectList.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectList.Designer.cs @@ -50,6 +50,7 @@ FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); @@ -60,7 +61,7 @@ FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); @@ -115,7 +116,6 @@ this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); - this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.cmbDateType = new System.Windows.Forms.ToolStripComboBox(); this.cmbYearS = new System.Windows.Forms.ToolStripComboBox(); @@ -198,13 +198,13 @@ this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.label17 = new System.Windows.Forms.Label(); this.taHistD = new FPJ0000.dsPRJTableAdapters.EETGW_ProjecthistoryDTableAdapter(); + this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); this.bn.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); this.cm.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); this.toolStrip1.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bsHistD)).BeginInit(); @@ -217,6 +217,7 @@ this.toolStrip2.SuspendLayout(); this.panel1.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); this.SuspendLayout(); // // bn @@ -640,6 +641,7 @@ this.tam.EETGW_JobReport_AutoInputTableAdapter = null; this.tam.EETGW_JobReport_EBoardTableAdapter = null; this.tam.EETGW_NoteTableAdapter = null; + this.tam.EETGW_Project_LayoutTableAdapter = null; this.tam.EETGW_ProjecthistoryDTableAdapter = null; this.tam.EETGW_ProjectResonTableAdapter = null; this.tam.EETGW_ProjectsScheduleTableAdapter = null; @@ -654,6 +656,7 @@ this.tam.ProjectsTableAdapter = this.ta; this.tam.SPMasterTableAdapter = null; this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + this.tam.vEETGW_Project_LayoutListTableAdapter = null; // // fpSpread1 // @@ -673,278 +676,6 @@ this.fpSpread1.TabIndex = 2; this.fpSpread1.SetViewportLeftColumn(0, 0, 8); // - // fpSpread1_Sheet1 - // - this.fpSpread1_Sheet1.Reset(); - this.fpSpread1_Sheet1.SheetName = "Sheet1"; - // Formulas and custom names must be loaded with R1C1 reference style - this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; - this.fpSpread1_Sheet1.ColumnCount = 34; - this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2; - this.fpSpread1_Sheet1.ActiveColumnIndex = -1; - this.fpSpread1_Sheet1.ActiveRowIndex = -1; - this.fpSpread1_Sheet1.AutoGenerateColumns = false; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).ColumnSpan = 8; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Basic Info"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Process /\r\nEquipment"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).ColumnSpan = 7; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Schedule"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Schedule"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).ColumnSpan = 4; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "Effect"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "Original\r\n($K)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).StyleName = " "; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "Input\r\n($K)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "Effect\r\n($K)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "Budget"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).ColumnSpan = 4; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "Human Resource"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).ColumnSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "Comment"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "Comment"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).ColumnSpan = 4; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "Ext.Info"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).Value = "Cost Save"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).Value = "Fan Out"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).RowSpan = 2; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).Value = "Major Item"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 1).Value = "Project\r\nNo"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 2).Value = "Process / Equipment"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 3).Value = "Site"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 4).Value = "Plant"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 5).Value = "PKG"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "Line"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "Request Team"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "Project Title"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "준수(%)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "완료(%)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "Status"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 12).Value = "검토\r\n기한"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 13).Value = "Start Date"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 14).Value = "Due Date"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 15).Value = "Done Date"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 16).Value = "Q\'ty"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 17).Value = "Outsourced Cost ($K)/Set\r\n"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 18).Value = "In-house Cost ($K/Set)"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 19).Value = "Cost Save ($k)/Set"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 20).Value = "SCR/CF"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 21).Value = "Champion"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 22).Value = "S/W"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 23).Value = "Design"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 24).Value = "ePanel"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 25).Value = "History"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 26).Value = "Memo"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 27).Value = "Asset"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 28).Value = "Model#"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 29).Value = "Serial#"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 30).Value = "자스민"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 33).Value = "Major Item"; - this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F; - this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 44F; - this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType1.DecimalPlaces = 0; - numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType1.MaximumValue = 2147483647D; - numberCellType1.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1; - this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx"; - this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(0).Locked = true; - this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F; - numberCellType2.DecimalPlaces = 0; - numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType2.MaximumValue = 2147483647D; - numberCellType2.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = numberCellType2; - this.fpSpread1_Sheet1.Columns.Get(1).DataField = "pno"; - this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(1).Label = "Project\r\nNo"; - this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1; - this.fpSpread1_Sheet1.Columns.Get(2).DataField = "process"; - this.fpSpread1_Sheet1.Columns.Get(2).Label = "Process / Equipment"; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2; - this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ReqSite"; - this.fpSpread1_Sheet1.Columns.Get(3).Label = "Site"; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3; - this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ReqPlant"; - this.fpSpread1_Sheet1.Columns.Get(4).Label = "Plant"; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4; - this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ReqPackage"; - this.fpSpread1_Sheet1.Columns.Get(5).Label = "PKG"; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; - this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ReqLine"; - this.fpSpread1_Sheet1.Columns.Get(6).Label = "Line"; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6; - this.fpSpread1_Sheet1.Columns.Get(7).DataField = "part"; - this.fpSpread1_Sheet1.Columns.Get(7).Label = "Request Team"; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; - this.fpSpread1_Sheet1.Columns.Get(8).DataField = "name"; - this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(8).Label = "Project Title"; - this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType3.DecimalPlaces = 0; - numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType3.MaximumValue = 2147483647D; - numberCellType3.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType3; - this.fpSpread1_Sheet1.Columns.Get(9).DataField = "finishrate"; - this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(9).Label = "준수(%)"; - this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType4.DecimalPlaces = 0; - numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType4.MaximumValue = 2147483647D; - numberCellType4.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType4; - this.fpSpread1_Sheet1.Columns.Get(10).DataField = "ProgressPrj"; - this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(10).Label = "완료(%)"; - this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(10).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType8; - this.fpSpread1_Sheet1.Columns.Get(11).DataField = "status"; - this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(11).Label = "Status"; - this.fpSpread1_Sheet1.Columns.Get(11).Tag = "Status"; - this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType9; - this.fpSpread1_Sheet1.Columns.Get(12).DataField = "kdate"; - this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(12).Label = "검토\r\n기한"; - this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType10; - this.fpSpread1_Sheet1.Columns.Get(13).DataField = "sdate"; - this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).Label = "Start Date"; - this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).Width = 52F; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType11; - this.fpSpread1_Sheet1.Columns.Get(14).DataField = "ddate"; - this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(14).Label = "Due Date"; - this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType12; - this.fpSpread1_Sheet1.Columns.Get(15).DataField = "edate"; - this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(15).Label = "Done Date"; - this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType5.DecimalPlaces = 0; - numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType5.MaximumValue = 2147483647D; - numberCellType5.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType5; - this.fpSpread1_Sheet1.Columns.Get(16).DataField = "cnt"; - this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).Label = "Q\'ty"; - this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).Width = 42F; - numberCellType6.MaximumValue = 999999999999999D; - numberCellType6.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType6; - this.fpSpread1_Sheet1.Columns.Get(17).DataField = "costo"; - this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(17).Label = "Outsourced Cost ($K)/Set\r\n"; - this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(17).Width = 63F; - numberCellType7.MaximumValue = 999999999999999D; - numberCellType7.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType7; - this.fpSpread1_Sheet1.Columns.Get(18).DataField = "costn"; - this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(18).Label = "In-house Cost ($K/Set)"; - this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(18).Width = 63F; - this.fpSpread1_Sheet1.Columns.Get(19).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType8.MaximumValue = 999999999999999D; - numberCellType8.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType8; - this.fpSpread1_Sheet1.Columns.Get(19).DataField = "coste"; - this.fpSpread1_Sheet1.Columns.Get(19).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(19).Label = "Cost Save ($k)/Set"; - this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(19).Width = 67F; - this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType13; - this.fpSpread1_Sheet1.Columns.Get(20).DataField = "orderno"; - this.fpSpread1_Sheet1.Columns.Get(20).Label = "SCR/CF"; - this.fpSpread1_Sheet1.Columns.Get(21).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType14; - this.fpSpread1_Sheet1.Columns.Get(21).DataField = "name_champion"; - this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(21).Label = "Champion"; - this.fpSpread1_Sheet1.Columns.Get(21).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(22).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType15; - this.fpSpread1_Sheet1.Columns.Get(22).DataField = "name_software"; - this.fpSpread1_Sheet1.Columns.Get(22).Label = "S/W"; - this.fpSpread1_Sheet1.Columns.Get(23).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType16; - this.fpSpread1_Sheet1.Columns.Get(23).DataField = "name_design"; - this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(23).Label = "Design"; - this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(24).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17; - this.fpSpread1_Sheet1.Columns.Get(24).DataField = "name_epanel"; - this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(24).Label = "ePanel"; - this.fpSpread1_Sheet1.Columns.Get(24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType18; - this.fpSpread1_Sheet1.Columns.Get(25).DataField = "lasthistory"; - this.fpSpread1_Sheet1.Columns.Get(25).Label = "History"; - this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType19; - this.fpSpread1_Sheet1.Columns.Get(26).DataField = "memo"; - this.fpSpread1_Sheet1.Columns.Get(26).Label = "Memo"; - this.fpSpread1_Sheet1.Columns.Get(26).Width = 77F; - this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType20; - this.fpSpread1_Sheet1.Columns.Get(27).DataField = "asset"; - this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(27).Label = "Asset"; - this.fpSpread1_Sheet1.Columns.Get(27).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType21; - this.fpSpread1_Sheet1.Columns.Get(28).DataField = "model"; - this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(28).Label = "Model#"; - this.fpSpread1_Sheet1.Columns.Get(28).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType22; - this.fpSpread1_Sheet1.Columns.Get(29).DataField = "serial"; - this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(29).Label = "Serial#"; - this.fpSpread1_Sheet1.Columns.Get(29).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType9.DecimalPlaces = 0; - numberCellType9.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType9.MaximumValue = 2147483647D; - numberCellType9.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(30).CellType = numberCellType9; - this.fpSpread1_Sheet1.Columns.Get(30).DataField = "jasmin"; - this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(30).Label = "자스민"; - this.fpSpread1_Sheet1.Columns.Get(30).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(31).CellType = checkBoxCellType1; - this.fpSpread1_Sheet1.Columns.Get(31).DataField = "bCost"; - this.fpSpread1_Sheet1.Columns.Get(31).Width = 44F; - this.fpSpread1_Sheet1.Columns.Get(32).CellType = checkBoxCellType2; - this.fpSpread1_Sheet1.Columns.Get(32).DataField = "bFanOut"; - this.fpSpread1_Sheet1.Columns.Get(32).Width = 44F; - this.fpSpread1_Sheet1.Columns.Get(33).CellType = checkBoxCellType3; - this.fpSpread1_Sheet1.Columns.Get(33).DataField = "bHighlight"; - this.fpSpread1_Sheet1.Columns.Get(33).Label = "Major Item"; - this.fpSpread1_Sheet1.Columns.Get(33).Tag = "Highlight"; - this.fpSpread1_Sheet1.Columns.Get(33).Width = 39F; - this.fpSpread1_Sheet1.DataAutoSizeColumns = false; - this.fpSpread1_Sheet1.DataSource = this.bs; - this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; - this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; - // // toolStrip1 // this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; @@ -1978,6 +1709,287 @@ // this.taHistD.ClearBeforeFill = true; // + // fpSpread1_Sheet1 + // + this.fpSpread1_Sheet1.Reset(); + this.fpSpread1_Sheet1.SheetName = "Sheet1"; + // Formulas and custom names must be loaded with R1C1 reference style + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; + this.fpSpread1_Sheet1.ColumnCount = 35; + this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2; + this.fpSpread1_Sheet1.ActiveColumnIndex = -1; + this.fpSpread1_Sheet1.ActiveRowIndex = -1; + this.fpSpread1_Sheet1.AutoGenerateColumns = false; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).ColumnSpan = 8; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Basic Info"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Process /\r\nEquipment"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).ColumnSpan = 7; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Schedule"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Schedule"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).ColumnSpan = 5; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "Effect"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "Original\r\n($K)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).StyleName = " "; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "Input\r\n($K)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "Effect\r\n($K)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "Budget"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 22).ColumnSpan = 4; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 22).Value = "Human Resource"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).ColumnSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "Comment"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "Comment"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 28).ColumnSpan = 4; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 28).Value = "Ext.Info"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).Value = "Cost Save"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).Value = "Fan Out"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 34).RowSpan = 2; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 34).Value = "Major Item"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 1).Value = "Project\r\nNo"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 2).Value = "Process / Equipment"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 3).Value = "Site"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 4).Value = "Plant"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 5).Value = "PKG"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "Line"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "Request Team"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "Project Title"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "준수(%)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "완료(%)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "Status"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 12).Value = "검토\r\n기한"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 13).Value = "Start Date"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 14).Value = "Due Date"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 15).Value = "Done Date"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 16).Value = "Q\'ty"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 17).Value = "Outsourced Cost ($K)/Set\r\n"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 18).Value = "In-house Cost ($K/Set)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 19).Value = "Cost Save ($k)/Set"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 20).Value = "SFI"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 21).Value = "SCR/CF"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 22).Value = "Champion"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 23).Value = "S/W"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 24).Value = "Design"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 25).Value = "ePanel"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 26).Value = "History"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 27).Value = "Memo"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 28).Value = "Asset"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 29).Value = "Model#"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 30).Value = "Serial#"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 31).Value = "자스민"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 34).Value = "Major Item"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 44F; + this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType1.DecimalPlaces = 0; + numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType1.MaximumValue = 2147483647D; + numberCellType1.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1; + this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx"; + this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(0).Locked = true; + this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F; + numberCellType2.DecimalPlaces = 0; + numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType2.MaximumValue = 2147483647D; + numberCellType2.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = numberCellType2; + this.fpSpread1_Sheet1.Columns.Get(1).DataField = "pno"; + this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Label = "Project\r\nNo"; + this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(2).DataField = "process"; + this.fpSpread1_Sheet1.Columns.Get(2).Label = "Process / Equipment"; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ReqSite"; + this.fpSpread1_Sheet1.Columns.Get(3).Label = "Site"; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ReqPlant"; + this.fpSpread1_Sheet1.Columns.Get(4).Label = "Plant"; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ReqPackage"; + this.fpSpread1_Sheet1.Columns.Get(5).Label = "PKG"; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ReqLine"; + this.fpSpread1_Sheet1.Columns.Get(6).Label = "Line"; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6; + this.fpSpread1_Sheet1.Columns.Get(7).DataField = "part"; + this.fpSpread1_Sheet1.Columns.Get(7).Label = "Request Team"; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; + this.fpSpread1_Sheet1.Columns.Get(8).DataField = "name"; + this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(8).Label = "Project Title"; + this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + numberCellType3.DecimalPlaces = 0; + numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType3.MaximumValue = 2147483647D; + numberCellType3.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType3; + this.fpSpread1_Sheet1.Columns.Get(9).DataField = "finishrate"; + this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(9).Label = "준수(%)"; + this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + numberCellType4.DecimalPlaces = 0; + numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType4.MaximumValue = 2147483647D; + numberCellType4.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType4; + this.fpSpread1_Sheet1.Columns.Get(10).DataField = "ProgressPrj"; + this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Label = "완료(%)"; + this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType8; + this.fpSpread1_Sheet1.Columns.Get(11).DataField = "status"; + this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(11).Label = "Status"; + this.fpSpread1_Sheet1.Columns.Get(11).Tag = "Status"; + this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(12).DataField = "kdate"; + this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(12).Label = "검토\r\n기한"; + this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(13).DataField = "sdate"; + this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).Label = "Start Date"; + this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).Width = 52F; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType11; + this.fpSpread1_Sheet1.Columns.Get(14).DataField = "ddate"; + this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).Label = "Due Date"; + this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType12; + this.fpSpread1_Sheet1.Columns.Get(15).DataField = "edate"; + this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(15).Label = "Done Date"; + this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + numberCellType5.DecimalPlaces = 0; + numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType5.MaximumValue = 2147483647D; + numberCellType5.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType5; + this.fpSpread1_Sheet1.Columns.Get(16).DataField = "cnt"; + this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(16).Label = "Q\'ty"; + this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(16).Width = 42F; + numberCellType6.MaximumValue = 999999999999999D; + numberCellType6.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType6; + this.fpSpread1_Sheet1.Columns.Get(17).DataField = "costo"; + this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(17).Label = "Outsourced Cost ($K)/Set\r\n"; + this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(17).Width = 63F; + numberCellType7.MaximumValue = 999999999999999D; + numberCellType7.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType7; + this.fpSpread1_Sheet1.Columns.Get(18).DataField = "costn"; + this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(18).Label = "In-house Cost ($K/Set)"; + this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(18).Width = 63F; + this.fpSpread1_Sheet1.Columns.Get(19).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType8.MaximumValue = 999999999999999D; + numberCellType8.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType8; + this.fpSpread1_Sheet1.Columns.Get(19).DataField = "coste"; + this.fpSpread1_Sheet1.Columns.Get(19).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(19).Label = "Cost Save ($k)/Set"; + this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(19).Width = 67F; + numberCellType9.MaximumValue = 999999999999999D; + numberCellType9.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType9; + this.fpSpread1_Sheet1.Columns.Get(20).DataField = "sfi"; + this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(20).Label = "SFI"; + this.fpSpread1_Sheet1.Columns.Get(20).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(20).Width = 52F; + this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType13; + this.fpSpread1_Sheet1.Columns.Get(21).DataField = "orderno"; + this.fpSpread1_Sheet1.Columns.Get(21).Label = "SCR/CF"; + this.fpSpread1_Sheet1.Columns.Get(22).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType14; + this.fpSpread1_Sheet1.Columns.Get(22).DataField = "name_champion"; + this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(22).Label = "Champion"; + this.fpSpread1_Sheet1.Columns.Get(22).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(23).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType15; + this.fpSpread1_Sheet1.Columns.Get(23).DataField = "name_software"; + this.fpSpread1_Sheet1.Columns.Get(23).Label = "S/W"; + this.fpSpread1_Sheet1.Columns.Get(24).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType16; + this.fpSpread1_Sheet1.Columns.Get(24).DataField = "name_design"; + this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(24).Label = "Design"; + this.fpSpread1_Sheet1.Columns.Get(24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(25).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType17; + this.fpSpread1_Sheet1.Columns.Get(25).DataField = "name_epanel"; + this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(25).Label = "ePanel"; + this.fpSpread1_Sheet1.Columns.Get(25).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType18; + this.fpSpread1_Sheet1.Columns.Get(26).DataField = "lasthistory"; + this.fpSpread1_Sheet1.Columns.Get(26).Label = "History"; + this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType19; + this.fpSpread1_Sheet1.Columns.Get(27).DataField = "memo"; + this.fpSpread1_Sheet1.Columns.Get(27).Label = "Memo"; + this.fpSpread1_Sheet1.Columns.Get(27).Width = 77F; + this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType20; + this.fpSpread1_Sheet1.Columns.Get(28).DataField = "asset"; + this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(28).Label = "Asset"; + this.fpSpread1_Sheet1.Columns.Get(28).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType21; + this.fpSpread1_Sheet1.Columns.Get(29).DataField = "model"; + this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(29).Label = "Model#"; + this.fpSpread1_Sheet1.Columns.Get(29).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType22; + this.fpSpread1_Sheet1.Columns.Get(30).DataField = "serial"; + this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(30).Label = "Serial#"; + this.fpSpread1_Sheet1.Columns.Get(30).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + numberCellType10.DecimalPlaces = 0; + numberCellType10.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType10.MaximumValue = 2147483647D; + numberCellType10.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(31).CellType = numberCellType10; + this.fpSpread1_Sheet1.Columns.Get(31).DataField = "jasmin"; + this.fpSpread1_Sheet1.Columns.Get(31).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(31).Label = "자스민"; + this.fpSpread1_Sheet1.Columns.Get(31).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(32).CellType = checkBoxCellType1; + this.fpSpread1_Sheet1.Columns.Get(32).DataField = "bCost"; + this.fpSpread1_Sheet1.Columns.Get(32).Width = 44F; + this.fpSpread1_Sheet1.Columns.Get(33).CellType = checkBoxCellType2; + this.fpSpread1_Sheet1.Columns.Get(33).DataField = "bFanOut"; + this.fpSpread1_Sheet1.Columns.Get(33).Width = 44F; + this.fpSpread1_Sheet1.Columns.Get(34).CellType = checkBoxCellType3; + this.fpSpread1_Sheet1.Columns.Get(34).DataField = "bHighlight"; + this.fpSpread1_Sheet1.Columns.Get(34).Label = "Major Item"; + this.fpSpread1_Sheet1.Columns.Get(34).Tag = "Highlight"; + this.fpSpread1_Sheet1.Columns.Get(34).Width = 39F; + this.fpSpread1_Sheet1.DataAutoSizeColumns = false; + this.fpSpread1_Sheet1.DataSource = this.bs; + this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; + // // fProjectList // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -1999,7 +2011,6 @@ ((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); @@ -2015,6 +2026,7 @@ this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.tableLayoutPanel3.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); diff --git a/SubProject/FPJ0000/Project/fProjectList.resx b/SubProject/FPJ0000/Project/fProjectList.resx index 63d54bb..0ad9048 100644 --- a/SubProject/FPJ0000/Project/fProjectList.resx +++ b/SubProject/FPJ0000/Project/fProjectList.resx @@ -130,7 +130,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 + vQAADr0BR/uQrQAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA @@ -141,7 +141,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w + vQAADr0BR/uQrQAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC @@ -150,7 +150,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + vQAADr0BR/uQrQAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f oAc0QjgAAAAASUVORK5CYII= @@ -159,7 +159,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// + vQAADr0BR/uQrQAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG @@ -170,7 +170,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC + vQAADr0BR/uQrQAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA @@ -192,7 +192,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC + vQAADr0BR/uQrQAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG @@ -204,7 +204,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo + vQAADr0BR/uQrQAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= @@ -522,7 +522,7 @@ iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAN - 0gAADdIBb5L+jgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAMZSURBVEhLzVdd + 0QAADdEBwivf4wAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAMZSURBVEhLzVdd TxNBFF3/hi8+GH0xJmriq5HdzralCMKDGl/LxwMphCe+QqKBmCBB3oDAzyD8A4F+AfJATFRMoAhtUVrY CqXajvcss2Ep07KlEDzJSSY7d+7p3Llz51b57zHvcj0M6vpgxOuNhD2eGI2NIGMGxmF8Y+ztHGMPhHl1 4IpyI6hpr0K6vhn1+fbX2tpyPwcGeHpoiGeGh01ijG/fW1uPyMYIu92xBZfrBdYKN5UhpGl3aVeflxoa diff --git a/SubProject/FPJ0000/dsPRJ.Designer.cs b/SubProject/FPJ0000/dsPRJ.Designer.cs index 8ecb3f5..d224048 100644 --- a/SubProject/FPJ0000/dsPRJ.Designer.cs +++ b/SubProject/FPJ0000/dsPRJ.Designer.cs @@ -58,6 +58,10 @@ namespace FPJ0000 { private JobReportDataTable tableJobReport; + private vEETGW_Project_LayoutListDataTable tablevEETGW_Project_LayoutList; + + private EETGW_Project_LayoutDataTable tableEETGW_Project_Layout; + private SCTableDataTable tableSCTable; private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; @@ -143,6 +147,12 @@ namespace FPJ0000 { if ((ds.Tables["JobReport"] != null)) { base.Tables.Add(new JobReportDataTable(ds.Tables["JobReport"])); } + if ((ds.Tables["vEETGW_Project_LayoutList"] != null)) { + base.Tables.Add(new vEETGW_Project_LayoutListDataTable(ds.Tables["vEETGW_Project_LayoutList"])); + } + if ((ds.Tables["EETGW_Project_Layout"] != null)) { + base.Tables.Add(new EETGW_Project_LayoutDataTable(ds.Tables["EETGW_Project_Layout"])); + } if ((ds.Tables["SCTable"] != null)) { base.Tables.Add(new SCTableDataTable(ds.Tables["SCTable"])); } @@ -335,6 +345,26 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public vEETGW_Project_LayoutListDataTable vEETGW_Project_LayoutList { + get { + return this.tablevEETGW_Project_LayoutList; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public EETGW_Project_LayoutDataTable EETGW_Project_Layout { + get { + return this.tableEETGW_Project_Layout; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -464,6 +494,12 @@ namespace FPJ0000 { if ((ds.Tables["JobReport"] != null)) { base.Tables.Add(new JobReportDataTable(ds.Tables["JobReport"])); } + if ((ds.Tables["vEETGW_Project_LayoutList"] != null)) { + base.Tables.Add(new vEETGW_Project_LayoutListDataTable(ds.Tables["vEETGW_Project_LayoutList"])); + } + if ((ds.Tables["EETGW_Project_Layout"] != null)) { + base.Tables.Add(new EETGW_Project_LayoutDataTable(ds.Tables["EETGW_Project_Layout"])); + } if ((ds.Tables["SCTable"] != null)) { base.Tables.Add(new SCTableDataTable(ds.Tables["SCTable"])); } @@ -602,6 +638,18 @@ namespace FPJ0000 { this.tableJobReport.InitVars(); } } + this.tablevEETGW_Project_LayoutList = ((vEETGW_Project_LayoutListDataTable)(base.Tables["vEETGW_Project_LayoutList"])); + if ((initTable == true)) { + if ((this.tablevEETGW_Project_LayoutList != null)) { + this.tablevEETGW_Project_LayoutList.InitVars(); + } + } + this.tableEETGW_Project_Layout = ((EETGW_Project_LayoutDataTable)(base.Tables["EETGW_Project_Layout"])); + if ((initTable == true)) { + if ((this.tableEETGW_Project_Layout != null)) { + this.tableEETGW_Project_Layout.InitVars(); + } + } this.tableSCTable = ((SCTableDataTable)(base.Tables["SCTable"])); if ((initTable == true)) { if ((this.tableSCTable != null)) { @@ -652,6 +700,10 @@ namespace FPJ0000 { base.Tables.Add(this.tablevJobReportForUserList); this.tableJobReport = new JobReportDataTable(); base.Tables.Add(this.tableJobReport); + this.tablevEETGW_Project_LayoutList = new vEETGW_Project_LayoutListDataTable(); + base.Tables.Add(this.tablevEETGW_Project_LayoutList); + this.tableEETGW_Project_Layout = new EETGW_Project_LayoutDataTable(); + base.Tables.Add(this.tableEETGW_Project_Layout); this.tableSCTable = new SCTableDataTable(); base.Tables.Add(this.tableSCTable); } @@ -758,6 +810,18 @@ namespace FPJ0000 { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private bool ShouldSerializevEETGW_Project_LayoutList() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private bool ShouldSerializeEETGW_Project_Layout() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private bool ShouldSerializeSCTable() { @@ -877,6 +941,12 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void JobReportRowChangeEventHandler(object sender, JobReportRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public delegate void vEETGW_Project_LayoutListRowChangeEventHandler(object sender, vEETGW_Project_LayoutListRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public delegate void EETGW_Project_LayoutRowChangeEventHandler(object sender, EETGW_Project_LayoutRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void SCTableRowChangeEventHandler(object sender, SCTableRowChangeEvent e); @@ -11565,6 +11635,772 @@ namespace FPJ0000 { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class vEETGW_Project_LayoutListDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnno; + + private global::System.Data.DataColumn columnname; + + private global::System.Data.DataColumn columnddate; + + private global::System.Data.DataColumn columnstatus; + + private global::System.Data.DataColumn columnchampion; + + private global::System.Data.DataColumn columnproject; + + private global::System.Data.DataColumn columnreserve; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public vEETGW_Project_LayoutListDataTable() { + this.TableName = "vEETGW_Project_LayoutList"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal vEETGW_Project_LayoutListDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected vEETGW_Project_LayoutListDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn noColumn { + get { + return this.columnno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn nameColumn { + get { + return this.columnname; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn ddateColumn { + get { + return this.columnddate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn statusColumn { + get { + return this.columnstatus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn championColumn { + get { + return this.columnchampion; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn projectColumn { + get { + return this.columnproject; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn reserveColumn { + get { + return this.columnreserve; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public vEETGW_Project_LayoutListRow this[int index] { + get { + return ((vEETGW_Project_LayoutListRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public event vEETGW_Project_LayoutListRowChangeEventHandler vEETGW_Project_LayoutListRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public event vEETGW_Project_LayoutListRowChangeEventHandler vEETGW_Project_LayoutListRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public event vEETGW_Project_LayoutListRowChangeEventHandler vEETGW_Project_LayoutListRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public event vEETGW_Project_LayoutListRowChangeEventHandler vEETGW_Project_LayoutListRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void AddvEETGW_Project_LayoutListRow(vEETGW_Project_LayoutListRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public vEETGW_Project_LayoutListRow AddvEETGW_Project_LayoutListRow(int no, string name, string ddate, string status, string champion, int project, string reserve) { + vEETGW_Project_LayoutListRow rowvEETGW_Project_LayoutListRow = ((vEETGW_Project_LayoutListRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + no, + name, + ddate, + status, + champion, + project, + reserve}; + rowvEETGW_Project_LayoutListRow.ItemArray = columnValuesArray; + this.Rows.Add(rowvEETGW_Project_LayoutListRow); + return rowvEETGW_Project_LayoutListRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public override global::System.Data.DataTable Clone() { + vEETGW_Project_LayoutListDataTable cln = ((vEETGW_Project_LayoutListDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new vEETGW_Project_LayoutListDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal void InitVars() { + this.columnno = base.Columns["no"]; + this.columnname = base.Columns["name"]; + this.columnddate = base.Columns["ddate"]; + this.columnstatus = base.Columns["status"]; + this.columnchampion = base.Columns["champion"]; + this.columnproject = base.Columns["project"]; + this.columnreserve = base.Columns["reserve"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private void InitClass() { + this.columnno = new global::System.Data.DataColumn("no", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnno); + this.columnname = new global::System.Data.DataColumn("name", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnname); + this.columnddate = new global::System.Data.DataColumn("ddate", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnddate); + this.columnstatus = new global::System.Data.DataColumn("status", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnstatus); + this.columnchampion = new global::System.Data.DataColumn("champion", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnchampion); + this.columnproject = new global::System.Data.DataColumn("project", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnproject); + this.columnreserve = new global::System.Data.DataColumn("reserve", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnreserve); + this.columnno.AllowDBNull = false; + this.columnname.MaxLength = 255; + this.columnddate.MaxLength = 50; + this.columnstatus.MaxLength = 50; + this.columnchampion.ReadOnly = true; + this.columnchampion.MaxLength = 200; + this.columnreserve.MaxLength = 255; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public vEETGW_Project_LayoutListRow NewvEETGW_Project_LayoutListRow() { + return ((vEETGW_Project_LayoutListRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new vEETGW_Project_LayoutListRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(vEETGW_Project_LayoutListRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.vEETGW_Project_LayoutListRowChanged != null)) { + this.vEETGW_Project_LayoutListRowChanged(this, new vEETGW_Project_LayoutListRowChangeEvent(((vEETGW_Project_LayoutListRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.vEETGW_Project_LayoutListRowChanging != null)) { + this.vEETGW_Project_LayoutListRowChanging(this, new vEETGW_Project_LayoutListRowChangeEvent(((vEETGW_Project_LayoutListRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.vEETGW_Project_LayoutListRowDeleted != null)) { + this.vEETGW_Project_LayoutListRowDeleted(this, new vEETGW_Project_LayoutListRowChangeEvent(((vEETGW_Project_LayoutListRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.vEETGW_Project_LayoutListRowDeleting != null)) { + this.vEETGW_Project_LayoutListRowDeleting(this, new vEETGW_Project_LayoutListRowChangeEvent(((vEETGW_Project_LayoutListRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void RemovevEETGW_Project_LayoutListRow(vEETGW_Project_LayoutListRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + dsPRJ ds = new dsPRJ(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "vEETGW_Project_LayoutListDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class EETGW_Project_LayoutDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidx; + + private global::System.Data.DataColumn columngcode; + + private global::System.Data.DataColumn columnno; + + private global::System.Data.DataColumn columnrow; + + private global::System.Data.DataColumn columncol; + + private global::System.Data.DataColumn columnrowspan; + + private global::System.Data.DataColumn columncolspan; + + private global::System.Data.DataColumn columnproject; + + private global::System.Data.DataColumn columnreserve; + + private global::System.Data.DataColumn columnremark; + + private global::System.Data.DataColumn columnwuid; + + private global::System.Data.DataColumn columnwdate; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_Project_LayoutDataTable() { + this.TableName = "EETGW_Project_Layout"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal EETGW_Project_LayoutDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected EETGW_Project_LayoutDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn idxColumn { + get { + return this.columnidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn gcodeColumn { + get { + return this.columngcode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn noColumn { + get { + return this.columnno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn rowColumn { + get { + return this.columnrow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn colColumn { + get { + return this.columncol; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn rowspanColumn { + get { + return this.columnrowspan; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn colspanColumn { + get { + return this.columncolspan; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn projectColumn { + get { + return this.columnproject; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn reserveColumn { + get { + return this.columnreserve; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn remarkColumn { + get { + return this.columnremark; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn wuidColumn { + get { + return this.columnwuid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataColumn wdateColumn { + get { + return this.columnwdate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_Project_LayoutRow this[int index] { + get { + return ((EETGW_Project_LayoutRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public event EETGW_Project_LayoutRowChangeEventHandler EETGW_Project_LayoutRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public event EETGW_Project_LayoutRowChangeEventHandler EETGW_Project_LayoutRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public event EETGW_Project_LayoutRowChangeEventHandler EETGW_Project_LayoutRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public event EETGW_Project_LayoutRowChangeEventHandler EETGW_Project_LayoutRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void AddEETGW_Project_LayoutRow(EETGW_Project_LayoutRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_Project_LayoutRow AddEETGW_Project_LayoutRow(string gcode, int no, int row, int col, int rowspan, int colspan, int project, string reserve, string remark, string wuid, System.DateTime wdate) { + EETGW_Project_LayoutRow rowEETGW_Project_LayoutRow = ((EETGW_Project_LayoutRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + gcode, + no, + row, + col, + rowspan, + colspan, + project, + reserve, + remark, + wuid, + wdate}; + rowEETGW_Project_LayoutRow.ItemArray = columnValuesArray; + this.Rows.Add(rowEETGW_Project_LayoutRow); + return rowEETGW_Project_LayoutRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_Project_LayoutRow FindByidx(int idx) { + return ((EETGW_Project_LayoutRow)(this.Rows.Find(new object[] { + idx}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public override global::System.Data.DataTable Clone() { + EETGW_Project_LayoutDataTable cln = ((EETGW_Project_LayoutDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new EETGW_Project_LayoutDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal void InitVars() { + this.columnidx = base.Columns["idx"]; + this.columngcode = base.Columns["gcode"]; + this.columnno = base.Columns["no"]; + this.columnrow = base.Columns["row"]; + this.columncol = base.Columns["col"]; + this.columnrowspan = base.Columns["rowspan"]; + this.columncolspan = base.Columns["colspan"]; + this.columnproject = base.Columns["project"]; + this.columnreserve = base.Columns["reserve"]; + this.columnremark = base.Columns["remark"]; + this.columnwuid = base.Columns["wuid"]; + this.columnwdate = base.Columns["wdate"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private void InitClass() { + this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidx); + this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columngcode); + this.columnno = new global::System.Data.DataColumn("no", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnno); + this.columnrow = new global::System.Data.DataColumn("row", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnrow); + this.columncol = new global::System.Data.DataColumn("col", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncol); + this.columnrowspan = new global::System.Data.DataColumn("rowspan", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnrowspan); + this.columncolspan = new global::System.Data.DataColumn("colspan", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncolspan); + this.columnproject = new global::System.Data.DataColumn("project", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnproject); + this.columnreserve = new global::System.Data.DataColumn("reserve", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnreserve); + this.columnremark = new global::System.Data.DataColumn("remark", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnremark); + this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnwuid); + this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnwdate); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidx}, true)); + this.columnidx.AutoIncrement = true; + this.columnidx.AutoIncrementSeed = -1; + this.columnidx.AutoIncrementStep = -1; + this.columnidx.AllowDBNull = false; + this.columnidx.ReadOnly = true; + this.columnidx.Unique = true; + this.columngcode.AllowDBNull = false; + this.columngcode.MaxLength = 20; + this.columnno.AllowDBNull = false; + this.columnrow.AllowDBNull = false; + this.columncol.AllowDBNull = false; + this.columnrowspan.AllowDBNull = false; + this.columncolspan.AllowDBNull = false; + this.columnreserve.MaxLength = 255; + this.columnremark.MaxLength = 255; + this.columnwuid.AllowDBNull = false; + this.columnwuid.MaxLength = 20; + this.columnwdate.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_Project_LayoutRow NewEETGW_Project_LayoutRow() { + return ((EETGW_Project_LayoutRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new EETGW_Project_LayoutRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(EETGW_Project_LayoutRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.EETGW_Project_LayoutRowChanged != null)) { + this.EETGW_Project_LayoutRowChanged(this, new EETGW_Project_LayoutRowChangeEvent(((EETGW_Project_LayoutRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.EETGW_Project_LayoutRowChanging != null)) { + this.EETGW_Project_LayoutRowChanging(this, new EETGW_Project_LayoutRowChangeEvent(((EETGW_Project_LayoutRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.EETGW_Project_LayoutRowDeleted != null)) { + this.EETGW_Project_LayoutRowDeleted(this, new EETGW_Project_LayoutRowChangeEvent(((EETGW_Project_LayoutRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.EETGW_Project_LayoutRowDeleting != null)) { + this.EETGW_Project_LayoutRowDeleting(this, new EETGW_Project_LayoutRowChangeEvent(((EETGW_Project_LayoutRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void RemoveEETGW_Project_LayoutRow(EETGW_Project_LayoutRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + dsPRJ ds = new dsPRJ(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "EETGW_Project_LayoutDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents the strongly named DataTable class. /// @@ -22282,6 +23118,398 @@ namespace FPJ0000 { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class vEETGW_Project_LayoutListRow : global::System.Data.DataRow { + + private vEETGW_Project_LayoutListDataTable tablevEETGW_Project_LayoutList; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal vEETGW_Project_LayoutListRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablevEETGW_Project_LayoutList = ((vEETGW_Project_LayoutListDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int no { + get { + return ((int)(this[this.tablevEETGW_Project_LayoutList.noColumn])); + } + set { + this[this.tablevEETGW_Project_LayoutList.noColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string name { + get { + if (this.IsnameNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablevEETGW_Project_LayoutList.nameColumn])); + } + } + set { + this[this.tablevEETGW_Project_LayoutList.nameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string ddate { + get { + if (this.IsddateNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablevEETGW_Project_LayoutList.ddateColumn])); + } + } + set { + this[this.tablevEETGW_Project_LayoutList.ddateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string status { + get { + if (this.IsstatusNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablevEETGW_Project_LayoutList.statusColumn])); + } + } + set { + this[this.tablevEETGW_Project_LayoutList.statusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string champion { + get { + if (this.IschampionNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablevEETGW_Project_LayoutList.championColumn])); + } + } + set { + this[this.tablevEETGW_Project_LayoutList.championColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int project { + get { + try { + return ((int)(this[this.tablevEETGW_Project_LayoutList.projectColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vEETGW_Project_LayoutList\' 테이블의 \'project\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevEETGW_Project_LayoutList.projectColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string reserve { + get { + if (this.IsreserveNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablevEETGW_Project_LayoutList.reserveColumn])); + } + } + set { + this[this.tablevEETGW_Project_LayoutList.reserveColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsnameNull() { + return this.IsNull(this.tablevEETGW_Project_LayoutList.nameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetnameNull() { + this[this.tablevEETGW_Project_LayoutList.nameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsddateNull() { + return this.IsNull(this.tablevEETGW_Project_LayoutList.ddateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetddateNull() { + this[this.tablevEETGW_Project_LayoutList.ddateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsstatusNull() { + return this.IsNull(this.tablevEETGW_Project_LayoutList.statusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetstatusNull() { + this[this.tablevEETGW_Project_LayoutList.statusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IschampionNull() { + return this.IsNull(this.tablevEETGW_Project_LayoutList.championColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetchampionNull() { + this[this.tablevEETGW_Project_LayoutList.championColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsprojectNull() { + return this.IsNull(this.tablevEETGW_Project_LayoutList.projectColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetprojectNull() { + this[this.tablevEETGW_Project_LayoutList.projectColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsreserveNull() { + return this.IsNull(this.tablevEETGW_Project_LayoutList.reserveColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetreserveNull() { + this[this.tablevEETGW_Project_LayoutList.reserveColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class EETGW_Project_LayoutRow : global::System.Data.DataRow { + + private EETGW_Project_LayoutDataTable tableEETGW_Project_Layout; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal EETGW_Project_LayoutRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableEETGW_Project_Layout = ((EETGW_Project_LayoutDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int idx { + get { + return ((int)(this[this.tableEETGW_Project_Layout.idxColumn])); + } + set { + this[this.tableEETGW_Project_Layout.idxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string gcode { + get { + return ((string)(this[this.tableEETGW_Project_Layout.gcodeColumn])); + } + set { + this[this.tableEETGW_Project_Layout.gcodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int no { + get { + return ((int)(this[this.tableEETGW_Project_Layout.noColumn])); + } + set { + this[this.tableEETGW_Project_Layout.noColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int row { + get { + return ((int)(this[this.tableEETGW_Project_Layout.rowColumn])); + } + set { + this[this.tableEETGW_Project_Layout.rowColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int col { + get { + return ((int)(this[this.tableEETGW_Project_Layout.colColumn])); + } + set { + this[this.tableEETGW_Project_Layout.colColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int rowspan { + get { + return ((int)(this[this.tableEETGW_Project_Layout.rowspanColumn])); + } + set { + this[this.tableEETGW_Project_Layout.rowspanColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int colspan { + get { + return ((int)(this[this.tableEETGW_Project_Layout.colspanColumn])); + } + set { + this[this.tableEETGW_Project_Layout.colspanColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public int project { + get { + try { + return ((int)(this[this.tableEETGW_Project_Layout.projectColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_Project_Layout\' 테이블의 \'project\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_Project_Layout.projectColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string reserve { + get { + try { + return ((string)(this[this.tableEETGW_Project_Layout.reserveColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_Project_Layout\' 테이블의 \'reserve\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_Project_Layout.reserveColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string remark { + get { + try { + return ((string)(this[this.tableEETGW_Project_Layout.remarkColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_Project_Layout\' 테이블의 \'remark\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_Project_Layout.remarkColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public string wuid { + get { + return ((string)(this[this.tableEETGW_Project_Layout.wuidColumn])); + } + set { + this[this.tableEETGW_Project_Layout.wuidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public System.DateTime wdate { + get { + return ((global::System.DateTime)(this[this.tableEETGW_Project_Layout.wdateColumn])); + } + set { + this[this.tableEETGW_Project_Layout.wdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsprojectNull() { + return this.IsNull(this.tableEETGW_Project_Layout.projectColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetprojectNull() { + this[this.tableEETGW_Project_Layout.projectColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsreserveNull() { + return this.IsNull(this.tableEETGW_Project_Layout.reserveColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetreserveNull() { + this[this.tableEETGW_Project_Layout.reserveColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool IsremarkNull() { + return this.IsNull(this.tableEETGW_Project_Layout.remarkColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public void SetremarkNull() { + this[this.tableEETGW_Project_Layout.remarkColumn] = global::System.Convert.DBNull; + } + } + /// ///Represents strongly named DataRow class. /// @@ -23054,6 +24282,74 @@ namespace FPJ0000 { } } + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public class vEETGW_Project_LayoutListRowChangeEvent : global::System.EventArgs { + + private vEETGW_Project_LayoutListRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public vEETGW_Project_LayoutListRowChangeEvent(vEETGW_Project_LayoutListRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public vEETGW_Project_LayoutListRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public class EETGW_Project_LayoutRowChangeEvent : global::System.EventArgs { + + private EETGW_Project_LayoutRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_Project_LayoutRowChangeEvent(EETGW_Project_LayoutRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_Project_LayoutRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + /// ///Row event argument class /// @@ -38839,6 +40135,829 @@ ORDER BY pdate DESC"; } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class vEETGW_Project_LayoutListTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public vEETGW_Project_LayoutListTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "vEETGW_Project_LayoutList"; + tableMapping.ColumnMappings.Add("no", "no"); + tableMapping.ColumnMappings.Add("name", "name"); + tableMapping.ColumnMappings.Add("ddate", "ddate"); + tableMapping.ColumnMappings.Add("status", "status"); + tableMapping.ColumnMappings.Add("champion", "champion"); + tableMapping.ColumnMappings.Add("project", "project"); + tableMapping.ColumnMappings.Add("reserve", "reserve"); + 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_Project_Layout\r\nWHERE (gcode = @gcode) AND (no = @no)"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::FPJ0000.Properties.Settings.Default.gwcs; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT no, name, ddate, status, champion, project, reserve\r\nFROM vEETGW_Proj" + + "ect_LayoutList\r\nWHERE (gcode = @gcode)"; + 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, 20, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(dsPRJ.vEETGW_Project_LayoutListDataTable dataTable, string gcode) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual dsPRJ.vEETGW_Project_LayoutListDataTable GetData(string gcode) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + dsPRJ.vEETGW_Project_LayoutListDataTable dataTable = new dsPRJ.vEETGW_Project_LayoutListDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsPRJ.vEETGW_Project_LayoutListDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsPRJ dataSet) { + return this.Adapter.Update(dataSet, "vEETGW_Project_LayoutList"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class EETGW_Project_LayoutTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public EETGW_Project_LayoutTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "EETGW_Project_Layout"; + tableMapping.ColumnMappings.Add("idx", "idx"); + tableMapping.ColumnMappings.Add("gcode", "gcode"); + tableMapping.ColumnMappings.Add("no", "no"); + tableMapping.ColumnMappings.Add("row", "row"); + tableMapping.ColumnMappings.Add("col", "col"); + tableMapping.ColumnMappings.Add("rowspan", "rowspan"); + tableMapping.ColumnMappings.Add("colspan", "colspan"); + tableMapping.ColumnMappings.Add("project", "project"); + tableMapping.ColumnMappings.Add("reserve", "reserve"); + tableMapping.ColumnMappings.Add("remark", "remark"); + tableMapping.ColumnMappings.Add("wuid", "wuid"); + tableMapping.ColumnMappings.Add("wdate", "wdate"); + 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_Project_Layout] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ([no] = @Original_no) AND ([row] = @Original_row) AND ([col] = @Original_col) AND ([rowspan] = @Original_rowspan) AND ([colspan] = @Original_colspan) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_reserve = 1 AND [reserve] IS NULL) OR ([reserve] = @Original_reserve)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))"; + 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, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_row", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "row", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_col", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "col", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rowspan", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rowspan", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_colspan", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "colspan", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_reserve", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reserve", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_reserve", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reserve", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_remark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_remark", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_Project_Layout] ([gcode], [no], [row], [col], [rowspan], [colspan], [project], [reserve], [remark], [wuid], [wdate]) VALUES (@gcode, @no, @row, @col, @rowspan, @colspan, @project, @reserve, @remark, @wuid, @wdate); +SELECT idx, gcode, no, row, col, rowspan, colspan, project, reserve, remark, wuid, wdate FROM EETGW_Project_Layout WHERE (idx = SCOPE_IDENTITY())"; + 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("@no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@row", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "row", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@col", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "col", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rowspan", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rowspan", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@colspan", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "colspan", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reserve", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reserve", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [EETGW_Project_Layout] SET [gcode] = @gcode, [no] = @no, [row] = @row, [col] = @col, [rowspan] = @rowspan, [colspan] = @colspan, [project] = @project, [reserve] = @reserve, [remark] = @remark, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ([no] = @Original_no) AND ([row] = @Original_row) AND ([col] = @Original_col) AND ([rowspan] = @Original_rowspan) AND ([colspan] = @Original_colspan) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_reserve = 1 AND [reserve] IS NULL) OR ([reserve] = @Original_reserve)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); +SELECT idx, gcode, no, row, col, rowspan, colspan, project, reserve, remark, wuid, wdate FROM EETGW_Project_Layout WHERE (idx = @idx)"; + 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("@no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@row", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "row", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@col", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "col", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rowspan", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rowspan", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@colspan", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "colspan", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reserve", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reserve", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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("@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("@Original_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_row", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "row", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_col", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "col", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rowspan", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rowspan", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_colspan", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "colspan", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_reserve", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reserve", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_reserve", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reserve", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_remark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_remark", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.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("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::FPJ0000.Properties.Settings.Default.gwcs; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT idx, gcode, no, row, col, rowspan, colspan, project, reserve, remark, wui" + + "d, wdate\r\nFROM EETGW_Project_Layout\r\nWHERE (gcode = @gcode)"; + 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, 20, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "DELETE FROM [EETGW_Project_Layout] WHERE gcode = @gcode and no = @no"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(dsPRJ.EETGW_Project_LayoutDataTable dataTable, string gcode) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual dsPRJ.EETGW_Project_LayoutDataTable GetData(string gcode) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + dsPRJ.EETGW_Project_LayoutDataTable dataTable = new dsPRJ.EETGW_Project_LayoutDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsPRJ.EETGW_Project_LayoutDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(dsPRJ dataSet) { + return this.Adapter.Update(dataSet, "EETGW_Project_Layout"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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, int Original_no, int Original_row, int Original_col, int Original_rowspan, int Original_colspan, global::System.Nullable Original_project, string Original_reserve, string Original_remark, string Original_wuid, System.DateTime Original_wdate) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); + if ((Original_gcode == null)) { + throw new global::System.ArgumentNullException("Original_gcode"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_gcode)); + } + this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_no)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_row)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_col)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_rowspan)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_colspan)); + if ((Original_project.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_project.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((Original_reserve == null)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_reserve)); + } + if ((Original_remark == null)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_remark)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_wuid)); + } + this.Adapter.DeleteCommand.Parameters[14].Value = ((System.DateTime)(Original_wdate)); + 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)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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, int no, int row, int col, int rowspan, int colspan, global::System.Nullable project, string reserve, string remark, string wuid, System.DateTime wdate) { + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(gcode)); + } + this.Adapter.InsertCommand.Parameters[1].Value = ((int)(no)); + this.Adapter.InsertCommand.Parameters[2].Value = ((int)(row)); + this.Adapter.InsertCommand.Parameters[3].Value = ((int)(col)); + this.Adapter.InsertCommand.Parameters[4].Value = ((int)(rowspan)); + this.Adapter.InsertCommand.Parameters[5].Value = ((int)(colspan)); + if ((project.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[6].Value = ((int)(project.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((reserve == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(reserve)); + } + if ((remark == null)) { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(remark)); + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(wuid)); + } + this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(wdate)); + 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)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string gcode, + int no, + int row, + int col, + int rowspan, + int colspan, + global::System.Nullable project, + string reserve, + string remark, + string wuid, + System.DateTime wdate, + int Original_idx, + string Original_gcode, + int Original_no, + int Original_row, + int Original_col, + int Original_rowspan, + int Original_colspan, + global::System.Nullable Original_project, + string Original_reserve, + string Original_remark, + string Original_wuid, + System.DateTime Original_wdate, + int idx) { + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(gcode)); + } + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(no)); + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(row)); + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(col)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(rowspan)); + this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(colspan)); + if ((project.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(project.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((reserve == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(reserve)); + } + if ((remark == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(remark)); + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(wuid)); + } + this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(wdate)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_idx)); + if ((Original_gcode == null)) { + throw new global::System.ArgumentNullException("Original_gcode"); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_gcode)); + } + this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_no)); + this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(Original_row)); + this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_col)); + this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_rowspan)); + this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(Original_colspan)); + if ((Original_project.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_project.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((Original_reserve == null)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_reserve)); + } + if ((Original_remark == null)) { + this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_remark)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_wuid)); + } + this.Adapter.UpdateCommand.Parameters[25].Value = ((System.DateTime)(Original_wdate)); + this.Adapter.UpdateCommand.Parameters[26].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)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string gcode, + int no, + int row, + int col, + int rowspan, + int colspan, + global::System.Nullable project, + string reserve, + string remark, + string wuid, + System.DateTime wdate, + int Original_idx, + string Original_gcode, + int Original_no, + int Original_row, + int Original_col, + int Original_rowspan, + int Original_colspan, + global::System.Nullable Original_project, + string Original_reserve, + string Original_remark, + string Original_wuid, + System.DateTime Original_wdate) { + return this.Update(gcode, no, row, col, rowspan, colspan, project, reserve, remark, wuid, wdate, Original_idx, Original_gcode, Original_no, Original_row, Original_col, Original_rowspan, Original_colspan, Original_project, Original_reserve, Original_remark, Original_wuid, Original_wdate, Original_idx); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int DeleteNo(string gcode, int no) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + command.Parameters[0].Value = ((string)(gcode)); + } + command.Parameters[1].Value = ((int)(no)); + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -39067,6 +41186,10 @@ ORDER BY pdate DESC"; private JobReportTableAdapter _jobReportTableAdapter; + private vEETGW_Project_LayoutListTableAdapter _vEETGW_Project_LayoutListTableAdapter; + + private EETGW_Project_LayoutTableAdapter _eETGW_Project_LayoutTableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -39306,6 +41429,34 @@ ORDER BY pdate DESC"; } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public vEETGW_Project_LayoutListTableAdapter vEETGW_Project_LayoutListTableAdapter { + get { + return this._vEETGW_Project_LayoutListTableAdapter; + } + set { + this._vEETGW_Project_LayoutListTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public EETGW_Project_LayoutTableAdapter EETGW_Project_LayoutTableAdapter { + get { + return this._eETGW_Project_LayoutTableAdapter; + } + set { + this._eETGW_Project_LayoutTableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public bool BackupDataSetBeforeUpdate { @@ -39389,6 +41540,14 @@ ORDER BY pdate DESC"; && (this._jobReportTableAdapter.Connection != null))) { return this._jobReportTableAdapter.Connection; } + if (((this._vEETGW_Project_LayoutListTableAdapter != null) + && (this._vEETGW_Project_LayoutListTableAdapter.Connection != null))) { + return this._vEETGW_Project_LayoutListTableAdapter.Connection; + } + if (((this._eETGW_Project_LayoutTableAdapter != null) + && (this._eETGW_Project_LayoutTableAdapter.Connection != null))) { + return this._eETGW_Project_LayoutTableAdapter.Connection; + } return null; } set { @@ -39450,6 +41609,12 @@ ORDER BY pdate DESC"; if ((this._jobReportTableAdapter != null)) { count = (count + 1); } + if ((this._vEETGW_Project_LayoutListTableAdapter != null)) { + count = (count + 1); + } + if ((this._eETGW_Project_LayoutTableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -39470,6 +41635,15 @@ ORDER BY pdate DESC"; allChangedRows.AddRange(updatedRows); } } + if ((this._jobReportTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._jobReportTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } if ((this._eETGW_ProjectResonTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.EETGW_ProjectReson.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -39596,12 +41770,21 @@ ORDER BY pdate DESC"; allChangedRows.AddRange(updatedRows); } } - if ((this._jobReportTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + if ((this._vEETGW_Project_LayoutListTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.vEETGW_Project_LayoutList.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { - result = (result + this._jobReportTableAdapter.Update(updatedRows)); + result = (result + this._vEETGW_Project_LayoutListTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._eETGW_Project_LayoutTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.EETGW_Project_Layout.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._eETGW_Project_LayoutTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } @@ -39623,6 +41806,14 @@ ORDER BY pdate DESC"; allAddedRows.AddRange(addedRows); } } + if ((this._jobReportTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._jobReportTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } if ((this._eETGW_ProjectResonTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.EETGW_ProjectReson.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -39735,11 +41926,19 @@ ORDER BY pdate DESC"; allAddedRows.AddRange(addedRows); } } - if ((this._jobReportTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.Added); + if ((this._vEETGW_Project_LayoutListTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.vEETGW_Project_LayoutList.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { - result = (result + this._jobReportTableAdapter.Update(addedRows)); + result = (result + this._vEETGW_Project_LayoutListTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._eETGW_Project_LayoutTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.EETGW_Project_Layout.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._eETGW_Project_LayoutTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } @@ -39753,11 +41952,19 @@ ORDER BY pdate DESC"; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] private int UpdateDeletedRows(dsPRJ dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; - if ((this._jobReportTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if ((this._eETGW_Project_LayoutTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.EETGW_Project_Layout.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { - result = (result + this._jobReportTableAdapter.Update(deletedRows)); + result = (result + this._eETGW_Project_LayoutTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._vEETGW_Project_LayoutListTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.vEETGW_Project_LayoutList.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._vEETGW_Project_LayoutListTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } @@ -39873,6 +42080,14 @@ ORDER BY pdate DESC"; allChangedRows.AddRange(deletedRows); } } + if ((this._jobReportTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._jobReportTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._projectsTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.Projects.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -39984,6 +42199,14 @@ ORDER BY pdate DESC"; && (this.MatchTableAdapterConnection(this._jobReportTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); } + if (((this._vEETGW_Project_LayoutListTableAdapter != null) + && (this.MatchTableAdapterConnection(this._vEETGW_Project_LayoutListTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); + } + if (((this._eETGW_Project_LayoutTableAdapter != null) + && (this.MatchTableAdapterConnection(this._eETGW_Project_LayoutTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); + } global::System.Data.IDbConnection workConnection = this.Connection; if ((workConnection == null)) { throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" + @@ -40159,6 +42382,24 @@ ORDER BY pdate DESC"; adaptersWithAcceptChangesDuringUpdate.Add(this._jobReportTableAdapter.Adapter); } } + if ((this._vEETGW_Project_LayoutListTableAdapter != null)) { + revertConnections.Add(this._vEETGW_Project_LayoutListTableAdapter, this._vEETGW_Project_LayoutListTableAdapter.Connection); + this._vEETGW_Project_LayoutListTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._vEETGW_Project_LayoutListTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._vEETGW_Project_LayoutListTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._vEETGW_Project_LayoutListTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._vEETGW_Project_LayoutListTableAdapter.Adapter); + } + } + if ((this._eETGW_Project_LayoutTableAdapter != null)) { + revertConnections.Add(this._eETGW_Project_LayoutTableAdapter, this._eETGW_Project_LayoutTableAdapter.Connection); + this._eETGW_Project_LayoutTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._eETGW_Project_LayoutTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._eETGW_Project_LayoutTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._eETGW_Project_LayoutTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_Project_LayoutTableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -40281,6 +42522,14 @@ ORDER BY pdate DESC"; this._jobReportTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._jobReportTableAdapter])); this._jobReportTableAdapter.Transaction = null; } + if ((this._vEETGW_Project_LayoutListTableAdapter != null)) { + this._vEETGW_Project_LayoutListTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._vEETGW_Project_LayoutListTableAdapter])); + this._vEETGW_Project_LayoutListTableAdapter.Transaction = null; + } + if ((this._eETGW_Project_LayoutTableAdapter != null)) { + this._eETGW_Project_LayoutTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_Project_LayoutTableAdapter])); + this._eETGW_Project_LayoutTableAdapter.Transaction = null; + } if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); diff --git a/SubProject/FPJ0000/dsPRJ.xsd b/SubProject/FPJ0000/dsPRJ.xsd index 546349c..f71464d 100644 --- a/SubProject/FPJ0000/dsPRJ.xsd +++ b/SubProject/FPJ0000/dsPRJ.xsd @@ -2854,6 +2854,161 @@ WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(import, 0) = 1) AND (gcode = @gc + + + + + + DELETE FROM EETGW_Project_Layout +WHERE (gcode = @gcode) AND (no = @no) + + + + + + + + + SELECT no, name, ddate, status, champion, project, reserve +FROM vEETGW_Project_LayoutList +WHERE (gcode = @gcode) + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [EETGW_Project_Layout] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ([no] = @Original_no) AND ([row] = @Original_row) AND ([col] = @Original_col) AND ([rowspan] = @Original_rowspan) AND ([colspan] = @Original_colspan) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_reserve = 1 AND [reserve] IS NULL) OR ([reserve] = @Original_reserve)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)) + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [EETGW_Project_Layout] ([gcode], [no], [row], [col], [rowspan], [colspan], [project], [reserve], [remark], [wuid], [wdate]) VALUES (@gcode, @no, @row, @col, @rowspan, @colspan, @project, @reserve, @remark, @wuid, @wdate); +SELECT idx, gcode, no, row, col, rowspan, colspan, project, reserve, remark, wuid, wdate FROM EETGW_Project_Layout WHERE (idx = SCOPE_IDENTITY()) + + + + + + + + + + + + + + + + + + SELECT idx, gcode, no, row, col, rowspan, colspan, project, reserve, remark, wuid, wdate +FROM EETGW_Project_Layout +WHERE (gcode = @gcode) + + + + + + + + UPDATE [EETGW_Project_Layout] SET [gcode] = @gcode, [no] = @no, [row] = @row, [col] = @col, [rowspan] = @rowspan, [colspan] = @colspan, [project] = @project, [reserve] = @reserve, [remark] = @remark, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ([no] = @Original_no) AND ([row] = @Original_row) AND ([col] = @Original_col) AND ([rowspan] = @Original_rowspan) AND ([colspan] = @Original_colspan) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_reserve = 1 AND [reserve] IS NULL) OR ([reserve] = @Original_reserve)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); +SELECT idx, gcode, no, row, col, rowspan, colspan, project, reserve, remark, wuid, wdate FROM EETGW_Project_Layout WHERE (idx = @idx) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [EETGW_Project_Layout] WHERE gcode = @gcode and no = @no + + + + + + + + + @@ -3328,29 +3483,29 @@ WHERE (idx = @idx) - + - + - + - - + + @@ -4908,6 +5063,91 @@ WHERE (idx = @idx) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4983,5 +5223,9 @@ WHERE (idx = @idx) + + + + \ No newline at end of file