구매 0 달러단가 넣기 전 백업

This commit is contained in:
chi
2021-07-11 12:22:02 +09:00
parent ac45a7429c
commit 5316245ae5
26 changed files with 1811 additions and 725 deletions

View File

@@ -67,7 +67,9 @@
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.btSave = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.panel1 = new System.Windows.Forms.Panel();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.cmbBoardVender = new System.Windows.Forms.ComboBox();
this.repairTimeTextBox = new System.Windows.Forms.TextBox();
this.cmb분류 = new System.Windows.Forms.ComboBox();
@@ -95,6 +97,7 @@
this.arLabel7 = new arCtl.arLabel();
this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_JobReport_EBoardTableAdapter();
this.tableAdapterManager = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
this.tableAdapterManager1 = new FPJ0000.DSEboardTableAdapters.TableAdapterManager();
costoLabel = new System.Windows.Forms.Label();
costnLabel = new System.Windows.Forms.Label();
costeLabel = new System.Windows.Forms.Label();
@@ -128,7 +131,7 @@
//
costoLabel.AutoSize = true;
costoLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
costoLabel.Location = new System.Drawing.Point(274, 232);
costoLabel.Location = new System.Drawing.Point(280, 227);
costoLabel.Name = "costoLabel";
costoLabel.Size = new System.Drawing.Size(80, 12);
costoLabel.TabIndex = 34;
@@ -138,7 +141,7 @@
//
costnLabel.AutoSize = true;
costnLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
costnLabel.Location = new System.Drawing.Point(247, 195);
costnLabel.Location = new System.Drawing.Point(253, 190);
costnLabel.Name = "costnLabel";
costnLabel.Size = new System.Drawing.Size(107, 12);
costnLabel.TabIndex = 32;
@@ -148,7 +151,7 @@
//
costeLabel.AutoSize = true;
costeLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
costeLabel.Location = new System.Drawing.Point(224, 273);
costeLabel.Location = new System.Drawing.Point(230, 268);
costeLabel.Name = "costeLabel";
costeLabel.Size = new System.Drawing.Size(130, 12);
costeLabel.TabIndex = 36;
@@ -158,7 +161,7 @@
//
cntLabel.AutoSize = true;
cntLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
cntLabel.Location = new System.Drawing.Point(325, 115);
cntLabel.Location = new System.Drawing.Point(331, 110);
cntLabel.Name = "cntLabel";
cntLabel.Size = new System.Drawing.Size(29, 12);
cntLabel.TabIndex = 28;
@@ -168,7 +171,7 @@
//
label1.AutoSize = true;
label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
label1.Location = new System.Drawing.Point(253, 153);
label1.Location = new System.Drawing.Point(259, 148);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(101, 12);
label1.TabIndex = 30;
@@ -177,7 +180,7 @@
// uidLabel
//
uidLabel.AutoSize = true;
uidLabel.Location = new System.Drawing.Point(313, 387);
uidLabel.Location = new System.Drawing.Point(319, 382);
uidLabel.Name = "uidLabel";
uidLabel.Size = new System.Drawing.Size(41, 12);
uidLabel.TabIndex = 42;
@@ -186,7 +189,7 @@
// siteLabel
//
siteLabel.AutoSize = true;
siteLabel.Location = new System.Drawing.Point(53, 150);
siteLabel.Location = new System.Drawing.Point(53, 145);
siteLabel.Name = "siteLabel";
siteLabel.Size = new System.Drawing.Size(30, 12);
siteLabel.TabIndex = 6;
@@ -195,7 +198,7 @@
// lineLabel
//
lineLabel.AutoSize = true;
lineLabel.Location = new System.Drawing.Point(50, 226);
lineLabel.Location = new System.Drawing.Point(50, 221);
lineLabel.Name = "lineLabel";
lineLabel.Size = new System.Drawing.Size(33, 12);
lineLabel.TabIndex = 12;
@@ -204,7 +207,7 @@
// divisionLabel
//
divisionLabel.AutoSize = true;
divisionLabel.Location = new System.Drawing.Point(30, 265);
divisionLabel.Location = new System.Drawing.Point(30, 260);
divisionLabel.Name = "divisionLabel";
divisionLabel.Size = new System.Drawing.Size(53, 12);
divisionLabel.TabIndex = 14;
@@ -213,7 +216,7 @@
// processLabel
//
processLabel.AutoSize = true;
processLabel.Location = new System.Drawing.Point(27, 306);
processLabel.Location = new System.Drawing.Point(27, 301);
processLabel.Name = "processLabel";
processLabel.Size = new System.Drawing.Size(56, 12);
processLabel.TabIndex = 18;
@@ -222,7 +225,7 @@
// modelLabel
//
modelLabel.AutoSize = true;
modelLabel.Location = new System.Drawing.Point(18, 345);
modelLabel.Location = new System.Drawing.Point(18, 340);
modelLabel.Name = "modelLabel";
modelLabel.Size = new System.Drawing.Size(65, 12);
modelLabel.TabIndex = 20;
@@ -231,7 +234,7 @@
// boardNameLabel
//
boardNameLabel.AutoSize = true;
boardNameLabel.Location = new System.Drawing.Point(3, 384);
boardNameLabel.Location = new System.Drawing.Point(3, 379);
boardNameLabel.Name = "boardNameLabel";
boardNameLabel.Size = new System.Drawing.Size(80, 12);
boardNameLabel.TabIndex = 22;
@@ -240,7 +243,7 @@
// sNLabel
//
sNLabel.AutoSize = true;
sNLabel.Location = new System.Drawing.Point(328, 73);
sNLabel.Location = new System.Drawing.Point(334, 68);
sNLabel.Name = "sNLabel";
sNLabel.Size = new System.Drawing.Size(26, 12);
sNLabel.TabIndex = 26;
@@ -249,7 +252,7 @@
// 외주업체Label
//
Label.AutoSize = true;
Label.Location = new System.Drawing.Point(297, 310);
Label.Location = new System.Drawing.Point(303, 305);
Label.Name = "외주업체Label";
Label.Size = new System.Drawing.Size(57, 12);
Label.TabIndex = 38;
@@ -267,7 +270,7 @@
// 분류Label
//
Label.AutoSize = true;
Label.Location = new System.Drawing.Point(43, 187);
Label.Location = new System.Drawing.Point(43, 182);
Label.Name = "분류Label";
Label.Size = new System.Drawing.Size(40, 12);
Label.TabIndex = 10;
@@ -276,7 +279,7 @@
// repairTimeLabel
//
repairTimeLabel.AutoSize = true;
repairTimeLabel.Location = new System.Drawing.Point(276, 349);
repairTimeLabel.Location = new System.Drawing.Point(282, 344);
repairTimeLabel.Name = "repairTimeLabel";
repairTimeLabel.Size = new System.Drawing.Size(78, 12);
repairTimeLabel.TabIndex = 40;
@@ -285,7 +288,7 @@
// label2
//
label2.AutoSize = true;
label2.Location = new System.Drawing.Point(301, 35);
label2.Location = new System.Drawing.Point(307, 35);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(53, 12);
label2.TabIndex = 24;
@@ -294,7 +297,7 @@
// tbSdate
//
this.tbSdate.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbSdate.Location = new System.Drawing.Point(89, 69);
this.tbSdate.Location = new System.Drawing.Point(89, 64);
this.tbSdate.Name = "tbSdate";
this.tbSdate.Size = new System.Drawing.Size(148, 21);
this.tbSdate.TabIndex = 3;
@@ -302,14 +305,14 @@
// tbEdate
//
this.tbEdate.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbEdate.Location = new System.Drawing.Point(89, 109);
this.tbEdate.Location = new System.Drawing.Point(89, 104);
this.tbEdate.Name = "tbEdate";
this.tbEdate.Size = new System.Drawing.Size(148, 21);
this.tbEdate.TabIndex = 5;
//
// tbCostRepair
//
this.tbCostRepair.Location = new System.Drawing.Point(358, 227);
this.tbCostRepair.Location = new System.Drawing.Point(365, 222);
this.tbCostRepair.Name = "tbCostRepair";
this.tbCostRepair.Size = new System.Drawing.Size(176, 21);
this.tbCostRepair.TabIndex = 35;
@@ -318,7 +321,7 @@
//
// tbCostOutSource
//
this.tbCostOutSource.Location = new System.Drawing.Point(358, 191);
this.tbCostOutSource.Location = new System.Drawing.Point(365, 186);
this.tbCostOutSource.Name = "tbCostOutSource";
this.tbCostOutSource.Size = new System.Drawing.Size(176, 21);
this.tbCostOutSource.TabIndex = 33;
@@ -328,7 +331,7 @@
// tbCostReduct
//
this.tbCostReduct.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.tbCostReduct.Location = new System.Drawing.Point(358, 269);
this.tbCostReduct.Location = new System.Drawing.Point(365, 264);
this.tbCostReduct.Name = "tbCostReduct";
this.tbCostReduct.Size = new System.Drawing.Size(176, 21);
this.tbCostReduct.TabIndex = 37;
@@ -336,7 +339,7 @@
//
// tbQty
//
this.tbQty.Location = new System.Drawing.Point(358, 110);
this.tbQty.Location = new System.Drawing.Point(365, 105);
this.tbQty.Name = "tbQty";
this.tbQty.Size = new System.Drawing.Size(176, 21);
this.tbQty.TabIndex = 29;
@@ -360,7 +363,8 @@
this.bindingNavigatorMoveNextItem,
this.bindingNavigatorMoveLastItem,
this.bindingNavigatorSeparator2,
this.btSave});
this.btSave,
this.toolStripButton1});
this.bn.Location = new System.Drawing.Point(0, 696);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
@@ -417,7 +421,6 @@
//
this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
@@ -461,9 +464,19 @@
this.btSave.Text = "확인(&S)";
this.btSave.Click += new System.EventHandler(this.btSave_Click);
//
// 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(75, 22);
this.toolStripButton1.Text = "폴더열기";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Gainsboro;
this.panel1.Controls.Add(this.checkBox1);
this.panel1.Controls.Add(label2);
this.panel1.Controls.Add(this.cmbBoardVender);
this.panel1.Controls.Add(repairTimeLabel);
@@ -511,6 +524,16 @@
this.panel1.TabIndex = 86;
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(244, 381);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(72, 16);
this.checkBox1.TabIndex = 44;
this.checkBox1.Text = "참고자료";
this.checkBox1.UseVisualStyleBackColor = true;
//
// cmbBoardVender
//
this.cmbBoardVender.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
@@ -518,7 +541,7 @@
this.cmbBoardVender.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "BoardVender", true));
this.cmbBoardVender.Enabled = false;
this.cmbBoardVender.FormattingEnabled = true;
this.cmbBoardVender.Location = new System.Drawing.Point(358, 30);
this.cmbBoardVender.Location = new System.Drawing.Point(365, 30);
this.cmbBoardVender.Name = "cmbBoardVender";
this.cmbBoardVender.Size = new System.Drawing.Size(176, 20);
this.cmbBoardVender.TabIndex = 25;
@@ -526,7 +549,7 @@
// repairTimeTextBox
//
this.repairTimeTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "RepairTime", true));
this.repairTimeTextBox.Location = new System.Drawing.Point(358, 346);
this.repairTimeTextBox.Location = new System.Drawing.Point(365, 341);
this.repairTimeTextBox.Name = "repairTimeTextBox";
this.repairTimeTextBox.Size = new System.Drawing.Size(176, 21);
this.repairTimeTextBox.TabIndex = 41;
@@ -538,7 +561,7 @@
this.cmb분류.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "분류", true));
this.cmb분류.Enabled = false;
this.cmb분류.FormattingEnabled = true;
this.cmb분류.Location = new System.Drawing.Point(89, 186);
this.cmb분류.Location = new System.Drawing.Point(89, 181);
this.cmb분류.Name = "cmb분류";
this.cmb분류.Size = new System.Drawing.Size(148, 20);
this.cmb분류.TabIndex = 11;
@@ -562,7 +585,7 @@
this.cmb외주업체.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "외주업체", true));
this.cmb외주업체.Enabled = false;
this.cmb외주업체.FormattingEnabled = true;
this.cmb외주업체.Location = new System.Drawing.Point(358, 307);
this.cmb외주업체.Location = new System.Drawing.Point(365, 302);
this.cmb외주업체.Name = "cmb외주업체";
this.cmb외주업체.Size = new System.Drawing.Size(176, 20);
this.cmb외주업체.TabIndex = 39;
@@ -574,7 +597,7 @@
this.cmbSN.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "SN", true));
this.cmbSN.Enabled = false;
this.cmbSN.FormattingEnabled = true;
this.cmbSN.Location = new System.Drawing.Point(358, 70);
this.cmbSN.Location = new System.Drawing.Point(365, 65);
this.cmbSN.Name = "cmbSN";
this.cmbSN.Size = new System.Drawing.Size(176, 20);
this.cmbSN.TabIndex = 27;
@@ -587,7 +610,7 @@
this.cmbBoardName.FormattingEnabled = true;
this.cmbBoardName.Items.AddRange(new object[] {
"IONIZER"});
this.cmbBoardName.Location = new System.Drawing.Point(89, 383);
this.cmbBoardName.Location = new System.Drawing.Point(89, 378);
this.cmbBoardName.Name = "cmbBoardName";
this.cmbBoardName.Size = new System.Drawing.Size(148, 20);
this.cmbBoardName.TabIndex = 23;
@@ -600,7 +623,7 @@
this.cmbModel.FormattingEnabled = true;
this.cmbModel.Items.AddRange(new object[] {
"IONIZER"});
this.cmbModel.Location = new System.Drawing.Point(89, 344);
this.cmbModel.Location = new System.Drawing.Point(89, 339);
this.cmbModel.Name = "cmbModel";
this.cmbModel.Size = new System.Drawing.Size(148, 20);
this.cmbModel.TabIndex = 21;
@@ -613,7 +636,7 @@
this.cmbProcess.FormattingEnabled = true;
this.cmbProcess.Items.AddRange(new object[] {
"IONIZER"});
this.cmbProcess.Location = new System.Drawing.Point(89, 305);
this.cmbProcess.Location = new System.Drawing.Point(89, 300);
this.cmbProcess.Name = "cmbProcess";
this.cmbProcess.Size = new System.Drawing.Size(148, 20);
this.cmbProcess.TabIndex = 19;
@@ -625,7 +648,7 @@
this.cmbDivision.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "Division", true));
this.cmbDivision.Enabled = false;
this.cmbDivision.FormattingEnabled = true;
this.cmbDivision.Location = new System.Drawing.Point(89, 264);
this.cmbDivision.Location = new System.Drawing.Point(89, 259);
this.cmbDivision.Name = "cmbDivision";
this.cmbDivision.Size = new System.Drawing.Size(148, 20);
this.cmbDivision.TabIndex = 15;
@@ -637,7 +660,7 @@
this.cmbLine.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "Line", true));
this.cmbLine.Enabled = false;
this.cmbLine.FormattingEnabled = true;
this.cmbLine.Location = new System.Drawing.Point(89, 225);
this.cmbLine.Location = new System.Drawing.Point(89, 220);
this.cmbLine.Name = "cmbLine";
this.cmbLine.Size = new System.Drawing.Size(148, 20);
this.cmbLine.TabIndex = 13;
@@ -649,7 +672,7 @@
this.cmbSite.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "Site", true));
this.cmbSite.Enabled = false;
this.cmbSite.FormattingEnabled = true;
this.cmbSite.Location = new System.Drawing.Point(89, 149);
this.cmbSite.Location = new System.Drawing.Point(89, 144);
this.cmbSite.Name = "cmbSite";
this.cmbSite.Size = new System.Drawing.Size(148, 20);
this.cmbSite.TabIndex = 7;
@@ -661,14 +684,14 @@
this.cmbUID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "uid", true));
this.cmbUID.Enabled = false;
this.cmbUID.FormattingEnabled = true;
this.cmbUID.Location = new System.Drawing.Point(358, 383);
this.cmbUID.Location = new System.Drawing.Point(365, 378);
this.cmbUID.Name = "cmbUID";
this.cmbUID.Size = new System.Drawing.Size(176, 20);
this.cmbUID.TabIndex = 43;
//
// tbCostNew
//
this.tbCostNew.Location = new System.Drawing.Point(358, 149);
this.tbCostNew.Location = new System.Drawing.Point(365, 144);
this.tbCostNew.Name = "tbCostNew";
this.tbCostNew.Size = new System.Drawing.Size(176, 21);
this.tbCostNew.TabIndex = 31;
@@ -678,7 +701,7 @@
// linkLabel4
//
this.linkLabel4.AutoSize = true;
this.linkLabel4.Location = new System.Drawing.Point(42, 111);
this.linkLabel4.Location = new System.Drawing.Point(42, 106);
this.linkLabel4.Name = "linkLabel4";
this.linkLabel4.Size = new System.Drawing.Size(41, 12);
this.linkLabel4.TabIndex = 4;
@@ -733,7 +756,7 @@
// linkLabel2
//
this.linkLabel2.AutoSize = true;
this.linkLabel2.Location = new System.Drawing.Point(42, 72);
this.linkLabel2.Location = new System.Drawing.Point(42, 67);
this.linkLabel2.Name = "linkLabel2";
this.linkLabel2.Size = new System.Drawing.Size(41, 12);
this.linkLabel2.TabIndex = 2;
@@ -834,7 +857,7 @@
this.richTextBoxEx1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.richTextBoxEx1.Name = "richTextBoxEx1";
this.richTextBoxEx1.Rtf = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\nouicompat{\\fonttbl{\\f0\\fnil\\fcharset0 Arial;}}\r\n{\\" +
"*\\generator Riched20 10.0.18362}\\viewkind4\\uc1 \r\n\\pard\\fs20\\lang1042 richTextBox" +
"*\\generator Riched20 10.0.19041}\\viewkind4\\uc1 \r\n\\pard\\fs20\\lang1042 richTextBox" +
"Ex1\\par\r\n}\r\n";
this.richTextBoxEx1.SetColorWithFont = true;
this.richTextBoxEx1.ShowToolStrip = true;
@@ -912,7 +935,7 @@
this.richTextBoxEx2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.richTextBoxEx2.Name = "richTextBoxEx2";
this.richTextBoxEx2.Rtf = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\nouicompat{\\fonttbl{\\f0\\fnil\\fcharset0 Arial;}}\r\n{\\" +
"*\\generator Riched20 10.0.18362}\\viewkind4\\uc1 \r\n\\pard\\fs20\\lang1042 richTextBox" +
"*\\generator Riched20 10.0.19041}\\viewkind4\\uc1 \r\n\\pard\\fs20\\lang1042 richTextBox" +
"Ex2\\par\r\n}\r\n";
this.richTextBoxEx2.SetColorWithFont = true;
this.richTextBoxEx2.ShowToolStrip = true;
@@ -974,6 +997,7 @@
this.tableAdapterManager.EETGW_JobReport_EBoardTableAdapter = this.ta;
this.tableAdapterManager.EETGW_NoteTableAdapter = null;
this.tableAdapterManager.EETGW_ProjecthistoryDTableAdapter = null;
this.tableAdapterManager.EETGW_ProjectResonTableAdapter = null;
this.tableAdapterManager.EETGW_ProjectsScheduleTableAdapter = null;
this.tableAdapterManager.EETGW_ProjectToDoTableAdapter = null;
this.tableAdapterManager.EETGW_SaveCostTableAdapter = null;
@@ -987,6 +1011,11 @@
this.tableAdapterManager.SPMasterTableAdapter = null;
this.tableAdapterManager.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// tableAdapterManager1
//
this.tableAdapterManager1.BackupDataSetBeforeUpdate = false;
this.tableAdapterManager1.UpdateOrder = FPJ0000.DSEboardTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// fEboardData
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -1063,5 +1092,8 @@
private System.Windows.Forms.ComboBox cmbBoardVender;
private RichTextBoxEx.RichTextBoxEx richTextBoxEx1;
private RichTextBoxEx.RichTextBoxEx richTextBoxEx2;
private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.CheckBox checkBox1;
private DSEboardTableAdapters.TableAdapterManager tableAdapterManager1;
}
}

