비용요약 추가

This commit is contained in:
chi
2020-04-14 21:11:56 +09:00
parent 0d4413db95
commit 6565f2bacc
27 changed files with 5268 additions and 652 deletions

View File

@@ -38,26 +38,31 @@
System.Windows.Forms.Label memoLabel;
System.Windows.Forms.Label statusLabel;
System.Windows.Forms.Label label1;
System.Windows.Forms.Label label2;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPartList));
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.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 numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.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.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = 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.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = 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.radSortGrp = new System.Windows.Forms.RadioButton();
this.radSortNo = new System.Windows.Forms.RadioButton();
this.button1 = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsPRJ = new FPJ0000.dsPRJ();
@@ -92,8 +97,6 @@
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.btRefresh = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
@@ -104,6 +107,7 @@
this.lbSum = new System.Windows.Forms.ToolStripLabel();
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton5 = new System.Windows.Forms.ToolStripButton();
this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter();
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter();
@@ -118,6 +122,7 @@
memoLabel = new System.Windows.Forms.Label();
statusLabel = new System.Windows.Forms.Label();
label1 = new System.Windows.Forms.Label();
label2 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
@@ -186,7 +191,7 @@
// memoLabel
//
memoLabel.AutoSize = true;
memoLabel.Location = new System.Drawing.Point(35, 96);
memoLabel.Location = new System.Drawing.Point(616, 42);
memoLabel.Name = "memoLabel";
memoLabel.Size = new System.Drawing.Size(29, 12);
memoLabel.TabIndex = 16;
@@ -204,14 +209,28 @@
// label1
//
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(592, 15);
label1.Location = new System.Drawing.Point(601, 15);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(44, 12);
label1.TabIndex = 24;
label1.Text = "CR/CF";
//
// label2
//
label2.AutoSize = true;
label2.Location = new System.Drawing.Point(592, 70);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(53, 12);
label2.TabIndex = 27;
label2.Tag = "";
label2.Text = "정렬방식";
//
// panel1
//
this.panel1.Controls.Add(this.radSortGrp);
this.panel1.Controls.Add(this.radSortNo);
this.panel1.Controls.Add(label2);
this.panel1.Controls.Add(this.button1);
this.panel1.Controls.Add(label1);
this.panel1.Controls.Add(this.textBox1);
this.panel1.Controls.Add(this.idxTextBox);
@@ -235,16 +254,48 @@
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(1072, 124);
this.panel1.Size = new System.Drawing.Size(1191, 97);
this.panel1.TabIndex = 0;
//
// radSortGrp
//
this.radSortGrp.AutoSize = true;
this.radSortGrp.Checked = true;
this.radSortGrp.Location = new System.Drawing.Point(651, 68);
this.radSortGrp.Name = "radSortGrp";
this.radSortGrp.Size = new System.Drawing.Size(131, 16);
this.radSortGrp.TabIndex = 29;
this.radSortGrp.TabStop = true;
this.radSortGrp.Text = "중분류+소분류+번호";
this.radSortGrp.UseVisualStyleBackColor = true;
//
// radSortNo
//
this.radSortNo.AutoSize = true;
this.radSortNo.Location = new System.Drawing.Point(788, 68);
this.radSortNo.Name = "radSortNo";
this.radSortNo.Size = new System.Drawing.Size(47, 16);
this.radSortNo.TabIndex = 28;
this.radSortNo.Text = "번호";
this.radSortNo.UseVisualStyleBackColor = true;
//
// button1
//
this.button1.Location = new System.Drawing.Point(986, 11);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(98, 78);
this.button1.TabIndex = 26;
this.button1.Text = "새로고침(&R)";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// textBox1
//
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "orderno", true));
this.textBox1.Enabled = false;
this.textBox1.Location = new System.Drawing.Point(651, 12);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(106, 21);
this.textBox1.Size = new System.Drawing.Size(324, 21);
this.textBox1.TabIndex = 25;
//
// bs
@@ -338,9 +389,9 @@
//
this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true));
this.memoTextBox.Enabled = false;
this.memoTextBox.Location = new System.Drawing.Point(70, 93);
this.memoTextBox.Location = new System.Drawing.Point(651, 39);
this.memoTextBox.Name = "memoTextBox";
this.memoTextBox.Size = new System.Drawing.Size(512, 21);
this.memoTextBox.Size = new System.Drawing.Size(324, 21);
this.memoTextBox.TabIndex = 17;
//
// statusTextBox
@@ -441,8 +492,6 @@
this.bindingNavigatorMoveNextItem,
this.bindingNavigatorMoveLastItem,
this.bindingNavigatorSeparator2,
this.btRefresh,
this.toolStripSeparator2,
this.bindingNavigatorAddNewItem,
this.bindingNavigatorDeleteItem,
this.toolStripButton1,
@@ -454,15 +503,16 @@
this.toolStripLabel1,
this.lbSum,
this.toolStripButton3,
this.toolStripButton4});
this.bn.Location = new System.Drawing.Point(0, 525);
this.toolStripButton4,
this.toolStripButton5});
this.bn.Location = new System.Drawing.Point(0, 591);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem;
this.bn.Size = new System.Drawing.Size(1072, 25);
this.bn.Size = new System.Drawing.Size(1191, 25);
this.bn.TabIndex = 3;
this.bn.Text = "bindingNavigator1";
//
@@ -549,20 +599,6 @@
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
//
// btRefresh
//
this.btRefresh.Image = ((System.Drawing.Image)(resources.GetObject("btRefresh.Image")));
this.btRefresh.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btRefresh.Name = "btRefresh";
this.btRefresh.Size = new System.Drawing.Size(90, 22);
this.btRefresh.Text = "새로고침(&R)";
this.btRefresh.Click += new System.EventHandler(this.btRefresh_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
//
// toolStripButton1
//
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
@@ -578,8 +614,8 @@
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton2.Name = "toolStripButton2";
this.toolStripButton2.Size = new System.Drawing.Size(63, 22);
this.toolStripButton2.Text = "보고서";
this.toolStripButton2.Size = new System.Drawing.Size(75, 22);
this.toolStripButton2.Text = "비용요약";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
//
// toolStripSeparator1
@@ -634,10 +670,21 @@
this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton4.Name = "toolStripButton4";
this.toolStripButton4.Size = new System.Drawing.Size(75, 22);
this.toolStripButton4.Text = "구매등록";
this.toolStripButton4.Size = new System.Drawing.Size(107, 22);
this.toolStripButton4.Text = "구매등록(전체)";
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
//
// toolStripButton5
//
this.toolStripButton5.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripButton5.Enabled = false;
this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image")));
this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton5.Name = "toolStripButton5";
this.toolStripButton5.Size = new System.Drawing.Size(107, 22);
this.toolStripButton5.Text = "구매등록(선택)";
this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click);
//
// ta
//
this.ta.ClearBeforeFill = true;
@@ -661,6 +708,7 @@
// fpSpread1
//
this.fpSpread1.AccessibleDescription = "";
this.fpSpread1.AllowDragFill = true;
this.fpSpread1.ContextMenuStrip = this.cm1;
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
this.fpSpread1.EditModeReplace = true;
@@ -670,11 +718,11 @@
this.fpSpread1.HorizontalScrollBar.Name = "";
flatScrollBarRenderer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer1;
this.fpSpread1.Location = new System.Drawing.Point(0, 124);
this.fpSpread1.Location = new System.Drawing.Point(0, 97);
this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(1072, 401);
this.fpSpread1.Size = new System.Drawing.Size(1191, 494);
this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Office2013;
this.fpSpread1.TabIndex = 4;
this.fpSpread1.TitleInfo.Text = "PartList";
@@ -701,18 +749,18 @@
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 = "그룹";
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, 0).Value = "중분류";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "소분류";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "번호";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "SID";
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, 13).Value = "비고";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "공급사코드";
@@ -724,45 +772,51 @@
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 = "그룹";
this.fpSpread1_Sheet1.Columns.Get(0).Label = "중분류";
this.fpSpread1_Sheet1.Columns.Get(0).Width = 89F;
this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "option1";
this.fpSpread1_Sheet1.Columns.Get(1).Label = "소분류";
this.fpSpread1_Sheet1.Columns.Get(1).Width = 86F;
numberCellType1.DecimalPlaces = 0;
numberCellType1.NegativeRed = true;
numberCellType1.NullDisplay = "--";
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).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 = "ItemSid";
this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType1;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "no";
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).Label = "번호";
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
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(2).Width = 79F;
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).DataField = "ItemSid";
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Label = "SID";
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).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ItemModel";
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ItemName";
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).Label = "품명";
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Width = 99F;
this.fpSpread1_Sheet1.Columns.Get(4).Width = 113F;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5;
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(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).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(6).CellType = numberCellType2;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "price";
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(6).Label = "단가";
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType3.DecimalPlaces = 0;
numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType3.MaximumValue = 2147483647D;
@@ -770,55 +824,51 @@
numberCellType3.NegativeRed = true;
numberCellType3.Separator = ",";
numberCellType3.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = numberCellType3;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "qty";
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(6).Label = "수량";
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(6).Width = 97F;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "ItemUnit";
this.fpSpread1_Sheet1.Columns.Get(7).CellType = numberCellType3;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "qty";
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).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)))));
this.fpSpread1_Sheet1.Columns.Get(7).Width = 97F;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType6;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "ItemUnit";
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(8).Label = "단위";
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType4.DecimalPlaces = 0;
numberCellType4.MaximumValue = 999999999999999D;
numberCellType4.MinimumValue = -999999999999999D;
numberCellType4.NegativeRed = true;
numberCellType4.Separator = ",";
numberCellType4.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType4;
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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(8).Width = 84F;
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).CellType = numberCellType4;
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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
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(9).Width = 84F;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType7;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "ItemSupply";
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "ItemManu";
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
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).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).AllowAutoFilter = true;
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 = textCellType8;
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "option1";
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "ItemSupply";
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(11).Label = "적용부위";
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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType8;
this.fpSpread1_Sheet1.Columns.Get(11).Width = 113F;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType9;
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(13).CellType = textCellType9;
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType10;
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 = "비고";
@@ -833,10 +883,11 @@
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(14).Width = 90F;
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.Columns.Get(15).Width = 84F;
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.DataSource = this.bsPart;
@@ -869,7 +920,7 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1072, 550);
this.ClientSize = new System.Drawing.Size(1191, 616);
this.Controls.Add(this.fpSpread1);
this.Controls.Add(this.bn);
this.Controls.Add(this.panel1);
@@ -937,14 +988,16 @@
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
private System.Windows.Forms.ToolStripButton btRefresh;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
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 System.Windows.Forms.ToolStripButton toolStripButton5;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.RadioButton radSortNo;
private System.Windows.Forms.RadioButton radSortGrp;
}
}

