..
This commit is contained in:
@@ -105,14 +105,14 @@
|
||||
this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectPartStatusTableAdapter();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.textBox5 = new System.Windows.Forms.TextBox();
|
||||
this.tbDue = new System.Windows.Forms.TextBox();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||
this.textBox3 = new System.Windows.Forms.TextBox();
|
||||
this.pdateTextBox = new System.Windows.Forms.TextBox();
|
||||
this.textBox4 = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||
pdateLabel = new System.Windows.Forms.Label();
|
||||
label3 = new System.Windows.Forms.Label();
|
||||
label4 = new System.Windows.Forms.Label();
|
||||
@@ -1012,6 +1012,16 @@
|
||||
this.panel4.Size = new System.Drawing.Size(1345, 31);
|
||||
this.panel4.TabIndex = 8;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPart, "name", true));
|
||||
this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.textBox1.Location = new System.Drawing.Point(768, 5);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(572, 21);
|
||||
this.textBox1.TabIndex = 3;
|
||||
this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// textBox5
|
||||
//
|
||||
this.textBox5.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPart, "Project", true));
|
||||
@@ -1034,15 +1044,17 @@
|
||||
this.tbDue.Text = "2020-01-01";
|
||||
this.tbDue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// textBox1
|
||||
// linkLabel1
|
||||
//
|
||||
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPart, "name", true));
|
||||
this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.textBox1.Location = new System.Drawing.Point(768, 5);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(572, 21);
|
||||
this.textBox1.TabIndex = 3;
|
||||
this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.linkLabel1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.linkLabel1.Location = new System.Drawing.Point(522, 5);
|
||||
this.linkLabel1.Name = "linkLabel1";
|
||||
this.linkLabel1.Size = new System.Drawing.Size(108, 21);
|
||||
this.linkLabel1.TabIndex = 17;
|
||||
this.linkLabel1.TabStop = true;
|
||||
this.linkLabel1.Text = "CR# Due Date";
|
||||
this.linkLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
|
||||
//
|
||||
// textBox3
|
||||
//
|
||||
@@ -1086,18 +1098,6 @@
|
||||
this.label1.Text = "프로젝트정보";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// linkLabel1
|
||||
//
|
||||
this.linkLabel1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.linkLabel1.Location = new System.Drawing.Point(522, 5);
|
||||
this.linkLabel1.Name = "linkLabel1";
|
||||
this.linkLabel1.Size = new System.Drawing.Size(108, 21);
|
||||
this.linkLabel1.TabIndex = 17;
|
||||
this.linkLabel1.TabStop = true;
|
||||
this.linkLabel1.Text = "CR# Due Date";
|
||||
this.linkLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
|
||||
//
|
||||
// fPartBuyStatus
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
|
||||
@@ -750,39 +750,53 @@ namespace FPJ0000
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsPRJ.ProjectPartStatusRow;
|
||||
|
||||
if (dr.IspathNull())
|
||||
{
|
||||
util.MsgE("공유 폴더가 생성되지 않은 프로젝트 입니다\n열람 가능한 파일이 없습니다");
|
||||
return;
|
||||
}
|
||||
var tbPath = dr.path;
|
||||
if (tbPath.Equals(""))
|
||||
{
|
||||
util.MsgE("공유폴더가 존재하지 않는 프로젝트 입니다. 프로젝트 정보에서 공유폴더를 클릭해 먼저 생성한 후 다시 시도하세요");
|
||||
return;
|
||||
}
|
||||
|
||||
if (tbPath.StartsWith("\\") == false)
|
||||
{
|
||||
if (tbPath.StartsWith("/")) tbPath = tbPath.Replace("/", "\\");
|
||||
else tbPath = "\\" + tbPath;
|
||||
}
|
||||
var serverpath = Properties.Settings.Default.SharePath + @"\Project\" + dr.Project.ToString();
|
||||
|
||||
var serverpath = @"\\" + FCOMMON.info.serverip + @"\Data\Project";
|
||||
//if (tbPath == "") tbPath = "/" + dr.idx.ToString();
|
||||
|
||||
//if (tbPath.StartsWith("\\") == false)
|
||||
//{
|
||||
// if (tbPath.StartsWith("/")) tbPath = tbPath.Replace("/", "\\");
|
||||
// else tbPath = "\\" + tbPath;
|
||||
//}
|
||||
//\\10.131.32.29\Data
|
||||
|
||||
if (System.IO.Directory.Exists(serverpath) == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("프로젝트 기본경로가 존재하지 않아 진행할 수 없습니다\n\n" +
|
||||
FCOMMON.Util.MsgE("프로젝트 경로가 존재하지 않아 진행할 수 없습니다\n\n" +
|
||||
serverpath);
|
||||
return;
|
||||
}
|
||||
|
||||
var path = serverpath + tbPath;
|
||||
if (System.IO.Directory.Exists(path) == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("프로젝트 저장소 없음");
|
||||
}
|
||||
|
||||
FCOMMON.Util.RunExplorer(path);
|
||||
//if (tbPath.Equals(""))
|
||||
//{
|
||||
// util.MsgE("공유폴더가 존재하지 않는 프로젝트 입니다. 프로젝트 정보에서 공유폴더를 클릭해 먼저 생성한 후 다시 시도하세요");
|
||||
// return;
|
||||
//}
|
||||
|
||||
//if (tbPath.StartsWith("\\") == false)
|
||||
//{
|
||||
// if (tbPath.StartsWith("/")) tbPath = tbPath.Replace("/", "\\");
|
||||
// else tbPath = "\\" + tbPath;
|
||||
//}
|
||||
|
||||
//var serverpath = @"\\" + FCOMMON.info.serverip + @"\Data\Project";
|
||||
//if (System.IO.Directory.Exists(serverpath) == false)
|
||||
//{
|
||||
// FCOMMON.Util.MsgE("프로젝트 기본경로가 존재하지 않아 진행할 수 없습니다\n\n" +
|
||||
// serverpath);
|
||||
// return;
|
||||
//}
|
||||
|
||||
//var path = serverpath + tbPath;
|
||||
//if (System.IO.Directory.Exists(path) == false)
|
||||
//{
|
||||
// FCOMMON.Util.MsgE("프로젝트 저장소 없음");
|
||||
//}
|
||||
|
||||
FCOMMON.Util.RunExplorer(serverpath);
|
||||
}
|
||||
|
||||
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
|
||||
|
||||
@@ -331,20 +331,20 @@
|
||||
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALqSURBVDhPhZLrS1NhHMf3Kv+EsF70UpBSyqioF6XpmhrY
|
||||
zVTMvM05NDXRhUG2mEbmJTRRoUSUIqJCy3Rq8zbndMMZmcvUvM4LeFnqtnOO25l+e87ZUgOhH3x4Xjzn
|
||||
++H8vucIuAl6oI67XKRThRXrfgvlOpqcDE8Jd+qZsKJ+JuSp1nhOpinzDn93gA/tneDHvZplC7NqNBqd
|
||||
ZtsmzNZdVi0cDH4uWpDbaEJU8SglSlN6uKOuCS3QLnPh/hkH9LMs9CYWuhkW2mk71L820TpiwyYLNI3S
|
||||
yP04i8TnRvofiVDeSm9QdgzOOfF1jiUniwFeYkfPxCa+jFBEsIXBRSf0Cw7kK00IuN/5hg9HlvhP3ZSH
|
||||
b0sqryOx4gYq2uqQV1+CALkP/Ami/LMIUpxCaVMpv4qVYbG0RiEotoflBRFFAR86h5vRPF6NCl02L4kt
|
||||
D0H26xik10VBXHUFCVUJaBpaQrPRis/fN7BOehIqehleICoTeXjLM5y6sW68GlagUJ3GS+IqQ0n4KqQv
|
||||
kqGZsPGrdIzTUJEe1mwOCPP6XAJuggt6mMyaeBgmtKjS38OT9ixEllxEXHk4DDMUDKRYrmDNpKsTMxEE
|
||||
KfYIzj+UO07nHEFMmQiDk/3I706BQpmJqGeBqFN/wrd5FgZSbP+0A32EZYsDAY/cghMyT4mf7DDSa6Nx
|
||||
qzIY0aWXeEmmMgay+mTyJoHg7gdNTgxwn5hgIUX6ZmhdAj/ZwXk/2SHykCf8sj1xrTAQqS/joRlRIV+V
|
||||
g5T38RBXRsBABHryb+iIgHFsEYF6d4ULGb3M4jqDoXknT8/YAu7WSJFEgpKqKGTV3tm546DsTiJo2BVw
|
||||
tjnzruB/2LgVkvcIzmR2UdVvG7f3e3g/urq6to7FNlndcVKktH1qdoOycBdTKzSmlmlMuFmxOni45q2M
|
||||
K0zT9LrX7ZYf7rhAcFLaluorbm0/LlGZfSUNzA5JLnz+Im5gvMQta0cTWjp84pWJAoFA8AcYsp4t3wvN
|
||||
zgAAAABJRU5ErkJggg==
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALqSURBVDhPhZLrS1NhHMf3Kv+EsF70UpBSalFRL0pTmxrY
|
||||
zVTMvM0pmtrQhUG2mIvMS2iiAwtRCl9UqJVObd7mnNtwRuYyNa/zAl6Wuss5ujP99pyzpQZCP/jwvHjO
|
||||
98P5fc/hsRP8SJ1wtViviijR/w6R6ily0hyl7GmgI4p1dNhzremCRFPuG/nuEBfaP6FP+zTLVnrVZDK5
|
||||
LPZNWGx7rFpZaPxctCL/kxkxJaMOQabSyxN1T3ihdpkN62acMMwyMJgZ6GcYaKe3oP61ibYROzYZoHmU
|
||||
Qn7TLJJfmqh/JCHSNmrDsYXBORe+zjHkZDDASbbQO7GJLyMOItjG4KILhgUn5EozAh921XPh6NKAqdvS
|
||||
yB1R1U0kV95CZXsdChpKESj1QwBBID+PYNkZlDWXcavYaAZLaw4Ex/cynCCqOPBD13ALWsZfo1Kfy0ni
|
||||
K8KQ+zYOWXUxECquIUmRhOahJbSYbPj8fQPrpKcQWR/NCQTlAi9fabZLP9aDN8MyFKkzOUlCVTgJX0da
|
||||
dSo0E3Zulc5xCirSw5rdiZCCfreAndDCXlpckwjjhBYKwwM868hBdOllJFREwjjjgJEUyxasmXR3YiGC
|
||||
YNk+wcXHUufZvGOIKxdgcFIHeU86ZEoxYl4EoU79Ed/mGRhJsbppJ/oJy1YnAp94BKck3iK+5CiyamNx
|
||||
pyoUsWVXOIlYGQdJQyp5kyCw94NmFwbYT0ywkiL9s7VuAV9yeJ4vOUIe8gY/1xs3ioKQ8SoRmhEV5Ko8
|
||||
pL9PhLAqCkYiMJB/Q08EtHObCNR7K1zK7qMX12kMzbs4escWcL8mDSkkKFLEIKf23u4di2PLRQSNewLW
|
||||
NmfZE/wPO7tC6j7BOXG3o7q+aeeghw+iu7t7+0R8s80TJ0WmdUzNbjis7MXUCoWpZQoTHlZsTg62eRvt
|
||||
DlMUte5zt/WHJ87jnU5rz/AXtnWcFKks/qJGepcUN35/ETbSPsLWteNJrZ1+icpkHo/H+wMUXJ4nAsHB
|
||||
vwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
||||
@@ -234,7 +234,12 @@ namespace FPJ0000
|
||||
if (value_in != null) qty_in = (int)value_in;
|
||||
if (value_buy != null) qty_buy = (int)value_buy;
|
||||
|
||||
if (qty_buy < 1) //비구매건
|
||||
if(b_cancel == true)
|
||||
{
|
||||
row.ForeColor = Color.White;
|
||||
row.BackColor = Color.Red;
|
||||
}
|
||||
else if (qty_buy < 1) //비구매건
|
||||
{
|
||||
비구매 += 1;
|
||||
row.ForeColor = Color.Black;
|
||||
|
||||
144
SubProject/FPJ0000/Project/fProjectList.Designer.cs
generated
144
SubProject/FPJ0000/Project/fProjectList.Designer.cs
generated
@@ -30,25 +30,25 @@
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectList));
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType43 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType44 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType45 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType46 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType47 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType48 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType49 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType50 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType51 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType52 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType53 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType54 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType19 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType20 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType55 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType56 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsMSSQL = new FPJ0000.dsPRJ();
|
||||
@@ -266,7 +266,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(30, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
@@ -389,7 +388,6 @@
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(100, 25);
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
||||
@@ -434,7 +432,7 @@
|
||||
this.toolStripMenuItem1,
|
||||
this.엑셀파일로저장ToolStripMenuItem});
|
||||
this.cm.Name = "contextMenuStrip1";
|
||||
this.cm.Size = new System.Drawing.Size(305, 418);
|
||||
this.cm.Size = new System.Drawing.Size(299, 440);
|
||||
//
|
||||
// columnSizeToolStripMenuItem
|
||||
//
|
||||
@@ -444,7 +442,7 @@
|
||||
this.saveToolStripMenuItem,
|
||||
this.loadToolStripMenuItem});
|
||||
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
|
||||
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(304, 36);
|
||||
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.columnSizeToolStripMenuItem.Text = "열 너비";
|
||||
//
|
||||
// autoToolStripMenuItem
|
||||
@@ -482,85 +480,86 @@
|
||||
// toolStripMenuItem2
|
||||
//
|
||||
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
||||
this.toolStripMenuItem2.Size = new System.Drawing.Size(301, 6);
|
||||
this.toolStripMenuItem2.Size = new System.Drawing.Size(295, 6);
|
||||
//
|
||||
// 편집ToolStripMenuItem
|
||||
//
|
||||
this.편집ToolStripMenuItem.Name = "편집ToolStripMenuItem";
|
||||
this.편집ToolStripMenuItem.Size = new System.Drawing.Size(304, 36);
|
||||
this.편집ToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.편집ToolStripMenuItem.Text = "편집";
|
||||
this.편집ToolStripMenuItem.Click += new System.EventHandler(this.편집ToolStripMenuItem_Click);
|
||||
//
|
||||
// partListToolStripMenuItem
|
||||
//
|
||||
this.partListToolStripMenuItem.Name = "partListToolStripMenuItem";
|
||||
this.partListToolStripMenuItem.Size = new System.Drawing.Size(304, 36);
|
||||
this.partListToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.partListToolStripMenuItem.Text = "파트리스트";
|
||||
this.partListToolStripMenuItem.Click += new System.EventHandler(this.partListToolStripMenuItem_Click);
|
||||
//
|
||||
// iOMapToolStripMenuItem
|
||||
//
|
||||
this.iOMapToolStripMenuItem.Name = "iOMapToolStripMenuItem";
|
||||
this.iOMapToolStripMenuItem.Size = new System.Drawing.Size(304, 36);
|
||||
this.iOMapToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.iOMapToolStripMenuItem.Text = "I/O 맵";
|
||||
this.iOMapToolStripMenuItem.Click += new System.EventHandler(this.iOMapToolStripMenuItem_Click);
|
||||
//
|
||||
// 공유폴더ToolStripMenuItem
|
||||
//
|
||||
this.공유폴더ToolStripMenuItem.Name = "공유폴더ToolStripMenuItem";
|
||||
this.공유폴더ToolStripMenuItem.Size = new System.Drawing.Size(304, 36);
|
||||
this.공유폴더ToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.공유폴더ToolStripMenuItem.Text = "공유 폴더";
|
||||
this.공유폴더ToolStripMenuItem.Click += new System.EventHandler(this.공유폴더ToolStripMenuItem_Click);
|
||||
//
|
||||
// scheduleToolStripMenuItem
|
||||
//
|
||||
this.scheduleToolStripMenuItem.ForeColor = System.Drawing.Color.Silver;
|
||||
this.scheduleToolStripMenuItem.ForeColor = System.Drawing.Color.Black;
|
||||
this.scheduleToolStripMenuItem.Name = "scheduleToolStripMenuItem";
|
||||
this.scheduleToolStripMenuItem.Size = new System.Drawing.Size(304, 36);
|
||||
this.scheduleToolStripMenuItem.Text = "스케쥴 관리(개발중)";
|
||||
this.scheduleToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.scheduleToolStripMenuItem.Text = "스케쥴 관리";
|
||||
this.scheduleToolStripMenuItem.Click += new System.EventHandler(this.scheduleToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem3
|
||||
//
|
||||
this.toolStripMenuItem3.Name = "toolStripMenuItem3";
|
||||
this.toolStripMenuItem3.Size = new System.Drawing.Size(301, 6);
|
||||
this.toolStripMenuItem3.Size = new System.Drawing.Size(295, 6);
|
||||
//
|
||||
// 메일발송주소관리ToolStripMenuItem
|
||||
//
|
||||
this.메일발송주소관리ToolStripMenuItem.ForeColor = System.Drawing.Color.Gray;
|
||||
this.메일발송주소관리ToolStripMenuItem.Name = "메일발송주소관리ToolStripMenuItem";
|
||||
this.메일발송주소관리ToolStripMenuItem.Size = new System.Drawing.Size(304, 36);
|
||||
this.메일발송주소관리ToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.메일발송주소관리ToolStripMenuItem.Text = "메일발송 주소 관리";
|
||||
this.메일발송주소관리ToolStripMenuItem.Click += new System.EventHandler(this.메일발송주소관리ToolStripMenuItem_Click);
|
||||
//
|
||||
// makeRepeatToolStripMenuItem
|
||||
//
|
||||
this.makeRepeatToolStripMenuItem.Name = "makeRepeatToolStripMenuItem";
|
||||
this.makeRepeatToolStripMenuItem.Size = new System.Drawing.Size(304, 36);
|
||||
this.makeRepeatToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.makeRepeatToolStripMenuItem.Text = "복사";
|
||||
this.makeRepeatToolStripMenuItem.Click += new System.EventHandler(this.makeRepeatToolStripMenuItem_Click);
|
||||
//
|
||||
// 삭제ToolStripMenuItem
|
||||
//
|
||||
this.삭제ToolStripMenuItem.Name = "삭제ToolStripMenuItem";
|
||||
this.삭제ToolStripMenuItem.Size = new System.Drawing.Size(304, 36);
|
||||
this.삭제ToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.삭제ToolStripMenuItem.Text = "삭제";
|
||||
this.삭제ToolStripMenuItem.Click += new System.EventHandler(this.삭제ToolStripMenuItem_Click);
|
||||
//
|
||||
// 편집ToolStripMenuItem1
|
||||
//
|
||||
this.편집ToolStripMenuItem1.Name = "편집ToolStripMenuItem1";
|
||||
this.편집ToolStripMenuItem1.Size = new System.Drawing.Size(304, 36);
|
||||
this.편집ToolStripMenuItem1.Size = new System.Drawing.Size(298, 36);
|
||||
this.편집ToolStripMenuItem1.Text = "편집";
|
||||
//
|
||||
// toolStripMenuItem1
|
||||
//
|
||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(301, 6);
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(295, 6);
|
||||
//
|
||||
// 엑셀파일로저장ToolStripMenuItem
|
||||
//
|
||||
this.엑셀파일로저장ToolStripMenuItem.Name = "엑셀파일로저장ToolStripMenuItem";
|
||||
this.엑셀파일로저장ToolStripMenuItem.Size = new System.Drawing.Size(304, 36);
|
||||
this.엑셀파일로저장ToolStripMenuItem.Size = new System.Drawing.Size(298, 36);
|
||||
this.엑셀파일로저장ToolStripMenuItem.Text = "목록 내보내기";
|
||||
this.엑셀파일로저장ToolStripMenuItem.Click += new System.EventHandler(this.엑셀파일로저장ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -575,6 +574,7 @@
|
||||
this.tam.EETGW_JobReport_EBoardTableAdapter = null;
|
||||
this.tam.EETGW_NoteTableAdapter = null;
|
||||
this.tam.EETGW_ProjecthistoryDTableAdapter = null;
|
||||
this.tam.EETGW_ProjectsScheduleTableAdapter = null;
|
||||
this.tam.EETGW_ProjectToDoTableAdapter = null;
|
||||
this.tam.EETGW_SaveCostTableAdapter = null;
|
||||
this.tam.JobReportTableAdapter = null;
|
||||
@@ -657,118 +657,118 @@
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 17).Value = "CR/CF#";
|
||||
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;
|
||||
numberCellType16.DecimalPlaces = 0;
|
||||
numberCellType16.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType16.MaximumValue = 2147483647D;
|
||||
numberCellType16.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType16;
|
||||
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).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).CellType = textCellType43;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "status";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Tag = "state";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 78F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType44;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "edate";
|
||||
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(3).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType45;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "category";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType46;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "part";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType47;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "process";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 78F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType48;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "reqstaff";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 78F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType49;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "userManager";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 78F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType50;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "usermain";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "H/W";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 78F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType51;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "userhw2";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Label = "전장";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType52;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "usersub";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Label = "S/W";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Width = 78F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType53;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "asset";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Label = "Asset No.";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Width = 78F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType12;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType54;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "name";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Width = 78F;
|
||||
numberCellType2.DecimalPlaces = 0;
|
||||
numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType2.MaximumValue = 2147483647D;
|
||||
numberCellType2.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType2;
|
||||
numberCellType17.DecimalPlaces = 0;
|
||||
numberCellType17.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType17.MaximumValue = 2147483647D;
|
||||
numberCellType17.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType17;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "cnt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Width = 59F;
|
||||
numberCellType3.MaximumValue = 999999999999999D;
|
||||
numberCellType3.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType3;
|
||||
numberCellType18.MaximumValue = 999999999999999D;
|
||||
numberCellType18.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType18;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "costo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
numberCellType4.MaximumValue = 999999999999999D;
|
||||
numberCellType4.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType4;
|
||||
numberCellType19.MaximumValue = 999999999999999D;
|
||||
numberCellType19.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType19;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "costn";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType5.MaximumValue = 999999999999999D;
|
||||
numberCellType5.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType5;
|
||||
numberCellType20.MaximumValue = 999999999999999D;
|
||||
numberCellType20.MinimumValue = -999999999999999D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType20;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "coste";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType13;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType55;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "orderno";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Label = "CR/CF#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType14;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType56;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "memo";
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
@@ -892,7 +892,6 @@
|
||||
// tbRequest
|
||||
//
|
||||
this.tbRequest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbRequest.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.tbRequest.Name = "tbRequest";
|
||||
this.tbRequest.Size = new System.Drawing.Size(120, 25);
|
||||
this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
@@ -1004,6 +1003,7 @@
|
||||
this.richTextBox2.Size = new System.Drawing.Size(577, 140);
|
||||
this.richTextBox2.TabIndex = 1;
|
||||
this.richTextBox2.Text = "";
|
||||
this.richTextBox2.TextChanged += new System.EventHandler(this.richTextBox2_TextChanged);
|
||||
//
|
||||
// tableLayoutPanel2
|
||||
//
|
||||
|
||||
@@ -698,8 +698,8 @@ namespace FPJ0000
|
||||
if (tbPath.StartsWith("/")) tbPath = tbPath.Replace("/", "\\");
|
||||
else tbPath = "\\" + tbPath;
|
||||
}
|
||||
|
||||
var serverpath = @"\\10.131.32.29\Data\Project";
|
||||
//\\10.131.32.29\Data
|
||||
var serverpath = Properties.Settings.Default.SharePath + @"\Project";
|
||||
if (System.IO.Directory.Exists(serverpath) == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("프로젝트 기본경로가 존재하지 않아 진행할 수 없습니다\n\n" +
|
||||
@@ -743,5 +743,10 @@ namespace FPJ0000
|
||||
{
|
||||
refreshData();
|
||||
}
|
||||
|
||||
private void richTextBox2_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -230,36 +230,39 @@
|
||||
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIxSURBVDhPpZL9T1JxGMXvf9TWpq50rtEWlSUSuEhbtNmm
|
||||
qzVXU9ewAI2pGZWzZimhu5mUjohorLKEFIeSRhq5Xu1Fe4FLIBBB2bqne7/cKZf8qT7b2d3uc87Zs+8e
|
||||
6r8xOj6i7eYCDNb30A/O48TAG2joV4+EsYj+sai2b3Rpse9hBGZXGD0PwqCS6V/IVV2njxUyImh39Huu
|
||||
lzrlbYbBo4V+VIPjrgbys9b0DEJGRK/7K5kPzF0GHbgE88wFUMiBNxy8OLtmgWkkTObZUBZPCNniDQfO
|
||||
+0UFlRa5spzeCVm3FKoeuchPWSeCQleGcDwN9bmplYJKS6lS0VHCNo00onWsCWUd20mQZ3A8mCmw+0Kw
|
||||
TwbhnA7i7ZcE9rRPkgJVf6lSfmYbq7lbh92mMhSfLIC0ZTOGvCFYeU0wf2/w+lMc5S1eKOkdFbLTUrbB
|
||||
WQuJrpAt0uVtNd5aRDy1DJuPIV479yUFZAtuAxunaut+KHpLUHVtL444DmGTbgO7Ubd+C79Rq+0DYsll
|
||||
OKYY3J7OiBp+wiCRWn1Z9ZUK6N0aHLZXo1hXwOY3ZsI8zUPvsPTtJ+74Mxvcn+EOyfmYQbZU3QpI2gpR
|
||||
pM9D/rF1K2Ee7fV5UjDMBfkwKbjBPUQ2LxZiUBu9a96B5upLRLkC19Mw8boDXAEfyJWs3f1byIiop58j
|
||||
kvgBJpbG50gKC0wS1C6DB7mS1N+zCxkRR81z4zVdgWRN1yyqOv3Yd3b1Xv4RivoDC24tGxJwwQYAAAAA
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIxSURBVDhPpZL9T1JxGMXvf9TWpq50rtEWlaUSuEhbtNmm
|
||||
qzVXU9ewAI2pMZa9zVJCdzMpHRHRWGUJKQ4xjTRyvdoL9gKXQCCCsnVP9365Uy75U322s7vd55yzZ989
|
||||
1H9jdHxE580g9Nb30A0t4MTgG6jpV4+EsYiB8Zimf2xpsf9hFGZXBL0PIqBSmV/IV+NZHytkRNDu2Pd8
|
||||
L3XK2wa9RwPdmBrHXc3kZ4PpGYSMiD73VzIfnL8MOnAJ5tkLoJAHbzh4cW7NAtNohMxzoSyeMHLFGw6c
|
||||
94sKaiwyRRW9ExU9Uih7ZSI/ZZ0MCV1ZIokMVF3TKwU1lnKFvKuMbR1tQcd4KyrPbCdBnqGJULbAPhWG
|
||||
3ReCcyaEt1+S2GPwkQLlQLlCZtzGqu82YrepEqUniyBt34xhbxhWXpPM3xu8/pRAVbsXCnpHdYVByjY7
|
||||
GyDRFrMl2oKtxluLSKSXYZtiiNfOfUkB2YLbwMapzrof8r4y1F7biyOOQ9ik3cBu1K7fwm/UYfuAeGoZ
|
||||
jmkGt2eyokaeMEimV19WdaUaOrcah+11KNUWsYUt2TBP2/A7LH37iTv+7Ab3Z7lDcj5mkCtljxySzmKU
|
||||
6ApQeGzdSphHc32BFIxwQT5MCm5wD5HLi2AcKqN3zTtQX32JGFfgehohXneAK+AD+So3uH8LGRFN9HNE
|
||||
kz/AxDP4HE0jyKRA7dJ7kC9J0z27kBFx1Dw/Ud8dSNV3z6H2nB/7Tq/eyz9CUX8A/U0tFfLjRd0AAAAA
|
||||
SUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ8SURBVDhPpZFLTBNRGIVn4Z6dexduRCSKVBcmLFyxM/ER
|
||||
dhqNGzDRYMLCBUoMiI9geIgEEaMgryKoRWxrCMFAS0Eo0hGH0tZpKZVWYMpM59HpdI63ZRRcmPg4uScz
|
||||
d3K/8///Heq/tTBUMBd8e1INWU/v8Cl1afio3/fiwG5/X0HOL35XkDM6WrTLwCnK3WNSdD0NQCcr4633
|
||||
lBxDeLQ0uew8p/xwZOayHHSWB5lXh84YOEXRg4VxXZOhhOsgBuohsk8gBfuhpziSlYCuCcSbW/vUBhI8
|
||||
l2QGTLSBU5S36yCfVjcJ3ISErxH8pyqsT5UiNn0JnKca3PwNcHPXsOGuIC4nnUXhHTgsGDgJMBeqKWkV
|
||||
HN2EjdlaRMeuQoq6SFXeqJ55xn92kBnPbc6XDTzTwRE1O39aIZYATcyCmsRAiTwATffC4phE+wiL7vEV
|
||||
2N0huDqOKQZOAppNSV2ToPGTSHE2qGv9SK62QV6+C898B4Zmolj6KuLLmgKXn4d17hteW9o0Ayd/odWk
|
||||
pFUe6roFyWhntqocqoYUqECfI4KFsIApVoIjIGKC2BNR0POehYGTgPv5sq5yBH4KZaUecrCKwOUQvRey
|
||||
bftiChz+BMZ9CYwwAmZCCjrHwtsBi7fzIlKcjkfnu9OJpXYI3mYITB2EzzXoITMvrIgY827BGX9YVtA6
|
||||
vLgdwNTkXmFq93fRt/bF3LV58k6/GXysuXw8ZgnkZGVMk+qWjwLqWrp1W+Xxs0bE79VgY/e02tnrZnIX
|
||||
vRMRPLLT6XstZt1jbcNkYwn/vCy3xDj653pZWXzR+fA8F7A1YPhmkWh8/js9K9tbYq0qlux3Tmzfxb+J
|
||||
or4D2CMlTsoxq5sAAAAASUVORK5CYII=
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ9SURBVDhPpZFLTBNRGIVn4Z6dexduRCSKVBMXLNzozqgx
|
||||
7Eg0bsBEgwkLFwgxIErE8LIJEIyCvAW1WGkNIRhoCwgFOmIpbZ2WUmmFTpnpPDqdzvG2jIILEx8n92Tm
|
||||
Tu53/v+/Q/23VkYLFgPmi0rw3eV9vqSsmU/7vC+PHfQNFOT84vcFORMTRQd0nKIWeg2ypqUBaGRlvPue
|
||||
kqIITZQm1+0l8g+H529KAXt5wP36xBUdpyh6pDCuqRLkUAMEfyME5inEwBC0FEuyEtBUnnhnd5+Kgd+J
|
||||
Jd3DBlrHKcrTc5xLKzsEbkHC2wzuUzW2Z0sRnbsB1lUDdrkK7OIdxJwVxOWkswg8wyd5HScBg4VKStwE
|
||||
S7cgtlCHyORtiJEZUpXTq2ee8Z8dZMZzDuZLOp7p4JSSnT8tE4uAKmRBVXRDDreCpvthsjnQOc6gd2oD
|
||||
VmcQjq4zso6TgFZDUlNFqJwDKdYCZWsIyc0OSOv1cC13YXQ+grWvAr5syZjxcRhb/IY3pnZVx8lfaDPI
|
||||
aYWDsm1CMtKdrSoFayD6KzBgC2MlxGOWEWHzC5gmdoVl9H1goOMU5XycL2kKS+BnkDcaIQWqCVwOwXMt
|
||||
27Y3KsPmS2DKm8C4m8d8UEb3ZGgvYPVBXliM0/HNpd50Yq0TvOcJeHcD+M+16CMzr2wImPTswhl/XJfR
|
||||
Zl7dC3DX5t5y1x3toe8fiTrr8qT9fjvSoc54OSwQyM5ImCPVTUs8Hhl7NEvl2RI94vdqsjCH2qzM3UFy
|
||||
F/3TYbRbXel644DmGuuAo7mYe1GWW6wf/XO9qjx/3W68yvotTTDfKxL0z3+n52WHi8eqzonWhxf27uLf
|
||||
RFHfAYHRJStazxuMAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>387, 17</value>
|
||||
</metadata>
|
||||
@@ -317,12 +320,21 @@
|
||||
<metadata name="bsHist.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>561, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bsHist.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>561, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bsHist.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>561, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>731, 17</value>
|
||||
</metadata>
|
||||
<metadata name="taHist.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>647, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>731, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>169, 56</value>
|
||||
</metadata>
|
||||
|
||||
208
SubProject/FPJ0000/Project/fProjectSchedule.Designer.cs
generated
208
SubProject/FPJ0000/Project/fProjectSchedule.Designer.cs
generated
@@ -42,9 +42,12 @@
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
this.dsPRJ = new FPJ0000.dsPRJ();
|
||||
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
|
||||
this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_ProjectsScheduleTableAdapter();
|
||||
this.taTodo = new FPJ0000.dsPRJTableAdapters.EETGW_ProjectToDoTableAdapter();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
@@ -60,6 +63,7 @@
|
||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.projectsScheduleBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton10 = new System.Windows.Forms.ToolStripButton();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
@@ -70,13 +74,14 @@
|
||||
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.exportListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_ProjectsScheduleTableAdapter();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.fpSpread2 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.fpSpread2_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.bsTodo = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.bnTodo = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
@@ -91,10 +96,7 @@
|
||||
this.toolStripButton7 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton8 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton9 = new System.Windows.Forms.ToolStripButton();
|
||||
this.taTodo = new FPJ0000.dsPRJTableAdapters.EETGW_ProjectToDoTableAdapter();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.fpSpread2_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
@@ -106,10 +108,10 @@
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread2_Sheet1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsTodo)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bnTodo)).BeginInit();
|
||||
this.bnTodo.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread2_Sheet1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dsPRJ
|
||||
@@ -137,6 +139,14 @@
|
||||
this.tam.SPMasterTableAdapter = null;
|
||||
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// taTodo
|
||||
//
|
||||
this.taTodo.ClearBeforeFill = true;
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = null;
|
||||
@@ -157,7 +167,8 @@
|
||||
this.bindingNavigatorAddNewItem,
|
||||
this.bindingNavigatorDeleteItem,
|
||||
this.projectsScheduleBindingNavigatorSaveItem,
|
||||
this.toolStripButton1});
|
||||
this.toolStripButton1,
|
||||
this.toolStripButton10});
|
||||
this.bn.Location = new System.Drawing.Point(5, 275);
|
||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
@@ -165,7 +176,7 @@
|
||||
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bn.Name = "bn";
|
||||
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bn.Size = new System.Drawing.Size(1098, 25);
|
||||
this.bn.Size = new System.Drawing.Size(1127, 25);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
@@ -209,7 +220,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";
|
||||
@@ -270,6 +280,7 @@
|
||||
this.projectsScheduleBindingNavigatorSaveItem.Name = "projectsScheduleBindingNavigatorSaveItem";
|
||||
this.projectsScheduleBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.projectsScheduleBindingNavigatorSaveItem.Text = "데이터 저장";
|
||||
this.projectsScheduleBindingNavigatorSaveItem.Visible = false;
|
||||
this.projectsScheduleBindingNavigatorSaveItem.Click += new System.EventHandler(this.projectsScheduleBindingNavigatorSaveItem_Click);
|
||||
//
|
||||
// toolStripButton1
|
||||
@@ -280,17 +291,28 @@
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(66, 22);
|
||||
this.toolStripButton1.Text = "Refresh";
|
||||
this.toolStripButton1.Visible = false;
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// toolStripButton10
|
||||
//
|
||||
this.toolStripButton10.Image = global::FPJ0000.Properties.Resources.accept;
|
||||
this.toolStripButton10.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton10.Name = "toolStripButton10";
|
||||
this.toolStripButton10.Size = new System.Drawing.Size(99, 22);
|
||||
this.toolStripButton10.Text = "기본목록생성";
|
||||
this.toolStripButton10.Click += new System.EventHandler(this.toolStripButton10_Click);
|
||||
//
|
||||
// fpSpread1
|
||||
//
|
||||
this.fpSpread1.AccessibleDescription = "";
|
||||
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.fpSpread1.EditModeReplace = true;
|
||||
this.fpSpread1.Location = new System.Drawing.Point(5, 19);
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(1098, 256);
|
||||
this.fpSpread1.Size = new System.Drawing.Size(1127, 256);
|
||||
this.fpSpread1.TabIndex = 1;
|
||||
//
|
||||
// fpSpread1_Sheet1
|
||||
@@ -299,7 +321,7 @@
|
||||
this.fpSpread1_Sheet1.SheetName = "Sheet1";
|
||||
// Formulas and custom names must be loaded with R1C1 reference style
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 8;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 9;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
@@ -315,7 +337,9 @@
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "Actual(WW)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "진행";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "비고";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "담당자";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "비고";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 2).Value = "시작";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 3).Value = "완료";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 4).Value = "시작";
|
||||
@@ -380,9 +404,13 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "%";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "memo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "uid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "memo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
@@ -452,10 +480,6 @@
|
||||
this.exportListToolStripMenuItem.Text = "Export List";
|
||||
this.exportListToolStripMenuItem.Click += new System.EventHandler(this.exportListToolStripMenuItem_Click);
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.fpSpread1);
|
||||
@@ -464,7 +488,7 @@
|
||||
this.groupBox1.Location = new System.Drawing.Point(5, 5);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.groupBox1.Size = new System.Drawing.Size(1108, 305);
|
||||
this.groupBox1.Size = new System.Drawing.Size(1137, 305);
|
||||
this.groupBox1.TabIndex = 2;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "Schedule";
|
||||
@@ -476,19 +500,21 @@
|
||||
this.groupBox2.Location = new System.Drawing.Point(5, 310);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.groupBox2.Size = new System.Drawing.Size(541, 351);
|
||||
this.groupBox2.Size = new System.Drawing.Size(654, 356);
|
||||
this.groupBox2.TabIndex = 3;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "Time Table";
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.Red;
|
||||
this.panel1.BackColor = System.Drawing.Color.Black;
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(5, 19);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(531, 327);
|
||||
this.panel1.Size = new System.Drawing.Size(644, 332);
|
||||
this.panel1.TabIndex = 0;
|
||||
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
|
||||
this.panel1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseClick);
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
@@ -496,10 +522,10 @@
|
||||
this.groupBox3.Controls.Add(this.textBox1);
|
||||
this.groupBox3.Controls.Add(this.bnTodo);
|
||||
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.groupBox3.Location = new System.Drawing.Point(546, 310);
|
||||
this.groupBox3.Location = new System.Drawing.Point(659, 310);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.groupBox3.Size = new System.Drawing.Size(567, 351);
|
||||
this.groupBox3.Size = new System.Drawing.Size(483, 356);
|
||||
this.groupBox3.TabIndex = 4;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "Todo";
|
||||
@@ -508,18 +534,74 @@
|
||||
//
|
||||
this.fpSpread2.AccessibleDescription = "";
|
||||
this.fpSpread2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.fpSpread2.EditModeReplace = true;
|
||||
this.fpSpread2.Location = new System.Drawing.Point(5, 19);
|
||||
this.fpSpread2.Name = "fpSpread2";
|
||||
this.fpSpread2.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread2_Sheet1});
|
||||
this.fpSpread2.Size = new System.Drawing.Size(557, 231);
|
||||
this.fpSpread2.Size = new System.Drawing.Size(473, 236);
|
||||
this.fpSpread2.TabIndex = 1;
|
||||
//
|
||||
// fpSpread2_Sheet1
|
||||
//
|
||||
this.fpSpread2_Sheet1.Reset();
|
||||
this.fpSpread2_Sheet1.SheetName = "Sheet1";
|
||||
// Formulas and custom names must be loaded with R1C1 reference style
|
||||
this.fpSpread2_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
|
||||
this.fpSpread2_Sheet1.ColumnCount = 5;
|
||||
this.fpSpread2_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread2_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread2_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "No";
|
||||
this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "항목";
|
||||
this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "시작일";
|
||||
this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "완료일";
|
||||
this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "진행";
|
||||
this.fpSpread2_Sheet1.ColumnHeader.Rows.Get(0).Height = 31F;
|
||||
this.fpSpread2_Sheet1.Columns.Get(0).CellType = textCellType4;
|
||||
this.fpSpread2_Sheet1.Columns.Get(0).DataField = "sort";
|
||||
this.fpSpread2_Sheet1.Columns.Get(0).Label = "No";
|
||||
this.fpSpread2_Sheet1.Columns.Get(0).Width = 58F;
|
||||
this.fpSpread2_Sheet1.Columns.Get(1).CellType = textCellType5;
|
||||
this.fpSpread2_Sheet1.Columns.Get(1).DataField = "title";
|
||||
this.fpSpread2_Sheet1.Columns.Get(1).Label = "항목";
|
||||
this.fpSpread2_Sheet1.Columns.Get(1).Width = 151F;
|
||||
this.fpSpread2_Sheet1.Columns.Get(2).CellType = textCellType6;
|
||||
this.fpSpread2_Sheet1.Columns.Get(2).DataField = "pdate";
|
||||
this.fpSpread2_Sheet1.Columns.Get(2).Label = "시작일";
|
||||
this.fpSpread2_Sheet1.Columns.Get(2).Width = 84F;
|
||||
this.fpSpread2_Sheet1.Columns.Get(3).CellType = textCellType7;
|
||||
this.fpSpread2_Sheet1.Columns.Get(3).DataField = "edate";
|
||||
this.fpSpread2_Sheet1.Columns.Get(3).Label = "완료일";
|
||||
this.fpSpread2_Sheet1.Columns.Get(3).Width = 76F;
|
||||
numberCellType7.DecimalPlaces = 0;
|
||||
numberCellType7.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType7.MaximumValue = 2147483647D;
|
||||
numberCellType7.MinimumValue = -2147483648D;
|
||||
this.fpSpread2_Sheet1.Columns.Get(4).CellType = numberCellType7;
|
||||
this.fpSpread2_Sheet1.Columns.Get(4).DataField = "process";
|
||||
this.fpSpread2_Sheet1.Columns.Get(4).Label = "진행";
|
||||
this.fpSpread2_Sheet1.Columns.Get(4).Width = 77F;
|
||||
this.fpSpread2_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread2_Sheet1.DataSource = this.bsTodo;
|
||||
this.fpSpread2_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread2_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// bsTodo
|
||||
//
|
||||
this.bsTodo.DataMember = "EETGW_ProjectToDo";
|
||||
this.bsTodo.DataSource = this.dsPRJ;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsTodo, "remark", true));
|
||||
this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.textBox1.Location = new System.Drawing.Point(5, 255);
|
||||
this.textBox1.Multiline = true;
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(473, 71);
|
||||
this.textBox1.TabIndex = 3;
|
||||
//
|
||||
// bnTodo
|
||||
//
|
||||
this.bnTodo.AddNewItem = null;
|
||||
@@ -541,14 +623,14 @@
|
||||
this.toolStripButton7,
|
||||
this.toolStripButton8,
|
||||
this.toolStripButton9});
|
||||
this.bnTodo.Location = new System.Drawing.Point(5, 321);
|
||||
this.bnTodo.Location = new System.Drawing.Point(5, 326);
|
||||
this.bnTodo.MoveFirstItem = this.toolStripButton2;
|
||||
this.bnTodo.MoveLastItem = this.toolStripButton5;
|
||||
this.bnTodo.MoveNextItem = this.toolStripButton4;
|
||||
this.bnTodo.MovePreviousItem = this.toolStripButton3;
|
||||
this.bnTodo.Name = "bnTodo";
|
||||
this.bnTodo.PositionItem = this.toolStripTextBox1;
|
||||
this.bnTodo.Size = new System.Drawing.Size(557, 25);
|
||||
this.bnTodo.Size = new System.Drawing.Size(473, 25);
|
||||
this.bnTodo.TabIndex = 2;
|
||||
this.bnTodo.Text = "bindingNavigator1";
|
||||
//
|
||||
@@ -586,7 +668,6 @@
|
||||
//
|
||||
this.toolStripTextBox1.AccessibleName = "위치";
|
||||
this.toolStripTextBox1.AutoSize = false;
|
||||
this.toolStripTextBox1.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.toolStripTextBox1.Name = "toolStripTextBox1";
|
||||
this.toolStripTextBox1.Size = new System.Drawing.Size(50, 23);
|
||||
this.toolStripTextBox1.Text = "0";
|
||||
@@ -647,6 +728,7 @@
|
||||
this.toolStripButton8.Name = "toolStripButton8";
|
||||
this.toolStripButton8.Size = new System.Drawing.Size(23, 22);
|
||||
this.toolStripButton8.Text = "데이터 저장";
|
||||
this.toolStripButton8.Visible = false;
|
||||
this.toolStripButton8.Click += new System.EventHandler(this.toolStripButton8_Click);
|
||||
//
|
||||
// toolStripButton9
|
||||
@@ -657,83 +739,25 @@
|
||||
this.toolStripButton9.Name = "toolStripButton9";
|
||||
this.toolStripButton9.Size = new System.Drawing.Size(66, 22);
|
||||
this.toolStripButton9.Text = "Refresh";
|
||||
this.toolStripButton9.Visible = false;
|
||||
this.toolStripButton9.Click += new System.EventHandler(this.toolStripButton9_Click);
|
||||
//
|
||||
// taTodo
|
||||
//
|
||||
this.taTodo.ClearBeforeFill = true;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.button1.Location = new System.Drawing.Point(5, 661);
|
||||
this.button1.Location = new System.Drawing.Point(5, 666);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(1108, 38);
|
||||
this.button1.Size = new System.Drawing.Size(1137, 38);
|
||||
this.button1.TabIndex = 5;
|
||||
this.button1.Text = "저장";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsTodo, "remark", true));
|
||||
this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.textBox1.Location = new System.Drawing.Point(5, 250);
|
||||
this.textBox1.Multiline = true;
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(557, 71);
|
||||
this.textBox1.TabIndex = 3;
|
||||
//
|
||||
// fpSpread2_Sheet1
|
||||
//
|
||||
this.fpSpread2_Sheet1.Reset();
|
||||
this.fpSpread2_Sheet1.SheetName = "Sheet1";
|
||||
// Formulas and custom names must be loaded with R1C1 reference style
|
||||
this.fpSpread2_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
|
||||
this.fpSpread2_Sheet1.ColumnCount = 5;
|
||||
this.fpSpread2_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread2_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread2_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "No";
|
||||
this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "항목";
|
||||
this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "시작일";
|
||||
this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "완료일";
|
||||
this.fpSpread2_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "진행";
|
||||
this.fpSpread2_Sheet1.ColumnHeader.Rows.Get(0).Height = 31F;
|
||||
this.fpSpread2_Sheet1.Columns.Get(0).CellType = textCellType3;
|
||||
this.fpSpread2_Sheet1.Columns.Get(0).DataField = "sort";
|
||||
this.fpSpread2_Sheet1.Columns.Get(0).Label = "No";
|
||||
this.fpSpread2_Sheet1.Columns.Get(0).Width = 58F;
|
||||
this.fpSpread2_Sheet1.Columns.Get(1).CellType = textCellType4;
|
||||
this.fpSpread2_Sheet1.Columns.Get(1).DataField = "title";
|
||||
this.fpSpread2_Sheet1.Columns.Get(1).Label = "항목";
|
||||
this.fpSpread2_Sheet1.Columns.Get(1).Width = 151F;
|
||||
this.fpSpread2_Sheet1.Columns.Get(2).CellType = textCellType5;
|
||||
this.fpSpread2_Sheet1.Columns.Get(2).DataField = "pdate";
|
||||
this.fpSpread2_Sheet1.Columns.Get(2).Label = "시작일";
|
||||
this.fpSpread2_Sheet1.Columns.Get(2).Width = 84F;
|
||||
this.fpSpread2_Sheet1.Columns.Get(3).CellType = textCellType6;
|
||||
this.fpSpread2_Sheet1.Columns.Get(3).DataField = "edate";
|
||||
this.fpSpread2_Sheet1.Columns.Get(3).Label = "완료일";
|
||||
this.fpSpread2_Sheet1.Columns.Get(3).Width = 76F;
|
||||
numberCellType7.DecimalPlaces = 0;
|
||||
numberCellType7.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType7.MaximumValue = 2147483647D;
|
||||
numberCellType7.MinimumValue = -2147483648D;
|
||||
this.fpSpread2_Sheet1.Columns.Get(4).CellType = numberCellType7;
|
||||
this.fpSpread2_Sheet1.Columns.Get(4).DataField = "process";
|
||||
this.fpSpread2_Sheet1.Columns.Get(4).Label = "진행";
|
||||
this.fpSpread2_Sheet1.Columns.Get(4).Width = 77F;
|
||||
this.fpSpread2_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread2_Sheet1.DataSource = this.bsTodo;
|
||||
this.fpSpread2_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread2_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// fProjectSchedule
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1118, 704);
|
||||
this.ClientSize = new System.Drawing.Size(1147, 709);
|
||||
this.Controls.Add(this.groupBox2);
|
||||
this.Controls.Add(this.groupBox3);
|
||||
this.Controls.Add(this.button1);
|
||||
@@ -742,6 +766,7 @@
|
||||
this.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.Text = "스케쥴 관리";
|
||||
this.Load += new System.EventHandler(this.fProjectSchedule_Load);
|
||||
this.SizeChanged += new System.EventHandler(this.fProjectSchedule_SizeChanged);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
@@ -756,11 +781,11 @@
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
this.groupBox3.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread2_Sheet1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsTodo)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bnTodo)).EndInit();
|
||||
this.bnTodo.ResumeLayout(false);
|
||||
this.bnTodo.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread2_Sheet1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -794,7 +819,6 @@
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private dsPRJTableAdapters.EETGW_ProjectsScheduleTableAdapter ta;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
@@ -819,5 +843,7 @@
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread2_Sheet1;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton10;
|
||||
}
|
||||
}
|
||||
@@ -15,12 +15,34 @@ namespace FPJ0000
|
||||
int projectindex = 0;
|
||||
EEEntities db;
|
||||
List<EETGW_ProjectsSchedule> list;
|
||||
Boolean bini = false;
|
||||
public fProjectSchedule(int project_)
|
||||
{
|
||||
InitializeComponent();
|
||||
projectindex = project_;
|
||||
db = new EEEntities();//this.dsPRJ.ProjectsSchedule.TableNewRow += ProjectsSchedule_TableNewRow;
|
||||
fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
this.FormClosed += FProjectSchedule_FormClosed;
|
||||
this.FormClosing += FProjectSchedule_FormClosing;
|
||||
}
|
||||
|
||||
private void FProjectSchedule_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (dsPRJ.HasChanges())
|
||||
{
|
||||
var dlg = FCOMMON.Util.MsgQ("변경된 자료가 있습니다. 지금 화면을 닫으면 해당 자료는 손실됩니다\n화면을 닫을까요?");
|
||||
if (dlg != DialogResult.Yes)
|
||||
{
|
||||
e.Cancel = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void FProjectSchedule_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
|
||||
this.dsPRJ.EETGW_ProjectsSchedule.RowChanged += EETGW_ProjectsSchedule_RowChanged;
|
||||
}
|
||||
|
||||
void ProjectsSchedule_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
@@ -33,7 +55,32 @@ namespace FPJ0000
|
||||
private void fProjectSchedule_Load(object sender, EventArgs e)
|
||||
{
|
||||
RefreshData();
|
||||
|
||||
RefreshGraph();
|
||||
this.dsPRJ.EETGW_ProjectsSchedule.RowChanged += EETGW_ProjectsSchedule_RowChanged;
|
||||
bini = true;
|
||||
|
||||
//시작할떄 cww 를 가져오낟.
|
||||
var sql = "select dbo.getWorkWeek('" + DateTime.Now.ToShortDateString() + "')";
|
||||
var cmd = new System.Data.SqlClient.SqlCommand(sql, this.ta.Connection);
|
||||
cmd.Connection.Open();
|
||||
var wccstr = cmd.ExecuteScalar();
|
||||
CWW = int.Parse(wccstr.ToString());
|
||||
cmd.Connection.Dispose();
|
||||
cmd.Dispose();
|
||||
|
||||
}
|
||||
|
||||
int CWW = 0;
|
||||
|
||||
private void EETGW_ProjectsSchedule_RowChanged(object sender, DataRowChangeEventArgs e)
|
||||
{
|
||||
if (bini == false) return;
|
||||
RefreshGraph();
|
||||
}
|
||||
|
||||
void RefreshGraph()
|
||||
{
|
||||
panel1.Invalidate();
|
||||
}
|
||||
void RefreshData()
|
||||
{
|
||||
@@ -57,11 +104,12 @@ namespace FPJ0000
|
||||
this.bs.EndEdit();
|
||||
this.ta.Update(this.dsPRJ.EETGW_ProjectsSchedule);
|
||||
dsPRJ.EETGW_ProjectsSchedule.AcceptChanges();
|
||||
RefreshGraph();
|
||||
}
|
||||
|
||||
private void fillToolStripButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -111,6 +159,11 @@ namespace FPJ0000
|
||||
newdr.seq = this.bs.Count + 1;
|
||||
newdr.gcode = FCOMMON.info.Login.gcode;
|
||||
dsPRJ.EETGW_ProjectsSchedule.AddEETGW_ProjectsScheduleRow(newdr);
|
||||
|
||||
this.bs.EndEdit();
|
||||
this.fpSpread1.Focus();
|
||||
if (this.bs.Count > 0)
|
||||
this.bs.Position = this.bs.Count - 1;
|
||||
}
|
||||
|
||||
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
|
||||
@@ -129,7 +182,7 @@ namespace FPJ0000
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsPRJ.EETGW_ProjectsScheduleRow;
|
||||
if(dr.idx == -1)
|
||||
if (dr.idx == -1)
|
||||
{
|
||||
this.fpSpread2.Enabled = false;
|
||||
bnTodo.Enabled = false;
|
||||
@@ -156,6 +209,12 @@ namespace FPJ0000
|
||||
newdr.pidx = this.projectindex;
|
||||
newdr.pseq = dr.idx;
|
||||
this.dsPRJ.EETGW_ProjectToDo.AddEETGW_ProjectToDoRow(newdr);
|
||||
|
||||
bsTodo.EndEdit();
|
||||
this.fpSpread2.Focus();
|
||||
|
||||
if (this.bsTodo.Count > 0)
|
||||
this.bsTodo.Position = this.bsTodo.Count - 1;
|
||||
}
|
||||
|
||||
private void toolStripButton9_Click(object sender, EventArgs e)
|
||||
@@ -171,14 +230,239 @@ namespace FPJ0000
|
||||
|
||||
private void toolStripButton8_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
this.bsTodo.EndEdit();
|
||||
var cnt = taTodo.Update(this.dsPRJ.EETGW_ProjectToDo);
|
||||
FCOMMON.Util.MsgI($"{cnt}건의 자료가 업데이트 되었습니다");
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.tam.UpdateAll(this.dsPRJ);
|
||||
this.Close();
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
this.bsTodo.EndEdit();
|
||||
if (this.dsPRJ.HasChanges() == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("변경된 내용이 없습니다");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
var cnt = this.tam.UpdateAll(this.dsPRJ);
|
||||
if (cnt == 0)
|
||||
{
|
||||
FCOMMON.Util.MsgE("저장된 자료가 없습니다");
|
||||
}
|
||||
else
|
||||
{
|
||||
FCOMMON.Util.MsgI($"{cnt}건의 자료가 저장 되었습니다");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void panel1_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
var list = this.dsPRJ.EETGW_ProjectsSchedule.Where(t => t.RowState != DataRowState.Deleted).Where(t => t.RowState != DataRowState.Detached).OrderBy(t => t.seq).ToList();
|
||||
e.Graphics.Clear(Color.DimGray);
|
||||
//e.Graphics.DrawString(list.Count.ToString(), this.Font, Brushes.White, 10, 10);
|
||||
var colsize = new int[] { 50 };
|
||||
var cols = new List<string>();
|
||||
cols.Add("Item");
|
||||
|
||||
if (list == null || list.Count < 1) return;
|
||||
|
||||
var vsw = list.Max(t => t.sw);
|
||||
var vew = list.Max(t => t.ew);
|
||||
var vswa = list.Max(t => t.swa);
|
||||
var vewa = list.Max(t => t.ewa);
|
||||
|
||||
var maxw = Math.Max(vsw, vew);
|
||||
maxw = Math.Max(maxw, vswa);
|
||||
maxw = Math.Max(maxw, vewa);
|
||||
if (maxw == 0) return; //값이 없다.
|
||||
|
||||
|
||||
var mvsw = list.Min(t => t.sw);
|
||||
var mvew = list.Min(t => t.ew);
|
||||
var mvswa = list.Min(t => t.swa);
|
||||
var mvewa = list.Min(t => t.ewa);
|
||||
|
||||
var minw = 999;
|
||||
if (mvsw > 0) minw = Math.Min(minw, mvsw);
|
||||
if (mvew > 0) minw = Math.Min(minw, mvew);
|
||||
if (mvswa > 0) minw = Math.Min(minw, mvswa);
|
||||
if (mvewa > 0) minw = Math.Min(minw, mvewa);
|
||||
if (minw == 999) return; //값이 없다.
|
||||
|
||||
|
||||
var wwcnt = maxw - minw + 1;
|
||||
for (int i = 1; i <= wwcnt; i++)
|
||||
{
|
||||
cols.Add("ww" + (minw + i - 1).ToString());//
|
||||
}
|
||||
|
||||
|
||||
var rect_title = new Rectangle(3, 3, panel1.Width - 6, 30);
|
||||
var rect_body = new Rectangle(rect_title.Left, rect_title.Bottom + 1, rect_title.Width, panel1.Height - rect_title.Height - 5);
|
||||
var lineheight = (rect_body.Height - list.Count * 2) / list.Count;
|
||||
var linewidth = rect_body.Width;// - 6;
|
||||
|
||||
//제목줄표시
|
||||
var ci = 0;
|
||||
var titlewi = 200f;
|
||||
var twidth = (rect_title.Width - titlewi) / (cols.Count - 1);
|
||||
foreach (var col in cols)
|
||||
{
|
||||
var titleWidth = ci == 0 ? titlewi : twidth;
|
||||
var padX = ci > 0 ? ((ci - 1) * twidth + titlewi) : 0;
|
||||
var rect = new RectangleF(rect_title.Left + padX, rect_title.Top, titleWidth, rect_title.Height);
|
||||
e.Graphics.DrawRectangle(Pens.Black, rect.Left, rect.Top, rect.Width, rect.Height);
|
||||
e.Graphics.DrawString(col, this.Font, Brushes.Gold, rect, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
|
||||
ci += 1;
|
||||
}
|
||||
|
||||
for (int i = 0; i < list.Count; i++)
|
||||
{
|
||||
var dr = list[i];
|
||||
var rect = new RectangleF(rect_body.Left, rect_body.Top + i * lineheight + ((i + 1) * 2), linewidth, lineheight);
|
||||
|
||||
if (i % 2 == 0)
|
||||
e.Graphics.FillRectangle(Brushes.Gray, rect.Left, rect.Top, rect.Width, rect.Height);
|
||||
else
|
||||
e.Graphics.FillRectangle(Brushes.DimGray, rect.Left, rect.Top, rect.Width, rect.Height);
|
||||
|
||||
Color PBg = Color.SkyBlue;
|
||||
Color ABg = Color.Gold;
|
||||
var sw = dr.sw;
|
||||
var ew = dr.ew;
|
||||
var swa = dr.swa;
|
||||
var ewa = dr.ewa;
|
||||
if (sw == 0) { sw = minw; PBg = Color.Transparent; }
|
||||
if (ew == 0) ew = sw;
|
||||
|
||||
var isEmpty = swa == 0;
|
||||
if (swa == 0) { swa = minw; ABg = Color.Transparent; };
|
||||
var isBusy = ewa == 0; //아직 완료되지 않았다
|
||||
if (ewa == 0) ewa = swa;
|
||||
if (isBusy && ABg != Color.Transparent) ABg = Color.Pink;
|
||||
|
||||
|
||||
ci = 0;
|
||||
foreach (var col in cols)
|
||||
{
|
||||
var ww = minw + (ci - 1);
|
||||
var titleWidth = ci == 0 ? titlewi : twidth;
|
||||
var padX = ci > 0 ? ((ci - 1) * twidth + titlewi) : 0;
|
||||
|
||||
var rect2 = new RectangleF(rect.Left + padX, rect.Top, titleWidth, rect.Height);
|
||||
var rect2T = new RectangleF(rect.Left + padX, rect.Top, titleWidth, rect.Height / 2f);
|
||||
var rect2L = new RectangleF(rect2T.Left, rect2T.Bottom, rect2T.Width, rect2T.Height);
|
||||
|
||||
|
||||
var spacing = 3f;
|
||||
var rect2TP = new RectangleF(rect2T.Left + spacing, rect2T.Top + spacing, rect2T.Width - spacing * 2, rect2T.Height - spacing * 2);
|
||||
var rect2BP = new RectangleF(rect2L.Left + spacing, rect2L.Top + spacing, rect2L.Width - spacing * 2, rect2L.Height - spacing * 2);
|
||||
|
||||
var str = ci == 0 ? dr.title : ww.ToString();
|
||||
if (ci == 0)
|
||||
{
|
||||
//e.Graphics.DrawRectangle(Pens.Black, rect2.Left, rect2.Top, rect2.Width, rect2.Height);
|
||||
e.Graphics.DrawString(str + "\n" + dr.uid,
|
||||
this.Font,
|
||||
Brushes.Gold,
|
||||
rect2,
|
||||
new StringFormat { Alignment = StringAlignment.Near, LineAlignment = StringAlignment.Center }
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
//plan
|
||||
if (ww >= sw && ww <= ew)
|
||||
e.Graphics.FillRectangle(new SolidBrush(PBg), rect2TP.Left, rect2TP.Top, rect2TP.Width, rect2TP.Height);
|
||||
|
||||
using (Pen p = new Pen(Color.FromArgb(50, 50, 50)))
|
||||
{
|
||||
e.Graphics.DrawRectangle(p, rect2TP.Left, rect2TP.Top, rect2TP.Width, rect2TP.Height);
|
||||
}
|
||||
|
||||
|
||||
|
||||
//actual
|
||||
if (ww >= swa && ww <= ewa)
|
||||
e.Graphics.FillRectangle(new SolidBrush(ABg), rect2BP.Left, rect2BP.Top, rect2BP.Width, rect2BP.Height);
|
||||
else if (isEmpty == false && isBusy && ww >= swa && ww <= this.CWW )
|
||||
{
|
||||
e.Graphics.FillRectangle(new SolidBrush(Color.Pink), rect2BP.Left, rect2BP.Top, rect2BP.Width, rect2BP.Height);
|
||||
}
|
||||
|
||||
|
||||
e.Graphics.DrawRectangle(Pens.Black, rect2BP.Left, rect2BP.Top, rect2BP.Width, rect2BP.Height);
|
||||
|
||||
//title
|
||||
if (ci == 1)
|
||||
{
|
||||
using (Font f = new Font("맑은 고딕", 7, FontStyle.Bold))
|
||||
{
|
||||
var fsizeT = e.Graphics.MeasureString("PLAN", f);
|
||||
var fsizeB = e.Graphics.MeasureString("ACTUAL", f);
|
||||
e.Graphics.DrawString("PLAN", f, Brushes.White, rect2TP.Left - fsizeT.Width * 1.1f, rect2TP.Top + (rect2TP.Height - fsizeT.Height) / 2f);
|
||||
e.Graphics.DrawString("ACTUAL", f, Brushes.White, rect2BP.Left - fsizeB.Width * 1.1f, rect2BP.Top + (rect2BP.Height - fsizeB.Height) / 2f);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
ci += 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void panel1_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
RefreshGraph();
|
||||
}
|
||||
|
||||
private void toolStripButton10_Click(object sender, EventArgs e)
|
||||
{
|
||||
//if (this.dsPRJ.EETGW_ProjectsSchedule.Rows.Count > 0)
|
||||
//{
|
||||
// var dlg = FCOMMON.Util.MsgQ("기존 목록을 삭제할까요?");
|
||||
// if (dlg == DialogResult.Yes)
|
||||
// {
|
||||
// for (int i = this.dsPRJ.EETGW_ProjectsSchedule.Count; i > 0; i--)
|
||||
// {
|
||||
// dsPRJ.EETGW_ProjectsSchedule.Rows[i - 1].Delete();
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
var db = new EEEntities();
|
||||
var list = db.Common.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.grp == "21")
|
||||
.OrderBy(t => t.code)
|
||||
.ToList();
|
||||
|
||||
|
||||
foreach (var item in list)
|
||||
{
|
||||
var newdr = this.dsPRJ.EETGW_ProjectsSchedule.NewEETGW_ProjectsScheduleRow();
|
||||
newdr.wuid = FCOMMON.info.Login.no;
|
||||
newdr.wdate = DateTime.Now;
|
||||
newdr.seq += dsPRJ.EETGW_ProjectsSchedule.Rows.Count + 1;
|
||||
newdr.title = item.memo;
|
||||
newdr.project = this.projectindex;
|
||||
newdr.gcode = FCOMMON.info.Login.gcode;
|
||||
dsPRJ.EETGW_ProjectsSchedule.AddEETGW_ProjectsScheduleRow(newdr);
|
||||
}
|
||||
}
|
||||
|
||||
private void fProjectSchedule_SizeChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.panel1.Invalidate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,7 +223,7 @@
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>440, 17</value>
|
||||
<value>1023, 17</value>
|
||||
</metadata>
|
||||
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>239, 17</value>
|
||||
|
||||
6
SubProject/FPJ0000/Project/fSPMaster.Designer.cs
generated
6
SubProject/FPJ0000/Project/fSPMaster.Designer.cs
generated
@@ -496,12 +496,6 @@
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn idxDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn stimeDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn titleDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn placeDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn mainDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn projectDataGridViewTextBoxColumn;
|
||||
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
|
||||
Reference in New Issue
Block a user