View File

@@ -36,7 +36,7 @@ namespace FPJ0000
ctl.Items.Clear();
ctl.Items.AddRange(list);
ctl.Enabled = true;
}
private void fProjectData_Load(object sender, EventArgs e)
@@ -49,21 +49,21 @@ namespace FPJ0000
//UID목록
var lst_uid = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.uid) == false).OrderBy(t => t.uid).GroupBy(t => t.uid).Select(t => t.FirstOrDefault());
SetComboboxItems(cmbUID,lst_uid.Select(t => t.uid).ToArray());
SetComboboxItems(cmbUID, lst_uid.Select(t => t.uid).ToArray());
//요청자
var lst_req = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.) == false).OrderBy(t => t.).GroupBy(t => t.).Select(t => t.FirstOrDefault());
SetComboboxItems(cmb요청자,lst_req.Select(t => t.).ToArray());
SetComboboxItems(cmb요청자, lst_req.Select(t => t.).ToArray());
////모델
//var lst_mod = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.Model) == false).OrderBy(t => t.Model).GroupBy(t => t.Model).Select(t => t.FirstOrDefault());
//SetComboboxItems(cmbModel,lst_mod.Select(t => t.Model).ToArray());
// cmbModel.Enabled = true;
//모델
var lst_mod = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.Model) == false).OrderBy(t => t.Model).GroupBy(t => t.Model).Select(t => t.FirstOrDefault());
SetComboboxItems(cmbModel, lst_mod.Select(t => t.Model).ToArray());
cmbModel.Enabled = true;
////BoardName
//var lst_bon = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.BoardName) == false).OrderBy(t => t.BoardName).GroupBy(t => t.BoardName).Select(t => t.FirstOrDefault());
//SetComboboxItems(cmbBoardName,lst_bon.Select(t => t.BoardName).ToArray());
// cmbBoardName.Enabled = true;
//BoardName
var lst_bon = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.BoardName) == false).OrderBy(t => t.BoardName).GroupBy(t => t.BoardName).Select(t => t.FirstOrDefault());
SetComboboxItems(cmbBoardName, lst_bon.Select(t => t.BoardName).ToArray());
cmbBoardName.Enabled = true;
//BoardVender
var lst_bvn = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.BoardVender) == false).OrderBy(t => t.BoardVender).GroupBy(t => t.BoardVender).Select(t => t.FirstOrDefault());
@@ -71,7 +71,7 @@ namespace FPJ0000
//SN
var lst_srn = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.SN) == false).OrderBy(t => t.SN).GroupBy(t => t.SN).Select(t => t.FirstOrDefault());
SetComboboxItems(cmbSN,lst_srn.Select(t => t.SN).ToArray());
SetComboboxItems(cmbSN, lst_srn.Select(t => t.SN).ToArray());
////status
//var lst_sta = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.Status) == false).OrderBy(t => t.Status).GroupBy(t => t.Status).Select(t => t.FirstOrDefault());
@@ -79,32 +79,32 @@ namespace FPJ0000
//분류
var lst_cat = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.) == false).OrderBy(t => t.).GroupBy(t => t.).Select(t => t.FirstOrDefault());
SetComboboxItems(cmb분류,lst_cat.Select(t => t.).ToArray());
SetComboboxItems(cmb분류, lst_cat.Select(t => t.).ToArray());
//Site
var lst_sit = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.Site) == false).OrderBy(t => t.Site).GroupBy(t => t.Site).Select(t => t.FirstOrDefault());
SetComboboxItems(cmbSite,lst_sit.Select(t => t.Site).ToArray());
SetComboboxItems(cmbSite, lst_sit.Select(t => t.Site).ToArray());
//Line
var lst_lin = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.Line) == false).OrderBy(t => t.Line).GroupBy(t => t.Line).Select(t => t.FirstOrDefault());
SetComboboxItems(cmbLine,lst_lin.Select(t => t.Line).ToArray());
SetComboboxItems(cmbLine, lst_lin.Select(t => t.Line).ToArray());
//division
var lst_div = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.Division) == false).OrderBy(t => t.Division).GroupBy(t => t.Division).Select(t => t.FirstOrDefault());
SetComboboxItems(cmbDivision,lst_div.Select(t => t.Division).ToArray());
SetComboboxItems(cmbDivision, lst_div.Select(t => t.Division).ToArray());
////Team
//var lst_tem = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.Team) == false).OrderBy(t => t.Team).GroupBy(t => t.Team).Select(t => t.FirstOrDefault());
//SetComboboxItems(cmbTeam,lst_tem.Select(t => t.Team).ToArray());
////Process
//var lst_prc = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.Process) == false).OrderBy(t => t.Process).GroupBy(t => t.Process).Select(t => t.FirstOrDefault());
//SetComboboxItems(cmbProcess,lst_prc.Select(t => t.Process).ToArray());
// cmbProcess.Enabled = true;
//Process
var lst_prc = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.Process) == false).OrderBy(t => t.Process).GroupBy(t => t.Process).Select(t => t.FirstOrDefault());
SetComboboxItems(cmbProcess, lst_prc.Select(t => t.Process).ToArray());
cmbProcess.Enabled = true;
//외주업체
var lst_ext = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.) == false).OrderBy(t => t.).GroupBy(t => t.).Select(t => t.FirstOrDefault());
SetComboboxItems(cmb외주업체,lst_ext.Select(t => t.).ToArray());
SetComboboxItems(cmb외주업체, lst_ext.Select(t => t.).ToArray());
}));
@@ -142,9 +142,7 @@ namespace FPJ0000
}
}
this.checkBox1.Checked = dr.refdata;
this.tbSdate.Text = dr.pdate;
this.tbEdate.Text = dr.;
this.tbQty.Text = dr.QTY.ToString();
@@ -185,11 +183,11 @@ namespace FPJ0000
tbCostRepair.Focus();
return;
}
if(tbSdate.Text.isEmpty()==false)
if (tbSdate.Text.isEmpty() == false)
{
if(tbSdate.Text.isDate()==false)
if (tbSdate.Text.isDate() == false)
{
FCOMMON.Util.MsgE("날짜형태로 입력하세요\n\n예) 2000-01-01");
tbSdate.SelectAll();
@@ -213,7 +211,8 @@ namespace FPJ0000
this.dr. = richTextBoxEx2.Text;
this.dr.2 = richTextBoxEx2.Rtf;
this.dr.refdata = this.checkBox1.Checked;
this.dr.pdate = tbSdate.Text.Trim();
this.dr. = tbEdate.Text.Trim();
@@ -305,7 +304,15 @@ namespace FPJ0000
tbCostReduct.Text = reduction.ToString();
}
private void toolStripButton1_Click(object sender, EventArgs e)
{
if (dr != null && (dr.RowState == DataRowState.Modified || dr.RowState == DataRowState.Unchanged))
{
Util.openEboarditemPath(dr.idx);
}
else FCOMMON.Util.MsgE("자료가 저장되기 전에는 폴더를 확인할 수 없습니다.\r\n자료를 저장한 후 다시 시도하세요");
}
}
}

