1910108 chi 열저장방식 변경(필드명으로 저장)
파트리스트 열 순서를 기존 사용 엑셀과 동일하게 정렬 파트리스트 적용부위 납기일 항목 추가 파트리스트 가져오기 메뉴에 적용부위, 납기일 항목 추가 파트리스트 내보내기 기능 - 파일명을 프로젝트 명으로 자동 입력
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
* 주간내역이 업데이트 되지 않는 데이터를 강조시키고 알림을 띄울 방안 확인\
|
||||
|
||||
1910108 chi 열저장방식 변경(필드명으로 저장)
|
||||
파트리스트 열 순서를 기존 사용 엑셀과 동일하게 정렬
|
||||
파트리스트 적용부위 납기일 항목 추가
|
||||
파트리스트 가져오기 메뉴에 적용부위, 납기일 항목 추가
|
||||
파트리스트 내보내기 기능 - 파일명을 프로젝트 명으로 자동 입력
|
||||
|
||||
191001
|
||||
재고 등록화면 프로젝트 입력칸 비활성화 => 완료
|
||||
재고 관리 화면 - 보관소 필터링 기능 추가
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
|
||||
// 지정되도록 할 수 있습니다.
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("19.10.01.1400")]
|
||||
[assembly: AssemblyFileVersion("19.10.01.1400")]
|
||||
[assembly: AssemblyVersion("19.10.08.1400")]
|
||||
[assembly: AssemblyFileVersion("19.10.08.1400")]
|
||||
|
||||
@@ -12,7 +12,13 @@ namespace FPJ0000
|
||||
{
|
||||
arUtil.INIHelper ini = new arUtil.INIHelper(fn);
|
||||
foreach (FarPoint.Win.Spread.Column col in dv.ActiveSheet.Columns)
|
||||
ini.set_Data("colsize", "index_" + col.Index.ToString(), col.Width.ToString());
|
||||
{
|
||||
//열 필드명을 보고 저장하거나 번호로 저장한다
|
||||
var keyName = "index_" + col.Index.ToString();
|
||||
if (col.DataField != "") keyName = col.DataField;
|
||||
ini.set_Data("colsize", keyName, col.Width.ToString());
|
||||
}
|
||||
|
||||
ini.Flush();
|
||||
}
|
||||
public static void ColSizeLoad(ref FarPoint.Win.Spread.FpSpread dv, string fn)
|
||||
@@ -21,8 +27,15 @@ namespace FPJ0000
|
||||
arUtil.INIHelper ini = new arUtil.INIHelper(fn);
|
||||
foreach (FarPoint.Win.Spread.Column col in dv.ActiveSheet.Columns)
|
||||
{
|
||||
var width = ini.get_Data("colsize", "index_" + col.Index.ToString(), "0");
|
||||
col.Width = float.Parse(width);
|
||||
//필드로 저장된게 있다면 그것을 쓰고 아니라면 번호를 쓴다
|
||||
var strWidth = "100";
|
||||
if(col.DataField != "")
|
||||
{
|
||||
strWidth = ini.get_Data("colsize", col.DataField, ""); //필드명으로 읽어서 자료가 없다면 인덱스로 한다
|
||||
if (strWidth == "") strWidth = ini.get_Data("colsize", "index_" + col.Index.ToString(), "0");
|
||||
}
|
||||
else strWidth = ini.get_Data("colsize", "index_" + col.Index.ToString(), "0");
|
||||
col.Width = float.Parse(strWidth);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
239
SubProject/FPJ0000/Project/fPartList.Designer.cs
generated
239
SubProject/FPJ0000/Project/fPartList.Designer.cs
generated
@@ -42,20 +42,20 @@
|
||||
FarPoint.Win.Spread.FlatFocusIndicatorRenderer flatFocusIndicatorRenderer1 = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer();
|
||||
FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer1 = new FarPoint.Win.Spread.FlatScrollBarRenderer();
|
||||
FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer2 = new FarPoint.Win.Spread.FlatScrollBarRenderer();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo1 = new FarPoint.Win.Spread.NoPrinterPrintInfo();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
@@ -97,6 +97,9 @@
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbFind = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.lbSum = new System.Windows.Forms.ToolStripLabel();
|
||||
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
|
||||
@@ -232,7 +235,7 @@
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(820, 124);
|
||||
this.panel1.Size = new System.Drawing.Size(1072, 124);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// textBox1
|
||||
@@ -358,7 +361,7 @@
|
||||
this.toolStripMenuItem1,
|
||||
this.exportListToolStripMenuItem});
|
||||
this.cm1.Name = "cm1";
|
||||
this.cm1.Size = new System.Drawing.Size(226, 82);
|
||||
this.cm1.Size = new System.Drawing.Size(243, 104);
|
||||
//
|
||||
// columnSizeToolStripMenuItem
|
||||
//
|
||||
@@ -368,58 +371,58 @@
|
||||
this.saveToolStripMenuItem,
|
||||
this.loadToolStripMenuItem});
|
||||
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
|
||||
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(225, 36);
|
||||
this.columnSizeToolStripMenuItem.Text = "Column Size";
|
||||
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(242, 36);
|
||||
this.columnSizeToolStripMenuItem.Text = "열 너비 조정";
|
||||
//
|
||||
// autoToolStripMenuItem
|
||||
//
|
||||
this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image")));
|
||||
this.autoToolStripMenuItem.Name = "autoToolStripMenuItem";
|
||||
this.autoToolStripMenuItem.Size = new System.Drawing.Size(149, 36);
|
||||
this.autoToolStripMenuItem.Text = "Auto";
|
||||
this.autoToolStripMenuItem.Size = new System.Drawing.Size(194, 36);
|
||||
this.autoToolStripMenuItem.Text = "자동 조정";
|
||||
this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click);
|
||||
//
|
||||
// resetToolStripMenuItem
|
||||
//
|
||||
this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image")));
|
||||
this.resetToolStripMenuItem.Name = "resetToolStripMenuItem";
|
||||
this.resetToolStripMenuItem.Size = new System.Drawing.Size(149, 36);
|
||||
this.resetToolStripMenuItem.Text = "Reset";
|
||||
this.resetToolStripMenuItem.Size = new System.Drawing.Size(194, 36);
|
||||
this.resetToolStripMenuItem.Text = "초기화";
|
||||
this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click);
|
||||
//
|
||||
// saveToolStripMenuItem
|
||||
//
|
||||
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
|
||||
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
||||
this.saveToolStripMenuItem.Size = new System.Drawing.Size(149, 36);
|
||||
this.saveToolStripMenuItem.Text = "Save";
|
||||
this.saveToolStripMenuItem.Size = new System.Drawing.Size(194, 36);
|
||||
this.saveToolStripMenuItem.Text = "저장";
|
||||
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
|
||||
//
|
||||
// loadToolStripMenuItem
|
||||
//
|
||||
this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image")));
|
||||
this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
|
||||
this.loadToolStripMenuItem.Size = new System.Drawing.Size(149, 36);
|
||||
this.loadToolStripMenuItem.Text = "Load";
|
||||
this.loadToolStripMenuItem.Size = new System.Drawing.Size(194, 36);
|
||||
this.loadToolStripMenuItem.Text = "불러오기";
|
||||
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem1
|
||||
//
|
||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(222, 6);
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(239, 6);
|
||||
//
|
||||
// exportListToolStripMenuItem
|
||||
//
|
||||
this.exportListToolStripMenuItem.Name = "exportListToolStripMenuItem";
|
||||
this.exportListToolStripMenuItem.Size = new System.Drawing.Size(225, 36);
|
||||
this.exportListToolStripMenuItem.Text = "Export List";
|
||||
this.exportListToolStripMenuItem.Size = new System.Drawing.Size(242, 36);
|
||||
this.exportListToolStripMenuItem.Text = "목록 내보내기";
|
||||
this.exportListToolStripMenuItem.Click += new System.EventHandler(this.exportListToolStripMenuItem_Click);
|
||||
//
|
||||
// bsPart
|
||||
//
|
||||
this.bsPart.DataMember = "ProjectsPart";
|
||||
this.bsPart.DataSource = this.dsPRJ;
|
||||
this.bsPart.Sort = "ItemGroup,ItemName";
|
||||
this.bsPart.Sort = "";
|
||||
//
|
||||
// bn
|
||||
//
|
||||
@@ -445,6 +448,9 @@
|
||||
this.toolStripButton1,
|
||||
this.toolStripButton2,
|
||||
this.toolStripSeparator1,
|
||||
this.toolStripLabel2,
|
||||
this.tbFind,
|
||||
this.toolStripSeparator3,
|
||||
this.toolStripLabel1,
|
||||
this.lbSum,
|
||||
this.toolStripButton3,
|
||||
@@ -456,7 +462,7 @@
|
||||
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bn.Name = "bn";
|
||||
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bn.Size = new System.Drawing.Size(820, 25);
|
||||
this.bn.Size = new System.Drawing.Size(1072, 25);
|
||||
this.bn.TabIndex = 3;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
@@ -581,6 +587,24 @@
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// toolStripLabel2
|
||||
//
|
||||
this.toolStripLabel2.Name = "toolStripLabel2";
|
||||
this.toolStripLabel2.Size = new System.Drawing.Size(31, 22);
|
||||
this.toolStripLabel2.Text = "검색";
|
||||
//
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(100, 25);
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
||||
//
|
||||
// toolStripSeparator3
|
||||
//
|
||||
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
||||
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// toolStripLabel1
|
||||
//
|
||||
this.toolStripLabel1.Name = "toolStripLabel1";
|
||||
@@ -650,7 +674,7 @@
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(820, 401);
|
||||
this.fpSpread1.Size = new System.Drawing.Size(1072, 401);
|
||||
this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Office2013;
|
||||
this.fpSpread1.TabIndex = 4;
|
||||
this.fpSpread1.TitleInfo.Text = "PartList";
|
||||
@@ -667,7 +691,7 @@
|
||||
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.ColumnCount = 16;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
@@ -677,67 +701,68 @@
|
||||
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.Parent = "CornerFooterFlat";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "No";
|
||||
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 = "SID";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "모델";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "그룹";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "번호";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "SID";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "품명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "규격";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "단가";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "수량";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "단위";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "단가";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.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, 12).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, 12).Value = "납기일";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "비고";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "공급사코드";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "품명코드";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent = "ColumnHeaderFlat";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 36F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "ItemGroup";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "그룹";
|
||||
numberCellType1.DecimalPlaces = 0;
|
||||
numberCellType1.NegativeRed = true;
|
||||
numberCellType1.NullDisplay = "--";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "no";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "No";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "ItemGroup";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = numberCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "no";
|
||||
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).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
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 = 79F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "ItemName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "품명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "ItemSid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "SID";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType2.DecimalPlaces = 0;
|
||||
numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType2.MaximumValue = 2147483647D;
|
||||
numberCellType2.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "Item";
|
||||
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).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ItemName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
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 = 88F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ItemSid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "SID";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ItemModel";
|
||||
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(5).CellType = textCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ItemModel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "모델";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 99F;
|
||||
numberCellType2.DecimalPlaces = 0;
|
||||
numberCellType2.MaximumValue = 10000000D;
|
||||
numberCellType2.MinimumValue = -10000000D;
|
||||
numberCellType2.NegativeRed = true;
|
||||
numberCellType2.NullDisplay = "0";
|
||||
numberCellType2.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "price";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "단가";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 99F;
|
||||
numberCellType3.DecimalPlaces = 0;
|
||||
numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType3.MaximumValue = 2147483647D;
|
||||
@@ -756,6 +781,7 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Label = "단위";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType4.DecimalPlaces = 0;
|
||||
numberCellType4.MaximumValue = 999999999999999D;
|
||||
numberCellType4.MinimumValue = -999999999999999D;
|
||||
@@ -763,56 +789,54 @@
|
||||
numberCellType4.Separator = ",";
|
||||
numberCellType4.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "price";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Formula = "qty*price";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "amt";
|
||||
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).Label = "금액";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 84F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType5.DecimalPlaces = 0;
|
||||
numberCellType5.MaximumValue = 999999999999999D;
|
||||
numberCellType5.MinimumValue = -999999999999999D;
|
||||
numberCellType5.NegativeRed = true;
|
||||
numberCellType5.Separator = ",";
|
||||
numberCellType5.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "amt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Label = "금액";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "ItemManu";
|
||||
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 = 84F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "ItemManu";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "ItemSupply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Label = "제조사";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
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 = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "ItemSupply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "option1";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Label = "공급사";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Label = "적용부위";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Width = 113F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType6.DecimalPlaces = 0;
|
||||
numberCellType6.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType6.MaximumValue = 2147483647D;
|
||||
numberCellType6.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "ItemSupplyidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Label = "*";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "option2";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Label = "납기일";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Width = 62F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "memo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Label = "비고";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Width = 77F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType5.DecimalPlaces = 0;
|
||||
numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType5.MaximumValue = 2147483647D;
|
||||
numberCellType5.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "ItemSupplyidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Label = "공급사코드";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Width = 82F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "Item";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Label = "품명코드";
|
||||
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bsPart;
|
||||
@@ -845,12 +869,12 @@
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(820, 550);
|
||||
this.ClientSize = new System.Drawing.Size(1072, 550);
|
||||
this.Controls.Add(this.fpSpread1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "fPartList";
|
||||
this.Text = "PartList";
|
||||
this.Text = "파트리스트";
|
||||
this.Load += new System.EventHandler(this.fPartList_Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
@@ -918,6 +942,9 @@
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton3;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton4;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
|
||||
private System.Windows.Forms.ToolStripTextBox tbFind;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
}
|
||||
}
|
||||
@@ -58,7 +58,7 @@ namespace FPJ0000
|
||||
private void fPartList_Load(object sender, EventArgs e)
|
||||
{
|
||||
//열번호찾기
|
||||
foreach(FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns)
|
||||
foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns)
|
||||
{
|
||||
string colname = col.DataField.ToLower();
|
||||
if (colname == "itemmodel") colidx_model = col.Index;
|
||||
@@ -80,13 +80,14 @@ namespace FPJ0000
|
||||
}
|
||||
void RefreshData()
|
||||
{
|
||||
if(dsPRJ.HasChanges())
|
||||
if (dsPRJ.HasChanges())
|
||||
{
|
||||
var dlg = FCOMMON.Util.MsgQ("변경 사항이 있습니다. 갱신하면 변경 내용이 손실 됩니다.\n지금 갱신 하겠습니까?");
|
||||
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
}
|
||||
|
||||
try {
|
||||
try
|
||||
{
|
||||
this.ta.FillByIDX(this.dsPRJ.Projects, this.ProjectIndex);
|
||||
this.taPart.Fill(this.dsPRJ.ProjectsPart, this.ProjectIndex);
|
||||
}
|
||||
@@ -152,7 +153,10 @@ namespace FPJ0000
|
||||
{
|
||||
SaveFileDialog sd = new SaveFileDialog();
|
||||
sd.Filter = "excel|*.xls";
|
||||
if(sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
var fn = nameTextBox.Text.Trim();
|
||||
if(textBox1.Text.Trim() != "") fn += "_" + textBox1.Text.Trim();
|
||||
sd.FileName = fn + ".xls";
|
||||
if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
fpSpread1.SaveExcel(sd.FileName,
|
||||
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
@@ -209,11 +213,12 @@ namespace FPJ0000
|
||||
if (inputtext1 != "")
|
||||
{
|
||||
FCM0000.fLovSupply f = new FCM0000.fLovSupply(inputtext1);
|
||||
if(f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supply].Value = f.Title;
|
||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supplyidx].Value = f.Index;
|
||||
} else
|
||||
}
|
||||
else
|
||||
{
|
||||
//fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supply].Value = string.Empty;
|
||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supplyidx].Value = -1;
|
||||
@@ -308,5 +313,43 @@ namespace FPJ0000
|
||||
var f = new fProjectPartToPurchase(ProjectIndex);
|
||||
f.ShowDialog();
|
||||
}
|
||||
|
||||
private void tbFind_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
var search = tbFind.Text.Trim();
|
||||
var ColumnList = new string[] { "ItemName","ItemModel","ItemSupply","ItemManu","ItemSid" };
|
||||
var Filter = "";
|
||||
if (search != "")
|
||||
{
|
||||
foreach (var item in ColumnList)
|
||||
{
|
||||
if (Filter != "") Filter += " or ";
|
||||
Filter += item + " like '%{0}%'";
|
||||
}
|
||||
}
|
||||
try
|
||||
{
|
||||
if (Filter != "")
|
||||
{
|
||||
this.bsPart.Filter = string.Format(Filter, search.Replace("'", "''"));
|
||||
tbFind.BackColor = Color.Lime;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.bsPart.Filter = "";
|
||||
tbFind.BackColor = SystemColors.Window;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
this.bsPart.Filter = "";
|
||||
tbFind.BackColor = Color.HotPink;
|
||||
}
|
||||
this.tbFind.SelectAll();
|
||||
this.tbFind.Focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,17 +29,31 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectPartImport));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectPartImport));
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||
this.btView = new System.Windows.Forms.Button();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.noDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemGroupDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemSidDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemModelDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.qtyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemUnitDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.priceDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.amtDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemManuDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemSupplyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemSupplyidxDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.memoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsPRJ = new FPJ0000.dsPRJ();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
@@ -65,6 +79,8 @@
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.btDelAll = new System.Windows.Forms.ToolStripButton();
|
||||
this.btDelImp = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.sbSum = new System.Windows.Forms.ToolStripLabel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.nudMemo = new System.Windows.Forms.NumericUpDown();
|
||||
this.label21 = new System.Windows.Forms.Label();
|
||||
@@ -90,22 +106,10 @@
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter();
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.sbSum = new System.Windows.Forms.ToolStripLabel();
|
||||
this.noDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemGroupDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemSidDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemModelDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.qtyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemUnitDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.priceDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.amtDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemManuDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemSupplyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.itemSupplyidxDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.memoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.nudBuwi = new System.Windows.Forms.NumericUpDown();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.nudNapKi = new System.Windows.Forms.NumericUpDown();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
|
||||
@@ -127,6 +131,8 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudQty)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudName)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudSid)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudBuwi)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudNapKi)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// textBox1
|
||||
@@ -193,6 +199,123 @@
|
||||
this.dataGridView1.Size = new System.Drawing.Size(864, 465);
|
||||
this.dataGridView1.TabIndex = 1;
|
||||
//
|
||||
// noDataGridViewTextBoxColumn
|
||||
//
|
||||
this.noDataGridViewTextBoxColumn.DataPropertyName = "no";
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.noDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.noDataGridViewTextBoxColumn.HeaderText = "No";
|
||||
this.noDataGridViewTextBoxColumn.Name = "noDataGridViewTextBoxColumn";
|
||||
this.noDataGridViewTextBoxColumn.Width = 46;
|
||||
//
|
||||
// itemGroupDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemGroupDataGridViewTextBoxColumn.DataPropertyName = "ItemGroup";
|
||||
this.itemGroupDataGridViewTextBoxColumn.HeaderText = "그룹";
|
||||
this.itemGroupDataGridViewTextBoxColumn.Name = "itemGroupDataGridViewTextBoxColumn";
|
||||
this.itemGroupDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// itemSidDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemSidDataGridViewTextBoxColumn.DataPropertyName = "ItemSid";
|
||||
this.itemSidDataGridViewTextBoxColumn.HeaderText = "SID";
|
||||
this.itemSidDataGridViewTextBoxColumn.Name = "itemSidDataGridViewTextBoxColumn";
|
||||
this.itemSidDataGridViewTextBoxColumn.Width = 49;
|
||||
//
|
||||
// itemNameDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemNameDataGridViewTextBoxColumn.DataPropertyName = "ItemName";
|
||||
this.itemNameDataGridViewTextBoxColumn.HeaderText = "품명";
|
||||
this.itemNameDataGridViewTextBoxColumn.Name = "itemNameDataGridViewTextBoxColumn";
|
||||
this.itemNameDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// itemDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemDataGridViewTextBoxColumn.DataPropertyName = "Item";
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.itemDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.itemDataGridViewTextBoxColumn.HeaderText = "*";
|
||||
this.itemDataGridViewTextBoxColumn.Name = "itemDataGridViewTextBoxColumn";
|
||||
this.itemDataGridViewTextBoxColumn.Width = 36;
|
||||
//
|
||||
// itemModelDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemModelDataGridViewTextBoxColumn.DataPropertyName = "ItemModel";
|
||||
this.itemModelDataGridViewTextBoxColumn.HeaderText = "규격";
|
||||
this.itemModelDataGridViewTextBoxColumn.Name = "itemModelDataGridViewTextBoxColumn";
|
||||
this.itemModelDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// qtyDataGridViewTextBoxColumn
|
||||
//
|
||||
this.qtyDataGridViewTextBoxColumn.DataPropertyName = "qty";
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle3.Format = "N0";
|
||||
this.qtyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.qtyDataGridViewTextBoxColumn.HeaderText = "수량";
|
||||
this.qtyDataGridViewTextBoxColumn.Name = "qtyDataGridViewTextBoxColumn";
|
||||
this.qtyDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// itemUnitDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemUnitDataGridViewTextBoxColumn.DataPropertyName = "ItemUnit";
|
||||
this.itemUnitDataGridViewTextBoxColumn.HeaderText = "단위";
|
||||
this.itemUnitDataGridViewTextBoxColumn.Name = "itemUnitDataGridViewTextBoxColumn";
|
||||
this.itemUnitDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// priceDataGridViewTextBoxColumn
|
||||
//
|
||||
this.priceDataGridViewTextBoxColumn.DataPropertyName = "price";
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle4.Format = "N0";
|
||||
this.priceDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.priceDataGridViewTextBoxColumn.HeaderText = "단가";
|
||||
this.priceDataGridViewTextBoxColumn.Name = "priceDataGridViewTextBoxColumn";
|
||||
this.priceDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// amtDataGridViewTextBoxColumn
|
||||
//
|
||||
this.amtDataGridViewTextBoxColumn.DataPropertyName = "amt";
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
dataGridViewCellStyle5.Format = "N0";
|
||||
this.amtDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.amtDataGridViewTextBoxColumn.HeaderText = "금액";
|
||||
this.amtDataGridViewTextBoxColumn.Name = "amtDataGridViewTextBoxColumn";
|
||||
this.amtDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
this.amtDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// itemManuDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemManuDataGridViewTextBoxColumn.DataPropertyName = "ItemManu";
|
||||
this.itemManuDataGridViewTextBoxColumn.HeaderText = "제조사";
|
||||
this.itemManuDataGridViewTextBoxColumn.Name = "itemManuDataGridViewTextBoxColumn";
|
||||
this.itemManuDataGridViewTextBoxColumn.Width = 66;
|
||||
//
|
||||
// itemSupplyDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemSupplyDataGridViewTextBoxColumn.DataPropertyName = "ItemSupply";
|
||||
this.itemSupplyDataGridViewTextBoxColumn.HeaderText = "공급사";
|
||||
this.itemSupplyDataGridViewTextBoxColumn.Name = "itemSupplyDataGridViewTextBoxColumn";
|
||||
this.itemSupplyDataGridViewTextBoxColumn.Width = 66;
|
||||
//
|
||||
// itemSupplyidxDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemSupplyidxDataGridViewTextBoxColumn.DataPropertyName = "ItemSupplyidx";
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.itemSupplyidxDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.itemSupplyidxDataGridViewTextBoxColumn.HeaderText = "*";
|
||||
this.itemSupplyidxDataGridViewTextBoxColumn.Name = "itemSupplyidxDataGridViewTextBoxColumn";
|
||||
this.itemSupplyidxDataGridViewTextBoxColumn.Width = 36;
|
||||
//
|
||||
// memoDataGridViewTextBoxColumn
|
||||
//
|
||||
this.memoDataGridViewTextBoxColumn.DataPropertyName = "memo";
|
||||
this.memoDataGridViewTextBoxColumn.HeaderText = "비고";
|
||||
this.memoDataGridViewTextBoxColumn.Name = "memoDataGridViewTextBoxColumn";
|
||||
this.memoDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "ProjectsPart";
|
||||
@@ -460,10 +583,25 @@
|
||||
this.btDelImp.Text = "가져온 자료 모두 삭제";
|
||||
this.btDelImp.Click += new System.EventHandler(this.btDelImp_Click);
|
||||
//
|
||||
// toolStripSeparator2
|
||||
//
|
||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// sbSum
|
||||
//
|
||||
this.sbSum.Name = "sbSum";
|
||||
this.sbSum.Size = new System.Drawing.Size(52, 22);
|
||||
this.sbSum.Text = "합계 : --";
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
|
||||
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel2.Controls.Add(this.nudNapKi);
|
||||
this.panel2.Controls.Add(this.label5);
|
||||
this.panel2.Controls.Add(this.nudBuwi);
|
||||
this.panel2.Controls.Add(this.label4);
|
||||
this.panel2.Controls.Add(this.btView);
|
||||
this.panel2.Controls.Add(this.nudMemo);
|
||||
this.panel2.Controls.Add(this.label21);
|
||||
@@ -497,7 +635,7 @@
|
||||
//
|
||||
// nudMemo
|
||||
//
|
||||
this.nudMemo.Location = new System.Drawing.Point(431, 55);
|
||||
this.nudMemo.Location = new System.Drawing.Point(629, 56);
|
||||
this.nudMemo.Name = "nudMemo";
|
||||
this.nudMemo.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudMemo.TabIndex = 50;
|
||||
@@ -512,7 +650,7 @@
|
||||
// label21
|
||||
//
|
||||
this.label21.AutoSize = true;
|
||||
this.label21.Location = new System.Drawing.Point(388, 59);
|
||||
this.label21.Location = new System.Drawing.Point(593, 60);
|
||||
this.label21.Name = "label21";
|
||||
this.label21.Size = new System.Drawing.Size(29, 12);
|
||||
this.label21.TabIndex = 49;
|
||||
@@ -520,7 +658,7 @@
|
||||
//
|
||||
// nudGrp
|
||||
//
|
||||
this.nudGrp.Location = new System.Drawing.Point(326, 55);
|
||||
this.nudGrp.Location = new System.Drawing.Point(326, 56);
|
||||
this.nudGrp.Name = "nudGrp";
|
||||
this.nudGrp.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudGrp.TabIndex = 48;
|
||||
@@ -535,7 +673,7 @@
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(293, 59);
|
||||
this.label20.Location = new System.Drawing.Point(293, 60);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(29, 12);
|
||||
this.label20.TabIndex = 47;
|
||||
@@ -543,7 +681,7 @@
|
||||
//
|
||||
// nudSupply
|
||||
//
|
||||
this.nudSupply.Location = new System.Drawing.Point(234, 55);
|
||||
this.nudSupply.Location = new System.Drawing.Point(234, 56);
|
||||
this.nudSupply.Name = "nudSupply";
|
||||
this.nudSupply.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudSupply.TabIndex = 46;
|
||||
@@ -558,7 +696,7 @@
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.Location = new System.Drawing.Point(187, 59);
|
||||
this.label19.Location = new System.Drawing.Point(187, 60);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new System.Drawing.Size(41, 12);
|
||||
this.label19.TabIndex = 45;
|
||||
@@ -613,7 +751,7 @@
|
||||
//
|
||||
// nudManu
|
||||
//
|
||||
this.nudManu.Location = new System.Drawing.Point(139, 55);
|
||||
this.nudManu.Location = new System.Drawing.Point(139, 56);
|
||||
this.nudManu.Name = "nudManu";
|
||||
this.nudManu.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudManu.TabIndex = 35;
|
||||
@@ -628,7 +766,7 @@
|
||||
// label14
|
||||
//
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(93, 59);
|
||||
this.label14.Location = new System.Drawing.Point(93, 60);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(41, 12);
|
||||
this.label14.TabIndex = 34;
|
||||
@@ -659,7 +797,7 @@
|
||||
//
|
||||
// nudUnit
|
||||
//
|
||||
this.nudUnit.Location = new System.Drawing.Point(42, 55);
|
||||
this.nudUnit.Location = new System.Drawing.Point(42, 56);
|
||||
this.nudUnit.Name = "nudUnit";
|
||||
this.nudUnit.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudUnit.TabIndex = 31;
|
||||
@@ -674,7 +812,7 @@
|
||||
// label12
|
||||
//
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(7, 59);
|
||||
this.label12.Location = new System.Drawing.Point(7, 60);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(29, 12);
|
||||
this.label12.TabIndex = 30;
|
||||
@@ -767,133 +905,49 @@
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// toolStripSeparator2
|
||||
// nudBuwi
|
||||
//
|
||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
this.nudBuwi.Location = new System.Drawing.Point(431, 56);
|
||||
this.nudBuwi.Name = "nudBuwi";
|
||||
this.nudBuwi.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudBuwi.TabIndex = 53;
|
||||
this.nudBuwi.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.nudBuwi.Value = new decimal(new int[] {
|
||||
11,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// sbSum
|
||||
// label4
|
||||
//
|
||||
this.sbSum.Name = "sbSum";
|
||||
this.sbSum.Size = new System.Drawing.Size(52, 22);
|
||||
this.sbSum.Text = "합계 : --";
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(375, 60);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(53, 12);
|
||||
this.label4.TabIndex = 52;
|
||||
this.label4.Text = "적용부위";
|
||||
//
|
||||
// noDataGridViewTextBoxColumn
|
||||
// nudNapKi
|
||||
//
|
||||
this.noDataGridViewTextBoxColumn.DataPropertyName = "no";
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.noDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.noDataGridViewTextBoxColumn.HeaderText = "No";
|
||||
this.noDataGridViewTextBoxColumn.Name = "noDataGridViewTextBoxColumn";
|
||||
this.noDataGridViewTextBoxColumn.Width = 46;
|
||||
this.nudNapKi.Location = new System.Drawing.Point(537, 56);
|
||||
this.nudNapKi.Name = "nudNapKi";
|
||||
this.nudNapKi.Size = new System.Drawing.Size(45, 21);
|
||||
this.nudNapKi.TabIndex = 55;
|
||||
this.nudNapKi.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.nudNapKi.Value = new decimal(new int[] {
|
||||
12,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// itemGroupDataGridViewTextBoxColumn
|
||||
// label5
|
||||
//
|
||||
this.itemGroupDataGridViewTextBoxColumn.DataPropertyName = "ItemGroup";
|
||||
this.itemGroupDataGridViewTextBoxColumn.HeaderText = "그룹";
|
||||
this.itemGroupDataGridViewTextBoxColumn.Name = "itemGroupDataGridViewTextBoxColumn";
|
||||
this.itemGroupDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// itemSidDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemSidDataGridViewTextBoxColumn.DataPropertyName = "ItemSid";
|
||||
this.itemSidDataGridViewTextBoxColumn.HeaderText = "SID";
|
||||
this.itemSidDataGridViewTextBoxColumn.Name = "itemSidDataGridViewTextBoxColumn";
|
||||
this.itemSidDataGridViewTextBoxColumn.Width = 49;
|
||||
//
|
||||
// itemNameDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemNameDataGridViewTextBoxColumn.DataPropertyName = "ItemName";
|
||||
this.itemNameDataGridViewTextBoxColumn.HeaderText = "품명";
|
||||
this.itemNameDataGridViewTextBoxColumn.Name = "itemNameDataGridViewTextBoxColumn";
|
||||
this.itemNameDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// itemDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemDataGridViewTextBoxColumn.DataPropertyName = "Item";
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.itemDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.itemDataGridViewTextBoxColumn.HeaderText = "*";
|
||||
this.itemDataGridViewTextBoxColumn.Name = "itemDataGridViewTextBoxColumn";
|
||||
this.itemDataGridViewTextBoxColumn.Width = 36;
|
||||
//
|
||||
// itemModelDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemModelDataGridViewTextBoxColumn.DataPropertyName = "ItemModel";
|
||||
this.itemModelDataGridViewTextBoxColumn.HeaderText = "규격";
|
||||
this.itemModelDataGridViewTextBoxColumn.Name = "itemModelDataGridViewTextBoxColumn";
|
||||
this.itemModelDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// qtyDataGridViewTextBoxColumn
|
||||
//
|
||||
this.qtyDataGridViewTextBoxColumn.DataPropertyName = "qty";
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle3.Format = "N0";
|
||||
this.qtyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.qtyDataGridViewTextBoxColumn.HeaderText = "수량";
|
||||
this.qtyDataGridViewTextBoxColumn.Name = "qtyDataGridViewTextBoxColumn";
|
||||
this.qtyDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// itemUnitDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemUnitDataGridViewTextBoxColumn.DataPropertyName = "ItemUnit";
|
||||
this.itemUnitDataGridViewTextBoxColumn.HeaderText = "단위";
|
||||
this.itemUnitDataGridViewTextBoxColumn.Name = "itemUnitDataGridViewTextBoxColumn";
|
||||
this.itemUnitDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// priceDataGridViewTextBoxColumn
|
||||
//
|
||||
this.priceDataGridViewTextBoxColumn.DataPropertyName = "price";
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle4.Format = "N0";
|
||||
this.priceDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.priceDataGridViewTextBoxColumn.HeaderText = "단가";
|
||||
this.priceDataGridViewTextBoxColumn.Name = "priceDataGridViewTextBoxColumn";
|
||||
this.priceDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// amtDataGridViewTextBoxColumn
|
||||
//
|
||||
this.amtDataGridViewTextBoxColumn.DataPropertyName = "amt";
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
dataGridViewCellStyle5.Format = "N0";
|
||||
this.amtDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.amtDataGridViewTextBoxColumn.HeaderText = "금액";
|
||||
this.amtDataGridViewTextBoxColumn.Name = "amtDataGridViewTextBoxColumn";
|
||||
this.amtDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
this.amtDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// itemManuDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemManuDataGridViewTextBoxColumn.DataPropertyName = "ItemManu";
|
||||
this.itemManuDataGridViewTextBoxColumn.HeaderText = "제조사";
|
||||
this.itemManuDataGridViewTextBoxColumn.Name = "itemManuDataGridViewTextBoxColumn";
|
||||
this.itemManuDataGridViewTextBoxColumn.Width = 66;
|
||||
//
|
||||
// itemSupplyDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemSupplyDataGridViewTextBoxColumn.DataPropertyName = "ItemSupply";
|
||||
this.itemSupplyDataGridViewTextBoxColumn.HeaderText = "공급사";
|
||||
this.itemSupplyDataGridViewTextBoxColumn.Name = "itemSupplyDataGridViewTextBoxColumn";
|
||||
this.itemSupplyDataGridViewTextBoxColumn.Width = 66;
|
||||
//
|
||||
// itemSupplyidxDataGridViewTextBoxColumn
|
||||
//
|
||||
this.itemSupplyidxDataGridViewTextBoxColumn.DataPropertyName = "ItemSupplyidx";
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.itemSupplyidxDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.itemSupplyidxDataGridViewTextBoxColumn.HeaderText = "*";
|
||||
this.itemSupplyidxDataGridViewTextBoxColumn.Name = "itemSupplyidxDataGridViewTextBoxColumn";
|
||||
this.itemSupplyidxDataGridViewTextBoxColumn.Width = 36;
|
||||
//
|
||||
// memoDataGridViewTextBoxColumn
|
||||
//
|
||||
this.memoDataGridViewTextBoxColumn.DataPropertyName = "memo";
|
||||
this.memoDataGridViewTextBoxColumn.HeaderText = "비고";
|
||||
this.memoDataGridViewTextBoxColumn.Name = "memoDataGridViewTextBoxColumn";
|
||||
this.memoDataGridViewTextBoxColumn.Width = 54;
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(489, 60);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(41, 12);
|
||||
this.label5.TabIndex = 54;
|
||||
this.label5.Text = "납기일";
|
||||
//
|
||||
// fProjectPartImport
|
||||
//
|
||||
@@ -931,6 +985,8 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudQty)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudName)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudSid)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudBuwi)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudNapKi)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -1008,5 +1064,9 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn itemSupplyDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn itemSupplyidxDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn memoDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.NumericUpDown nudBuwi;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.NumericUpDown nudNapKi;
|
||||
private System.Windows.Forms.Label label5;
|
||||
}
|
||||
}
|
||||
@@ -122,6 +122,8 @@ namespace FPJ0000
|
||||
var 공급사 = sheet.readStr(r, (int)nudSupply.Value - 1);
|
||||
var 그룹 = sheet.readStr(r, (int)nudGrp.Value - 1);
|
||||
var 비고 = sheet.readStr(r, (int)nudMemo.Value - 1);
|
||||
var 적용부위 = sheet.readStr(r, (int)nudBuwi.Value - 1);
|
||||
var 납기일 = sheet.readStr(r, (int)nudNapKi.Value - 1);
|
||||
|
||||
//필수자료갸ㅏ 없는 경우처리하지 않음
|
||||
if (품명.Trim() == "") continue;
|
||||
@@ -155,6 +157,8 @@ namespace FPJ0000
|
||||
}
|
||||
}
|
||||
|
||||
newdr.option1 = 적용부위;
|
||||
newdr.option2 = 납기일;
|
||||
newdr.ItemGroup = 그룹;
|
||||
newdr.memo = 비고;
|
||||
sumamt += newdr.amt;
|
||||
|
||||
Reference in New Issue
Block a user