View File

@@ -52,11 +52,29 @@ namespace FPJ0000
void fPartList_FormClosed(object sender, FormClosedEventArgs e)
{
//정렬방식 저장값 저장하기
var SetFile = util.CurrentPath + "FormSetting.xml";
arUtil.XMLHelper xml = new arUtil.XMLHelper(SetFile);
if (xml.Exist() == false) xml.CreateFile();
if (radSortGrp.Checked)
xml.set_Data("partlist", "sort", "0");
else
xml.set_Data("partlist", "sort", "1");
xml.Save();
}
private void fPartList_Load(object sender, EventArgs e)
{
//정렬방식 저장값 불러오기
var SetFile = util.CurrentPath + "FormSetting.xml";
arUtil.XMLHelper xml = new arUtil.XMLHelper(SetFile);
if (xml.Exist() == false) xml.CreateFile();
if (xml.get_Data("partlist", "sort", "0") == "0") radSortGrp.Checked = true;
else radSortNo.Checked = true;
//열번호찾기
foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns)
{
@@ -88,8 +106,21 @@ namespace FPJ0000
try
{
//프로젝트 정보 채우기
this.ta.FillByIDX(this.dsPRJ.Projects, this.ProjectIndex);
this.taPart.Fill(this.dsPRJ.ProjectsPart, this.ProjectIndex);
//order by 절은 다시 생성한다.
var SSQl = " SELECT * FROM ProjectsPart " +
" WHERE Project = @prj";
if (radSortGrp.Checked) SSQl += " order by itemgroup,option1,no,itemname";
else SSQl += " order by no";
this.dsPRJ.ProjectsPart.Clear();
var cmd = new System.Data.SqlClient.SqlCommand(SSQl, taPart.Connection);
cmd.Parameters.Add("prj", SqlDbType.Int).Value = this.ProjectIndex;
var da = new System.Data.SqlClient.SqlDataAdapter(cmd);
da.Fill(this.dsPRJ.ProjectsPart);
}
catch (Exception ex)
{
@@ -154,7 +185,7 @@ namespace FPJ0000
SaveFileDialog sd = new SaveFileDialog();
sd.Filter = "excel|*.xls";
var fn = nameTextBox.Text.Trim();
if(textBox1.Text.Trim() != "") fn += "_" + textBox1.Text.Trim();
if (textBox1.Text.Trim() != "") fn += "_" + textBox1.Text.Trim();
sd.FileName = fn + ".xls";
if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
@@ -310,6 +341,8 @@ namespace FPJ0000
private void toolStripButton4_Click(object sender, EventArgs e)
{
var f = new fProjectPartToPurchase(ProjectIndex);
f.ShowDialog();
}
@@ -318,8 +351,8 @@ namespace FPJ0000
{
if (e.KeyCode == Keys.Enter)
{
var search = tbFind.Text.Trim();
var ColumnList = new string[] { "ItemName","ItemModel","ItemSupply","ItemManu","ItemSid" };
var search = tbFind.Text.Trim();
var ColumnList = new string[] { "ItemName", "ItemModel", "ItemSupply", "ItemManu", "ItemSid" };
var Filter = "";
if (search != "")
{
@@ -327,7 +360,7 @@ namespace FPJ0000
{
if (Filter != "") Filter += " or ";
Filter += item + " like '%{0}%'";
}
}
}
try
{
@@ -339,10 +372,10 @@ namespace FPJ0000
else
{
this.bsPart.Filter = "";
tbFind.BackColor = SystemColors.Window;
tbFind.BackColor = SystemColors.Window;
}
}
catch
catch
{
this.bsPart.Filter = "";
tbFind.BackColor = Color.HotPink;
@@ -351,5 +384,16 @@ namespace FPJ0000
this.tbFind.Focus();
}
}
private void toolStripButton5_Click(object sender, EventArgs e)
{
var range = this.fpSpread1_Sheet1.GetSelection(0);
util.MsgE("준비중");
}
private void button1_Click(object sender, EventArgs e)
{
RefreshData();
}
}
}