View File

@@ -236,10 +236,31 @@
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</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>
<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="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>230, 17</value>
</metadata>
<metadata name="tableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>292, 17</value>
</metadata>
<metadata name="tableAdapterManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 56</value>
</metadata>
</root>

View File

@@ -51,6 +51,7 @@
FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsMSSQL = new FPJ0000.dsPRJ();
@@ -76,6 +77,7 @@
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.btOpenFolder = new System.Windows.Forms.ToolStripButton();
this.cm = new System.Windows.Forms.ContextMenuStrip(this.components);
this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -90,7 +92,6 @@
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
this.cmbYearS = new System.Windows.Forms.ToolStripComboBox();
@@ -130,19 +131,20 @@
this.btSearch = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_JobReport_EBoardTableAdapter();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
this.cm.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
this.toolStrip1.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this.panel4.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
this.panel3.SuspendLayout();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
this.SuspendLayout();
//
// bn
@@ -174,7 +176,8 @@
this.btFind,
this.toolStripSeparator6,
this.toolStripButton1,
this.toolStripButton2});
this.toolStripButton2,
this.btOpenFolder});
this.bn.Location = new System.Drawing.Point(0, 639);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
@@ -367,10 +370,19 @@
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(134, 22);
this.toolStripButton2.Text = "Performance Report";
this.toolStripButton2.Size = new System.Drawing.Size(63, 22);
this.toolStripButton2.Text = "보고서";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
//
// btOpenFolder
//
this.btOpenFolder.Image = ((System.Drawing.Image)(resources.GetObject("btOpenFolder.Image")));
this.btOpenFolder.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btOpenFolder.Name = "btOpenFolder";
this.btOpenFolder.Size = new System.Drawing.Size(75, 22);
this.btOpenFolder.Text = "폴더열기";
this.btOpenFolder.Click += new System.EventHandler(this.btOpenFolder_Click);
//
// cm
//
this.cm.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
@@ -492,166 +504,6 @@
this.fpSpread1.TabIndex = 2;
this.fpSpread1.CellClick += new FarPoint.Win.Spread.CellClickEventHandler(this.fpSpread1_CellClick);
//
// 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 = 21;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Engineer";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "SITE";
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 = "Status";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "Line";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "Division";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Process";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Equipment";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "Board Name";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "보드규격";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "S/N";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "Qty";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "New Price($K)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "OutSourcing\r\nPrice($K)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).StyleName = " ";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "Repair Cost\r\n($K)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "Cost Reduction\r\n($K)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "외주업체";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "Repair Time(H)";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F;
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType1.DecimalPlaces = 0;
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType1.MaximumValue = 2147483647D;
numberCellType1.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(0).Label = "IDX";
this.fpSpread1_Sheet1.Columns.Get(0).Locked = true;
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "uid";
this.fpSpread1_Sheet1.Columns.Get(1).Label = "Engineer";
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Site";
this.fpSpread1_Sheet1.Columns.Get(2).Label = "SITE";
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "요청자";
this.fpSpread1_Sheet1.Columns.Get(3).Label = "요청";
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "pdate";
this.fpSpread1_Sheet1.Columns.Get(4).Label = "입고일";
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "수리완료일";
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
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).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "분류";
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(6).Label = "Status";
this.fpSpread1_Sheet1.Columns.Get(6).Tag = "status";
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "Line";
this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "Division";
this.fpSpread1_Sheet1.Columns.Get(8).Width = 72F;
this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9;
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "Process";
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Width = 78F;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "Model";
this.fpSpread1_Sheet1.Columns.Get(10).Label = "Equipment";
this.fpSpread1_Sheet1.Columns.Get(10).Width = 69F;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11;
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "BoardName";
this.fpSpread1_Sheet1.Columns.Get(11).Label = "Board Name";
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType12;
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "BoardVender";
this.fpSpread1_Sheet1.Columns.Get(12).Label = "보드규격";
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType13;
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "SN";
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(13).Label = "S/N";
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(13).Width = 78F;
numberCellType2.DecimalPlaces = 0;
numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType2.MaximumValue = 2147483647D;
numberCellType2.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType2;
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "QTY";
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(14).Label = "Qty";
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(14).Width = 59F;
numberCellType3.MaximumValue = 999999999999999D;
numberCellType3.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType3;
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "NPrice";
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(15).Label = "New Price($K)";
this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType4.MaximumValue = 999999999999999D;
numberCellType4.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType4;
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "OPrice";
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(16).Label = "OutSourcing\r\nPrice($K)";
this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(16).Width = 97F;
numberCellType5.MaximumValue = 999999999999999D;
numberCellType5.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType5;
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "RepairCost";
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(17).Label = "Repair Cost\r\n($K)";
this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(18).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType6.MaximumValue = 999999999999999D;
numberCellType6.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType6;
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "CostReduction";
this.fpSpread1_Sheet1.Columns.Get(18).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.fpSpread1_Sheet1.Columns.Get(18).Formula = "RC[-2]-RC[-1]";
this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(18).Label = "Cost Reduction\r\n($K)";
this.fpSpread1_Sheet1.Columns.Get(18).Tag = "costreduction";
this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(18).Width = 72F;
this.fpSpread1_Sheet1.Columns.Get(19).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType14;
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "외주업체";
numberCellType7.MaximumValue = 999999999999999D;
numberCellType7.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType7;
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "RepairTime";
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(20).Label = "Repair Time(H)";
this.fpSpread1_Sheet1.Columns.Get(20).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
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;
//
// toolStrip1
//
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
@@ -1062,6 +914,173 @@
//
this.ta.ClearBeforeFill = true;
//
// fpSpread1_Sheet1
//
this.fpSpread1_Sheet1.Reset();
this.fpSpread1_Sheet1.SheetName = "Sheet1";
// Formulas and custom names must be loaded with R1C1 reference style
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
this.fpSpread1_Sheet1.ColumnCount = 22;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Engineer";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "SITE";
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 = "Status";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "Line";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "Division";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Process";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Equipment";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "Board Name";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "보드규격";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "S/N";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "Qty";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "New Price($K)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "OutSourcing\r\nPrice($K)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).StyleName = " ";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "Repair Cost\r\n($K)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "Cost Reduction\r\n($K)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "외주업체";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "Repair Time(H)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "참고자료";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F;
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType1.DecimalPlaces = 0;
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType1.MaximumValue = 2147483647D;
numberCellType1.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(0).Label = "IDX";
this.fpSpread1_Sheet1.Columns.Get(0).Locked = true;
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "uid";
this.fpSpread1_Sheet1.Columns.Get(1).Label = "Engineer";
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Site";
this.fpSpread1_Sheet1.Columns.Get(2).Label = "SITE";
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "요청자";
this.fpSpread1_Sheet1.Columns.Get(3).Label = "요청";
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "pdate";
this.fpSpread1_Sheet1.Columns.Get(4).Label = "입고일";
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "수리완료일";
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
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).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "분류";
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(6).Label = "Status";
this.fpSpread1_Sheet1.Columns.Get(6).Tag = "status";
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "Line";
this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "Division";
this.fpSpread1_Sheet1.Columns.Get(8).Width = 72F;
this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9;
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "Process";
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Width = 78F;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "Model";
this.fpSpread1_Sheet1.Columns.Get(10).Label = "Equipment";
this.fpSpread1_Sheet1.Columns.Get(10).Width = 69F;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11;
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "BoardName";
this.fpSpread1_Sheet1.Columns.Get(11).Label = "Board Name";
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType12;
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "BoardVender";
this.fpSpread1_Sheet1.Columns.Get(12).Label = "보드규격";
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType13;
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "SN";
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(13).Label = "S/N";
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(13).Width = 78F;
numberCellType2.DecimalPlaces = 0;
numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType2.MaximumValue = 2147483647D;
numberCellType2.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType2;
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "QTY";
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(14).Label = "Qty";
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(14).Width = 59F;
numberCellType3.MaximumValue = 999999999999999D;
numberCellType3.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType3;
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "NPrice";
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(15).Label = "New Price($K)";
this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType4.MaximumValue = 999999999999999D;
numberCellType4.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType4;
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "OPrice";
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(16).Label = "OutSourcing\r\nPrice($K)";
this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(16).Width = 97F;
numberCellType5.MaximumValue = 999999999999999D;
numberCellType5.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType5;
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "RepairCost";
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(17).Label = "Repair Cost\r\n($K)";
this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(18).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType6.MaximumValue = 999999999999999D;
numberCellType6.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType6;
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "CostReduction";
this.fpSpread1_Sheet1.Columns.Get(18).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.fpSpread1_Sheet1.Columns.Get(18).Formula = "RC[-2]-RC[-1]";
this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(18).Label = "Cost Reduction\r\n($K)";
this.fpSpread1_Sheet1.Columns.Get(18).Tag = "costreduction";
this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(18).Width = 72F;
this.fpSpread1_Sheet1.Columns.Get(19).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType14;
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "외주업체";
numberCellType7.MaximumValue = 999999999999999D;
numberCellType7.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType7;
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "RepairTime";
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(20).Label = "Repair Time(H)";
this.fpSpread1_Sheet1.Columns.Get(20).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(21).CellType = checkBoxCellType1;
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "refdata";
this.fpSpread1_Sheet1.Columns.Get(21).Label = "참고자료";
this.fpSpread1_Sheet1.Columns.Get(21).Tag = "refdata";
this.fpSpread1_Sheet1.Columns.Get(21).Width = 38F;
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.DataSource = this.bs;
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
this.fpSpread1_Sheet1.RowHeader.Columns.Get(0).Width = 32F;
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
//
// fEboardList
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -1081,7 +1100,6 @@
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
this.cm.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.tableLayoutPanel1.ResumeLayout(false);
@@ -1090,6 +1108,7 @@
this.panel3.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -1159,7 +1178,6 @@
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
private dsPRJTableAdapters.EETGW_JobReport_EBoardTableAdapter ta;
private System.Windows.Forms.ToolStripButton toolStripButton1;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.ToolStripButton btCopy;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripButton toolStripButton2;
@@ -1176,5 +1194,7 @@
private System.Windows.Forms.ToolStripComboBox cmbYearE;
private System.Windows.Forms.ToolStripButton toolStripButton4;
private System.Windows.Forms.ToolStripButton toolStripButton5;
private System.Windows.Forms.ToolStripButton btOpenFolder;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
}
}

