일반 구매 화면에서 , 로그인 사용자가 구매 담당자 라면 해당 자료만 보이도록 매니저를 기본 설정 함
구매 자료 복사시 , 구매담당자 값 지우도록 함 구매 신청 화면에서 담당자가 1명이라면 자동으로 설정 함
This commit is contained in:
		
							
								
								
									
										278
									
								
								SubProject/FCM0000/Item/fItems.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										278
									
								
								SubProject/FCM0000/Item/fItems.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -43,7 +43,7 @@ | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.ComboBoxCellType comboBoxCellType1 = new FarPoint.Win.Spread.CellType.ComboBoxCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
| @@ -86,7 +86,6 @@ | ||||
|             this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); | ||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||
|             this.panel1 = new System.Windows.Forms.Panel(); | ||||
|             this.groupBox1 = new System.Windows.Forms.GroupBox(); | ||||
|             this.memoTextBox = new System.Windows.Forms.TextBox(); | ||||
| @@ -120,6 +119,7 @@ | ||||
|             this.taPurchase = new FCM0000.dsMSSQLTableAdapters.PurchaseTableAdapter(); | ||||
|             this.bsStaff = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.taStaff = new FCM0000.dsMSSQLTableAdapters.StaffTableAdapter(); | ||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
|             this.bn.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
| @@ -127,12 +127,12 @@ | ||||
|             this.cm1.SuspendLayout(); | ||||
|             this.toolStrip1.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); | ||||
|             this.groupBox1.SuspendLayout(); | ||||
|             this.panIMage.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); | ||||
|             this.toolStrip2.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bsStaff)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // bn | ||||
| @@ -511,143 +511,6 @@ | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(877, 623); | ||||
|             this.fpSpread1.TabIndex = 3; | ||||
|             //  | ||||
|             // 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 = 14; | ||||
|             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; | ||||
|             this.fpSpread1_Sheet1.ActiveRowIndex = -1; | ||||
|             this.fpSpread1_Sheet1.AutoGenerateColumns = false; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "숨김"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "보관소"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "분류"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "품명"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "SID#"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "모델명"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "단가"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "단가($)"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "제조사"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "규격"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "단위"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "공급처"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 42F; | ||||
|             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).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Label = "IDX"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Width = 62F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).DataField = "disable"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Label = "숨김"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Width = 78F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Storage"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Label = "보관소"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Width = 79F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).DataField = "cate"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Label = "분류"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "name"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Label = "품명"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "sid"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Label = "SID#"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "model"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Label = "모델명"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Width = 113F; | ||||
|             currencyCellType1.DecimalPlaces = 0; | ||||
|             currencyCellType1.MaximumValue = new decimal(new int[] { | ||||
|             10000000, | ||||
|             0, | ||||
|             0, | ||||
|             0}); | ||||
|             currencyCellType1.MinimumValue = new decimal(new int[] { | ||||
|             10000000, | ||||
|             0, | ||||
|             0, | ||||
|             -2147483648}); | ||||
|             currencyCellType1.NegativeRed = true; | ||||
|             currencyCellType1.NullDisplay = "--"; | ||||
|             currencyCellType1.Separator = ","; | ||||
|             currencyCellType1.ShowSeparator = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).CellType = currencyCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "price"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Label = "단가"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Width = 123F; | ||||
|             numberCellType2.DecimalPlaces = 2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "priceD"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).ForeColor = System.Drawing.Color.Blue; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Label = "단가($)"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Width = 94F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType6; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).DataField = "manu"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Label = "제조사"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Width = 113F; | ||||
|             numberCellType3.MaximumValue = 999999999999999D; | ||||
|             numberCellType3.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).DataField = "scale"; | ||||
|             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 = 84F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType7; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).DataField = "unit"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).Label = "단위"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType8; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).DataField = "supply"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).Tag = "supplyname"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).Visible = false; | ||||
|             comboBoxCellType1.AllowEditorVerticalAlign = true; | ||||
|             comboBoxCellType1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; | ||||
|             comboBoxCellType1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; | ||||
|             comboBoxCellType1.ButtonAlign = FarPoint.Win.ButtonAlign.Right; | ||||
|             comboBoxCellType1.EditorValue = FarPoint.Win.Spread.CellType.EditorValue.ItemData; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).CellType = comboBoxCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).DataField = "supplyidx"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).Label = "공급처"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).Tag = "supply"; | ||||
|             this.fpSpread1_Sheet1.DataAutoCellTypes = false; | ||||
|             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; | ||||
|             //  | ||||
|             // panel1 | ||||
|             //  | ||||
|             this.panel1.Dock = System.Windows.Forms.DockStyle.Right; | ||||
| @@ -930,6 +793,139 @@ | ||||
|             //  | ||||
|             this.taStaff.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 = 14; | ||||
|             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; | ||||
|             this.fpSpread1_Sheet1.ActiveRowIndex = -1; | ||||
|             this.fpSpread1_Sheet1.AutoGenerateColumns = false; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "숨김"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "보관소"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "분류"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "품명"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "SID#"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "모델명"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "단가"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "단가($)"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "제조사"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "규격"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "단위"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "공급처"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 42F; | ||||
|             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).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Label = "IDX"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Width = 62F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).DataField = "disable"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Label = "숨김"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Width = 78F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Storage"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Label = "보관소"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Width = 79F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).DataField = "cate"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Label = "분류"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "name"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Label = "품명"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "sid"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Label = "SID#"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Width = 113F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "model"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Label = "모델명"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Width = 113F; | ||||
|             currencyCellType1.DecimalPlaces = 0; | ||||
|             currencyCellType1.MaximumValue = new decimal(new int[] { | ||||
|             10000000, | ||||
|             0, | ||||
|             0, | ||||
|             0}); | ||||
|             currencyCellType1.MinimumValue = new decimal(new int[] { | ||||
|             10000000, | ||||
|             0, | ||||
|             0, | ||||
|             -2147483648}); | ||||
|             currencyCellType1.NegativeRed = true; | ||||
|             currencyCellType1.NullDisplay = "--"; | ||||
|             currencyCellType1.Separator = ","; | ||||
|             currencyCellType1.ShowSeparator = true; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).CellType = currencyCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "price"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Label = "단가"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Width = 123F; | ||||
|             numberCellType2.DecimalPlaces = 2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "priceD"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).ForeColor = System.Drawing.Color.Blue; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Label = "단가($)"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Width = 94F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType6; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).DataField = "manu"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Label = "제조사"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Width = 113F; | ||||
|             numberCellType3.MaximumValue = 999999999999999D; | ||||
|             numberCellType3.MinimumValue = -999999999999999D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(10).DataField = "scale"; | ||||
|             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 = 84F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType7; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).DataField = "unit"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(11).Label = "단위"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType8; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).DataField = "supply"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).Tag = "supplyname"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(12).Visible = false; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType9; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).DataField = "supply"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).Label = "공급처"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.DataAutoCellTypes = false; | ||||
|             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; | ||||
|             //  | ||||
|             // fItems | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
| @@ -952,7 +948,6 @@ | ||||
|             this.toolStrip1.ResumeLayout(false); | ||||
|             this.toolStrip1.PerformLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); | ||||
|             this.groupBox1.ResumeLayout(false); | ||||
|             this.groupBox1.PerformLayout(); | ||||
|             this.panIMage.ResumeLayout(false); | ||||
| @@ -961,6 +956,7 @@ | ||||
|             this.toolStrip2.ResumeLayout(false); | ||||
|             this.toolStrip2.PerformLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bsStaff)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chi
					chi