View File

@@ -144,6 +144,9 @@
<metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>100, 17</value>
</metadata>
@@ -151,7 +154,7 @@
<value>17, 17</value>
</metadata>
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>535, 17</value>
<value>539, 18</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="autoToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -261,18 +264,6 @@
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
</value>
</data>
<data name="btRefresh.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFKSURBVDhPtZMxSwNRDMfvu9SC4ODW0q1+G8GhIIp2qINL
ERGk0IK4ugkiKjq0q4KDRZw8QfHQoUhxExShsb+YXE+9K3TwB+Hx8vJPcnnvgizkF+aO/bZNh4DSckMK
ZsWVHRXB7OKurhb6l/ChJ8XVlrR7b3IWveqKFdYPpN4OJV/Zy07Awcx8XYWN7rNa+TCU8lEkm1d9OXn6
lNzSaXoCF2/sd3TFphdasn0ZaYK5475s3bxLrno+PgHtJ6Hl5t2HirGpWlf9JhuBk4H5ISsdkIC2qYw4
v3Ydx8SoZ0JM+g0OMlOBSlSkMh14MGuywx/gRMyU+V7Mr8thNswITDYCJ5URMm2mzvTpAEveTnaCYdsk
4L5JwP37W2he3GaLgQNa5qXx4qiOIcRo//7xRQaDMQn8jQNv3/8D/gmw0HQ0Yoht471j7v8gCL4AjZn0
BRhVTtsAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -329,6 +320,21 @@
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

View File

@@ -144,6 +144,9 @@
this.taHist = new FPJ0000.dsPRJTableAdapters.ProjectsHistoryTableAdapter();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.panel3 = new System.Windows.Forms.Panel();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
@@ -182,6 +185,9 @@
this.btDel,
this.btSave,
this.toolStripSeparator1,
this.toolStripButton1,
this.toolStripButton3,
this.toolStripSeparator5,
this.toolStripLabel1,
this.tbFind,
this.btFind});
@@ -1277,6 +1283,29 @@
this.panel3.Size = new System.Drawing.Size(1384, 218);
this.panel3.TabIndex = 7;
//
// toolStripButton1
//
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(87, 22);
this.toolStripButton1.Text = "파트리스트";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// toolStripButton3
//
this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton3.Name = "toolStripButton3";
this.toolStripButton3.Size = new System.Drawing.Size(56, 22);
this.toolStripButton3.Text = "I/O맵";
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
//
// toolStripSeparator5
//
this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25);
//
// fProjectList
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -1409,5 +1438,8 @@
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.ToolStripLabel toolStripLabel7;
private System.Windows.Forms.ToolStripComboBox cmbProcess;
private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.ToolStripButton toolStripButton3;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
}
}

View File

@@ -269,15 +269,19 @@ namespace FPJ0000
refreshData();
}
private void partListToolStripMenuItem_Click(object sender, EventArgs e)
void menu_partlist()
{
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as dsPRJ.ProjectsRow;
var f = new fPartList(dr.idx);
//f.TopMost = true;
f.StartPosition = FormStartPosition.CenterScreen;
f.Show();
}
private void partListToolStripMenuItem_Click(object sender, EventArgs e)
{
menu_partlist();
}
private void autoToolStripMenuItem_Click(object sender, EventArgs e)
@@ -368,15 +372,21 @@ namespace FPJ0000
}
}
private void iOMapToolStripMenuItem_Click(object sender, EventArgs e)
void menu_iomap()
{
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as dsPRJ.ProjectsRow;
var f = new fProjectIOMap(dr.idx);
f.StartPosition = FormStartPosition.CenterScreen;
f.Show();
}
private void iOMapToolStripMenuItem_Click(object sender, EventArgs e)
{
menu_iomap();
}
private void tbFind_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
@@ -615,5 +625,15 @@ namespace FPJ0000
{
this.Close();
}
private void toolStripButton1_Click(object sender, EventArgs e)
{
menu_partlist();
}
private void toolStripButton3_Click(object sender, EventArgs e)
{
menu_iomap();
}
}
}

View File

@@ -206,6 +206,36 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

View File