View File

@@ -151,18 +151,32 @@ namespace FPJ0000
this.fpSpread1.SuspendLayout();
var col_status = this.fpSpread1.ActiveSheet.Columns["status"].Index;
var col_costreduc = this.fpSpread1.ActiveSheet.Columns["costreduction"].Index;
var col_refdata = this.fpSpread1.ActiveSheet.Columns["refdata"].Index;
for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
{
var state = this.fpSpread1.ActiveSheet.GetValue(i, col_status);
string stateStr = string.Empty;
if (state != null) stateStr = state.ToString();
var vrefdata = this.fpSpread1.ActiveSheet.GetValue(i, col_refdata);
Boolean refdata = false;
if (vrefdata != null) refdata = (bool)vrefdata;
if (stateStr.ToLower().Contains("완료")) this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.FromArgb(240, 240, 240);
else if (stateStr.ToLower().Contains("외주")) this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.LightSteelBlue;
else
this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.White;
this.fpSpread1.ActiveSheet.Cells[i, col_costreduc].BackColor = Color.FromArgb(240, 240, 240);
if(refdata)
{
this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Magenta;
}
else
{
this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Black;
}
}
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
this.fpSpread1.ResumeLayout();
@@ -377,7 +391,7 @@ namespace FPJ0000
var sht = book.getSheet(0);
//2번쨰 줄부터 데이터를 기록한다.
var row = 1;
foreach (dsPRJ.EETGW_JobReport_EBoardRow dr in this.dsMSSQL.EETGW_JobReport_EBoard.Select(this.bs.Filter,this.bs.Sort))
foreach (dsPRJ.EETGW_JobReport_EBoardRow dr in this.dsMSSQL.EETGW_JobReport_EBoard.Select(this.bs.Filter, this.bs.Sort))
{
if (dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Deleted) continue;
sht.writeStr(row, 3, dr.);
@@ -443,7 +457,7 @@ namespace FPJ0000
//cols.Add("완료월");
book.save(sd.FileName);
var dlg2 = FCOMMON.Util.MsgQ("파일생성 완료\n\n열까요?" + sd.FileName);
if(dlg2 == DialogResult.Yes) FCOMMON.Util.RunExplorer(sd.FileName);
if (dlg2 == DialogResult.Yes) FCOMMON.Util.RunExplorer(sd.FileName);
}
}
@@ -604,7 +618,7 @@ namespace FPJ0000
{
var dt = DateTime.Parse(this.cmbYearS.Text);
var f = new FCOMMON.fSelectDay(dt);
if(f.ShowDialog() == DialogResult.OK)
if (f.ShowDialog() == DialogResult.OK)
{
this.cmbYearS.Text = f.dtPick.SelectionStart.ToShortDateString();
}
@@ -619,5 +633,17 @@ namespace FPJ0000
this.cmbYearE.Text = f.dtPick.SelectionStart.ToShortDateString();
}
}
private void btOpenFolder_Click(object sender, EventArgs e)
{
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as dsPRJ.EETGW_JobReport_EBoardRow;
if (dr != null && (dr.RowState == DataRowState.Modified || dr.RowState == DataRowState.Unchanged))
{
Util.openEboarditemPath(dr.idx);
}
else FCOMMON.Util.MsgE("자료가 저장되기 전에는 폴더를 확인할 수 없습니다.\r\n자료를 저장한 후 다시 시도하세요");
}
}
}

