This commit is contained in:
chikyun.kim
2018-10-23 08:50:11 +09:00
parent 74d52a3e70
commit 28cde78186
30 changed files with 8100 additions and 1377 deletions

View File

@@ -70,6 +70,7 @@
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.btEdit = new System.Windows.Forms.ToolStripButton();
this.btSave = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
@@ -101,17 +102,16 @@
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
this.tbRequest = new System.Windows.Forms.ToolStripTextBox();
this.btSearch = new System.Windows.Forms.ToolStripButton();
this.FpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.FpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.btEdit = new System.Windows.Forms.ToolStripButton();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.sheetView1 = new FarPoint.Win.Spread.SheetView();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
this.cm1.SuspendLayout();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.FpSpread1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.FpSpread1_Sheet1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.sheetView1)).BeginInit();
this.SuspendLayout();
//
// dsPurchase
@@ -269,6 +269,15 @@
this.toolStripButton1.Text = "Report(Summary)";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1);
//
// btEdit
//
this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image")));
this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btEdit.Name = "btEdit";
this.btEdit.Size = new System.Drawing.Size(61, 23);
this.btEdit.Text = "Edit(&E)";
this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click);
//
// btSave
//
this.btSave.Image = global::FEQ0000.Properties.Resources.action_save;
@@ -329,6 +338,7 @@
//
// cm1
//
this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.columnSizeToolStripMenuItem,
this.toolStripMenuItem1,
@@ -337,7 +347,7 @@
this.toolStripMenuItem2,
this.viewThisUserDataToolStripMenuItem});
this.cm1.Name = "contextMenuStrip1";
this.cm1.Size = new System.Drawing.Size(180, 104);
this.cm1.Size = new System.Drawing.Size(337, 184);
//
// columnSizeToolStripMenuItem
//
@@ -347,14 +357,14 @@
this.saveToolStripMenuItem,
this.loadToolStripMenuItem});
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(336, 42);
this.columnSizeToolStripMenuItem.Text = "Column Size";
//
// autoToolStripMenuItem
//
this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image")));
this.autoToolStripMenuItem.Name = "autoToolStripMenuItem";
this.autoToolStripMenuItem.Size = new System.Drawing.Size(102, 22);
this.autoToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
this.autoToolStripMenuItem.Text = "Auto";
this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click);
//
@@ -362,7 +372,7 @@
//
this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image")));
this.resetToolStripMenuItem.Name = "resetToolStripMenuItem";
this.resetToolStripMenuItem.Size = new System.Drawing.Size(102, 22);
this.resetToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
this.resetToolStripMenuItem.Text = "Reset";
this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click);
//
@@ -370,7 +380,7 @@
//
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
this.saveToolStripMenuItem.Size = new System.Drawing.Size(102, 22);
this.saveToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
this.saveToolStripMenuItem.Text = "Save";
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
//
@@ -378,38 +388,38 @@
//
this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image")));
this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
this.loadToolStripMenuItem.Size = new System.Drawing.Size(102, 22);
this.loadToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
this.loadToolStripMenuItem.Text = "Load";
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(176, 6);
this.toolStripMenuItem1.Size = new System.Drawing.Size(333, 6);
//
// copyDataToolStripMenuItem
//
this.copyDataToolStripMenuItem.Name = "copyDataToolStripMenuItem";
this.copyDataToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
this.copyDataToolStripMenuItem.Size = new System.Drawing.Size(336, 42);
this.copyDataToolStripMenuItem.Text = "Copy Data";
this.copyDataToolStripMenuItem.Click += new System.EventHandler(this.copyDataToolStripMenuItem_Click);
//
// editDataToolStripMenuItem
//
this.editDataToolStripMenuItem.Name = "editDataToolStripMenuItem";
this.editDataToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
this.editDataToolStripMenuItem.Size = new System.Drawing.Size(336, 42);
this.editDataToolStripMenuItem.Text = "Edit Data";
this.editDataToolStripMenuItem.Click += new System.EventHandler(this.editDataToolStripMenuItem_Click);
//
// toolStripMenuItem2
//
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
this.toolStripMenuItem2.Size = new System.Drawing.Size(176, 6);
this.toolStripMenuItem2.Size = new System.Drawing.Size(333, 6);
//
// viewThisUserDataToolStripMenuItem
//
this.viewThisUserDataToolStripMenuItem.Name = "viewThisUserDataToolStripMenuItem";
this.viewThisUserDataToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
this.viewThisUserDataToolStripMenuItem.Size = new System.Drawing.Size(336, 42);
this.viewThisUserDataToolStripMenuItem.Text = "View This User data";
this.viewThisUserDataToolStripMenuItem.Click += new System.EventHandler(this.viewThisUserDataToolStripMenuItem_Click);
//
@@ -509,199 +519,191 @@
this.btSearch.Text = "Refresh(&R)";
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
//
// FpSpread1
// fpSpread1
//
this.FpSpread1.AccessibleDescription = "";
this.FpSpread1.ContextMenuStrip = this.cm1;
this.FpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
this.FpSpread1.EditModeReplace = true;
this.FpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.FpSpread1.Location = new System.Drawing.Point(0, 25);
this.FpSpread1.Name = "FpSpread1";
this.FpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.FpSpread1_Sheet1});
this.FpSpread1.Size = new System.Drawing.Size(878, 468);
this.FpSpread1.TabIndex = 4;
this.fpSpread1.AccessibleDescription = "";
this.fpSpread1.ContextMenuStrip = this.cm1;
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
this.fpSpread1.EditModeReplace = true;
this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.fpSpread1.Location = new System.Drawing.Point(0, 25);
this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.sheetView1});
this.fpSpread1.Size = new System.Drawing.Size(878, 468);
this.fpSpread1.TabIndex = 4;
//
// FpSpread1_Sheet1
// sheetView1
//
this.FpSpread1_Sheet1.Reset();
this.FpSpread1_Sheet1.SheetName = "Sheet1";
this.sheetView1.Reset();
this.sheetView1.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 = 23;
this.FpSpread1_Sheet1.ActiveColumnIndex = -1;
this.FpSpread1_Sheet1.ActiveRowIndex = -1;
this.FpSpread1_Sheet1.AutoGenerateColumns = false;
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "Date";
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "state";
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "sc#";
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "sid#";
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "Item";
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "*";
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Model";
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Qty";
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "Unit";
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "Price";
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "Amt";
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "Supply";
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "*";
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "*";
this.FpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F;
this.FpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
this.FpSpread1_Sheet1.Columns.Get(0).DataField = "pdate";
this.FpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(0).Label = "Date";
this.FpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(0).Width = 34F;
this.FpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
this.FpSpread1_Sheet1.Columns.Get(1).DataField = "stateName";
this.FpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(1).Label = "state";
this.FpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(1).Width = 34F;
this.FpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3;
this.FpSpread1_Sheet1.Columns.Get(2).DataField = "process";
this.FpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(2).Width = 49F;
this.FpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4;
this.FpSpread1_Sheet1.Columns.Get(3).DataField = "request";
this.FpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.FpSpread1_Sheet1.Columns.Get(3).Width = 48F;
this.FpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5;
this.FpSpread1_Sheet1.Columns.Get(4).DataField = "sc";
this.FpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(4).Label = "sc#";
this.FpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(4).Width = 27F;
this.FpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6;
this.FpSpread1_Sheet1.Columns.Get(5).DataField = "receive";
this.FpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.FpSpread1_Sheet1.Columns.Get(5).Width = 46F;
this.FpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7;
this.FpSpread1_Sheet1.Columns.Get(6).DataField = "sid";
this.FpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(6).Label = "sid#";
this.FpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(6).Width = 31F;
this.FpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8;
this.FpSpread1_Sheet1.Columns.Get(7).DataField = "pumname";
this.FpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.FpSpread1_Sheet1.Columns.Get(7).Label = "Item";
this.FpSpread1_Sheet1.Columns.Get(7).Width = 33F;
this.FpSpread1_Sheet1.Columns.Get(8).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.sheetView1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
this.sheetView1.ColumnCount = 23;
this.sheetView1.ActiveColumnIndex = -1;
this.sheetView1.ActiveRowIndex = -1;
this.sheetView1.AutoGenerateColumns = false;
this.sheetView1.ColumnHeader.Cells.Get(0, 0).Value = "Date";
this.sheetView1.ColumnHeader.Cells.Get(0, 1).Value = "state";
this.sheetView1.ColumnHeader.Cells.Get(0, 4).Value = "sc#";
this.sheetView1.ColumnHeader.Cells.Get(0, 6).Value = "sid#";
this.sheetView1.ColumnHeader.Cells.Get(0, 7).Value = "Item";
this.sheetView1.ColumnHeader.Cells.Get(0, 8).Value = "*";
this.sheetView1.ColumnHeader.Cells.Get(0, 9).Value = "Model";
this.sheetView1.ColumnHeader.Cells.Get(0, 10).Value = "Qty";
this.sheetView1.ColumnHeader.Cells.Get(0, 11).Value = "Unit";
this.sheetView1.ColumnHeader.Cells.Get(0, 12).Value = "Price";
this.sheetView1.ColumnHeader.Cells.Get(0, 13).Value = "Amt";
this.sheetView1.ColumnHeader.Cells.Get(0, 14).Value = "Supply";
this.sheetView1.ColumnHeader.Cells.Get(0, 15).Value = "*";
this.sheetView1.ColumnHeader.Cells.Get(0, 17).Value = "*";
this.sheetView1.ColumnHeader.Rows.Get(0).Height = 37F;
this.sheetView1.Columns.Get(0).CellType = textCellType1;
this.sheetView1.Columns.Get(0).DataField = "pdate";
this.sheetView1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.sheetView1.Columns.Get(0).Label = "Date";
this.sheetView1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.sheetView1.Columns.Get(0).Width = 34F;
this.sheetView1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.sheetView1.Columns.Get(1).CellType = textCellType2;
this.sheetView1.Columns.Get(1).DataField = "stateName";
this.sheetView1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.sheetView1.Columns.Get(1).Label = "state";
this.sheetView1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.sheetView1.Columns.Get(1).Width = 34F;
this.sheetView1.Columns.Get(2).CellType = textCellType3;
this.sheetView1.Columns.Get(2).DataField = "process";
this.sheetView1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.sheetView1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.sheetView1.Columns.Get(2).Width = 49F;
this.sheetView1.Columns.Get(3).CellType = textCellType4;
this.sheetView1.Columns.Get(3).DataField = "request";
this.sheetView1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.sheetView1.Columns.Get(3).Width = 48F;
this.sheetView1.Columns.Get(4).CellType = textCellType5;
this.sheetView1.Columns.Get(4).DataField = "sc";
this.sheetView1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.sheetView1.Columns.Get(4).Label = "sc#";
this.sheetView1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.sheetView1.Columns.Get(4).Width = 27F;
this.sheetView1.Columns.Get(5).CellType = textCellType6;
this.sheetView1.Columns.Get(5).DataField = "receive";
this.sheetView1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.sheetView1.Columns.Get(5).Width = 46F;
this.sheetView1.Columns.Get(6).CellType = textCellType7;
this.sheetView1.Columns.Get(6).DataField = "sid";
this.sheetView1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.sheetView1.Columns.Get(6).Label = "sid#";
this.sheetView1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.sheetView1.Columns.Get(6).Width = 31F;
this.sheetView1.Columns.Get(7).CellType = textCellType8;
this.sheetView1.Columns.Get(7).DataField = "pumname";
this.sheetView1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.sheetView1.Columns.Get(7).Label = "Item";
this.sheetView1.Columns.Get(7).Width = 33F;
this.sheetView1.Columns.Get(8).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType1.DecimalPlaces = 0;
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType1.MaximumValue = 2147483647D;
numberCellType1.MinimumValue = -2147483648D;
this.FpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType1;
this.FpSpread1_Sheet1.Columns.Get(8).DataField = "pumidx";
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).Width = 14F;
this.FpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9;
this.FpSpread1_Sheet1.Columns.Get(9).DataField = "pumscale";
this.FpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.FpSpread1_Sheet1.Columns.Get(9).Label = "Model";
this.FpSpread1_Sheet1.Columns.Get(9).Width = 43F;
this.sheetView1.Columns.Get(8).CellType = numberCellType1;
this.sheetView1.Columns.Get(8).DataField = "pumidx";
this.sheetView1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.sheetView1.Columns.Get(8).Label = "*";
this.sheetView1.Columns.Get(8).Width = 14F;
this.sheetView1.Columns.Get(9).CellType = textCellType9;
this.sheetView1.Columns.Get(9).DataField = "pumscale";
this.sheetView1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.sheetView1.Columns.Get(9).Label = "Model";
this.sheetView1.Columns.Get(9).Width = 43F;
numberCellType2.DecimalPlaces = 0;
numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType2.MaximumValue = 2147483647D;
numberCellType2.MinimumValue = -2147483648D;
this.FpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType2;
this.FpSpread1_Sheet1.Columns.Get(10).DataField = "pumqty";
this.FpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(10).Label = "Qty";
this.FpSpread1_Sheet1.Columns.Get(10).Width = 28F;
this.FpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10;
this.FpSpread1_Sheet1.Columns.Get(11).DataField = "pumunit";
this.FpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(11).Label = "Unit";
this.FpSpread1_Sheet1.Columns.Get(11).Width = 31F;
this.sheetView1.Columns.Get(10).CellType = numberCellType2;
this.sheetView1.Columns.Get(10).DataField = "pumqty";
this.sheetView1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.sheetView1.Columns.Get(10).Label = "Qty";
this.sheetView1.Columns.Get(10).Width = 28F;
this.sheetView1.Columns.Get(11).CellType = textCellType10;
this.sheetView1.Columns.Get(11).DataField = "pumunit";
this.sheetView1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.sheetView1.Columns.Get(11).Label = "Unit";
this.sheetView1.Columns.Get(11).Width = 31F;
numberCellType3.MaximumValue = 999999999999999D;
numberCellType3.MinimumValue = -999999999999999D;
this.FpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType3;
this.FpSpread1_Sheet1.Columns.Get(12).DataField = "pumprice";
this.FpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.FpSpread1_Sheet1.Columns.Get(12).Label = "Price";
this.FpSpread1_Sheet1.Columns.Get(12).Width = 35F;
this.sheetView1.Columns.Get(12).CellType = numberCellType3;
this.sheetView1.Columns.Get(12).DataField = "pumprice";
this.sheetView1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.sheetView1.Columns.Get(12).Label = "Price";
this.sheetView1.Columns.Get(12).Width = 35F;
numberCellType4.MaximumValue = 999999999999999D;
numberCellType4.MinimumValue = -999999999999999D;
this.FpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType4;
this.FpSpread1_Sheet1.Columns.Get(13).DataField = "pumamt";
this.FpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.FpSpread1_Sheet1.Columns.Get(13).Label = "Amt";
this.FpSpread1_Sheet1.Columns.Get(13).Width = 32F;
this.FpSpread1_Sheet1.Columns.Get(14).CellType = textCellType11;
this.FpSpread1_Sheet1.Columns.Get(14).DataField = "supply";
this.FpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.FpSpread1_Sheet1.Columns.Get(14).Label = "Supply";
this.FpSpread1_Sheet1.Columns.Get(14).Width = 46F;
this.FpSpread1_Sheet1.Columns.Get(15).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.sheetView1.Columns.Get(13).CellType = numberCellType4;
this.sheetView1.Columns.Get(13).DataField = "pumamt";
this.sheetView1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.sheetView1.Columns.Get(13).Label = "Amt";
this.sheetView1.Columns.Get(13).Width = 32F;
this.sheetView1.Columns.Get(14).CellType = textCellType11;
this.sheetView1.Columns.Get(14).DataField = "supply";
this.sheetView1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.sheetView1.Columns.Get(14).Label = "Supply";
this.sheetView1.Columns.Get(14).Width = 46F;
this.sheetView1.Columns.Get(15).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType5.DecimalPlaces = 0;
numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType5.MaximumValue = 2147483647D;
numberCellType5.MinimumValue = -2147483648D;
this.FpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType5;
this.FpSpread1_Sheet1.Columns.Get(15).DataField = "supplyidx";
this.FpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(15).Label = "*";
this.FpSpread1_Sheet1.Columns.Get(15).Width = 14F;
this.FpSpread1_Sheet1.Columns.Get(16).CellType = textCellType12;
this.FpSpread1_Sheet1.Columns.Get(16).DataField = "project";
this.FpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.FpSpread1_Sheet1.Columns.Get(16).Width = 46F;
this.FpSpread1_Sheet1.Columns.Get(17).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.sheetView1.Columns.Get(15).CellType = numberCellType5;
this.sheetView1.Columns.Get(15).DataField = "supplyidx";
this.sheetView1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.sheetView1.Columns.Get(15).Label = "*";
this.sheetView1.Columns.Get(15).Width = 14F;
this.sheetView1.Columns.Get(16).CellType = textCellType12;
this.sheetView1.Columns.Get(16).DataField = "project";
this.sheetView1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.sheetView1.Columns.Get(16).Width = 46F;
this.sheetView1.Columns.Get(17).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType6.DecimalPlaces = 0;
numberCellType6.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType6.MaximumValue = 2147483647D;
numberCellType6.MinimumValue = -2147483648D;
this.FpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType6;
this.FpSpread1_Sheet1.Columns.Get(17).DataField = "projectidx";
this.FpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(17).Label = "*";
this.FpSpread1_Sheet1.Columns.Get(17).Width = 14F;
this.FpSpread1_Sheet1.Columns.Get(18).CellType = textCellType13;
this.FpSpread1_Sheet1.Columns.Get(18).DataField = "asset";
this.FpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.FpSpread1_Sheet1.Columns.Get(18).Width = 35F;
this.FpSpread1_Sheet1.Columns.Get(19).CellType = textCellType14;
this.FpSpread1_Sheet1.Columns.Get(19).DataField = "edate";
this.FpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(19).Width = 38F;
this.FpSpread1_Sheet1.Columns.Get(20).CellType = textCellType15;
this.FpSpread1_Sheet1.Columns.Get(20).DataField = "indate";
this.FpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(20).Width = 42F;
this.FpSpread1_Sheet1.Columns.Get(21).CellType = textCellType16;
this.FpSpread1_Sheet1.Columns.Get(21).DataField = "po";
this.FpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.FpSpread1_Sheet1.Columns.Get(21).Width = 23F;
this.FpSpread1_Sheet1.Columns.Get(22).CellType = textCellType17;
this.FpSpread1_Sheet1.Columns.Get(22).DataField = "dept";
this.FpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.FpSpread1_Sheet1.Columns.Get(22).Width = 33F;
this.FpSpread1_Sheet1.DataAutoSizeColumns = false;
this.FpSpread1_Sheet1.DataSource = this.bs;
this.FpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
this.FpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
//
// btEdit
//
this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image")));
this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btEdit.Name = "btEdit";
this.btEdit.Size = new System.Drawing.Size(61, 23);
this.btEdit.Text = "Edit(&E)";
this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click);
this.sheetView1.Columns.Get(17).CellType = numberCellType6;
this.sheetView1.Columns.Get(17).DataField = "projectidx";
this.sheetView1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.sheetView1.Columns.Get(17).Label = "*";
this.sheetView1.Columns.Get(17).Width = 14F;
this.sheetView1.Columns.Get(18).CellType = textCellType13;
this.sheetView1.Columns.Get(18).DataField = "asset";
this.sheetView1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.sheetView1.Columns.Get(18).Width = 35F;
this.sheetView1.Columns.Get(19).CellType = textCellType14;
this.sheetView1.Columns.Get(19).DataField = "edate";
this.sheetView1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.sheetView1.Columns.Get(19).Width = 38F;
this.sheetView1.Columns.Get(20).CellType = textCellType15;
this.sheetView1.Columns.Get(20).DataField = "indate";
this.sheetView1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.sheetView1.Columns.Get(20).Width = 42F;
this.sheetView1.Columns.Get(21).CellType = textCellType16;
this.sheetView1.Columns.Get(21).DataField = "po";
this.sheetView1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.sheetView1.Columns.Get(21).Width = 23F;
this.sheetView1.Columns.Get(22).CellType = textCellType17;
this.sheetView1.Columns.Get(22).DataField = "dept";
this.sheetView1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.sheetView1.Columns.Get(22).Width = 33F;
this.sheetView1.DataAutoSizeColumns = false;
this.sheetView1.DataSource = this.bs;
this.sheetView1.RowHeader.Columns.Default.Resizable = false;
this.sheetView1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
//
// fPurchase
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(878, 519);
this.Controls.Add(this.FpSpread1);
this.Controls.Add(this.fpSpread1);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.bn);
this.DoubleBuffered = true;
@@ -716,8 +718,8 @@
this.cm1.ResumeLayout(false);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.FpSpread1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.FpSpread1_Sheet1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.sheetView1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -766,7 +768,7 @@
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
private System.Windows.Forms.ToolStripTextBox tbFind;
private System.Windows.Forms.ToolStripButton btFind;
private FarPoint.Win.Spread.FpSpread FpSpread1;
private FarPoint.Win.Spread.FpSpread fpSpread1;
private System.Windows.Forms.ToolStripMenuItem editDataToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem;
@@ -774,7 +776,7 @@
private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem;
private FarPoint.Win.Spread.SheetView FpSpread1_Sheet1;
private System.Windows.Forms.ToolStripButton btEdit;
private FarPoint.Win.Spread.SheetView sheetView1;
}
}