@@ -29,12 +29,12 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = 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();
@@ -82,6 +82,10 @@
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.sbSum = new System.Windows.Forms.ToolStripLabel();
this.panel2 = new System.Windows.Forms.Panel();
this.nudNapKi = new System.Windows.Forms.NumericUpDown();
this.label5 = new System.Windows.Forms.Label();
this.nudBuwi = new System.Windows.Forms.NumericUpDown();
this.label4 = new System.Windows.Forms.Label();
this.nudMemo = new System.Windows.Forms.NumericUpDown();
this.label21 = new System.Windows.Forms.Label();
this.nudGrp = new System.Windows.Forms.NumericUpDown();
@@ -106,10 +110,8 @@
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter();
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();
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
this.label6 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
@@ -120,6 +122,8 @@
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudNapKi)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudBuwi)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudMemo)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudGrp)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudSupply)).BeginInit();
@@ -131,8 +135,7 @@
((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();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
this.SuspendLayout();
//
// textBox1
@@ -141,7 +144,7 @@
| System.Windows.Forms.AnchorStyles.Right)));
this.textBox1.Location = new System.Drawing.Point(92, 30);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(758, 21);
this.textBox1.Size = new System.Drawing.Size(916, 21);
this.textBox1.TabIndex = 1;
//
// linkLabel1
@@ -160,7 +163,7 @@
//
this.btView.Dock = System.Windows.Forms.DockStyle.Right;
this.btView.ForeColor = System.Drawing.Color.Black;
this.btView.Location = new System.Drawing.Point(760, 23);
this.btView.Location = new System.Drawing.Point(918, 23);
this.btView.Name = "btView";
this.btView.Size = new System.Drawing.Size(102, 59);
this.btView.TabIndex = 4;
@@ -196,14 +199,14 @@
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowHeadersVisible = false;
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(864, 465);
this.dataGridView1.Size = new System.Drawing.Size(1022, 465);
this.dataGridView1.TabIndex = 1;
//
// noDataGridViewTextBoxColumn
//
this.noDataGridViewTextBoxColumn.DataPropertyName = "no";
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.noDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.noDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle19;
this.noDataGridViewTextBoxColumn.HeaderText = "No";
this.noDataGridViewTextBoxColumn.Name = "noDataGridViewTextBoxColumn";
this.noDataGridViewTextBoxColumn.Width = 46;
@@ -232,9 +235,9 @@
// 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;
dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.itemDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle20;
this.itemDataGridViewTextBoxColumn.HeaderText = "*";
this.itemDataGridViewTextBoxColumn.Name = "itemDataGridViewTextBoxColumn";
this.itemDataGridViewTextBoxColumn.Width = 36;
@@ -249,9 +252,9 @@
// qtyDataGridViewTextBoxColumn
//
this.qtyDataGridViewTextBoxColumn.DataPropertyName = "qty";
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle3.Format = "N0";
this.qtyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle21.Format = "N0";
this.qtyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle21;
this.qtyDataGridViewTextBoxColumn.HeaderText = "수량";
this.qtyDataGridViewTextBoxColumn.Name = "qtyDataGridViewTextBoxColumn";
this.qtyDataGridViewTextBoxColumn.Width = 54;
@@ -266,9 +269,9 @@
// priceDataGridViewTextBoxColumn
//
this.priceDataGridViewTextBoxColumn.DataPropertyName = "price";
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle4.Format = "N0";
this.priceDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle22.Format = "N0";
this.priceDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle22;
this.priceDataGridViewTextBoxColumn.HeaderText = "단가";
this.priceDataGridViewTextBoxColumn.Name = "priceDataGridViewTextBoxColumn";
this.priceDataGridViewTextBoxColumn.Width = 54;
@@ -276,10 +279,10 @@
// 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;
dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
dataGridViewCellStyle23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
dataGridViewCellStyle23.Format = "N0";
this.amtDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle23;
this.amtDataGridViewTextBoxColumn.HeaderText = "금액";
this.amtDataGridViewTextBoxColumn.Name = "amtDataGridViewTextBoxColumn";
this.amtDataGridViewTextBoxColumn.ReadOnly = true;
@@ -302,9 +305,9 @@
// 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;
dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.itemSupplyidxDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle24;
this.itemSupplyidxDataGridViewTextBoxColumn.HeaderText = "*";
this.itemSupplyidxDataGridViewTextBoxColumn.Name = "itemSupplyidxDataGridViewTextBoxColumn";
this.itemSupplyidxDataGridViewTextBoxColumn.Width = 36;
@@ -342,7 +345,7 @@
this.panel1.ForeColor = System.Drawing.Color.White;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(864, 87);
this.panel1.Size = new System.Drawing.Size(1022, 87);
this.panel1.TabIndex = 0;
//
// label16
@@ -352,7 +355,7 @@
this.label16.ForeColor = System.Drawing.Color.WhiteSmoke;
this.label16.Location = new System.Drawing.Point(0, 0);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(864, 23);
this.label16.Size = new System.Drawing.Size(1022, 23);
this.label16.TabIndex = 52;
this.label16.Text = "엑셀 파일 설정";
this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -474,7 +477,7 @@
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem;
this.bn.Size = new System.Drawing.Size(864, 25);
this.bn.Size = new System.Drawing.Size(1022, 25);
this.bn.TabIndex = 2;
this.bn.Text = "bindingNavigator1";
//
@@ -598,6 +601,8 @@
//
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.numericUpDown2);
this.panel2.Controls.Add(this.label6);
this.panel2.Controls.Add(this.nudNapKi);
this.panel2.Controls.Add(this.label5);
this.panel2.Controls.Add(this.nudBuwi);
@@ -630,12 +635,56 @@
this.panel2.ForeColor = System.Drawing.Color.White;
this.panel2.Location = new System.Drawing.Point(0, 87);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(864, 84);
this.panel2.Size = new System.Drawing.Size(1022, 84);
this.panel2.TabIndex = 3;
//
// nudNapKi
//
this.nudNapKi.Location = new System.Drawing.Point(431, 58);
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});
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(383, 62);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(41, 12);
this.label5.TabIndex = 54;
this.label5.Text = "납기일";
//
// nudBuwi
//
this.nudBuwi.Location = new System.Drawing.Point(648, 30);
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});
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(597, 34);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(41, 12);
this.label4.TabIndex = 52;
this.label4.Text = "소분류";
//
// nudMemo
//
this.nudMemo.Location = new System.Drawing.Point(629, 56);
this.nudMemo.Location = new System.Drawing.Point(523, 58);
this.nudMemo.Name = "nudMemo";
this.nudMemo.Size = new System.Drawing.Size(45, 21);
this.nudMemo.TabIndex = 50;
@@ -650,7 +699,7 @@
// label21
//
this.label21.AutoSize = true;
this.label21.Location = new System.Drawing.Point(593, 60);
this.label21.Location = new System.Drawing.Point(487, 62);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(29, 12);
this.label21.TabIndex = 49;
@@ -896,7 +945,7 @@
this.label8.ForeColor = System.Drawing.Color.WhiteSmoke;
this.label8.Location = new System.Drawing.Point(0, 0);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(862, 23);
this.label8.Size = new System.Drawing.Size(1020, 23);
this.label8.TabIndex = 51;
this.label8.Text = "엑셀/DB 연결 정보 설정 ( A열 = 1)";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -905,55 +954,28 @@
//
this.ta.ClearBeforeFill = true;
//
// nudBuwi
// numericUpDown2
//
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});
this.numericUpDown2.Location = new System.Drawing.Point(648, 58);
this.numericUpDown2.Name = "numericUpDown2";
this.numericUpDown2.Size = new System.Drawing.Size(45, 21);
this.numericUpDown2.TabIndex = 57;
this.numericUpDown2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// label4
// label6
//
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 = "적용부위";
//
// nudNapKi
//
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});
//
// label5
//
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 = "납기일";
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(597, 62);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(41, 12);
this.label6.TabIndex = 56;
this.label6.Text = "중분류";
//
// fProjectPartImport
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(864, 661);
this.ClientSize = new System.Drawing.Size(1022, 661);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.panel2);
this.Controls.Add(this.bn);
@@ -974,6 +996,8 @@
this.bn.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nudNapKi)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudBuwi)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudMemo)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudGrp)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudSupply)).EndInit();
@@ -985,8 +1009,7 @@
((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();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -1068,5 +1091,7 @@
private System.Windows.Forms.Label label4;
private System.Windows.Forms.NumericUpDown nudNapKi;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.NumericUpDown numericUpDown2;
private System.Windows.Forms.Label label6;
}
}

