.
This commit is contained in:
		| @@ -109,6 +109,7 @@ | |||||||
|     <Compile Include="Equipment\fImpEquipment.Designer.cs"> |     <Compile Include="Equipment\fImpEquipment.Designer.cs"> | ||||||
|       <DependentUpon>fImpEquipment.cs</DependentUpon> |       <DependentUpon>fImpEquipment.cs</DependentUpon> | ||||||
|     </Compile> |     </Compile> | ||||||
|  |     <Compile Include="FPUtil.cs" /> | ||||||
|     <Compile Include="MethodExtentions.cs" /> |     <Compile Include="MethodExtentions.cs" /> | ||||||
|     <Compile Include="Program.cs" /> |     <Compile Include="Program.cs" /> | ||||||
|     <Compile Include="Properties\AssemblyInfo.cs" /> |     <Compile Include="Properties\AssemblyInfo.cs" /> | ||||||
|   | |||||||
							
								
								
									
										91
									
								
								SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										91
									
								
								SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -79,7 +79,11 @@ | |||||||
|             this.tbFind = new System.Windows.Forms.ToolStripTextBox(); |             this.tbFind = new System.Windows.Forms.ToolStripTextBox(); | ||||||
|             this.btFind = new System.Windows.Forms.ToolStripButton(); |             this.btFind = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); |             this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||||
|             this.autoResizeColumnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|  |             this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|  |             this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|  |             this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|  |             this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); |             this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|             this.copyDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.copyDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.editDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.editDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
| @@ -99,6 +103,7 @@ | |||||||
|             this.btSearch = new System.Windows.Forms.ToolStripButton(); |             this.btSearch = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.FpSpread1 = new FarPoint.Win.Spread.FpSpread(); |             this.FpSpread1 = new FarPoint.Win.Spread.FpSpread(); | ||||||
|             this.FpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); |             this.FpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||||
|  |             this.btEdit = new System.Windows.Forms.ToolStripButton(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||||
| @@ -149,6 +154,7 @@ | |||||||
|             this.bindingNavigatorAddNewItem, |             this.bindingNavigatorAddNewItem, | ||||||
|             this.bindingNavigatorDeleteItem, |             this.bindingNavigatorDeleteItem, | ||||||
|             this.toolStripButton1, |             this.toolStripButton1, | ||||||
|  |             this.btEdit, | ||||||
|             this.btSave, |             this.btSave, | ||||||
|             this.toolStripSeparator1, |             this.toolStripSeparator1, | ||||||
|             this.toolStripSeparator4, |             this.toolStripSeparator4, | ||||||
| @@ -324,50 +330,86 @@ | |||||||
|             // cm1 |             // cm1 | ||||||
|             //  |             //  | ||||||
|             this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |             this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||||
|             this.autoResizeColumnsToolStripMenuItem, |             this.columnSizeToolStripMenuItem, | ||||||
|             this.toolStripMenuItem1, |             this.toolStripMenuItem1, | ||||||
|             this.copyDataToolStripMenuItem, |             this.copyDataToolStripMenuItem, | ||||||
|             this.editDataToolStripMenuItem, |             this.editDataToolStripMenuItem, | ||||||
|             this.toolStripMenuItem2, |             this.toolStripMenuItem2, | ||||||
|             this.viewThisUserDataToolStripMenuItem}); |             this.viewThisUserDataToolStripMenuItem}); | ||||||
|             this.cm1.Name = "contextMenuStrip1"; |             this.cm1.Name = "contextMenuStrip1"; | ||||||
|             this.cm1.Size = new System.Drawing.Size(186, 104); |             this.cm1.Size = new System.Drawing.Size(180, 104); | ||||||
|             //  |             //  | ||||||
|             // autoResizeColumnsToolStripMenuItem |             // columnSizeToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.autoResizeColumnsToolStripMenuItem.Name = "autoResizeColumnsToolStripMenuItem"; |             this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||||
|             this.autoResizeColumnsToolStripMenuItem.Size = new System.Drawing.Size(185, 22); |             this.autoToolStripMenuItem, | ||||||
|             this.autoResizeColumnsToolStripMenuItem.Text = "AutoResize Columns"; |             this.resetToolStripMenuItem, | ||||||
|             this.autoResizeColumnsToolStripMenuItem.Click += new System.EventHandler(this.autoResizeColumnsToolStripMenuItem_Click); |             this.saveToolStripMenuItem, | ||||||
|  |             this.loadToolStripMenuItem}); | ||||||
|  |             this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; | ||||||
|  |             this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(179, 22); | ||||||
|  |             this.columnSizeToolStripMenuItem.Text = "Column Size"; | ||||||
|  |             //  | ||||||
|  |             // autoToolStripMenuItem | ||||||
|  |             //  | ||||||
|  |             this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image"))); | ||||||
|  |             this.autoToolStripMenuItem.Name = "autoToolStripMenuItem"; | ||||||
|  |             this.autoToolStripMenuItem.Size = new System.Drawing.Size(102, 22); | ||||||
|  |             this.autoToolStripMenuItem.Text = "Auto"; | ||||||
|  |             this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click); | ||||||
|  |             //  | ||||||
|  |             // resetToolStripMenuItem | ||||||
|  |             //  | ||||||
|  |             this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image"))); | ||||||
|  |             this.resetToolStripMenuItem.Name = "resetToolStripMenuItem"; | ||||||
|  |             this.resetToolStripMenuItem.Size = new System.Drawing.Size(102, 22); | ||||||
|  |             this.resetToolStripMenuItem.Text = "Reset"; | ||||||
|  |             this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click); | ||||||
|  |             //  | ||||||
|  |             // saveToolStripMenuItem | ||||||
|  |             //  | ||||||
|  |             this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); | ||||||
|  |             this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; | ||||||
|  |             this.saveToolStripMenuItem.Size = new System.Drawing.Size(102, 22); | ||||||
|  |             this.saveToolStripMenuItem.Text = "Save"; | ||||||
|  |             this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); | ||||||
|  |             //  | ||||||
|  |             // loadToolStripMenuItem | ||||||
|  |             //  | ||||||
|  |             this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image"))); | ||||||
|  |             this.loadToolStripMenuItem.Name = "loadToolStripMenuItem"; | ||||||
|  |             this.loadToolStripMenuItem.Size = new System.Drawing.Size(102, 22); | ||||||
|  |             this.loadToolStripMenuItem.Text = "Load"; | ||||||
|  |             this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
|             // toolStripMenuItem1 |             // toolStripMenuItem1 | ||||||
|             //  |             //  | ||||||
|             this.toolStripMenuItem1.Name = "toolStripMenuItem1"; |             this.toolStripMenuItem1.Name = "toolStripMenuItem1"; | ||||||
|             this.toolStripMenuItem1.Size = new System.Drawing.Size(182, 6); |             this.toolStripMenuItem1.Size = new System.Drawing.Size(176, 6); | ||||||
|             //  |             //  | ||||||
|             // copyDataToolStripMenuItem |             // copyDataToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.copyDataToolStripMenuItem.Name = "copyDataToolStripMenuItem"; |             this.copyDataToolStripMenuItem.Name = "copyDataToolStripMenuItem"; | ||||||
|             this.copyDataToolStripMenuItem.Size = new System.Drawing.Size(185, 22); |             this.copyDataToolStripMenuItem.Size = new System.Drawing.Size(179, 22); | ||||||
|             this.copyDataToolStripMenuItem.Text = "Copy Data"; |             this.copyDataToolStripMenuItem.Text = "Copy Data"; | ||||||
|             this.copyDataToolStripMenuItem.Click += new System.EventHandler(this.copyDataToolStripMenuItem_Click); |             this.copyDataToolStripMenuItem.Click += new System.EventHandler(this.copyDataToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
|             // editDataToolStripMenuItem |             // editDataToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.editDataToolStripMenuItem.Name = "editDataToolStripMenuItem"; |             this.editDataToolStripMenuItem.Name = "editDataToolStripMenuItem"; | ||||||
|             this.editDataToolStripMenuItem.Size = new System.Drawing.Size(185, 22); |             this.editDataToolStripMenuItem.Size = new System.Drawing.Size(179, 22); | ||||||
|             this.editDataToolStripMenuItem.Text = "Edit Data"; |             this.editDataToolStripMenuItem.Text = "Edit Data"; | ||||||
|             this.editDataToolStripMenuItem.Click += new System.EventHandler(this.editDataToolStripMenuItem_Click); |             this.editDataToolStripMenuItem.Click += new System.EventHandler(this.editDataToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
|             // toolStripMenuItem2 |             // toolStripMenuItem2 | ||||||
|             //  |             //  | ||||||
|             this.toolStripMenuItem2.Name = "toolStripMenuItem2"; |             this.toolStripMenuItem2.Name = "toolStripMenuItem2"; | ||||||
|             this.toolStripMenuItem2.Size = new System.Drawing.Size(182, 6); |             this.toolStripMenuItem2.Size = new System.Drawing.Size(176, 6); | ||||||
|             //  |             //  | ||||||
|             // viewThisUserDataToolStripMenuItem |             // viewThisUserDataToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.viewThisUserDataToolStripMenuItem.Name = "viewThisUserDataToolStripMenuItem"; |             this.viewThisUserDataToolStripMenuItem.Name = "viewThisUserDataToolStripMenuItem"; | ||||||
|             this.viewThisUserDataToolStripMenuItem.Size = new System.Drawing.Size(185, 22); |             this.viewThisUserDataToolStripMenuItem.Size = new System.Drawing.Size(179, 22); | ||||||
|             this.viewThisUserDataToolStripMenuItem.Text = "View This User data"; |             this.viewThisUserDataToolStripMenuItem.Text = "View This User data"; | ||||||
|             this.viewThisUserDataToolStripMenuItem.Click += new System.EventHandler(this.viewThisUserDataToolStripMenuItem_Click); |             this.viewThisUserDataToolStripMenuItem.Click += new System.EventHandler(this.viewThisUserDataToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
| @@ -548,6 +590,7 @@ | |||||||
|             this.FpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             this.FpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(7).Label = "Item"; |             this.FpSpread1_Sheet1.Columns.Get(7).Label = "Item"; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(7).Width = 33F; |             this.FpSpread1_Sheet1.Columns.Get(7).Width = 33F; | ||||||
|  |             this.FpSpread1_Sheet1.Columns.Get(8).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|             numberCellType1.DecimalPlaces = 0; |             numberCellType1.DecimalPlaces = 0; | ||||||
|             numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; |             numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||||
|             numberCellType1.MaximumValue = 2147483647D; |             numberCellType1.MaximumValue = 2147483647D; | ||||||
| @@ -580,14 +623,14 @@ | |||||||
|             numberCellType3.MinimumValue = -999999999999999D; |             numberCellType3.MinimumValue = -999999999999999D; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType3; |             this.FpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType3; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(12).DataField = "pumprice"; |             this.FpSpread1_Sheet1.Columns.Get(12).DataField = "pumprice"; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             this.FpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(12).Label = "Price"; |             this.FpSpread1_Sheet1.Columns.Get(12).Label = "Price"; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(12).Width = 35F; |             this.FpSpread1_Sheet1.Columns.Get(12).Width = 35F; | ||||||
|             numberCellType4.MaximumValue = 999999999999999D; |             numberCellType4.MaximumValue = 999999999999999D; | ||||||
|             numberCellType4.MinimumValue = -999999999999999D; |             numberCellType4.MinimumValue = -999999999999999D; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType4; |             this.FpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType4; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(13).DataField = "pumamt"; |             this.FpSpread1_Sheet1.Columns.Get(13).DataField = "pumamt"; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             this.FpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(13).Label = "Amt"; |             this.FpSpread1_Sheet1.Columns.Get(13).Label = "Amt"; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(13).Width = 32F; |             this.FpSpread1_Sheet1.Columns.Get(13).Width = 32F; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(14).CellType = textCellType11; |             this.FpSpread1_Sheet1.Columns.Get(14).CellType = textCellType11; | ||||||
| @@ -595,6 +638,7 @@ | |||||||
|             this.FpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             this.FpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(14).Label = "Supply"; |             this.FpSpread1_Sheet1.Columns.Get(14).Label = "Supply"; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(14).Width = 46F; |             this.FpSpread1_Sheet1.Columns.Get(14).Width = 46F; | ||||||
|  |             this.FpSpread1_Sheet1.Columns.Get(15).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|             numberCellType5.DecimalPlaces = 0; |             numberCellType5.DecimalPlaces = 0; | ||||||
|             numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; |             numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||||
|             numberCellType5.MaximumValue = 2147483647D; |             numberCellType5.MaximumValue = 2147483647D; | ||||||
| @@ -608,6 +652,7 @@ | |||||||
|             this.FpSpread1_Sheet1.Columns.Get(16).DataField = "project"; |             this.FpSpread1_Sheet1.Columns.Get(16).DataField = "project"; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             this.FpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|             this.FpSpread1_Sheet1.Columns.Get(16).Width = 46F; |             this.FpSpread1_Sheet1.Columns.Get(16).Width = 46F; | ||||||
|  |             this.FpSpread1_Sheet1.Columns.Get(17).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|             numberCellType6.DecimalPlaces = 0; |             numberCellType6.DecimalPlaces = 0; | ||||||
|             numberCellType6.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; |             numberCellType6.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||||
|             numberCellType6.MaximumValue = 2147483647D; |             numberCellType6.MaximumValue = 2147483647D; | ||||||
| @@ -642,6 +687,15 @@ | |||||||
|             this.FpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; |             this.FpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; | ||||||
|             this.FpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; |             this.FpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; | ||||||
|             //  |             //  | ||||||
|  |             // btEdit | ||||||
|  |             //  | ||||||
|  |             this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image"))); | ||||||
|  |             this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||||
|  |             this.btEdit.Name = "btEdit"; | ||||||
|  |             this.btEdit.Size = new System.Drawing.Size(61, 23); | ||||||
|  |             this.btEdit.Text = "Edit(&E)"; | ||||||
|  |             this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click); | ||||||
|  |             //  | ||||||
|             // fPurchase |             // fPurchase | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
| @@ -694,7 +748,6 @@ | |||||||
|         private System.Windows.Forms.ToolStripTextBox dtED; |         private System.Windows.Forms.ToolStripTextBox dtED; | ||||||
|         private System.Windows.Forms.ToolStripButton btSearch; |         private System.Windows.Forms.ToolStripButton btSearch; | ||||||
|         private System.Windows.Forms.ContextMenuStrip cm1; |         private System.Windows.Forms.ContextMenuStrip cm1; | ||||||
|         private System.Windows.Forms.ToolStripMenuItem autoResizeColumnsToolStripMenuItem; |  | ||||||
|         private System.Windows.Forms.ToolStripLabel toolStripLabel3; |         private System.Windows.Forms.ToolStripLabel toolStripLabel3; | ||||||
|         private System.Windows.Forms.ToolStripTextBox tbRequest; |         private System.Windows.Forms.ToolStripTextBox tbRequest; | ||||||
|         private System.Windows.Forms.ToolStripButton toolStripButton1; |         private System.Windows.Forms.ToolStripButton toolStripButton1; | ||||||
| @@ -716,6 +769,12 @@ | |||||||
|         private FarPoint.Win.Spread.FpSpread FpSpread1; |         private FarPoint.Win.Spread.FpSpread FpSpread1; | ||||||
|         private System.Windows.Forms.ToolStripMenuItem editDataToolStripMenuItem; |         private System.Windows.Forms.ToolStripMenuItem editDataToolStripMenuItem; | ||||||
|         private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2; |         private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2; | ||||||
|  |         private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem; | ||||||
|  |         private System.Windows.Forms.ToolStripMenuItem autoToolStripMenuItem; | ||||||
|  |         private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem; | ||||||
|  |         private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem; | ||||||
|  |         private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem; | ||||||
|         private FarPoint.Win.Spread.SheetView FpSpread1_Sheet1; |         private FarPoint.Win.Spread.SheetView FpSpread1_Sheet1; | ||||||
|  |         private System.Windows.Forms.ToolStripButton btEdit; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -6,14 +6,18 @@ using System.Data; | |||||||
| using System.Linq; | using System.Linq; | ||||||
| using System.Text; | using System.Text; | ||||||
| using System.Windows.Forms; | using System.Windows.Forms; | ||||||
|  | using util = FCOMMON.Util; | ||||||
|  |  | ||||||
| namespace FEQ0000 | namespace FEQ0000 | ||||||
| { | { | ||||||
|     public partial class fPurchase : FCOMMON.fBase |     public partial class fPurchase : FCOMMON.fBase | ||||||
|     { |     { | ||||||
|  |         string fn_fpcolsize = ""; | ||||||
|  |             | ||||||
|         public fPurchase() |         public fPurchase() | ||||||
|         { |         { | ||||||
|             InitializeComponent(); |             InitializeComponent(); | ||||||
|  |             fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); | ||||||
|             this.dsPurchase.Purchase.TableNewRow += Purchase_TableNewRow; |             this.dsPurchase.Purchase.TableNewRow += Purchase_TableNewRow; | ||||||
|              |              | ||||||
|             //this.dv1.CellFormatting += dv1_CellFormatting; |             //this.dv1.CellFormatting += dv1_CellFormatting; | ||||||
| @@ -101,7 +105,7 @@ namespace FEQ0000 | |||||||
|                 FpSpread1.EditModeReplace = false;                 |                 FpSpread1.EditModeReplace = false;                 | ||||||
|                 btSave.Visible = false; |                 btSave.Visible = false; | ||||||
|             } |             } | ||||||
|  |             FPUtil.ColSizeLoad(ref this.FpSpread1, fn_fpcolsize); | ||||||
|             refreshData(); |             refreshData(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
| @@ -166,10 +170,7 @@ namespace FEQ0000 | |||||||
|  |  | ||||||
|         private void autoResizeColumnsToolStripMenuItem_Click(object sender, EventArgs e) |         private void autoResizeColumnsToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             this.FpSpread1.ActiveSheet.DataAutoSizeColumns = true; |              | ||||||
|             for (int i = 0; i < this.FpSpread1.ActiveSheet.Rows.Count; i++) |  | ||||||
|                 this.FpSpread1.ActiveSheet.SetRowHeight(i, 25); |  | ||||||
|             //dv1.AutoResizeColumns(); |  | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void toolStripButton1_Click(object sender, EventArgs e) |         private void toolStripButton1_Click(object sender, EventArgs e) | ||||||
| @@ -396,6 +397,10 @@ namespace FEQ0000 | |||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void editDataToolStripMenuItem_Click(object sender, EventArgs e) |         private void editDataToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             Func_Edit(); | ||||||
|  |         } | ||||||
|  |         void Func_Edit() | ||||||
|         { |         { | ||||||
|             var drv = this.bs.Current as DataRowView; |             var drv = this.bs.Current as DataRowView; | ||||||
|             if (drv == null) return; |             if (drv == null) return; | ||||||
| @@ -417,5 +422,52 @@ namespace FEQ0000 | |||||||
|             } |             } | ||||||
|             else dr.RejectChanges(); |             else dr.RejectChanges(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         private void clearColumnsSizeToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |              | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void saveColumnSizeToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |              | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void loadColumnSizeToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |              | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void autoToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             this.FpSpread1.ActiveSheet.DataAutoSizeColumns = true; | ||||||
|  |  | ||||||
|  |             for (int i = 0; i < this.FpSpread1.ActiveSheet.Rows.Count; i++) | ||||||
|  |                 this.FpSpread1.ActiveSheet.SetRowHeight(i, 25); | ||||||
|  |             //dv1.AutoResizeColumns(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void resetToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             foreach (FarPoint.Win.Spread.Column col in this.FpSpread1.ActiveSheet.Columns) | ||||||
|  |             { | ||||||
|  |                 col.Width = 100; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void saveToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             FPUtil.ColsizeSave(this.FpSpread1, fn_fpcolsize); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void loadToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             FPUtil.ColSizeLoad(ref this.FpSpread1, fn_fpcolsize); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void toolStripButton2_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             Func_Edit(); | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -210,6 +210,17 @@ | |||||||
|         mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ |         mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ | ||||||
|         kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D |         kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D | ||||||
|         TgDQASA1MVpwzwAAAABJRU5ErkJggg== |         TgDQASA1MVpwzwAAAABJRU5ErkJggg== | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="btEdit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|  |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEvSURBVDhPpZI/S0JRGIed+i6Nbk0t0iCuSkuDi1MfIKfm | ||||||
|  |         +gAOQktTQkMggYtRkwgidKmgyQwMCgqz0CivvvK8cK7neG4KdeHhHs45v+c9/xLyz08Ft713OQ+6SqXV | ||||||
|  |         kfLlnXJw1lSK5VrERqGkMB4JCCLpvQ7lZfDlQJ+B4EnwI9nTkbYdAZMbjxOPq4eJPH1MvXC2sD8XsOzP | ||||||
|  |         0bcX/C3MXEfAfmzBsnCnP10uWBWu3IS+gJOm0w5fHCZiw0aQzu3GC0xYgm2R+poTRnh8HeqNOALu920w | ||||||
|  |         9MK0F8NGkMrs+ALewqrwUXss3ed+vKB6H+rh2OT3SjpO0IBgcyvnCjgDBGCq8mcMiQ3FHAGdLB/J4vMF | ||||||
|  |         KhoI83LXk6m5gCpmufbyOWlgv0BVIMx4JPj7JzIDGHRUPz2nxiQAAAAASUVORK5CYII= | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
| @@ -226,6 +237,45 @@ | |||||||
|   <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>502, 17</value> |     <value>502, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|  |   <data name="autoToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         R0lGODlhEAAQAIQfAJXG2JXa+ZLO5ChrlkCy4TZ1kiVvpCN0trvo9SN5xTd4lrfh7iR9zo3S+EGz7JDJ | ||||||
|  |         4TaCromrvC9ymyV+0Dd3mTl1koe72YvN7LTj+9ne6N3g6v7+/0Cw2Stoh////////yH/C05FVFNDQVBF | ||||||
|  |         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAInwA/CBzooaAHgQUHKvRQoUABCgUlHFT4IYMCBAsQIIBg | ||||||
|  |         wcBEgh0WCBDAgcAFDAc+fvDQIUKHDgMeEHDQIIFKlgoMGgjQoAGDmwUOehhg4EACBhM+GlzKVOkEBgkO | ||||||
|  |         GBggNOhCBhgCBPBYUEGHmwkCOCDwYMCAll8XHghwgQCHkQDSLjRgAcKDBwAAKNCwgaIHiR4oOKygkuDE | ||||||
|  |         pRQTK6YYEAA7 | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="resetToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         R0lGODlhEAAQAIQfALnik2aXQv7+/dPut73llbfala3LmW6gSWqdQ2eYRGqaSLfck568iYrUQN7yzF6R | ||||||
|  |         PLTXlYjUP8XwmYfQQLbYl4jRQGiaQsPumNbyu7nglNPzsLXYlf7+/lCHK////////yH/C05FVFNDQVBF | ||||||
|  |         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIlgA/CBzooaAHgQUHEvSgIEAABQUfHFTIwQECDAMwYDhg | ||||||
|  |         oENCgRw8dBgAAECFBgsweJxYsAODDjApTIhAwCMHkCItGOxwgUCGlQQTeAgJsyhQg0iTGvzQ0qhND0IX | ||||||
|  |         dtBwQcJKDxZsIhQpIcIECkVffmwpYUGDCiUheBQg1cCBAgU2QFDg4KZCDxIZOoQ48S7LpQoDCx4cEAA7 | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="saveToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         R0lGODlhEAAQAIQAAJXD9Iasxm6MqnSn2lZtjVaRyEpXbYu767TX/2KZztvr/4Gy5KrT/3ut32+gzlFh | ||||||
|  |         e+r0/0RNX9/u/9Ln+8Xg//n8/4e36CkxQz9GVkSCvKjL35/N/Je91K7T5bDS4////yH/C05FVFNDQVBF | ||||||
|  |         Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIuQA/CBxIsKDACRwScggQwIGAhwIICBDYQcEEgwg+bNjw | ||||||
|  |         QKCHCQgkQBgpQcKBCg0AEBCoAaRIkhIsVBigUiAHCgwkKNjJU8GAAx0/3NwIAMABCwsaDHCwIGgAChuK | ||||||
|  |         HjiQdMDSAQYEPpWKtKqDBA6yfgiAwGhXpUsTJIgg0AGCo0nRfi1QgO0HAQyQNpCrtkAGDAIFbKi69GsC | ||||||
|  |         un8FEohqdEFavxkyXAhMoPKDBwYMRIiAAcOFoAZDCwwIADs= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="loadToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         R0lGODlhEAAQAIQfAJfL/OTs9HWVsW6aUqnT+6bnZldwkYiux7TZ/O3z+UlVa/P2+ZfTW36wWJDLV4m7 | ||||||
|  |         69nn78bi/qjL3qDP+VJhe4rAVa7S40NLXJ3bYJrA1ikxQz5FVdDU22OPRf///////yH/C05FVFNDQVBF | ||||||
|  |         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIwQA9CBxIcOCHgx4gWLAgIUOGAwcESBTgAaEFCAEGaBwQ | ||||||
|  |         IGOABwYqerCQsYBJBho7JHgAUqCEDjAxYGBQgYHKBAsoCMzQIUIEmA6CdkCAIOfOBT5/MnBQYSgBozCj | ||||||
|  |         SoVJ4KkCDx1MFhhKFEFVAhMCXM1aAANMoh2qTgh7AWvZmQ6igp0AIEDbDg0aLA06YC4AABA2eBjgYcHG | ||||||
|  |         vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw== | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|   <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>396, 17</value> |     <value>396, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   | |||||||
							
								
								
									
										48
									
								
								SubProject/FEQ0000/dsPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										48
									
								
								SubProject/FEQ0000/dsPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -1150,11 +1150,11 @@ namespace FEQ0000 { | |||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||||
|             public int pumqty { |             public int pumqty { | ||||||
|                 get { |                 get { | ||||||
|                     try { |                     if (this.IspumqtyNull()) { | ||||||
|                         return ((int)(this[this.tablePurchase.pumqtyColumn])); |                         return 0; | ||||||
|                     } |                     } | ||||||
|                     catch (global::System.InvalidCastException e) { |                     else { | ||||||
|                         throw new global::System.Data.StrongTypingException("\'Purchase\' 테이블의 \'pumqty\' 열의 값이 DBNull입니다.", e); |                         return ((int)(this[this.tablePurchase.pumqtyColumn])); | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|                 set { |                 set { | ||||||
| @@ -1166,11 +1166,11 @@ namespace FEQ0000 { | |||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||||
|             public decimal pumprice { |             public decimal pumprice { | ||||||
|                 get { |                 get { | ||||||
|                     try { |                     if (this.IspumpriceNull()) { | ||||||
|                         return ((decimal)(this[this.tablePurchase.pumpriceColumn])); |                         return 0m; | ||||||
|                     } |                     } | ||||||
|                     catch (global::System.InvalidCastException e) { |                     else { | ||||||
|                         throw new global::System.Data.StrongTypingException("\'Purchase\' 테이블의 \'pumprice\' 열의 값이 DBNull입니다.", e); |                         return ((decimal)(this[this.tablePurchase.pumpriceColumn])); | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|                 set { |                 set { | ||||||
| @@ -1182,11 +1182,11 @@ namespace FEQ0000 { | |||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||||
|             public decimal pumamt { |             public decimal pumamt { | ||||||
|                 get { |                 get { | ||||||
|                     try { |                     if (this.IspumamtNull()) { | ||||||
|                         return ((decimal)(this[this.tablePurchase.pumamtColumn])); |                         return 0m; | ||||||
|                     } |                     } | ||||||
|                     catch (global::System.InvalidCastException e) { |                     else { | ||||||
|                         throw new global::System.Data.StrongTypingException("\'Purchase\' 테이블의 \'pumamt\' 열의 값이 DBNull입니다.", e); |                         return ((decimal)(this[this.tablePurchase.pumamtColumn])); | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|                 set { |                 set { | ||||||
| @@ -1214,11 +1214,11 @@ namespace FEQ0000 { | |||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||||
|             public int supplyidx { |             public int supplyidx { | ||||||
|                 get { |                 get { | ||||||
|                     try { |                     if (this.IssupplyidxNull()) { | ||||||
|                         return ((int)(this[this.tablePurchase.supplyidxColumn])); |                         return -1; | ||||||
|                     } |                     } | ||||||
|                     catch (global::System.InvalidCastException e) { |                     else { | ||||||
|                         throw new global::System.Data.StrongTypingException("\'Purchase\' 테이블의 \'supplyidx\' 열의 값이 DBNull입니다.", e); |                         return ((int)(this[this.tablePurchase.supplyidxColumn])); | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|                 set { |                 set { | ||||||
| @@ -1246,11 +1246,11 @@ namespace FEQ0000 { | |||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||||
|             public int projectidx { |             public int projectidx { | ||||||
|                 get { |                 get { | ||||||
|                     try { |                     if (this.IsprojectidxNull()) { | ||||||
|                         return ((int)(this[this.tablePurchase.projectidxColumn])); |                         return -1; | ||||||
|                     } |                     } | ||||||
|                     catch (global::System.InvalidCastException e) { |                     else { | ||||||
|                         throw new global::System.Data.StrongTypingException("\'Purchase\' 테이블의 \'projectidx\' 열의 값이 DBNull입니다.", e); |                         return ((int)(this[this.tablePurchase.projectidxColumn])); | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|                 set { |                 set { | ||||||
| @@ -1380,11 +1380,11 @@ namespace FEQ0000 { | |||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||||
|             public int pumidx { |             public int pumidx { | ||||||
|                 get { |                 get { | ||||||
|                     try { |                     if (this.IspumidxNull()) { | ||||||
|                         return ((int)(this[this.tablePurchase.pumidxColumn])); |                         return -1; | ||||||
|                     } |                     } | ||||||
|                     catch (global::System.InvalidCastException e) { |                     else { | ||||||
|                         throw new global::System.Data.StrongTypingException("\'Purchase\' 테이블의 \'pumidx\' 열의 값이 DBNull입니다.", e); |                         return ((int)(this[this.tablePurchase.pumidxColumn])); | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|                 set { |                 set { | ||||||
|   | |||||||
| @@ -255,7 +255,7 @@ ORDER BY pdate DESC, idx DESC</CommandText> | |||||||
|   <xs:element name="dsPurchase" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsPurchase" msprop:Generator_UserDSName="dsPurchase"> |   <xs:element name="dsPurchase" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsPurchase" msprop:Generator_UserDSName="dsPurchase"> | ||||||
|     <xs:complexType> |     <xs:complexType> | ||||||
|       <xs:choice minOccurs="0" maxOccurs="unbounded"> |       <xs:choice minOccurs="0" maxOccurs="unbounded"> | ||||||
|         <xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_RowClassName="PurchaseRow" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent"> |         <xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent" msprop:Generator_RowClassName="PurchaseRow"> | ||||||
|           <xs:complexType> |           <xs:complexType> | ||||||
|             <xs:sequence> |             <xs:sequence> | ||||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> |               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||||
| @@ -329,9 +329,9 @@ ORDER BY pdate DESC, idx DESC</CommandText> | |||||||
|                   </xs:restriction> |                   </xs:restriction> | ||||||
|                 </xs:simpleType> |                 </xs:simpleType> | ||||||
|               </xs:element> |               </xs:element> | ||||||
|               <xs:element name="pumqty" msprop:Generator_ColumnVarNameInTable="columnpumqty" msprop:Generator_ColumnPropNameInRow="pumqty" msprop:Generator_ColumnPropNameInTable="pumqtyColumn" msprop:Generator_UserColumnName="pumqty" type="xs:int" minOccurs="0" /> |               <xs:element name="pumqty" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="pumqty" msprop:Generator_ColumnVarNameInTable="columnpumqty" msprop:Generator_ColumnPropNameInTable="pumqtyColumn" msprop:Generator_UserColumnName="pumqty" type="xs:int" minOccurs="0" /> | ||||||
|               <xs:element name="pumprice" msprop:Generator_ColumnVarNameInTable="columnpumprice" msprop:Generator_ColumnPropNameInRow="pumprice" msprop:Generator_ColumnPropNameInTable="pumpriceColumn" msprop:Generator_UserColumnName="pumprice" type="xs:decimal" minOccurs="0" /> |               <xs:element name="pumprice" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="pumprice" msprop:Generator_ColumnVarNameInTable="columnpumprice" msprop:Generator_ColumnPropNameInTable="pumpriceColumn" msprop:Generator_UserColumnName="pumprice" type="xs:decimal" minOccurs="0" /> | ||||||
|               <xs:element name="pumamt" msprop:Generator_ColumnVarNameInTable="columnpumamt" msprop:Generator_ColumnPropNameInRow="pumamt" msprop:Generator_ColumnPropNameInTable="pumamtColumn" msprop:Generator_UserColumnName="pumamt" type="xs:decimal" minOccurs="0" /> |               <xs:element name="pumamt" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="pumamt" msprop:Generator_ColumnVarNameInTable="columnpumamt" msprop:Generator_ColumnPropNameInTable="pumamtColumn" msprop:Generator_UserColumnName="pumamt" type="xs:decimal" minOccurs="0" /> | ||||||
|               <xs:element name="supply" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="supply" msprop:Generator_ColumnVarNameInTable="columnsupply" msprop:Generator_ColumnPropNameInTable="supplyColumn" msprop:Generator_UserColumnName="supply" minOccurs="0"> |               <xs:element name="supply" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="supply" msprop:Generator_ColumnVarNameInTable="columnsupply" msprop:Generator_ColumnPropNameInTable="supplyColumn" msprop:Generator_UserColumnName="supply" minOccurs="0"> | ||||||
|                 <xs:simpleType> |                 <xs:simpleType> | ||||||
|                   <xs:restriction base="xs:string"> |                   <xs:restriction base="xs:string"> | ||||||
| @@ -339,7 +339,7 @@ ORDER BY pdate DESC, idx DESC</CommandText> | |||||||
|                   </xs:restriction> |                   </xs:restriction> | ||||||
|                 </xs:simpleType> |                 </xs:simpleType> | ||||||
|               </xs:element> |               </xs:element> | ||||||
|               <xs:element name="supplyidx" msprop:Generator_ColumnVarNameInTable="columnsupplyidx" msprop:Generator_ColumnPropNameInRow="supplyidx" msprop:Generator_ColumnPropNameInTable="supplyidxColumn" msprop:Generator_UserColumnName="supplyidx" type="xs:int" minOccurs="0" /> |               <xs:element name="supplyidx" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="supplyidx" msprop:Generator_ColumnVarNameInTable="columnsupplyidx" msprop:Generator_ColumnPropNameInTable="supplyidxColumn" msprop:Generator_UserColumnName="supplyidx" type="xs:int" minOccurs="0" /> | ||||||
|               <xs:element name="project" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_UserColumnName="project" minOccurs="0"> |               <xs:element name="project" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_UserColumnName="project" minOccurs="0"> | ||||||
|                 <xs:simpleType> |                 <xs:simpleType> | ||||||
|                   <xs:restriction base="xs:string"> |                   <xs:restriction base="xs:string"> | ||||||
| @@ -347,7 +347,7 @@ ORDER BY pdate DESC, idx DESC</CommandText> | |||||||
|                   </xs:restriction> |                   </xs:restriction> | ||||||
|                 </xs:simpleType> |                 </xs:simpleType> | ||||||
|               </xs:element> |               </xs:element> | ||||||
|               <xs:element name="projectidx" msprop:Generator_ColumnVarNameInTable="columnprojectidx" msprop:Generator_ColumnPropNameInRow="projectidx" msprop:Generator_ColumnPropNameInTable="projectidxColumn" msprop:Generator_UserColumnName="projectidx" type="xs:int" minOccurs="0" /> |               <xs:element name="projectidx" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="projectidx" msprop:Generator_ColumnVarNameInTable="columnprojectidx" msprop:Generator_ColumnPropNameInTable="projectidxColumn" msprop:Generator_UserColumnName="projectidx" type="xs:int" minOccurs="0" /> | ||||||
|               <xs:element name="asset" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="asset" msprop:Generator_ColumnVarNameInTable="columnasset" msprop:Generator_ColumnPropNameInTable="assetColumn" msprop:Generator_UserColumnName="asset" minOccurs="0"> |               <xs:element name="asset" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="asset" msprop:Generator_ColumnVarNameInTable="columnasset" msprop:Generator_ColumnPropNameInTable="assetColumn" msprop:Generator_UserColumnName="asset" minOccurs="0"> | ||||||
|                 <xs:simpleType> |                 <xs:simpleType> | ||||||
|                   <xs:restriction base="xs:string"> |                   <xs:restriction base="xs:string"> | ||||||
| @@ -392,7 +392,7 @@ ORDER BY pdate DESC, idx DESC</CommandText> | |||||||
|               </xs:element> |               </xs:element> | ||||||
|               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> |               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> | ||||||
|               <xs:element name="import" msprop:Generator_ColumnVarNameInTable="columnimport" msprop:Generator_ColumnPropNameInRow="import" msprop:Generator_ColumnPropNameInTable="importColumn" msprop:Generator_UserColumnName="import" type="xs:boolean" minOccurs="0" /> |               <xs:element name="import" msprop:Generator_ColumnVarNameInTable="columnimport" msprop:Generator_ColumnPropNameInRow="import" msprop:Generator_ColumnPropNameInTable="importColumn" msprop:Generator_UserColumnName="import" type="xs:boolean" minOccurs="0" /> | ||||||
|               <xs:element name="pumidx" msprop:Generator_ColumnVarNameInTable="columnpumidx" msprop:Generator_ColumnPropNameInRow="pumidx" msprop:Generator_ColumnPropNameInTable="pumidxColumn" msprop:Generator_UserColumnName="pumidx" type="xs:int" minOccurs="0" /> |               <xs:element name="pumidx" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="pumidx" msprop:Generator_ColumnVarNameInTable="columnpumidx" msprop:Generator_ColumnPropNameInTable="pumidxColumn" msprop:Generator_UserColumnName="pumidx" type="xs:int" minOccurs="0" /> | ||||||
|               <xs:element name="stateName" msdata:ReadOnly="true" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="stateName" msprop:Generator_ColumnVarNameInTable="columnstateName" msprop:Generator_ColumnPropNameInTable="stateNameColumn" msprop:Generator_UserColumnName="stateName" minOccurs="0"> |               <xs:element name="stateName" msdata:ReadOnly="true" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="stateName" msprop:Generator_ColumnVarNameInTable="columnstateName" msprop:Generator_ColumnPropNameInTable="stateNameColumn" msprop:Generator_UserColumnName="stateName" minOccurs="0"> | ||||||
|                 <xs:simpleType> |                 <xs:simpleType> | ||||||
|                   <xs:restriction base="xs:string"> |                   <xs:restriction base="xs:string"> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 chikyun.kim
					chikyun.kim