View File

@@ -223,20 +223,20 @@
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL1SURBVDhPhZLrS1NhHMf3Kv+EsF70UohS0qioF6XpmhrY
zVLMvM0pmtrQhUG1mEblJTRRoUKUohcVWqZTm5pzTjeckZeszOZdc3NNdzlHd8769pyz5QyEfvDhefGc
74fz+54j4Cbipjr5dKlOFVOm+yWU6yhy0jzl3KmnY0oH6KgH2rFjMk3l3tiXO/jQ1om826cx2eiVmSUz
a3Gsw2L3sWLjoPFl0YZbzbOIL/vqFOUo/bxRz0Tf15oWli3swLQL+hkG+lkGumkG2qkNqL+vo33cgXUG
aPlK4dabGaQ9GqP+kQjlHdSacwNDcyw+zjHkZDDISzbQO7mO9+NOInBjaJGFfsGFYuUswm50v+DDceWh
xovy2N+SmvNIq76A6o4GFDWWI0weiFCCqPgoIhSHUNFSwa9ipxksW52IkPYyvOBSadjr7tFWtE48RbWu
gJckVUWh4HkichviIa49g9TaVLQML6N1zI53I2tYJT0JFX00LxBVivyE8jxW960Hz0YVKFHn8JLkmmgS
PovMxxnQTDr4VbomKKhID1aHC8Kifo+Am8j7vbS0LgWGSS1q9ddxrzMfceUnkVwVC8O0EwZSLFew5oen
EwsRRCi2CI7flrsOF+5BYqUIQz8GUNyTBYVSiviH4WhQv8WneQYGUuzAlAv9BJPNhbA7XkGwzF8SItuN
3PoEXK6JRELFKV4iVSZC1phB3iQc3P3QLItB7hMTbKTI4DytRxAi2zkfIttFHvJHSIE/zpWEI/tJCjTj
KhSrCpH1KgXimkswEIGe/Bs6IqBdbgTlqX0rnMjroxdXaQzPszy93xZwrS4T6SQoqY1Hfv3VzTsO5wZL
BM0+AWebs/gE/8NBVgjKaPIJjkg/OEeMP39v9/B2mH+tuvcntdi9cVJkZqdxZs1pG5kyuY1mCkYThUkv
ZruLh2veTrNYMlvdFEWtBlxp++yNCwQHMzuyg8TtnQckKkuQpIneJN1D4F/ETXSAuM26L7WtKzBFmSYQ
CAR/AF7/oOjSHDLtAAAAAElFTkSuQmCC
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL1SURBVDhPhZLrS1NhHMf3qv6EsF70UojSyqioF6WpTQ3s
Zipm3uYUTZfowiBbTCPzEpqoUCFK0YsKtdKpTc05pxvO0DRTm/dLTZ2XXc7RnTO/PedsOQOhH3x4Xjzn
++H8vucIuAm4r4q9VKhVhhZpVwJlWoqcNE8xd+ro0MIeOviJZuisVF16KOztHj60c4IedakXzfTy5LyR
NVk3YLK4WTZz0PixYEbOxxlEFo3YhGmKva6oc0LyNYuzv5bYnik7dNMMdDMMtFMMNJObUP3cQPOwFRsM
0DBCIad+GgnPhqh/JIGyZmrdtom+WRZfZxlyMujlJZvoNGzg87CNCBzoW2Chm7cjTzEDv3vtb/hwRLHv
xA1Z2Ja44hoSyq+jvKUGubXF8JN5wZcgzDuDAPlJlDSU8KtYaAbGVRsCJJ0MLwgv9HvfPtiIxrGXKNdm
8ZKYsmBkvY5Gek0kRJWXEV8Zj4YBIxqHLPj0bR1rpKdAeRfNC4Slwr3+MgmrHe3Aq0E5ClRpvCS2IoSE
ryD5eRLUBiu/StsYBSXpYdVqR2But1PATVB+J51RFQe9QYNK3V08bs1ERPEFxJaFQT9lg54UyxWsHnd2
YiKCAPkOwbkHMvup7IOILhWib7wHeR0pkCsyEPnUHzWqD+ifY6AnxfZM2tFNWDTb4ffQJTgu9RD7SA8g
vToKNyuCEFVykZdkKKIhrU0ib+IP7r5vhkUv94kJZlLkUYnGKfCR7pvzke4nD3nAJ8sDVwv8kfoiDuph
JfKU2Uh5FwdRRTj0RKAj/4aWCGi7A94SlXuF85IuemGNxsAcy9M5Oo87VclIJEFxZSQyq29v33HYNlki
qHcLONusyS34H1aygndSnVtwOuOLrd+wsLXbw7thXF5xHIlpsLjipMjk1onpdZu5f/y3Y2KJwsQiBYOL
JYudh2veQrOYN5ocFEWted5q+u6KCwQnkltSvUXNrcfESpO3uI7eJtGJ119EdbSnqGn1cHxTm1ecIkEg
EAj+ABQBoLtReJTrAAAAAElFTkSuQmCC
</value>
</data>
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -252,6 +252,21 @@
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="btOpenFolder.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="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
@@ -297,7 +312,7 @@
</value>
</data>
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>585, 17</value>
<value>17, 56</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>320, 17</value>