View File

@@ -101,29 +101,49 @@ namespace FPJ0000
MaxRow = (int)Math.Min(MaxRow, nudE.Value - 1);
MinRow = (int)Math.Max(MinRow, nudS.Value - 1);
string no = "";
string SID = "";
string = "";
string = "";
string = "";
string = "";
string = "";
string = "";
string = "";
string = "";
string = "";
string = "";
string = "";
string = "";
this.progressBar1.Value = 0;
this.progressBar1.Maximum = MaxRow - MinRow + 1;
this.dataGridView1.Visible = false;
decimal sumamt = 0;
try
{
{
for (int r = MinRow; r <= MaxRow; r++)
{
progressBar1.Value += 1;
//필수값을 먼저 확인한다.
var no = sheet.readStr(r, (int)nudNo.Value - 1);
var SID = sheet.readStr(r, (int)nudSid.Value - 1);
var = sheet.readStr(r, (int)this.nudName.Value - 1);
var = sheet.readStr(r, (int)this.nudModel.Value - 1);
var = sheet.readStr(r, (int)this.nudPrice.Value - 1).Replace(",", "");
var = sheet.readStr(r, (int)nudQty.Value - 1).Replace(",", "");
var = sheet.readStr(r, (int)nudUnit.Value - 1);
var = sheet.readStr(r, (int)nudManu.Value - 1);
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 (nudNo.Value > 0) no = sheet.readStr(r, (int)nudNo.Value - 1);
if (nudSid.Value > 0) SID = sheet.readStr(r, (int)nudSid.Value - 1);
if (nudName.Value > 0) = sheet.readStr(r, (int)this.nudName.Value - 1);
if (nudModel.Value > 0) = sheet.readStr(r, (int)this.nudModel.Value - 1);
if (nudPrice.Value > 0) = sheet.readStr(r, (int)this.nudPrice.Value - 1).Replace(",", "");
if (nudQty.Value > 0) = sheet.readStr(r, (int)nudQty.Value - 1).Replace(",", "");
if (nudUnit.Value > 0) = sheet.readStr(r, (int)nudUnit.Value - 1);
if (nudManu.Value > 0) = sheet.readStr(r, (int)nudManu.Value - 1);
if (nudSupply.Value > 0) = sheet.readStr(r, (int)nudSupply.Value - 1);
if (nudGrp.Value > 0) = sheet.readStr(r, (int)nudGrp.Value - 1);
if (nudMemo.Value > 0) = sheet.readStr(r, (int)nudMemo.Value - 1);
if (nudBuwi.Value > 0) = sheet.readStr(r, (int)nudBuwi.Value - 1);
if (nudNapKi.Value > 0) = sheet.readStr(r, (int)nudNapKi.Value - 1);
if (numericUpDown2.Value > 0) = sheet.readStr(r, (int)numericUpDown2.Value - 1);
//필수자료갸ㅏ 없는 경우처리하지 않음
if (.Trim() == "") continue;
@@ -133,7 +153,7 @@ namespace FPJ0000
newdr.wdate = DateTime.Now;
newdr.import = true;
newdr.Project = this.ProjectIndex;
if (no != "") newdr.no = int.Parse(no);
newdr.ItemSid = SID;
newdr.ItemName = ;
@@ -157,6 +177,7 @@ namespace FPJ0000
}
}
newdr.ItemGroup = ;
newdr.option1 = ;
newdr.option2 = ;
newdr.ItemGroup = ;
@@ -174,7 +195,7 @@ namespace FPJ0000
//
book = null;
sbSum.Text = string.Format("합계:{0:N0}원",sumamt);
sbSum.Text = string.Format("합계:{0:N0}원", sumamt);
//this.bs.DataSource = dt;
//this.bn.BindingSource = this.bs;
//this.dataGridView1.AutoGenerateColumns = true;
@@ -209,7 +230,7 @@ namespace FPJ0000
private void toolStripButton1_Click(object sender, EventArgs e)
{
//저장버튼
if (dsPRJ.ProjectsPart.Rows.Count < 1)
if (dsPRJ.ProjectsPart.Rows.Count < 1)
{
FCOMMON.Util.MsgE("등록 가능한 자료가 없습니다.");
return;
@@ -234,7 +255,7 @@ namespace FPJ0000
var dlg = FCOMMON.Util.MsgQ("파트리스트를 모두 삭제하시겠습니까?");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var cnt = ta.DeleteProject(this.ProjectIndex);
FCOMMON.Util.MsgI(string.Format("{0}건의 자료가 삭제 되었습니다.",cnt));
FCOMMON.Util.MsgI(string.Format("{0}건의 자료가 삭제 되었습니다.", cnt));
}
@@ -243,7 +264,7 @@ namespace FPJ0000
var dlg = FCOMMON.Util.MsgQ("가져온 파트리스트 자룔를 모두 삭제하시겠습니까?");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var cnt = ta.DeleteImport(this.ProjectIndex);
FCOMMON.Util.MsgI(string.Format("{0}건의 자료가 삭제 되었습니다.",cnt));
FCOMMON.Util.MsgI(string.Format("{0}건의 자료가 삭제 되었습니다.", cnt));
}
}
}

View File

@@ -120,6 +120,12 @@
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>83, 17</value>
</metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>83, 17</value>
</metadata>
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>209, 17</value>
</metadata>
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>209, 17</value>
</metadata>

View File