View File

@@ -19,49 +19,13 @@ namespace FEQ0000
InitializeComponent();
fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
this.dsPurchase.Purchase.TableNewRow += Purchase_TableNewRow;
this.FormClosed += __Closed;
//this.dv1.CellFormatting += dv1_CellFormatting;
}
void dv1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
void __Closed(object sender, FormClosedEventArgs e)
{
//if (e.ColumnIndex < 0 || e.RowIndex < 0) return;
//var state = this.dv1.Rows[e.RowIndex].Cells["dvc_state"].Value.ToString();
//switch (state)
//{
// case "00": //입력대기(미확인)
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
// break;
// case "01": //파트장 승인 기다림
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkBlue;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
// break;
// case "03": //PO (협력업체 전달)
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkMagenta;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
// break;
// case "04": //자재 수령
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Green;
// break;
// case "05": //canceld (취소)
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Red;
// break;
// case "06": //cancel (취소됨)
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.HotPink;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
// break;
// case "08": //문의
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.Green;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.White;
// break;
// default:
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
// break;
//}
}
void Purchase_TableNewRow(object sender, DataTableNewRowEventArgs e)
@@ -71,7 +35,7 @@ namespace FEQ0000
e.Row["wdate"] = DateTime.Now;
e.Row["pumunit"] = "EA";
e.Row["state"] = "00";
e.Row["pumqty"] = 0;
e.Row["pumqty"] = 1;
e.Row["pumprice"] = 0;
e.Row["pumamt"] = 0;
e.Row["request"] = FCOMMON.info.Login.nameK;
@@ -99,23 +63,17 @@ namespace FEQ0000
}
else
{
FpSpread1.EditMode = false;
FpSpread1.Sheets[0].SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row;
FpSpread1.EditModePermanent = false;
FpSpread1.EditModeReplace = false;
fpSpread1.EditMode = false;
fpSpread1.Sheets[0].SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row;
fpSpread1.EditModePermanent = false;
fpSpread1.EditModeReplace = false;
btSave.Visible = false;
}
FPUtil.ColSizeLoad(ref this.FpSpread1, fn_fpcolsize);
refreshData();
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
}
private void saveData()
{
this.Validate();
this.bs.EndEdit();
this.tam.UpdateAll(this.dsPurchase);
}
private void refreshData()
{
@@ -155,6 +113,14 @@ namespace FEQ0000
System.Windows.Forms.MessageBox.Show(ex.Message);
}
}
private void saveData()
{
this.Validate();
this.bs.EndEdit();
this.tam.UpdateAll(this.dsPurchase);
}
void showSummary()
{
decimal sum = 0;
@@ -168,16 +134,6 @@ namespace FEQ0000
refreshData();
}
private void autoResizeColumnsToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void toolStripButton1_Click(object sender, EventArgs e)
{
}
private void toolStripButton1_Click_1(object sender, EventArgs e)
{
Purchase.rPurchase f = new Purchase.rPurchase();
@@ -260,7 +216,7 @@ namespace FEQ0000
{
//사용자목록처리
tbRequest.Text = string.Empty;
btSearch.PerformClick();
refreshData();
}
private void viewThisUserDataToolStripMenuItem_Click(object sender, EventArgs e)
@@ -416,9 +372,11 @@ namespace FEQ0000
dr.pumidx = newidx;
dr.EndEdit();
}
this.ta.Update(dr);
dr.AcceptChanges();
if(dr.RowState != DataRowState.Unchanged)
{
this.ta.Update(dr);
dr.AcceptChanges();
}
}
else dr.RejectChanges();
}
@@ -440,16 +398,16 @@ namespace FEQ0000
private void autoToolStripMenuItem_Click(object sender, EventArgs e)
{
this.FpSpread1.ActiveSheet.DataAutoSizeColumns = true;
this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true;
for (int i = 0; i < this.FpSpread1.ActiveSheet.Rows.Count; i++)
this.FpSpread1.ActiveSheet.SetRowHeight(i, 25);
for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
this.fpSpread1.ActiveSheet.SetRowHeight(i, 25);
//dv1.AutoResizeColumns();
}
private void resetToolStripMenuItem_Click(object sender, EventArgs e)
{
foreach (FarPoint.Win.Spread.Column col in this.FpSpread1.ActiveSheet.Columns)
foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns)
{
col.Width = 100;
}
@@ -457,17 +415,60 @@ namespace FEQ0000
private void saveToolStripMenuItem_Click(object sender, EventArgs e)
{
FPUtil.ColsizeSave(this.FpSpread1, fn_fpcolsize);
FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize);
}
private void loadToolStripMenuItem_Click(object sender, EventArgs e)
{
FPUtil.ColSizeLoad(ref this.FpSpread1, fn_fpcolsize);
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
}
private void toolStripButton2_Click(object sender, EventArgs e)
{
Func_Edit();
}
void dv1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{
//if (e.ColumnIndex < 0 || e.RowIndex < 0) return;
//var state = this.dv1.Rows[e.RowIndex].Cells["dvc_state"].Value.ToString();
//switch (state)
//{
// case "00": //입력대기(미확인)
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
// break;
// case "01": //파트장 승인 기다림
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkBlue;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
// break;
// case "03": //PO (협력업체 전달)
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkMagenta;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
// break;
// case "04": //자재 수령
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Green;
// break;
// case "05": //canceld (취소)
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Red;
// break;
// case "06": //cancel (취소됨)
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.HotPink;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
// break;
// case "08": //문의
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.Green;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.White;
// break;
// default:
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
// break;
//}
}
}
}

View File

@@ -290,7 +290,7 @@
dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII=
</value>
</data>
<metadata name="FpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="sheetView1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>577, 17</value>
</metadata>
</root>