@@ -1,89 +1,422 @@
namespace FPJ0000
{
partial class rPartList
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
this.dsPRJ = new FPJ0000.dsPRJ();
this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter();
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
this.SuspendLayout();
//
// dsPRJ
//
this.dsPRJ.DataSetName = "dsPRJ";
this.dsPRJ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// reportViewer1
//
this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
reportDataSource1.Name = "DataSet1";
reportDataSource1.Value = this.bs;
this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1);
this.reportViewer1.LocalReport.ReportEmbeddedResource = "FPJ0000.Project.rPartList.rdlc";
this.reportViewer1.Location = new System.Drawing.Point(0, 0);
this.reportViewer1.Name = "reportViewer1";
this.reportViewer1.Size = new System.Drawing.Size(727, 508);
this.reportViewer1.TabIndex = 0;
//
// bs
//
this.bs.DataMember = "ProjectsPart";
this.bs.DataSource = this.dsPRJ;
//
// ta
//
this.ta.ClearBeforeFill = true;
//
// rPartList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(727, 508);
this.Controls.Add(this.reportViewer1);
this.Name = "rPartList";
this.Text = "fRPartList";
this.Load += new System.EventHandler(this.fRPartList_Load);
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
this.ResumeLayout(false);
}
#endregion
private Microsoft.Reporting.WinForms.ReportViewer reportViewer1;
private dsPRJ dsPRJ;
private System.Windows.Forms.BindingSource bs;
private dsPRJTableAdapters.ProjectsPartTableAdapter ta;
}
namespace FPJ0000
{
partial class rPartList
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.Label pdateLabel;
System.Windows.Forms.Label requestLabel;
System.Windows.Forms.Label reqstaffLabel;
System.Windows.Forms.Label sdateLabel;
System.Windows.Forms.Label edateLabel;
System.Windows.Forms.Label odateLabel;
System.Windows.Forms.Label statusLabel;
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
this.dsPRJ = new FPJ0000.dsPRJ();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter();
this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.panel1 = new System.Windows.Forms.Panel();
this.button1 = new System.Windows.Forms.Button();
this.idxTextBox = new System.Windows.Forms.TextBox();
this.nameTextBox = new System.Windows.Forms.TextBox();
this.pdateTextBox = new System.Windows.Forms.TextBox();
this.requestTextBox = new System.Windows.Forms.TextBox();
this.reqstaffTextBox = new System.Windows.Forms.TextBox();
this.sdateTextBox = new System.Windows.Forms.TextBox();
this.edateTextBox = new System.Windows.Forms.TextBox();
this.odateTextBox = new System.Windows.Forms.TextBox();
this.statusTextBox = new System.Windows.Forms.TextBox();
this.dsReport1 = new FPJ0000.dsReport();
this.bsSummary = new System.Windows.Forms.BindingSource(this.components);
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
this.exportListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
pdateLabel = new System.Windows.Forms.Label();
requestLabel = new System.Windows.Forms.Label();
reqstaffLabel = new System.Windows.Forms.Label();
sdateLabel = new System.Windows.Forms.Label();
edateLabel = new System.Windows.Forms.Label();
odateLabel = new System.Windows.Forms.Label();
statusLabel = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dsReport1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bsSummary)).BeginInit();
this.cm1.SuspendLayout();
this.SuspendLayout();
//
// pdateLabel
//
pdateLabel.AutoSize = true;
pdateLabel.Location = new System.Drawing.Point(23, 43);
pdateLabel.Name = "pdateLabel";
pdateLabel.Size = new System.Drawing.Size(41, 12);
pdateLabel.TabIndex = 4;
pdateLabel.Text = "기표일";
//
// requestLabel
//
requestLabel.AutoSize = true;
requestLabel.Location = new System.Drawing.Point(330, 15);
requestLabel.Name = "requestLabel";
requestLabel.Size = new System.Drawing.Size(53, 12);
requestLabel.TabIndex = 6;
requestLabel.Text = "요청부서";
//
// reqstaffLabel
//
reqstaffLabel.AutoSize = true;
reqstaffLabel.Location = new System.Drawing.Point(330, 42);
reqstaffLabel.Name = "reqstaffLabel";
reqstaffLabel.Size = new System.Drawing.Size(53, 12);
reqstaffLabel.TabIndex = 8;
reqstaffLabel.Text = "부서담당";
//
// sdateLabel
//
sdateLabel.AutoSize = true;
sdateLabel.Location = new System.Drawing.Point(178, 42);
sdateLabel.Name = "sdateLabel";
sdateLabel.Size = new System.Drawing.Size(41, 12);
sdateLabel.TabIndex = 10;
sdateLabel.Text = "시작일";
//
// edateLabel
//
edateLabel.AutoSize = true;
edateLabel.Location = new System.Drawing.Point(178, 69);
edateLabel.Name = "edateLabel";
edateLabel.Size = new System.Drawing.Size(41, 12);
edateLabel.TabIndex = 12;
edateLabel.Text = "완료일";
//
// odateLabel
//
odateLabel.AutoSize = true;
odateLabel.Location = new System.Drawing.Point(35, 69);
odateLabel.Name = "odateLabel";
odateLabel.Size = new System.Drawing.Size(29, 12);
odateLabel.TabIndex = 14;
odateLabel.Text = "출고";
//
// statusLabel
//
statusLabel.AutoSize = true;
statusLabel.Location = new System.Drawing.Point(354, 69);
statusLabel.Name = "statusLabel";
statusLabel.Size = new System.Drawing.Size(29, 12);
statusLabel.TabIndex = 22;
statusLabel.Text = "상태";
//
// dsPRJ
//
this.dsPRJ.DataSetName = "dsPRJ";
this.dsPRJ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// fpSpread1
//
this.fpSpread1.AccessibleDescription = "";
this.fpSpread1.ContextMenuStrip = this.cm1;
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
this.fpSpread1.Location = new System.Drawing.Point(0, 97);
this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(703, 599);
this.fpSpread1.TabIndex = 6;
//
// 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 = 4;
this.fpSpread1_Sheet1.RowCount = 0;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "중분류";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "소분류";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "공급처";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "금액";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 38F;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(0).Label = "중분류";
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(0).Width = 151F;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(1).Label = "소분류";
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).Width = 151F;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType6;
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 = 151F;
numberCellType2.DecimalPlaces = 0;
numberCellType2.MaximumValue = 999999999999999D;
numberCellType2.MinimumValue = -999999999999999D;
numberCellType2.NegativeRed = true;
numberCellType2.Separator = ",";
numberCellType2.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType2;
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
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 = 171F;
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
//
// ta
//
this.ta.ClearBeforeFill = true;
//
// taPart
//
this.taPart.ClearBeforeFill = true;
//
// bs
//
this.bs.DataMember = "Projects";
this.bs.DataSource = this.dsPRJ;
this.bs.Sort = "";
//
// panel1
//
this.panel1.Controls.Add(this.button1);
this.panel1.Controls.Add(this.idxTextBox);
this.panel1.Controls.Add(this.nameTextBox);
this.panel1.Controls.Add(pdateLabel);
this.panel1.Controls.Add(this.pdateTextBox);
this.panel1.Controls.Add(requestLabel);
this.panel1.Controls.Add(this.requestTextBox);
this.panel1.Controls.Add(reqstaffLabel);
this.panel1.Controls.Add(this.reqstaffTextBox);
this.panel1.Controls.Add(sdateLabel);
this.panel1.Controls.Add(this.sdateTextBox);
this.panel1.Controls.Add(edateLabel);
this.panel1.Controls.Add(this.edateTextBox);
this.panel1.Controls.Add(odateLabel);
this.panel1.Controls.Add(this.odateTextBox);
this.panel1.Controls.Add(statusLabel);
this.panel1.Controls.Add(this.statusTextBox);
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(703, 97);
this.panel1.TabIndex = 7;
//
// button1
//
this.button1.Location = new System.Drawing.Point(588, 12);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(98, 75);
this.button1.TabIndex = 26;
this.button1.Text = "새로고침(&R)";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click_1);
//
// idxTextBox
//
this.idxTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "idx", true));
this.idxTextBox.Location = new System.Drawing.Point(24, 12);
this.idxTextBox.Name = "idxTextBox";
this.idxTextBox.ReadOnly = true;
this.idxTextBox.Size = new System.Drawing.Size(40, 21);
this.idxTextBox.TabIndex = 1;
//
// nameTextBox
//
this.nameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name", true));
this.nameTextBox.Enabled = false;
this.nameTextBox.Location = new System.Drawing.Point(70, 12);
this.nameTextBox.Name = "nameTextBox";
this.nameTextBox.Size = new System.Drawing.Size(246, 21);
this.nameTextBox.TabIndex = 3;
//
// pdateTextBox
//
this.pdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "pdate", true));
this.pdateTextBox.Enabled = false;
this.pdateTextBox.Location = new System.Drawing.Point(70, 39);
this.pdateTextBox.Name = "pdateTextBox";
this.pdateTextBox.Size = new System.Drawing.Size(92, 21);
this.pdateTextBox.TabIndex = 5;
this.pdateTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// requestTextBox
//
this.requestTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "process", true));
this.requestTextBox.Enabled = false;
this.requestTextBox.Location = new System.Drawing.Point(396, 12);
this.requestTextBox.Name = "requestTextBox";
this.requestTextBox.Size = new System.Drawing.Size(186, 21);
this.requestTextBox.TabIndex = 7;
//
// reqstaffTextBox
//
this.reqstaffTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reqstaff", true));
this.reqstaffTextBox.Enabled = false;
this.reqstaffTextBox.Location = new System.Drawing.Point(396, 39);
this.reqstaffTextBox.Name = "reqstaffTextBox";
this.reqstaffTextBox.Size = new System.Drawing.Size(186, 21);
this.reqstaffTextBox.TabIndex = 9;
//
// sdateTextBox
//
this.sdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sdate", true));
this.sdateTextBox.Enabled = false;
this.sdateTextBox.Location = new System.Drawing.Point(224, 39);
this.sdateTextBox.Name = "sdateTextBox";
this.sdateTextBox.Size = new System.Drawing.Size(92, 21);
this.sdateTextBox.TabIndex = 11;
this.sdateTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// edateTextBox
//
this.edateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "edate", true));
this.edateTextBox.Enabled = false;
this.edateTextBox.Location = new System.Drawing.Point(224, 66);
this.edateTextBox.Name = "edateTextBox";
this.edateTextBox.Size = new System.Drawing.Size(92, 21);
this.edateTextBox.TabIndex = 13;
this.edateTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// odateTextBox
//
this.odateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "odate", true));
this.odateTextBox.Enabled = false;
this.odateTextBox.Location = new System.Drawing.Point(70, 66);
this.odateTextBox.Name = "odateTextBox";
this.odateTextBox.Size = new System.Drawing.Size(92, 21);
this.odateTextBox.TabIndex = 15;
this.odateTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// statusTextBox
//
this.statusTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "status", true));
this.statusTextBox.Enabled = false;
this.statusTextBox.Location = new System.Drawing.Point(396, 66);
this.statusTextBox.Name = "statusTextBox";
this.statusTextBox.Size = new System.Drawing.Size(186, 21);
this.statusTextBox.TabIndex = 23;
this.statusTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// dsReport1
//
this.dsReport1.DataSetName = "dsReport";
this.dsReport1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// bsSummary
//
this.bsSummary.DataMember = "PartSummary";
this.bsSummary.DataSource = this.dsReport1;
this.bsSummary.Sort = "";
//
// cm1
//
this.cm1.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripMenuItem1,
this.exportListToolStripMenuItem});
this.cm1.Name = "cm1";
this.cm1.Size = new System.Drawing.Size(243, 68);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(239, 6);
//
// exportListToolStripMenuItem
//
this.exportListToolStripMenuItem.Name = "exportListToolStripMenuItem";
this.exportListToolStripMenuItem.Size = new System.Drawing.Size(242, 36);
this.exportListToolStripMenuItem.Text = "목록 내보내기";
this.exportListToolStripMenuItem.Click += new System.EventHandler(this.exportListToolStripMenuItem_Click);
//
// rPartList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(703, 696);
this.Controls.Add(this.fpSpread1);
this.Controls.Add(this.panel1);
this.Name = "rPartList";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "비용 요약";
this.Load += new System.EventHandler(this.fRPartList_Load);
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dsReport1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bsSummary)).EndInit();
this.cm1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private dsPRJ dsPRJ;
private FarPoint.Win.Spread.FpSpread fpSpread1;
private dsPRJTableAdapters.ProjectsTableAdapter ta;
private dsPRJTableAdapters.ProjectsPartTableAdapter taPart;
private System.Windows.Forms.BindingSource bs;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.TextBox idxTextBox;
private System.Windows.Forms.TextBox nameTextBox;
private System.Windows.Forms.TextBox pdateTextBox;
private System.Windows.Forms.TextBox requestTextBox;
private System.Windows.Forms.TextBox reqstaffTextBox;
private System.Windows.Forms.TextBox sdateTextBox;
private System.Windows.Forms.TextBox edateTextBox;
private System.Windows.Forms.TextBox odateTextBox;
private System.Windows.Forms.TextBox statusTextBox;
private dsReport dsReport1;
private System.Windows.Forms.BindingSource bsSummary;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.ContextMenuStrip cm1;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem exportListToolStripMenuItem;
}
}

View File

@@ -1,30 +1,215 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace FPJ0000
{
public partial class rPartList : Form
{
int idx;
public rPartList(int idx_)
{
InitializeComponent();
this.idx = idx_;
}
private void fRPartList_Load(object sender, EventArgs e)
{
// TODO: 이 코드는 데이터를 'dsPRJ.ProjectsPart' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
this.ta.Fill(this.dsPRJ.ProjectsPart, this.idx);
this.reportViewer1.SetDisplayMode(Microsoft.Reporting.WinForms.DisplayMode.PrintLayout);
this.reportViewer1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.PageWidth;
this.reportViewer1.RefreshReport();
}
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace FPJ0000
{
public partial class rPartList : Form
{
int ProjectIndex;
public rPartList(int idx_)
{
InitializeComponent();
this.ProjectIndex = idx_;
}
private void fRPartList_Load(object sender, EventArgs e)
{
button1.PerformClick();
}
private void button1_Click(object sender, EventArgs e)
{
}
private void button1_Click_1(object sender, EventArgs e)
{
try
{
//프로젝트 정보 채우기
this.ta.FillByIDX(this.dsPRJ.Projects, this.ProjectIndex);
//order by 절은 다시 생성한다.
var SSQl = " select ItemGroup,option1,ItemSupply,sum(amt) as amt " +
" from projectspart" +
" where Project = " + this.ProjectIndex.ToString() +
" group by ItemGroup,option1,ItemSupply" +
" order by itemgroup, option1, ItemSupply";
this.dsPRJ.ProjectsPart.Clear();
var cmd = new System.Data.SqlClient.SqlCommand(SSQl, taPart.Connection);
cmd.Parameters.Add("prj", SqlDbType.Int).Value = this.ProjectIndex;
var da = new System.Data.SqlClient.SqlDataAdapter(cmd);
this.dsReport1.PartSummary.Clear();
da.Fill(this.dsReport1.PartSummary);
//데이터를 회전해서 입력하고 소계를 넣는다
string grp1 = "!";
string grp2 = "!";
decimal sum = 0;
decimal sum2 = 0;
decimal sum3 = 0;
Boolean first = true;
int grp2cnt = 0;
int spanStart = 0;
int spanStart2 = -1;
this.fpSpread1_Sheet1.RowCount = 0;
this.fpSpread1.SuspendLayout();
foreach (dsReport.PartSummaryRow dr in dsReport1.PartSummary.Rows)
{
sum3 += dr.amt;
if (first)
{
grp1 = dr.ItemGroup;
grp2 = dr.option1;
//한줄추가한다
this.fpSpread1_Sheet1.Rows.Add(this.fpSpread1_Sheet1.RowCount, 1);
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 0].Value = grp1;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].Value = grp2;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = dr.ItemSupply;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = dr.amt;
sum = dr.amt;
sum2 = dr.amt;
first = false;
grp2cnt = 0;
}
else
{
if (grp1 != dr.ItemGroup)
{
//소계를 추가한다
this.fpSpread1_Sheet1.Rows.Add(this.fpSpread1_Sheet1.RowCount, 1);
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 0].Value = "소계(" + grp1 + ")";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].Value = "";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = "";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = sum;
this.fpSpread1_Sheet1.Rows[this.fpSpread1_Sheet1.RowCount - 1].BackColor = Color.FromArgb(220, 220, 220);
//중분류가 변경되었으므로 처음 줄부터 지금 줄까지 스팬을 건다
var spanRows = (this.fpSpread1_Sheet1.RowCount - spanStart - 1);
if(spanRows > 1)
{
this.fpSpread1_Sheet1.Cells[spanStart, 0].RowSpan = spanRows;
this.fpSpread1_Sheet1.Cells[spanStart, 0].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
}
spanStart = this.fpSpread1_Sheet1.RowCount ;
spanStart2 = this.fpSpread1_Sheet1.RowCount;
sum = 0;
sum2 = 0;
grp1 = dr.ItemGroup;
grp2 = dr.option1;
}
if (grp2 != dr.option1)
{
//소계를 추가한다
//그룹이 바뀌엇지만 항목이 1보다 클 때 처맇낟
if (grp2cnt > 1)
{
this.fpSpread1_Sheet1.Rows.Add(this.fpSpread1_Sheet1.RowCount, 1);
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 0].Value = "";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].Value = "소계(" + grp2 + ")" ;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = "";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = sum2;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].BackColor = Color.FromArgb(220, 220, 220);
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].BackColor = Color.FromArgb(220, 220, 220);
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].BackColor = Color.FromArgb(220, 220, 220);
grp2cnt = 0;
//소분류가 변경되었으므로 처음 줄부터 지금 줄까지 스팬을 건다
if(spanStart2 != -1)
{
var spanRows3 = (this.fpSpread1_Sheet1.RowCount - spanStart2 - 1);
if (spanRows3 > 1)
{
this.fpSpread1_Sheet1.Cells[spanStart2, 1].RowSpan = spanRows3;
this.fpSpread1_Sheet1.Cells[spanStart2, 1].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
}
}
}
spanStart2 = this.fpSpread1_Sheet1.RowCount;
sum2 = 0;
grp2 = dr.option1;
}
else grp2cnt += 1;
this.fpSpread1_Sheet1.Rows.Add(this.fpSpread1_Sheet1.RowCount, 1);
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 0].Value = grp1;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].Value = grp2;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = dr.ItemSupply;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = dr.amt;
sum += dr.amt;
sum2 += dr.amt;
//grp2cnt += 1;
}
}
//마지막 중분류 소계를 추가한다
this.fpSpread1_Sheet1.Rows.Add(this.fpSpread1_Sheet1.RowCount, 1);
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 0].Value = "소계(" + grp1 + ")";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].Value = "";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = "";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = sum;
this.fpSpread1_Sheet1.Rows[this.fpSpread1_Sheet1.RowCount - 1].BackColor = Color.FromArgb(220, 220, 220);
var spanRows2 = (this.fpSpread1_Sheet1.RowCount - spanStart - 1);
if (spanRows2 > 1)
this.fpSpread1_Sheet1.Cells[spanStart, 0].RowSpan = spanRows2;
this.fpSpread1_Sheet1.Rows.Add(this.fpSpread1_Sheet1.RowCount, 1);
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 0].Value = "총계";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].Value = "";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = "";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = sum3;
this.fpSpread1_Sheet1.Rows[this.fpSpread1_Sheet1.RowCount - 1].BackColor = Color.LightSkyBlue;
this.fpSpread1.ResumeLayout();
}
catch (Exception ex)
{
FCOMMON.Util.MsgE(ex.Message);
}
}
private void exportListToolStripMenuItem_Click(object sender, EventArgs e)
{
SaveFileDialog sd = new SaveFileDialog();
sd.Filter = "excel|*.xls";
var fn = nameTextBox.Text.Trim() + "_비용요약";
sd.FileName = fn + ".xls";
if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
fpSpread1.SaveExcel(sd.FileName,
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
}
}
}
}

View File

@@ -1,129 +1,165 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>226, 17</value>
</metadata>
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>424, 17</value>
</metadata>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="pdateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="requestLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="reqstaffLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="sdateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="edateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="odateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="statusLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>614, 18</value>
</metadata>
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>536, 17</value>
</metadata>
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>100, 17</value>
</metadata>
<metadata name="taPart.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>162, 17</value>
</metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>246, 17</value>
</metadata>
<metadata name="dsReport1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>310, 17</value>
</metadata>
<metadata name="bsSummary.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>419, 17</value>
</metadata>
</root>