diff --git a/Project/_Common/fADSUserList.Designer.cs b/Project/_Common/fADSUserList.Designer.cs
new file mode 100644
index 0000000..411de1f
--- /dev/null
+++ b/Project/_Common/fADSUserList.Designer.cs
@@ -0,0 +1,272 @@
+namespace Project._Common
+{
+ partial class fADSUserList
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fADSUserList));
+ this.statusStrip1 = new System.Windows.Forms.StatusStrip();
+ this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel();
+ this.lbDomain = new System.Windows.Forms.ToolStripStatusLabel();
+ this.listView1 = new System.Windows.Forms.ListView();
+ this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.allSelectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.deSelectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.unSelectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStrip1 = new System.Windows.Forms.ToolStrip();
+ this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
+ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
+ this.toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox();
+ this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
+ this.btInsert = new System.Windows.Forms.ToolStripButton();
+ this.prb1 = new System.Windows.Forms.ProgressBar();
+ this.taUser = new Project.dsMSSQLTableAdapters.UsersTableAdapter();
+ this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
+ this.tbEntry = new System.Windows.Forms.ToolStripTextBox();
+ this.statusStrip1.SuspendLayout();
+ this.contextMenuStrip1.SuspendLayout();
+ this.toolStrip1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // statusStrip1
+ //
+ this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolStripStatusLabel2,
+ this.lbDomain});
+ this.statusStrip1.Location = new System.Drawing.Point(0, 476);
+ this.statusStrip1.Name = "statusStrip1";
+ this.statusStrip1.Size = new System.Drawing.Size(660, 22);
+ this.statusStrip1.TabIndex = 0;
+ this.statusStrip1.Text = "statusStrip1";
+ //
+ // toolStripStatusLabel2
+ //
+ this.toolStripStatusLabel2.Name = "toolStripStatusLabel2";
+ this.toolStripStatusLabel2.Size = new System.Drawing.Size(50, 17);
+ this.toolStripStatusLabel2.Text = "Domain";
+ //
+ // lbDomain
+ //
+ this.lbDomain.Name = "lbDomain";
+ this.lbDomain.Size = new System.Drawing.Size(17, 17);
+ this.lbDomain.Text = "--";
+ //
+ // listView1
+ //
+ this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
+ this.columnHeader1,
+ this.columnHeader2,
+ this.columnHeader3,
+ this.columnHeader4,
+ this.columnHeader5,
+ this.columnHeader6,
+ this.columnHeader7});
+ this.listView1.ContextMenuStrip = this.contextMenuStrip1;
+ this.listView1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.listView1.FullRowSelect = true;
+ this.listView1.Location = new System.Drawing.Point(0, 25);
+ this.listView1.Name = "listView1";
+ this.listView1.Size = new System.Drawing.Size(660, 443);
+ this.listView1.TabIndex = 1;
+ this.listView1.UseCompatibleStateImageBehavior = false;
+ //
+ // contextMenuStrip1
+ //
+ this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.allSelectToolStripMenuItem,
+ this.deSelectToolStripMenuItem,
+ this.unSelectToolStripMenuItem});
+ this.contextMenuStrip1.Name = "contextMenuStrip1";
+ this.contextMenuStrip1.Size = new System.Drawing.Size(126, 70);
+ //
+ // allSelectToolStripMenuItem
+ //
+ this.allSelectToolStripMenuItem.Name = "allSelectToolStripMenuItem";
+ this.allSelectToolStripMenuItem.Size = new System.Drawing.Size(125, 22);
+ this.allSelectToolStripMenuItem.Text = "All Select";
+ this.allSelectToolStripMenuItem.Click += new System.EventHandler(this.allSelectToolStripMenuItem_Click);
+ //
+ // deSelectToolStripMenuItem
+ //
+ this.deSelectToolStripMenuItem.Name = "deSelectToolStripMenuItem";
+ this.deSelectToolStripMenuItem.Size = new System.Drawing.Size(125, 22);
+ this.deSelectToolStripMenuItem.Text = "De Select";
+ this.deSelectToolStripMenuItem.Click += new System.EventHandler(this.deSelectToolStripMenuItem_Click);
+ //
+ // unSelectToolStripMenuItem
+ //
+ this.unSelectToolStripMenuItem.Name = "unSelectToolStripMenuItem";
+ this.unSelectToolStripMenuItem.Size = new System.Drawing.Size(125, 22);
+ this.unSelectToolStripMenuItem.Text = "Un Select";
+ this.unSelectToolStripMenuItem.Click += new System.EventHandler(this.unSelectToolStripMenuItem_Click);
+ //
+ // toolStrip1
+ //
+ this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolStripButton1,
+ this.toolStripSeparator1,
+ this.toolStripLabel2,
+ this.tbEntry,
+ this.toolStripLabel1,
+ this.toolStripTextBox1,
+ this.toolStripSeparator2,
+ this.btInsert});
+ this.toolStrip1.Location = new System.Drawing.Point(0, 0);
+ this.toolStrip1.Name = "toolStrip1";
+ this.toolStrip1.Size = new System.Drawing.Size(660, 25);
+ this.toolStrip1.TabIndex = 2;
+ this.toolStrip1.Text = "toolStrip1";
+ //
+ // 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(66, 22);
+ this.toolStripButton1.Text = "Refresh";
+ this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
+ //
+ // toolStripSeparator1
+ //
+ this.toolStripSeparator1.Name = "toolStripSeparator1";
+ this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
+ //
+ // toolStripLabel1
+ //
+ this.toolStripLabel1.Name = "toolStripLabel1";
+ this.toolStripLabel1.Size = new System.Drawing.Size(31, 22);
+ this.toolStripLabel1.Text = "dept";
+ //
+ // toolStripTextBox1
+ //
+ this.toolStripTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.toolStripTextBox1.Name = "toolStripTextBox1";
+ this.toolStripTextBox1.Size = new System.Drawing.Size(100, 25);
+ this.toolStripTextBox1.Text = "장비기술";
+ this.toolStripTextBox1.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // toolStripSeparator2
+ //
+ this.toolStripSeparator2.Name = "toolStripSeparator2";
+ this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
+ //
+ // btInsert
+ //
+ this.btInsert.Image = ((System.Drawing.Image)(resources.GetObject("btInsert.Image")));
+ this.btInsert.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.btInsert.Name = "btInsert";
+ this.btInsert.Size = new System.Drawing.Size(85, 22);
+ this.btInsert.Text = "insert Data";
+ this.btInsert.Click += new System.EventHandler(this.btInsert_Click);
+ //
+ // prb1
+ //
+ this.prb1.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.prb1.Location = new System.Drawing.Point(0, 468);
+ this.prb1.Name = "prb1";
+ this.prb1.Size = new System.Drawing.Size(660, 8);
+ this.prb1.TabIndex = 3;
+ //
+ // taUser
+ //
+ this.taUser.ClearBeforeFill = true;
+ //
+ // toolStripLabel2
+ //
+ this.toolStripLabel2.Name = "toolStripLabel2";
+ this.toolStripLabel2.Size = new System.Drawing.Size(34, 22);
+ this.toolStripLabel2.Text = "Entry";
+ //
+ // tbEntry
+ //
+ this.tbEntry.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.tbEntry.Name = "tbEntry";
+ this.tbEntry.Size = new System.Drawing.Size(200, 25);
+ this.tbEntry.Text = "LDAP://OU=Users,OU=People,OU=K4,DC=kr,DC=ds,DC=amkor,DC=com";
+ this.tbEntry.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // fADSUserList
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(660, 498);
+ this.Controls.Add(this.listView1);
+ this.Controls.Add(this.prb1);
+ this.Controls.Add(this.toolStrip1);
+ this.Controls.Add(this.statusStrip1);
+ this.Name = "fADSUserList";
+ this.Text = "fADSUserList";
+ this.Load += new System.EventHandler(this.fADSUserList_Load);
+ this.statusStrip1.ResumeLayout(false);
+ this.statusStrip1.PerformLayout();
+ this.contextMenuStrip1.ResumeLayout(false);
+ this.toolStrip1.ResumeLayout(false);
+ this.toolStrip1.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.StatusStrip statusStrip1;
+ private System.Windows.Forms.ToolStripStatusLabel lbDomain;
+ private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel2;
+ private System.Windows.Forms.ListView listView1;
+ private System.Windows.Forms.ToolStrip toolStrip1;
+ private System.Windows.Forms.ToolStripButton toolStripButton1;
+ private System.Windows.Forms.ColumnHeader columnHeader1;
+ private System.Windows.Forms.ColumnHeader columnHeader2;
+ private System.Windows.Forms.ColumnHeader columnHeader3;
+ private System.Windows.Forms.ColumnHeader columnHeader4;
+ private System.Windows.Forms.ColumnHeader columnHeader5;
+ private System.Windows.Forms.ColumnHeader columnHeader6;
+ private System.Windows.Forms.ColumnHeader columnHeader7;
+ private dsMSSQLTableAdapters.UsersTableAdapter taUser;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
+ private System.Windows.Forms.ToolStripLabel toolStripLabel1;
+ private System.Windows.Forms.ToolStripTextBox toolStripTextBox1;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
+ private System.Windows.Forms.ToolStripButton btInsert;
+ private System.Windows.Forms.ProgressBar prb1;
+ private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
+ private System.Windows.Forms.ToolStripMenuItem allSelectToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem deSelectToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem unSelectToolStripMenuItem;
+ private System.Windows.Forms.ToolStripLabel toolStripLabel2;
+ private System.Windows.Forms.ToolStripTextBox tbEntry;
+ }
+}
\ No newline at end of file
diff --git a/Project/_Common/fADSUserList.cs b/Project/_Common/fADSUserList.cs
new file mode 100644
index 0000000..38ce762
--- /dev/null
+++ b/Project/_Common/fADSUserList.cs
@@ -0,0 +1,177 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+using System.DirectoryServices;
+
+namespace Project._Common
+{
+
+ public partial class fADSUserList : Form
+ {
+ public fADSUserList()
+ {
+ InitializeComponent();
+ }
+
+ private void fADSUserList_Load(object sender, EventArgs e)
+ {
+ this.lbDomain.Text = this.DomainName();
+ this.btInsert.Visible = (FCOMMON.info.Login.level > 9);
+ this.tbEntry.Enabled = this.btInsert.Visible;
+ }
+ public string DomainName()
+ {
+ var objRootDSE = new DirectoryEntry("LDAP://RootDSE");
+ return objRootDSE.Properties["defaultNamingContext"][0].ToString();
+ }
+
+ private void toolStripButton1_Click(object sender, EventArgs e)
+ {
+ this.listView1.Items.Clear();
+ this.listView1.Columns.Clear();
+ this.listView1.CheckBoxes = true;
+ this.listView1.Columns.Add("sn");
+ this.listView1.Columns.Add("cn");
+ this.listView1.Columns.Add("disp");
+ this.listView1.Columns.Add("dept");
+ this.listView1.Columns.Add("title");
+ this.listView1.Columns.Add("tel");
+ this.listView1.Columns.Add("mail");
+ this.listView1.Columns.Add("pager");
+ this.listView1.Columns.Add("empno");
+ this.listView1.Columns.Add("when");
+ this.listView1.Visible = false;
+
+ this.listView1.View = View.Details;
+ var deParent = new DirectoryEntry(tbEntry.Text);
+ foreach (DirectoryEntry deChild in deParent.Children)
+ {
+ Boolean skipuser = false;
+ string dept = string.Empty;
+ string whencre = string.Empty;
+ string empno = string.Empty;
+ string disp = string.Empty;
+ string cn = string.Empty;
+ string sn = string.Empty;
+ string mail = string.Empty;
+ string title = string.Empty;
+ string pager = string.Empty;
+ string tel = string.Empty;
+ string[] propliest = new string[] { "whenCreated", "telephonenumber","title", "employeeNumber", "department", "displayName", "mail", "pager", "sn", "cn" };
+ foreach (string listIter in propliest)
+ {
+ foreach (object Iter in deChild.Properties[listIter.ToString()])
+ {
+ string strvalue = Iter.ToString();
+ switch (listIter.ToString().ToLower())
+ {
+ case "department":
+ dept = strvalue;
+ var search = toolStripTextBox1.Text.Trim();
+ if(search != "") if (dept.IndexOf(search) == -1) skipuser = true;
+ break;
+ case "whencreated": whencre = strvalue; break;
+ case "title": title = strvalue; break;
+ case "telephonenumber": tel = strvalue; break;
+ case "employeenumber": empno = strvalue; break;
+ case "displayname": disp = strvalue; break;
+ case "mail": mail = strvalue; break;
+ case "pager": pager = strvalue; break;
+ case "sn": sn = strvalue; break;
+ case "cn": cn = strvalue; break;
+ }
+ if (skipuser) break;
+ }
+ if (skipuser) break;
+ }
+
+ if (sn == "" || pager == "" || sn.ToUpper().StartsWith("k4") || sn.ToUpper().StartsWith("test")) skipuser = true;
+ if (skipuser) continue;
+ var lv = this.listView1.Items.Add(sn);
+ lv.Checked = true;
+ lv.SubItems.Add(cn);
+ lv.SubItems.Add(disp);
+ lv.SubItems.Add(dept);
+ lv.SubItems.Add(title);
+ lv.SubItems.Add(tel);
+ lv.SubItems.Add(mail);
+ lv.SubItems.Add(pager);
+ lv.SubItems.Add(empno);
+ lv.SubItems.Add(whencre);
+
+
+ if (listView1.Items.Count > 500) break;
+ }
+ FCOMMON.Util.MsgI("exit");
+ this.listView1.Visible = true;
+ }
+
+ private void btInsert_Click(object sender, EventArgs e)
+ {
+ System.Text.StringBuilder sb = new StringBuilder();
+ var items = this.listView1.CheckedItems;
+ sb.AppendLine("현재 목록의 선택된 자료를 입력하시겠습니까?");
+ sb.AppendLine("건수 : " + items.Count.ToString());
+ var dlg = FCOMMON.Util.MsgQ(sb.ToString());
+ if (dlg != System.Windows.Forms.DialogResult.Yes) return;
+
+ this.prb1.Maximum = items.Count;
+ this.prb1.Value = 0;
+ foreach(ListViewItem item in items)
+ {
+
+ string sn = item.SubItems[0].Text;
+ string cn = item.SubItems[1].Text;
+ string disp = item.SubItems[2].Text;// lv.SubItems.Add(disp);
+ string dept = item.SubItems[3].Text; // lv.SubItems.Add(dept);
+ string title = item.SubItems[4].Text;// lv.SubItems.Add(title);
+ string tel = item.SubItems[5].Text; // lv.SubItems.Add(tel);
+ string mail = item.SubItems[6].Text; // lv.SubItems.Add(mail);
+ string pager = item.SubItems[7].Text; // lv.SubItems.Add(pager);
+ string empno = item.SubItems[8].Text; // lv.SubItems.Add(empno);
+ string whencre = item.SubItems[9].Text; // lv.SubItems.Add(whencre);
+
+ try
+ {
+ taUser.InsertADSInfo(
+ pager, disp, sn, dept,
+ mail, tel, empno,title,
+ whencre,
+ "Auto Gen", FCOMMON.info.Login.no, DateTime.Now );
+ }
+ catch (Exception eX)
+ {
+ Console.WriteLine(sn + eX.Message);
+ }
+
+ this.prb1.Value += 1;
+ }
+
+ }
+
+ private void allSelectToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ foreach (ListViewItem item in this.listView1.Items)
+ item.Checked = true;
+ }
+
+ private void deSelectToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ foreach (ListViewItem item in this.listView1.Items)
+ item.Checked = !item.Checked;
+ }
+
+ private void unSelectToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ foreach (ListViewItem item in this.listView1.Items)
+ item.Checked = false;
+ }
+ }
+}
diff --git a/Project/_Common/fADSUserList.resx b/Project/_Common/fADSUserList.resx
new file mode 100644
index 0000000..8b90af2
--- /dev/null
+++ b/Project/_Common/fADSUserList.resx
@@ -0,0 +1,163 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
+ 327, 17
+
+
+ 134, 17
+
+
+
+
+ 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==
+
+
+
+
+ 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==
+
+
+
+ 240, 17
+
+
\ No newline at end of file
diff --git a/Project/dsMSSQL.cs b/Project/dsMSSQL.cs
new file mode 100644
index 0000000..5f28270
--- /dev/null
+++ b/Project/dsMSSQL.cs
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/Project/packages.config b/Project/packages.config
new file mode 100644
index 0000000..8004d94
--- /dev/null
+++ b/Project/packages.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/SubProject/FCM0000/FPUtil.cs b/SubProject/FCM0000/FPUtil.cs
new file mode 100644
index 0000000..f142df5
--- /dev/null
+++ b/SubProject/FCM0000/FPUtil.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FCM0000
+{
+ public static class FPUtil
+ {
+ public static void ColsizeSave(FarPoint.Win.Spread.FpSpread dv, string fn)
+ {
+ arUtil.INIHelper ini = new arUtil.INIHelper(fn);
+ foreach (FarPoint.Win.Spread.Column col in dv.ActiveSheet.Columns)
+ ini.set_Data("colsize", "index_" + col.Index.ToString(), col.Width.ToString());
+ ini.Flush();
+ }
+ public static void ColSizeLoad(ref FarPoint.Win.Spread.FpSpread dv, string fn)
+ {
+ if (System.IO.File.Exists(fn) == false) return;
+ arUtil.INIHelper ini = new arUtil.INIHelper(fn);
+ foreach (FarPoint.Win.Spread.Column col in dv.ActiveSheet.Columns)
+ {
+ var width = ini.get_Data("colsize", "index_" + col.Index.ToString(), "0");
+ col.Width = float.Parse(width);
+ }
+ }
+ }
+}
diff --git a/SubProject/FCM0000/Inventory/RepInvStock.resx b/SubProject/FCM0000/Inventory/RepInvStock.resx
new file mode 100644
index 0000000..19bc336
--- /dev/null
+++ b/SubProject/FCM0000/Inventory/RepInvStock.resx
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 120, 17
+
+
+ 17, 17
+
+
+ 184, 17
+
+
\ No newline at end of file
diff --git a/SubProject/FCM0000/Properties/licenses.licx b/SubProject/FCM0000/Properties/licenses.licx
new file mode 100644
index 0000000..87f0bbe
--- /dev/null
+++ b/SubProject/FCM0000/Properties/licenses.licx
@@ -0,0 +1,2 @@
+FarPoint.Win.Spread.FpSpread, FarPoint.Win.Spread, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457
+FarPoint.Win.Chart.FpChart, FarPoint.Win.Chart, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457
diff --git a/SubProject/FCM0000/fLovOneItem.Designer.cs b/SubProject/FCM0000/fLovOneItem.Designer.cs
new file mode 100644
index 0000000..6f4717f
--- /dev/null
+++ b/SubProject/FCM0000/fLovOneItem.Designer.cs
@@ -0,0 +1,234 @@
+namespace FCM0000
+{
+ partial class fLovOneItem
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovOneItem));
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+ this.bs = new System.Windows.Forms.BindingSource(this.components);
+ this.bn = new System.Windows.Forms.BindingNavigator(this.components);
+ this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
+ this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
+ this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
+ this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
+ this.btOK = new System.Windows.Forms.ToolStripButton();
+ this.dv = new System.Windows.Forms.DataGridView();
+ this.ta = new FCM0000.dsMSSQLTableAdapters.CustomsTableAdapter();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
+ this.bn.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dv)).BeginInit();
+ this.SuspendLayout();
+ //
+ // bs
+ //
+ this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
+ //
+ // bn
+ //
+ this.bn.AddNewItem = null;
+ this.bn.BindingSource = this.bs;
+ this.bn.CountItem = this.bindingNavigatorCountItem;
+ this.bn.DeleteItem = null;
+ this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.bindingNavigatorMoveFirstItem,
+ this.bindingNavigatorMovePreviousItem,
+ this.bindingNavigatorSeparator,
+ this.bindingNavigatorPositionItem,
+ this.bindingNavigatorCountItem,
+ this.bindingNavigatorSeparator1,
+ this.bindingNavigatorMoveNextItem,
+ this.bindingNavigatorMoveLastItem,
+ this.bindingNavigatorSeparator2,
+ this.btOK});
+ this.bn.Location = new System.Drawing.Point(0, 564);
+ this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
+ this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
+ this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
+ this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
+ this.bn.Name = "bn";
+ this.bn.PositionItem = this.bindingNavigatorPositionItem;
+ this.bn.Size = new System.Drawing.Size(377, 25);
+ this.bn.TabIndex = 0;
+ this.bn.Text = "bindingNavigator1";
+ //
+ // bindingNavigatorCountItem
+ //
+ this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
+ this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
+ this.bindingNavigatorCountItem.Text = "/{0}";
+ this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
+ //
+ // bindingNavigatorMoveFirstItem
+ //
+ this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
+ this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
+ this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
+ //
+ // bindingNavigatorMovePreviousItem
+ //
+ this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
+ this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
+ this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
+ //
+ // bindingNavigatorSeparator
+ //
+ this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
+ this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
+ //
+ // bindingNavigatorPositionItem
+ //
+ this.bindingNavigatorPositionItem.AccessibleName = "위치";
+ this.bindingNavigatorPositionItem.AutoSize = false;
+ this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
+ this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
+ this.bindingNavigatorPositionItem.Text = "0";
+ this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
+ //
+ // bindingNavigatorSeparator1
+ //
+ this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
+ this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
+ //
+ // bindingNavigatorMoveNextItem
+ //
+ this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
+ this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
+ this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
+ //
+ // bindingNavigatorMoveLastItem
+ //
+ this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
+ this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
+ this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
+ //
+ // bindingNavigatorSeparator2
+ //
+ this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
+ this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
+ //
+ // btOK
+ //
+ this.btOK.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+ this.btOK.Image = ((System.Drawing.Image)(resources.GetObject("btOK.Image")));
+ this.btOK.Name = "btOK";
+ this.btOK.Size = new System.Drawing.Size(76, 22);
+ this.btOK.Text = "Select(&O)";
+ this.btOK.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click);
+ //
+ // dv
+ //
+ this.dv.AllowUserToAddRows = false;
+ this.dv.AllowUserToDeleteRows = false;
+ this.dv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+ this.dv.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
+ this.dv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dv.ColumnHeadersVisible = false;
+ dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle1.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle1.Padding = new System.Windows.Forms.Padding(1, 3, 1, 3);
+ dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dv.DefaultCellStyle = dataGridViewCellStyle1;
+ this.dv.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dv.Location = new System.Drawing.Point(0, 0);
+ this.dv.Name = "dv";
+ this.dv.ReadOnly = true;
+ this.dv.RowHeadersVisible = false;
+ this.dv.RowTemplate.Height = 23;
+ this.dv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
+ this.dv.Size = new System.Drawing.Size(377, 564);
+ this.dv.TabIndex = 1;
+ this.dv.DoubleClick += new System.EventHandler(this.dv_DoubleClick);
+ this.dv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dv_KeyDown);
+ //
+ // ta
+ //
+ this.ta.ClearBeforeFill = true;
+ //
+ // fLovOneItem
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ this.ClientSize = new System.Drawing.Size(377, 589);
+ this.Controls.Add(this.dv);
+ this.Controls.Add(this.bn);
+ this.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.Name = "fLovOneItem";
+ this.Text = "Select Item";
+ this.Load += new System.EventHandler(this.fLovItem_Load);
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
+ this.bn.ResumeLayout(false);
+ this.bn.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dv)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.BindingSource bs;
+ private System.Windows.Forms.BindingNavigator bn;
+ private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
+ private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
+ private System.Windows.Forms.ToolStripButton btOK;
+ private System.Windows.Forms.DataGridView dv;
+ private dsMSSQLTableAdapters.CustomsTableAdapter ta;
+
+ }
+}
\ No newline at end of file
diff --git a/SubProject/FCM0000/fLovOneItem.cs b/SubProject/FCM0000/fLovOneItem.cs
new file mode 100644
index 0000000..0df66af
--- /dev/null
+++ b/SubProject/FCM0000/fLovOneItem.cs
@@ -0,0 +1,100 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace FCM0000
+{
+ public partial class fLovOneItem : Form
+ {
+ public string Title { get; set; }
+ DataTable dt;
+
+ public fLovOneItem(List lists)
+ {
+ InitializeComponent();
+ this.StartPosition = FormStartPosition.CenterScreen;
+ Title = string.Empty;
+ dt = new DataTable();
+ dt.Columns.Add("item");
+ foreach (var item in lists)
+ dt.Rows.Add(new string[] { item });
+
+ this.KeyPreview = true;
+ this.KeyDown += (s1, e1) => {
+ if (e1.KeyCode == Keys.Escape) this.Close();
+ };
+
+ }
+ public fLovOneItem(Dictionary lists)
+ {
+ InitializeComponent();
+ Title = string.Empty;
+ dt = new DataTable();
+ dt.Columns.Add("item");
+ dt.Columns.Add("Desc");
+ foreach (var item in lists)
+ dt.Rows.Add(new string[] { item.Key ,item.Value});
+
+ this.KeyPreview = true;
+ this.KeyDown += (s1, e1) =>
+ {
+ if (e1.KeyCode == Keys.Escape) this.Close();
+ };
+
+ }
+ private void fLovItem_Load(object sender, EventArgs e)
+ {
+ this.bs.DataSource = this.dt;
+ this.bn.BindingSource = this.bs;
+ this.dv.DataSource = this.bs;
+
+ if(dv.Columns.Count > 1)
+ this.dv.Columns[1].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
+ else
+ this.dv.Columns[0].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
+ }
+
+
+ private void bs_CurrentChanged(object sender, EventArgs e)
+ {
+
+ }
+
+ private void dv_KeyDown(object sender, KeyEventArgs e)
+ {
+ if (e.KeyCode == Keys.Enter)
+ {
+
+ btOK.PerformClick();
+ }
+
+ }
+
+ private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
+ {
+ var drv = bs.Current as DataRowView;
+ if (drv == null)
+ {
+ Title = string.Empty;
+ return;
+ }
+ else
+ {
+ Title = drv[0].ToString();
+ }
+
+ if (Title.isEmpty()) DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ else DialogResult = System.Windows.Forms.DialogResult.OK;
+ }
+
+ private void dv_DoubleClick(object sender, EventArgs e)
+ {
+ btOK.PerformClick();
+ }
+ }
+}
diff --git a/SubProject/FCM0000/fLovOneItem.resx b/SubProject/FCM0000/fLovOneItem.resx
new file mode 100644
index 0000000..21b9d5b
--- /dev/null
+++ b/SubProject/FCM0000/fLovOneItem.resx
@@ -0,0 +1,180 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
+ 81, 17
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
+ wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
+ v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
+ UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
+ Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
+ lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
+ 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
+ Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
+ 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
+ n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
+ N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
+ oAc0QjgAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
+ h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
+ twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
+ kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
+ WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
+ 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
+ dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
+
+
+
+ 147, 17
+
+
+ 82
+
+
\ No newline at end of file
diff --git a/SubProject/FCM0000/fSelectDate.Designer.cs b/SubProject/FCM0000/fSelectDate.Designer.cs
new file mode 100644
index 0000000..8bc7188
--- /dev/null
+++ b/SubProject/FCM0000/fSelectDate.Designer.cs
@@ -0,0 +1,77 @@
+namespace FCM0000
+{
+ partial class fSelectDate
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.monthCalendar1 = new System.Windows.Forms.MonthCalendar();
+ this.btOK = new System.Windows.Forms.Button();
+ this.SuspendLayout();
+ //
+ // monthCalendar1
+ //
+ this.monthCalendar1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.monthCalendar1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.monthCalendar1.Location = new System.Drawing.Point(0, 0);
+ this.monthCalendar1.Name = "monthCalendar1";
+ this.monthCalendar1.TabIndex = 1;
+ //
+ // btOK
+ //
+ this.btOK.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.btOK.Location = new System.Drawing.Point(0, 161);
+ this.btOK.Name = "btOK";
+ this.btOK.Size = new System.Drawing.Size(220, 34);
+ this.btOK.TabIndex = 2;
+ this.btOK.Text = "OK";
+ this.btOK.UseVisualStyleBackColor = true;
+ this.btOK.Click += new System.EventHandler(this.btOK_Click);
+ //
+ // fSelectDate
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ this.ClientSize = new System.Drawing.Size(220, 195);
+ this.Controls.Add(this.monthCalendar1);
+ this.Controls.Add(this.btOK);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "fSelectDate";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "fSelectDate";
+ this.Load += new System.EventHandler(this.fSelectDate_Load);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.MonthCalendar monthCalendar1;
+ private System.Windows.Forms.Button btOK;
+
+ }
+}
\ No newline at end of file
diff --git a/SubProject/FCM0000/fSelectDate.cs b/SubProject/FCM0000/fSelectDate.cs
new file mode 100644
index 0000000..4940904
--- /dev/null
+++ b/SubProject/FCM0000/fSelectDate.cs
@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace FCM0000
+{
+ public partial class fSelectDate : Form
+ {
+ public DateTime dtSelect = DateTime.Now;
+ public fSelectDate(string dtstr) : this(DateTime.Parse(dtstr)) { }
+ public fSelectDate(DateTime dt)
+ {
+ InitializeComponent();
+ this.monthCalendar1.SetDate(dt);
+ }
+
+ private void fSelectDate_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ private void btOK_Click(object sender, EventArgs e)
+ {
+ dtSelect = this.monthCalendar1.SelectionStart;
+ DialogResult = System.Windows.Forms.DialogResult.OK;
+ }
+ }
+}
diff --git a/SubProject/FCM0000/fSelectDate.resx b/SubProject/FCM0000/fSelectDate.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/SubProject/FCM0000/fSelectDate.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/SubProject/FEQ0000/Properties/licenses.licx b/SubProject/FEQ0000/Properties/licenses.licx
new file mode 100644
index 0000000..43d4733
--- /dev/null
+++ b/SubProject/FEQ0000/Properties/licenses.licx
@@ -0,0 +1 @@
+FarPoint.Win.Spread.FpSpread, FarPoint.Win.Spread, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457
diff --git a/SubProject/FEQ0000/Purchase/fInputSC.resx b/SubProject/FEQ0000/Purchase/fInputSC.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/SubProject/FEQ0000/Purchase/fInputSC.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs b/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs
new file mode 100644
index 0000000..dfb90e4
--- /dev/null
+++ b/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs
@@ -0,0 +1,820 @@
+namespace FEQ0000
+{
+ partial class fPurchase_Add
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.Windows.Forms.Label processLabel;
+ System.Windows.Forms.Label receiveLabel;
+ System.Windows.Forms.Label scLabel;
+ System.Windows.Forms.Label sidLabel;
+ System.Windows.Forms.Label pumnameLabel;
+ System.Windows.Forms.Label pumscaleLabel;
+ System.Windows.Forms.Label pumqtyLabel;
+ System.Windows.Forms.Label pumpriceLabel;
+ System.Windows.Forms.Label pumamtLabel;
+ System.Windows.Forms.Label supplyLabel;
+ System.Windows.Forms.Label projectLabel;
+ System.Windows.Forms.Label assetLabel;
+ System.Windows.Forms.Label poLabel;
+ System.Windows.Forms.Label deptLabel;
+ System.Windows.Forms.Label label1;
+ System.Windows.Forms.Label stateLabel;
+ System.Windows.Forms.Label label2;
+ this.tbSC = new System.Windows.Forms.TextBox();
+ this.tbSID = new System.Windows.Forms.TextBox();
+ this.tbPumName = new System.Windows.Forms.TextBox();
+ this.tbPumModel = new System.Windows.Forms.TextBox();
+ this.tbPumUnit = new System.Windows.Forms.TextBox();
+ this.tbPumQty = new System.Windows.Forms.TextBox();
+ this.tbPumPrice = new System.Windows.Forms.TextBox();
+ this.tbPumAmt = new System.Windows.Forms.TextBox();
+ this.tbSupply = new System.Windows.Forms.TextBox();
+ this.tbSupplyIndex = new System.Windows.Forms.TextBox();
+ this.tbProject = new System.Windows.Forms.TextBox();
+ this.tbProjectIndex = new System.Windows.Forms.TextBox();
+ this.tbPO = new System.Windows.Forms.TextBox();
+ this.tbBigo = new System.Windows.Forms.TextBox();
+ this.dtPdate = new System.Windows.Forms.DateTimePicker();
+ this.btSave = new System.Windows.Forms.Button();
+ this.cmbState = new System.Windows.Forms.ComboBox();
+ this.cmbProcess = new System.Windows.Forms.ComboBox();
+ this.cmbRequest = new System.Windows.Forms.ComboBox();
+ this.cmbReceive = new System.Windows.Forms.ComboBox();
+ this.tbPumIDX = new System.Windows.Forms.TextBox();
+ this.tbPumStock = new System.Windows.Forms.TextBox();
+ this.dtInDate = new System.Windows.Forms.DateTimePicker();
+ this.chkInDate = new System.Windows.Forms.CheckBox();
+ this.dtExpDate = new System.Windows.Forms.DateTimePicker();
+ this.chkExp = new System.Windows.Forms.CheckBox();
+ this.label3 = new System.Windows.Forms.Label();
+ this.btSaveAdd = new System.Windows.Forms.Button();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.linkLabel1 = new System.Windows.Forms.LinkLabel();
+ this.groupBox2 = new System.Windows.Forms.GroupBox();
+ this.linkLabel4 = new System.Windows.Forms.LinkLabel();
+ this.linkLabel3 = new System.Windows.Forms.LinkLabel();
+ this.linkLabel2 = new System.Windows.Forms.LinkLabel();
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
+ this.dsPurchase = new FEQ0000.dsPurchase();
+ this.purchaseBindingSource = new System.Windows.Forms.BindingSource(this.components);
+ this.purchaseTableAdapter = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
+ this.tbDept = new System.Windows.Forms.ComboBox();
+ this.tbAsset = new System.Windows.Forms.ComboBox();
+ processLabel = new System.Windows.Forms.Label();
+ receiveLabel = new System.Windows.Forms.Label();
+ scLabel = new System.Windows.Forms.Label();
+ sidLabel = new System.Windows.Forms.Label();
+ pumnameLabel = new System.Windows.Forms.Label();
+ pumscaleLabel = new System.Windows.Forms.Label();
+ pumqtyLabel = new System.Windows.Forms.Label();
+ pumpriceLabel = new System.Windows.Forms.Label();
+ pumamtLabel = new System.Windows.Forms.Label();
+ supplyLabel = new System.Windows.Forms.Label();
+ projectLabel = new System.Windows.Forms.Label();
+ assetLabel = new System.Windows.Forms.Label();
+ poLabel = new System.Windows.Forms.Label();
+ deptLabel = new System.Windows.Forms.Label();
+ label1 = new System.Windows.Forms.Label();
+ stateLabel = new System.Windows.Forms.Label();
+ label2 = new System.Windows.Forms.Label();
+ this.groupBox1.SuspendLayout();
+ this.groupBox2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.purchaseBindingSource)).BeginInit();
+ this.SuspendLayout();
+ //
+ // processLabel
+ //
+ processLabel.AutoSize = true;
+ processLabel.Location = new System.Drawing.Point(57, 99);
+ processLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ processLabel.Name = "processLabel";
+ processLabel.Size = new System.Drawing.Size(39, 20);
+ processLabel.TabIndex = 4;
+ processLabel.Text = "공정";
+ //
+ // receiveLabel
+ //
+ receiveLabel.AutoSize = true;
+ receiveLabel.Location = new System.Drawing.Point(42, 64);
+ receiveLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ receiveLabel.Name = "receiveLabel";
+ receiveLabel.Size = new System.Drawing.Size(54, 20);
+ receiveLabel.TabIndex = 2;
+ receiveLabel.Text = "수령인";
+ //
+ // scLabel
+ //
+ scLabel.AutoSize = true;
+ scLabel.Location = new System.Drawing.Point(69, 129);
+ scLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ scLabel.Name = "scLabel";
+ scLabel.Size = new System.Drawing.Size(27, 20);
+ scLabel.TabIndex = 6;
+ scLabel.Text = "SC";
+ //
+ // sidLabel
+ //
+ sidLabel.AutoSize = true;
+ sidLabel.Location = new System.Drawing.Point(54, 68);
+ sidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ sidLabel.Name = "sidLabel";
+ sidLabel.Size = new System.Drawing.Size(32, 20);
+ sidLabel.TabIndex = 3;
+ sidLabel.Text = "SID";
+ //
+ // pumnameLabel
+ //
+ pumnameLabel.AutoSize = true;
+ pumnameLabel.Location = new System.Drawing.Point(47, 105);
+ pumnameLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ pumnameLabel.Name = "pumnameLabel";
+ pumnameLabel.Size = new System.Drawing.Size(39, 20);
+ pumnameLabel.TabIndex = 7;
+ pumnameLabel.Text = "품명";
+ //
+ // pumscaleLabel
+ //
+ pumscaleLabel.AutoSize = true;
+ pumscaleLabel.Location = new System.Drawing.Point(47, 142);
+ pumscaleLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ pumscaleLabel.Name = "pumscaleLabel";
+ pumscaleLabel.Size = new System.Drawing.Size(39, 20);
+ pumscaleLabel.TabIndex = 10;
+ pumscaleLabel.Text = "모델";
+ //
+ // pumqtyLabel
+ //
+ pumqtyLabel.AutoSize = true;
+ pumqtyLabel.Location = new System.Drawing.Point(47, 179);
+ pumqtyLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ pumqtyLabel.Name = "pumqtyLabel";
+ pumqtyLabel.Size = new System.Drawing.Size(39, 20);
+ pumqtyLabel.TabIndex = 13;
+ pumqtyLabel.Text = "수량";
+ //
+ // pumpriceLabel
+ //
+ pumpriceLabel.AutoSize = true;
+ pumpriceLabel.Location = new System.Drawing.Point(280, 179);
+ pumpriceLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ pumpriceLabel.Name = "pumpriceLabel";
+ pumpriceLabel.Size = new System.Drawing.Size(39, 20);
+ pumpriceLabel.TabIndex = 16;
+ pumpriceLabel.Text = "단가";
+ //
+ // pumamtLabel
+ //
+ pumamtLabel.AutoSize = true;
+ pumamtLabel.Location = new System.Drawing.Point(47, 215);
+ pumamtLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ pumamtLabel.Name = "pumamtLabel";
+ pumamtLabel.Size = new System.Drawing.Size(39, 20);
+ pumamtLabel.TabIndex = 16;
+ pumamtLabel.Text = "합계";
+ //
+ // supplyLabel
+ //
+ supplyLabel.AutoSize = true;
+ supplyLabel.Location = new System.Drawing.Point(32, 251);
+ supplyLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ supplyLabel.Name = "supplyLabel";
+ supplyLabel.Size = new System.Drawing.Size(54, 20);
+ supplyLabel.TabIndex = 20;
+ supplyLabel.Text = "공급처";
+ //
+ // projectLabel
+ //
+ projectLabel.AutoSize = true;
+ projectLabel.Location = new System.Drawing.Point(17, 287);
+ projectLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ projectLabel.Name = "projectLabel";
+ projectLabel.Size = new System.Drawing.Size(69, 20);
+ projectLabel.TabIndex = 23;
+ projectLabel.Text = "프로젝트";
+ //
+ // assetLabel
+ //
+ assetLabel.AutoSize = true;
+ assetLabel.Location = new System.Drawing.Point(27, 194);
+ assetLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ assetLabel.Name = "assetLabel";
+ assetLabel.Size = new System.Drawing.Size(69, 20);
+ assetLabel.TabIndex = 10;
+ assetLabel.Text = "적용장비";
+ //
+ // poLabel
+ //
+ poLabel.AutoSize = true;
+ poLabel.Location = new System.Drawing.Point(66, 159);
+ poLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ poLabel.Name = "poLabel";
+ poLabel.Size = new System.Drawing.Size(30, 20);
+ poLabel.TabIndex = 8;
+ poLabel.Text = "PO";
+ //
+ // deptLabel
+ //
+ deptLabel.AutoSize = true;
+ deptLabel.Location = new System.Drawing.Point(41, 396);
+ deptLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ deptLabel.Name = "deptLabel";
+ deptLabel.Size = new System.Drawing.Size(39, 20);
+ deptLabel.TabIndex = 10;
+ deptLabel.Text = "비고";
+ //
+ // label1
+ //
+ label1.AutoSize = true;
+ label1.Location = new System.Drawing.Point(32, 35);
+ label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label1.Name = "label1";
+ label1.Size = new System.Drawing.Size(54, 20);
+ label1.TabIndex = 0;
+ label1.Text = "입력일";
+ //
+ // stateLabel
+ //
+ stateLabel.AutoSize = true;
+ stateLabel.Location = new System.Drawing.Point(27, 33);
+ stateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ stateLabel.Name = "stateLabel";
+ stateLabel.Size = new System.Drawing.Size(69, 20);
+ stateLabel.TabIndex = 0;
+ stateLabel.Text = "구매상태";
+ //
+ // tbSC
+ //
+ this.tbSC.Location = new System.Drawing.Point(104, 125);
+ this.tbSC.Margin = new System.Windows.Forms.Padding(4);
+ this.tbSC.Name = "tbSC";
+ this.tbSC.Size = new System.Drawing.Size(286, 27);
+ this.tbSC.TabIndex = 7;
+ //
+ // tbSID
+ //
+ this.tbSID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
+ this.tbSID.Location = new System.Drawing.Point(93, 66);
+ this.tbSID.Margin = new System.Windows.Forms.Padding(4);
+ this.tbSID.Name = "tbSID";
+ this.tbSID.Size = new System.Drawing.Size(176, 27);
+ this.tbSID.TabIndex = 4;
+ //
+ // tbPumName
+ //
+ this.tbPumName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+ this.tbPumName.ImeMode = System.Windows.Forms.ImeMode.Hangul;
+ this.tbPumName.Location = new System.Drawing.Point(93, 102);
+ this.tbPumName.Margin = new System.Windows.Forms.Padding(4);
+ this.tbPumName.Name = "tbPumName";
+ this.tbPumName.Size = new System.Drawing.Size(311, 27);
+ this.tbPumName.TabIndex = 8;
+ //
+ // tbPumModel
+ //
+ this.tbPumModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+ this.tbPumModel.ImeMode = System.Windows.Forms.ImeMode.Alpha;
+ this.tbPumModel.Location = new System.Drawing.Point(93, 139);
+ this.tbPumModel.Margin = new System.Windows.Forms.Padding(4);
+ this.tbPumModel.Name = "tbPumModel";
+ this.tbPumModel.Size = new System.Drawing.Size(311, 27);
+ this.tbPumModel.TabIndex = 11;
+ //
+ // tbPumUnit
+ //
+ this.tbPumUnit.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
+ this.tbPumUnit.Location = new System.Drawing.Point(410, 139);
+ this.tbPumUnit.Margin = new System.Windows.Forms.Padding(4);
+ this.tbPumUnit.Name = "tbPumUnit";
+ this.tbPumUnit.Size = new System.Drawing.Size(64, 27);
+ this.tbPumUnit.TabIndex = 12;
+ this.tbPumUnit.TabStop = false;
+ this.tbPumUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // tbPumQty
+ //
+ this.tbPumQty.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+ this.tbPumQty.Location = new System.Drawing.Point(94, 175);
+ this.tbPumQty.Margin = new System.Windows.Forms.Padding(4);
+ this.tbPumQty.Name = "tbPumQty";
+ this.tbPumQty.Size = new System.Drawing.Size(111, 27);
+ this.tbPumQty.TabIndex = 13;
+ this.tbPumQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ this.tbPumQty.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged);
+ //
+ // tbPumPrice
+ //
+ this.tbPumPrice.Location = new System.Drawing.Point(327, 175);
+ this.tbPumPrice.Margin = new System.Windows.Forms.Padding(4);
+ this.tbPumPrice.Name = "tbPumPrice";
+ this.tbPumPrice.Size = new System.Drawing.Size(148, 27);
+ this.tbPumPrice.TabIndex = 15;
+ this.tbPumPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
+ this.tbPumPrice.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged);
+ //
+ // tbPumAmt
+ //
+ this.tbPumAmt.Location = new System.Drawing.Point(93, 212);
+ this.tbPumAmt.Margin = new System.Windows.Forms.Padding(4);
+ this.tbPumAmt.Name = "tbPumAmt";
+ this.tbPumAmt.ReadOnly = true;
+ this.tbPumAmt.Size = new System.Drawing.Size(382, 27);
+ this.tbPumAmt.TabIndex = 17;
+ this.tbPumAmt.TabStop = false;
+ this.tbPumAmt.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
+ //
+ // tbSupply
+ //
+ this.tbSupply.ImeMode = System.Windows.Forms.ImeMode.Hangul;
+ this.tbSupply.Location = new System.Drawing.Point(93, 248);
+ this.tbSupply.Margin = new System.Windows.Forms.Padding(4);
+ this.tbSupply.Name = "tbSupply";
+ this.tbSupply.Size = new System.Drawing.Size(311, 27);
+ this.tbSupply.TabIndex = 21;
+ //
+ // tbSupplyIndex
+ //
+ this.tbSupplyIndex.Location = new System.Drawing.Point(410, 248);
+ this.tbSupplyIndex.Margin = new System.Windows.Forms.Padding(4);
+ this.tbSupplyIndex.Name = "tbSupplyIndex";
+ this.tbSupplyIndex.ReadOnly = true;
+ this.tbSupplyIndex.Size = new System.Drawing.Size(64, 27);
+ this.tbSupplyIndex.TabIndex = 22;
+ this.tbSupplyIndex.TabStop = false;
+ this.tbSupplyIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // tbProject
+ //
+ this.tbProject.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+ this.tbProject.ImeMode = System.Windows.Forms.ImeMode.Hangul;
+ this.tbProject.Location = new System.Drawing.Point(93, 285);
+ this.tbProject.Margin = new System.Windows.Forms.Padding(4);
+ this.tbProject.Name = "tbProject";
+ this.tbProject.Size = new System.Drawing.Size(311, 27);
+ this.tbProject.TabIndex = 24;
+ //
+ // tbProjectIndex
+ //
+ this.tbProjectIndex.Location = new System.Drawing.Point(410, 285);
+ this.tbProjectIndex.Margin = new System.Windows.Forms.Padding(4);
+ this.tbProjectIndex.Name = "tbProjectIndex";
+ this.tbProjectIndex.ReadOnly = true;
+ this.tbProjectIndex.Size = new System.Drawing.Size(64, 27);
+ this.tbProjectIndex.TabIndex = 25;
+ this.tbProjectIndex.TabStop = false;
+ this.tbProjectIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // tbPO
+ //
+ this.tbPO.Location = new System.Drawing.Point(104, 156);
+ this.tbPO.Margin = new System.Windows.Forms.Padding(4);
+ this.tbPO.Name = "tbPO";
+ this.tbPO.Size = new System.Drawing.Size(286, 27);
+ this.tbPO.TabIndex = 9;
+ //
+ // tbBigo
+ //
+ this.tbBigo.ImeMode = System.Windows.Forms.ImeMode.Hangul;
+ this.tbBigo.Location = new System.Drawing.Point(93, 390);
+ this.tbBigo.Margin = new System.Windows.Forms.Padding(4);
+ this.tbBigo.MaxLength = 500;
+ this.tbBigo.Multiline = true;
+ this.tbBigo.Name = "tbBigo";
+ this.tbBigo.Size = new System.Drawing.Size(381, 91);
+ this.tbBigo.TabIndex = 11;
+ this.tbBigo.TabStop = false;
+ //
+ // dtPdate
+ //
+ this.dtPdate.Location = new System.Drawing.Point(93, 29);
+ this.dtPdate.Margin = new System.Windows.Forms.Padding(4);
+ this.dtPdate.Name = "dtPdate";
+ this.dtPdate.Size = new System.Drawing.Size(238, 27);
+ this.dtPdate.TabIndex = 1;
+ //
+ // btSave
+ //
+ this.btSave.Location = new System.Drawing.Point(11, 540);
+ this.btSave.Margin = new System.Windows.Forms.Padding(4);
+ this.btSave.Name = "btSave";
+ this.btSave.Size = new System.Drawing.Size(492, 51);
+ this.btSave.TabIndex = 3;
+ this.btSave.Text = "저장(&S)";
+ this.btSave.UseVisualStyleBackColor = true;
+ this.btSave.Click += new System.EventHandler(this.button1_Click);
+ //
+ // cmbState
+ //
+ this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+ this.cmbState.FormattingEnabled = true;
+ this.cmbState.Location = new System.Drawing.Point(104, 28);
+ this.cmbState.Margin = new System.Windows.Forms.Padding(4);
+ this.cmbState.Name = "cmbState";
+ this.cmbState.Size = new System.Drawing.Size(286, 28);
+ this.cmbState.TabIndex = 1;
+ this.cmbState.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
+ //
+ // cmbProcess
+ //
+ this.cmbProcess.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
+ this.cmbProcess.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
+ this.cmbProcess.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+ this.cmbProcess.FormattingEnabled = true;
+ this.cmbProcess.Location = new System.Drawing.Point(104, 94);
+ this.cmbProcess.Margin = new System.Windows.Forms.Padding(4);
+ this.cmbProcess.Name = "cmbProcess";
+ this.cmbProcess.Size = new System.Drawing.Size(286, 28);
+ this.cmbProcess.TabIndex = 5;
+ //
+ // cmbRequest
+ //
+ this.cmbRequest.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
+ this.cmbRequest.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
+ this.cmbRequest.FormattingEnabled = true;
+ this.cmbRequest.ImeMode = System.Windows.Forms.ImeMode.Hangul;
+ this.cmbRequest.Location = new System.Drawing.Point(336, 29);
+ this.cmbRequest.Margin = new System.Windows.Forms.Padding(4);
+ this.cmbRequest.Name = "cmbRequest";
+ this.cmbRequest.Size = new System.Drawing.Size(139, 28);
+ this.cmbRequest.TabIndex = 2;
+ //
+ // cmbReceive
+ //
+ this.cmbReceive.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
+ this.cmbReceive.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
+ this.cmbReceive.FormattingEnabled = true;
+ this.cmbReceive.ImeMode = System.Windows.Forms.ImeMode.Hangul;
+ this.cmbReceive.Location = new System.Drawing.Point(104, 62);
+ this.cmbReceive.Margin = new System.Windows.Forms.Padding(4);
+ this.cmbReceive.Name = "cmbReceive";
+ this.cmbReceive.Size = new System.Drawing.Size(286, 28);
+ this.cmbReceive.TabIndex = 3;
+ //
+ // tbPumIDX
+ //
+ this.tbPumIDX.Location = new System.Drawing.Point(410, 102);
+ this.tbPumIDX.Margin = new System.Windows.Forms.Padding(4);
+ this.tbPumIDX.Name = "tbPumIDX";
+ this.tbPumIDX.ReadOnly = true;
+ this.tbPumIDX.Size = new System.Drawing.Size(64, 27);
+ this.tbPumIDX.TabIndex = 9;
+ this.tbPumIDX.TabStop = false;
+ this.tbPumIDX.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // tbPumStock
+ //
+ this.tbPumStock.Location = new System.Drawing.Point(208, 175);
+ this.tbPumStock.Margin = new System.Windows.Forms.Padding(4);
+ this.tbPumStock.Name = "tbPumStock";
+ this.tbPumStock.ReadOnly = true;
+ this.tbPumStock.Size = new System.Drawing.Size(64, 27);
+ this.tbPumStock.TabIndex = 14;
+ this.tbPumStock.TabStop = false;
+ this.tbPumStock.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // dtInDate
+ //
+ this.dtInDate.Location = new System.Drawing.Point(93, 355);
+ this.dtInDate.Margin = new System.Windows.Forms.Padding(4);
+ this.dtInDate.Name = "dtInDate";
+ this.dtInDate.Size = new System.Drawing.Size(193, 27);
+ this.dtInDate.TabIndex = 15;
+ //
+ // chkInDate
+ //
+ this.chkInDate.AutoSize = true;
+ this.chkInDate.Location = new System.Drawing.Point(13, 357);
+ this.chkInDate.Margin = new System.Windows.Forms.Padding(4);
+ this.chkInDate.Name = "chkInDate";
+ this.chkInDate.Size = new System.Drawing.Size(73, 24);
+ this.chkInDate.TabIndex = 14;
+ this.chkInDate.Text = "입고일";
+ this.chkInDate.UseVisualStyleBackColor = true;
+ this.chkInDate.CheckedChanged += new System.EventHandler(this.chkInDate_CheckedChanged);
+ //
+ // dtExpDate
+ //
+ this.dtExpDate.Location = new System.Drawing.Point(93, 320);
+ this.dtExpDate.Margin = new System.Windows.Forms.Padding(4);
+ this.dtExpDate.Name = "dtExpDate";
+ this.dtExpDate.Size = new System.Drawing.Size(193, 27);
+ this.dtExpDate.TabIndex = 13;
+ this.dtExpDate.TabStop = false;
+ //
+ // chkExp
+ //
+ this.chkExp.AutoSize = true;
+ this.chkExp.Location = new System.Drawing.Point(13, 324);
+ this.chkExp.Margin = new System.Windows.Forms.Padding(4);
+ this.chkExp.Name = "chkExp";
+ this.chkExp.Size = new System.Drawing.Size(73, 24);
+ this.chkExp.TabIndex = 12;
+ this.chkExp.TabStop = false;
+ this.chkExp.Text = "예상일";
+ this.chkExp.UseVisualStyleBackColor = true;
+ this.chkExp.CheckedChanged += new System.EventHandler(this.chkExp_CheckedChanged);
+ //
+ // label3
+ //
+ this.label3.BackColor = System.Drawing.Color.White;
+ this.label3.Dock = System.Windows.Forms.DockStyle.Top;
+ this.label3.Location = new System.Drawing.Point(0, 0);
+ this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(934, 29);
+ this.label3.TabIndex = 0;
+ this.label3.Text = "--";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // btSaveAdd
+ //
+ this.btSaveAdd.Location = new System.Drawing.Point(511, 540);
+ this.btSaveAdd.Margin = new System.Windows.Forms.Padding(4);
+ this.btSaveAdd.Name = "btSaveAdd";
+ this.btSaveAdd.Size = new System.Drawing.Size(410, 51);
+ this.btSaveAdd.TabIndex = 0;
+ this.btSaveAdd.Text = "저장 및 추가(&A)";
+ this.btSaveAdd.UseVisualStyleBackColor = true;
+ this.btSaveAdd.Click += new System.EventHandler(this.button2_Click);
+ //
+ // groupBox1
+ //
+ this.groupBox1.Controls.Add(this.dtPdate);
+ this.groupBox1.Controls.Add(this.tbPumStock);
+ this.groupBox1.Controls.Add(this.linkLabel1);
+ this.groupBox1.Controls.Add(this.tbPumAmt);
+ this.groupBox1.Controls.Add(this.chkExp);
+ this.groupBox1.Controls.Add(this.tbBigo);
+ this.groupBox1.Controls.Add(deptLabel);
+ this.groupBox1.Controls.Add(this.tbSupplyIndex);
+ this.groupBox1.Controls.Add(this.dtExpDate);
+ this.groupBox1.Controls.Add(pumamtLabel);
+ this.groupBox1.Controls.Add(this.tbPumIDX);
+ this.groupBox1.Controls.Add(this.chkInDate);
+ this.groupBox1.Controls.Add(projectLabel);
+ this.groupBox1.Controls.Add(this.tbSID);
+ this.groupBox1.Controls.Add(this.dtInDate);
+ this.groupBox1.Controls.Add(this.tbPumQty);
+ this.groupBox1.Controls.Add(supplyLabel);
+ this.groupBox1.Controls.Add(pumqtyLabel);
+ this.groupBox1.Controls.Add(sidLabel);
+ this.groupBox1.Controls.Add(this.tbProject);
+ this.groupBox1.Controls.Add(this.tbProjectIndex);
+ this.groupBox1.Controls.Add(this.tbPumPrice);
+ this.groupBox1.Controls.Add(this.tbSupply);
+ this.groupBox1.Controls.Add(pumpriceLabel);
+ this.groupBox1.Controls.Add(label1);
+ this.groupBox1.Controls.Add(this.tbPumName);
+ this.groupBox1.Controls.Add(this.cmbRequest);
+ this.groupBox1.Controls.Add(pumnameLabel);
+ this.groupBox1.Controls.Add(pumscaleLabel);
+ this.groupBox1.Controls.Add(this.tbPumUnit);
+ this.groupBox1.Controls.Add(this.tbPumModel);
+ this.groupBox1.Location = new System.Drawing.Point(12, 36);
+ this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
+ this.groupBox1.Size = new System.Drawing.Size(492, 496);
+ this.groupBox1.TabIndex = 2;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "필수입력";
+ //
+ // linkLabel1
+ //
+ this.linkLabel1.AutoSize = true;
+ this.linkLabel1.Location = new System.Drawing.Point(350, 325);
+ this.linkLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.linkLabel1.Name = "linkLabel1";
+ this.linkLabel1.Size = new System.Drawing.Size(124, 20);
+ this.linkLabel1.TabIndex = 16;
+ this.linkLabel1.TabStop = true;
+ this.linkLabel1.Text = "견적서 폴더 열기";
+ this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
+ //
+ // groupBox2
+ //
+ this.groupBox2.BackColor = System.Drawing.Color.Gainsboro;
+ this.groupBox2.Controls.Add(this.tbAsset);
+ this.groupBox2.Controls.Add(this.tbDept);
+ this.groupBox2.Controls.Add(label2);
+ this.groupBox2.Controls.Add(this.linkLabel4);
+ this.groupBox2.Controls.Add(this.linkLabel3);
+ this.groupBox2.Controls.Add(this.linkLabel2);
+ this.groupBox2.Controls.Add(this.pictureBox1);
+ this.groupBox2.Controls.Add(this.cmbState);
+ this.groupBox2.Controls.Add(this.tbPO);
+ this.groupBox2.Controls.Add(poLabel);
+ this.groupBox2.Controls.Add(this.tbSC);
+ this.groupBox2.Controls.Add(scLabel);
+ this.groupBox2.Controls.Add(receiveLabel);
+ this.groupBox2.Controls.Add(assetLabel);
+ this.groupBox2.Controls.Add(this.cmbReceive);
+ this.groupBox2.Controls.Add(processLabel);
+ this.groupBox2.Controls.Add(this.cmbProcess);
+ this.groupBox2.Controls.Add(stateLabel);
+ this.groupBox2.Location = new System.Drawing.Point(512, 38);
+ this.groupBox2.Margin = new System.Windows.Forms.Padding(4);
+ this.groupBox2.Name = "groupBox2";
+ this.groupBox2.Padding = new System.Windows.Forms.Padding(4);
+ this.groupBox2.Size = new System.Drawing.Size(409, 494);
+ this.groupBox2.TabIndex = 4;
+ this.groupBox2.TabStop = false;
+ this.groupBox2.Text = "추가정보";
+ //
+ // linkLabel4
+ //
+ this.linkLabel4.AutoSize = true;
+ this.linkLabel4.Location = new System.Drawing.Point(57, 340);
+ this.linkLabel4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.linkLabel4.Name = "linkLabel4";
+ this.linkLabel4.Size = new System.Drawing.Size(39, 20);
+ this.linkLabel4.TabIndex = 16;
+ this.linkLabel4.TabStop = true;
+ this.linkLabel4.Text = "촬영";
+ this.linkLabel4.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel4_LinkClicked);
+ //
+ // linkLabel3
+ //
+ this.linkLabel3.AutoSize = true;
+ this.linkLabel3.Location = new System.Drawing.Point(27, 304);
+ this.linkLabel3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.linkLabel3.Name = "linkLabel3";
+ this.linkLabel3.Size = new System.Drawing.Size(69, 20);
+ this.linkLabel3.TabIndex = 15;
+ this.linkLabel3.TabStop = true;
+ this.linkLabel3.Text = "붙여넣기";
+ this.linkLabel3.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.imgpase_LinkClicked);
+ //
+ // linkLabel2
+ //
+ this.linkLabel2.AutoSize = true;
+ this.linkLabel2.Location = new System.Drawing.Point(22, 268);
+ this.linkLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.linkLabel2.Name = "linkLabel2";
+ this.linkLabel2.Size = new System.Drawing.Size(74, 20);
+ this.linkLabel2.TabIndex = 14;
+ this.linkLabel2.TabStop = true;
+ this.linkLabel2.Text = "그림 선택";
+ this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
+ //
+ // pictureBox1
+ //
+ this.pictureBox1.BackColor = System.Drawing.Color.Gray;
+ this.pictureBox1.Location = new System.Drawing.Point(104, 268);
+ this.pictureBox1.Name = "pictureBox1";
+ this.pictureBox1.Size = new System.Drawing.Size(286, 216);
+ this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ this.pictureBox1.TabIndex = 17;
+ this.pictureBox1.TabStop = false;
+ this.pictureBox1.Tag = "A";
+ //
+ // dsPurchase
+ //
+ this.dsPurchase.DataSetName = "dsPurchase";
+ this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+ //
+ // purchaseBindingSource
+ //
+ this.purchaseBindingSource.DataMember = "Purchase";
+ this.purchaseBindingSource.DataSource = this.dsPurchase;
+ //
+ // purchaseTableAdapter
+ //
+ this.purchaseTableAdapter.ClearBeforeFill = true;
+ //
+ // label2
+ //
+ label2.AutoSize = true;
+ label2.Location = new System.Drawing.Point(27, 228);
+ label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label2.Name = "label2";
+ label2.Size = new System.Drawing.Size(69, 20);
+ label2.TabIndex = 12;
+ label2.Text = "적용위치";
+ //
+ // tbDept
+ //
+ this.tbDept.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
+ this.tbDept.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
+ this.tbDept.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.tbDept.FormattingEnabled = true;
+ this.tbDept.ImeMode = System.Windows.Forms.ImeMode.Hangul;
+ this.tbDept.Location = new System.Drawing.Point(104, 225);
+ this.tbDept.Margin = new System.Windows.Forms.Padding(4);
+ this.tbDept.Name = "tbDept";
+ this.tbDept.Size = new System.Drawing.Size(286, 28);
+ this.tbDept.TabIndex = 13;
+ //
+ // tbAsset
+ //
+ this.tbAsset.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
+ this.tbAsset.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
+ this.tbAsset.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.tbAsset.FormattingEnabled = true;
+ this.tbAsset.ImeMode = System.Windows.Forms.ImeMode.Hangul;
+ this.tbAsset.Location = new System.Drawing.Point(104, 191);
+ this.tbAsset.Margin = new System.Windows.Forms.Padding(4);
+ this.tbAsset.Name = "tbAsset";
+ this.tbAsset.Size = new System.Drawing.Size(286, 28);
+ this.tbAsset.TabIndex = 11;
+ //
+ // fPurchase_Add
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(934, 602);
+ this.Controls.Add(this.groupBox2);
+ this.Controls.Add(this.groupBox1);
+ this.Controls.Add(this.btSaveAdd);
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.btSave);
+ this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+ this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "fPurchase_Add";
+ this.Text = "Purchase ADD/EDIT";
+ this.Load += new System.EventHandler(this.@__Load);
+ this.groupBox1.ResumeLayout(false);
+ this.groupBox1.PerformLayout();
+ this.groupBox2.ResumeLayout(false);
+ this.groupBox2.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.purchaseBindingSource)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TextBox tbSC;
+ private System.Windows.Forms.TextBox tbSID;
+ private System.Windows.Forms.TextBox tbPumName;
+ private System.Windows.Forms.TextBox tbPumModel;
+ private System.Windows.Forms.TextBox tbPumUnit;
+ private System.Windows.Forms.TextBox tbPumQty;
+ private System.Windows.Forms.TextBox tbPumPrice;
+ private System.Windows.Forms.TextBox tbPumAmt;
+ private System.Windows.Forms.TextBox tbSupply;
+ private System.Windows.Forms.TextBox tbSupplyIndex;
+ private System.Windows.Forms.TextBox tbProject;
+ private System.Windows.Forms.TextBox tbProjectIndex;
+ private System.Windows.Forms.TextBox tbPO;
+ private System.Windows.Forms.TextBox tbBigo;
+ private System.Windows.Forms.DateTimePicker dtPdate;
+ private System.Windows.Forms.Button btSave;
+ private System.Windows.Forms.ComboBox cmbState;
+ private System.Windows.Forms.ComboBox cmbProcess;
+ private System.Windows.Forms.ComboBox cmbRequest;
+ private System.Windows.Forms.ComboBox cmbReceive;
+ private System.Windows.Forms.TextBox tbPumStock;
+ private System.Windows.Forms.TextBox tbPumIDX;
+ private System.Windows.Forms.DateTimePicker dtInDate;
+ private System.Windows.Forms.CheckBox chkInDate;
+ private System.Windows.Forms.DateTimePicker dtExpDate;
+ private System.Windows.Forms.CheckBox chkExp;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Button btSaveAdd;
+ private System.Windows.Forms.GroupBox groupBox1;
+ private System.Windows.Forms.GroupBox groupBox2;
+ private System.Windows.Forms.LinkLabel linkLabel1;
+ private System.Windows.Forms.LinkLabel linkLabel2;
+ public System.Windows.Forms.PictureBox pictureBox1;
+ private System.Windows.Forms.LinkLabel linkLabel3;
+ private System.Windows.Forms.LinkLabel linkLabel4;
+ private dsPurchase dsPurchase;
+ private System.Windows.Forms.BindingSource purchaseBindingSource;
+ private dsPurchaseTableAdapters.PurchaseTableAdapter purchaseTableAdapter;
+ private System.Windows.Forms.ComboBox tbDept;
+ private System.Windows.Forms.ComboBox tbAsset;
+ }
+}
\ No newline at end of file
diff --git a/SubProject/FEQ0000/Purchase/fPurchase_Add.cs b/SubProject/FEQ0000/Purchase/fPurchase_Add.cs
new file mode 100644
index 0000000..faa7193
--- /dev/null
+++ b/SubProject/FEQ0000/Purchase/fPurchase_Add.cs
@@ -0,0 +1,607 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace FEQ0000
+{
+ public partial class fPurchase_Add : Form
+ {
+ dsPurchase.PurchaseRow dr;
+ public Boolean repeatAdd = false;
+ public fPurchase_Add(dsPurchase.PurchaseRow dr_)
+ {
+ InitializeComponent();
+ this.dr = dr_;
+ this.KeyPreview = true;
+ this.StartPosition = FormStartPosition.CenterScreen;
+ this.KeyDown += (s1, e1) =>
+ {
+ if (e1.KeyCode == Keys.Escape) this.Close();
+ };
+
+ foreach (Control ctl in groupBox1.Controls)
+ {
+ if (ctl.GetType() == typeof(TextBox) || ctl.GetType() == typeof(ComboBox))
+ {
+ ctl.KeyDown += ctl_KeyDown;
+ }
+ }
+ }
+ private void __Load(object sender, EventArgs e)
+ {
+ // TODO: 이 코드는 데이터를 'dsPurchase.Purchase' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
+ this.purchaseTableAdapter.Fill(this.dsPurchase.Purchase);
+ // this.Show();
+ // Application.DoEvents();
+
+ //statelist
+ var stateList = FCOMMON.DBM.getCodeTable("04");
+ this.cmbState.DisplayMember = "Value";
+ this.cmbState.ValueMember = "Value";
+ this.cmbState.DataSource = stateList;
+
+ //적용위치
+ var dt_dept = FCOMMON.DBM.getCodeTable("06");
+ this.tbDept.DisplayMember = "Value";
+ this.tbDept.ValueMember = "Value";
+ this.tbDept.DataSource = dt_dept;
+
+ //적용장비
+ var dt_asset = FCOMMON.DBM.getCodeTable("07");
+ this.tbAsset.DisplayMember = "Value";
+ this.tbAsset.ValueMember = "Value";
+ this.tbAsset.DataSource = dt_asset;
+
+ //processlist
+ var procList = FCOMMON.DBM.getGroupTable("process", "Purchase", "process <> ''");
+ this.cmbProcess.DisplayMember = "Value";
+ this.cmbProcess.ValueMember = "Key";
+ this.cmbProcess.DataSource = new BindingSource(procList, "");
+
+ //juserlist
+ var userList = FCOMMON.DBM.getGroupList("name", "Users", "[level] > 0 and [level] < 10");
+ foreach (var user in userList)
+ {
+ this.cmbReceive.Items.Add(user);
+ this.cmbRequest.Items.Add(user);
+ }
+
+ dtPdate.Value = DateTime.Parse(dr.pdate);
+
+ if(dr.IsindateNull() || dr.indate.isEmpty())
+ {
+ this.chkInDate.Checked = false;
+ }
+ else
+ {
+ this.chkInDate.Checked = true;
+ dtInDate.Value = DateTime.Parse(dr.indate);
+ }
+
+ if (dr.IsedateNull() || dr.edate.isEmpty())
+ {
+ this.chkExp.Checked = false;
+ }
+ else
+ {
+ this.chkExp.Checked = true;
+ dtExpDate.Value = DateTime.Parse(dr.edate);
+ }
+
+ ///입력된 데이터를 적용한다.
+ dtPdate.Value = DateTime.Parse(dr.pdate);
+ cmbRequest.Text = dr.request;
+ tbSID.Text = dr.sid;
+ tbAsset.Text = dr.asset;
+ tbDept.Text = dr.dept;
+ tbPumName.Text = dr.pumname;
+ tbPumModel.Text = dr.pumscale;
+ tbPumQty.Text = dr.pumqty.ToString();
+ tbPumStock.Text = "--";
+ if (dr.IspumidxNull()) tbPumIDX.Text = "-1";
+ else tbPumIDX.Text = dr.pumidx.ToString();
+ tbPumPrice.Text = dr.pumprice.ToString();
+ tbPumAmt.Text = dr.pumamt.ToString("N0"); //천단위 구분기호 추가 181222
+ tbPumUnit.Text = dr.pumunit;
+ tbSupply.Text = dr.supply;
+ tbSupplyIndex.Text = dr.supplyidx.ToString();
+ tbProject.Text = dr.project;
+ tbProjectIndex.Text = dr.projectidx.ToString();
+
+ cmbState.Text = dr.state;
+ cmbReceive.Text = dr.receive;
+ cmbProcess.Text = dr.process;
+ if(cmbProcess.Text == "")
+ {
+ //181203
+ var lastprocess = FCOMMON.DBM.getFirstValue("process", "purchase", "request like '%" + this.cmbRequest.Text + "%'", "pdate desc");
+ if (lastprocess != "") cmbProcess.Text = lastprocess;
+
+ }
+ tbSC.Text = dr.sc;
+ tbPO.Text = dr.po;
+ tbBigo.Text = dr.bigo;
+ dtInDate.Text = dr.indate;
+ dtExpDate.Text = dr.edate;
+
+ //chkInDate.Checked = !dr.IsindateNull();
+ //chkExp.Checked = !dr.IsedateNull();
+
+ this.dtExpDate.Enabled = chkExp.Checked;
+ this.dtInDate.Enabled = chkInDate.Checked;
+
+ //일반사용자의경우에는 상태를 변경하지 못한다.
+ int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth( FCOMMON.DBM.eAutoType.purchase));
+ if (curLevel < 5)
+ {
+ if (dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Added)
+ cmbReceive.Enabled = false;
+
+ cmbState.Enabled = false;
+ if (cmbRequest.Text != "") cmbRequest.Enabled = false;
+
+ //데이터가 편집 상태인데 요청자가 내가 아닌경우에도 편집 불가
+ Boolean enb = true;
+ if (dr.RowState == DataRowState.Unchanged && dr.request != FCOMMON.info.Login.nameK)
+ enb = false;
+ if (tbSC.Text.Trim() != "") enb = false;
+
+ if (enb==false) //일반 사용자는 쇼핑, 카드 잇으면 수정 불가
+ {
+ btSave.Enabled = false;
+ btSaveAdd.Enabled = false;
+ groupBox1.Enabled = false;
+ groupBox2.Enabled = false;
+ }
+ }
+
+ this.Show();
+ Application.DoEvents();
+ tbSID.Focus();
+
+ //이미지를 불러온다.
+ if(dr.RowState != DataRowState.Detached && dr.RowState != DataRowState.Deleted && dr.RowState != DataRowState.Added)
+ {
+ if (dr.IspumidxNull() == false && dr.pumidx != -1)
+ {
+ var img = FCOMMON.DBM.GetImageData("Items", "image", dr.pumidx);
+ if (img != null)
+ {
+ this.pictureBox1.Image = img;
+ }
+ }
+ }
+
+ }
+
+ string sidTrim(string sid)
+ {
+ return sid.Replace(" ", "").Replace("-", "").Replace("_", "").Trim();
+ }
+
+ void ctl_KeyDown(object sender, KeyEventArgs e)
+ {
+ if (e.KeyCode == Keys.Enter)
+ {
+
+ Control ctl = sender as Control;
+ string nm = ctl.Name.ToLower();
+ string search = ctl.Text.Trim();
+
+ Console.WriteLine("inner keydown " + nm + ":" +search);
+
+ switch (nm)
+ {
+ case "cmbrequest":
+ //요청자가 마지막으로 입력한 자료의 process 를 찾아서 기입해준다.
+ var lastprocess = FCOMMON.DBM.getFirstValue("process", "purchase", "request like '%" + this.cmbRequest.Text + "%'", "pdate desc");
+ if (lastprocess != "") cmbProcess.Text = lastprocess;
+ tbSID.Focus();
+ break;
+ case "tbsid":
+ if (search != "" && search != "신규")
+ {
+ //if (search.Length == 9 && search.IndexOf('-') == -1)
+ //{
+ // search = string.Format("{0}-{1}-{2}",
+ // search.Substring(0, 3),
+ // search.Substring(3, 3),
+ // search.Substring(6, 3));
+ // tbSID.Text = search;
+ //}
+ var f = new FCM0000.fLovItem("%" + sidTrim(search) + "%");
+ if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ tbSID.Text = sidTrim(f.SID);
+ tbPumIDX.Text = f.item.ToString();
+ tbPumName.Text = f.itemName;
+ tbPumModel.Text = f.itemmodel;
+ tbPumPrice.Text = f.itemprice.ToString();
+ tbPumQty.Text = "1";
+ tbPumUnit.Text = f.itemUnit; //181214
+ //pumamtTextBox.Text = tbPumPrice.Text;\
+ //이 제품의 마지막 구매기록을 찾아서 업데이트 해준다.
+ var pcInfo = FCOMMON.DBM.getLastPurchaseInfo(f.item);
+ if(pcInfo.idx != -1)
+ {
+ tbSupply.Text = pcInfo.supply;
+ tbSupplyIndex.Text = pcInfo.supplyidx.ToString();
+ if(pcInfo.project !="" && tbProject.Text == "")
+ tbProject.Text = pcInfo.project;
+ }
+ else
+ {
+ tbSupply.Text = f.itemSupply;
+ tbSupplyIndex.Text = f.itemSupplyidx.ToString();
+ }
+
+ if (tbPumIDX.Text != "")
+ {
+ var image = FCOMMON.DBM.GetImageData("Items", "image", int.Parse(tbPumIDX.Text));
+ var oimage = this.pictureBox1.Image;
+ this.pictureBox1.Image = image;
+ if (oimage != null) oimage.Dispose();
+ }
+
+
+ //이름을 선택되었으므로 모델을 선택한다.
+ tbPumModel.Focus();
+ this.Invalidate();
+ return;
+ }
+ }
+ tbPumName.Focus();
+ break;
+ case "tbpumname":
+ if (search != "")
+ {
+ var f = new FCM0000.fLovItem("%" + search + "%");
+ if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ //인덱스값이 다르면 모델 및 가격을 업데이트 한다.
+ tbPumName.Text = f.itemName;
+ if (this.tbPumIDX.Text != f.item.ToString())
+ {
+ this.tbPumIDX.Text = f.item.ToString();
+ this.tbPumModel.Text = f.itemmodel;
+ this.tbPumPrice.Text = f.itemprice.ToString();
+ this.tbSID.Text = f.SID;
+ this.tbPumUnit.Text = f.itemUnit; //181214
+
+ //제품을 찾앗다면 suppy 등을 업데이트 해준다.
+ var pcInfo = FCOMMON.DBM.getLastPurchaseInfo(f.item);
+ if (pcInfo.idx != -1)
+ {
+ tbSupply.Text = pcInfo.supply;
+ tbSupplyIndex.Text = pcInfo.supplyidx.ToString();
+ if (pcInfo.project != "" && tbProject.Text == "")
+ tbProject.Text = pcInfo.project;
+ }
+ else
+ {
+ tbSupply.Text = f.itemSupply;
+ tbSupplyIndex.Text = f.itemSupplyidx.ToString();
+ }
+ }
+ if(tbPumIDX.Text != "")
+ {
+ var image = FCOMMON.DBM.GetImageData("Items", "image", int.Parse(tbPumIDX.Text));
+ var oimage = this.pictureBox1.Image;
+ this.pictureBox1.Image = image;
+ if (oimage != null) oimage.Dispose();
+ }
+ }
+ else this.tbPumIDX.Text = "-1";
+ }
+ tbPumModel.Focus();
+ break;
+ case "tbproject":
+ if (search != "")
+ {
+ FCM0000.fLovProject f = new FCM0000.fLovProject("%" + search + "%");
+ if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ this.tbProject.Text = f.Title;
+ this.tbProjectIndex.Text = f.Index.ToString();
+ }
+ }
+ this.btSaveAdd.Focus();
+ break;
+
+ case "tbsupply":
+ if (search != "")
+ {
+ FCM0000.fLovSupply f = new FCM0000.fLovSupply(search);
+ if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ tbSupply.Text = f.Title;
+ tbSupplyIndex.Text = f.Index.ToString();
+ this.tbProject.Focus();
+
+ }
+ }
+ tbProject.Focus();
+ break;
+ default:
+ SendKeys.Send("{TAB}");
+ break;
+ }
+ }
+ }
+
+
+ private bool saveData()
+ {
+ this.Validate();
+
+ tbSID.Text = sidTrim(tbSID.Text);
+
+ if(cmbProcess.Text.Trim() == "")
+ {
+ FCOMMON.Util.MsgE("프로세스를 선택하세요.");
+ cmbProcess.Focus();
+ return false;
+ }
+
+ if (tbPumName.Text.isEmpty())
+ {
+ FCOMMON.Util.MsgE("품명이 없습니다.");
+ tbPumName.Focus();
+ return false;
+ }
+
+ if(tbPumModel.Text=="")
+ {
+ FCOMMON.Util.MsgE("제품 모델을 입력하세요.");
+ tbPumModel.Focus();
+ return false;
+ }
+ if(tbPumQty.Text =="")
+ {
+ FCOMMON.Util.MsgE("수량을 입력하세요.");
+ tbPumQty.Focus();
+ return false;
+ }
+ if (tbProject.Text == "")
+ {
+ FCOMMON.Util.MsgE("프로젝트 정보를 입력하세요.");
+ tbProject.Focus();
+ return false;
+ }
+
+ if(dr.RowState != DataRowState.Detached && dr.RowState != DataRowState.Added )
+ {
+ if(dr.sc != tbSC.Text.Trim() && tbSC.Text != "")
+ {
+ dtPdate.Value = DateTime.Now;
+ this.cmbState.SelectedValue = "Approving";
+ //if (dr.state == "00") dr.state = "01"; //approv 변경
+ }
+ }
+
+
+
+ //수령을 했는데. 현재 상태가 04 미만이면 04(수령)으로 변경 한다.
+ if(chkInDate.Checked)
+ {
+ var curState = this.cmbState.Text.Trim();
+ if(curState.ToLower() == "po" || curState.ToLower() == "pr" ||
+ curState.ToLower() == "approving")
+ {
+ this.cmbState.SelectedValue = "Received";
+ }
+
+ }
+
+ if (tbPumQty.Text.isEmpty()) tbPumQty.Text = "0";
+ if (tbPumPrice.Text.isEmpty()) tbPumPrice.Text = "0";
+ dr.pumqty = int.Parse(tbPumQty.Text);
+ dr.pumprice = decimal.Parse(tbPumPrice.Text);
+ dr.pumamt = dr.pumqty * dr.pumprice;
+ if (tbPumIDX.Text == "" || tbPumIDX.Text == "-1") dr.SetpumidxNull();
+ else dr.pumidx = int.Parse(tbPumIDX.Text);
+
+ var sid = this.tbSID.Text.Replace("-", "").Replace(" ", "").Replace("-","").Trim();
+ //if (sid.Length == 9) sid = sid.Substring(0, 3) + "-" + sid.Substring(3, 3) + "-" + sid.Substring(6, 3);
+ dr.sid = sid;
+
+ if (chkExp.Checked) dr.edate = this.dtExpDate.Value.ToShortDateString();
+ else dr.SetedateNull();
+ if (chkInDate.Checked) dr.indate = this.dtInDate.Value.ToShortDateString();
+ else dr.SetindateNull();
+ dr.pdate = this.dtPdate.Value.ToShortDateString();
+
+
+ dr.request = cmbRequest.Text;
+ dr.sid = tbSID.Text;
+ dr.asset = tbAsset.Text;
+ dr.dept = tbDept.Text;
+ dr.pumname = tbPumName.Text;
+ dr.pumname = dr.pumname.Replace("*", "x"); //181031
+
+ dr.pumscale = tbPumModel.Text;
+ dr.pumscale = dr.pumscale.Replace("*", "x"); //181031
+ dr.pumunit = tbPumUnit.Text;
+
+ dr.supply = tbSupply.Text;
+
+ if (tbSupplyIndex.Text == "") dr.SetsupplyidxNull();
+ else dr.supplyidx = int.Parse(tbSupplyIndex.Text);
+
+ dr.project = tbProject.Text;
+ if (tbProjectIndex.Text == "") dr.SetprojectidxNull();
+ else dr.projectidx = int.Parse(tbProjectIndex.Text);
+
+ dr.state = cmbState.Text.Trim();
+ dr.receive = cmbReceive.Text;
+ dr.process = cmbProcess.Text;
+ dr.sc = tbSC.Text;
+ dr.po = tbPO.Text;
+ dr.bigo = tbBigo.Text;
+
+ //품정보가 업데이트 되어있으면 해당 데이터의 이미지를 업데이트 한다.(크기비교)
+ //품정보가 없다면 그대로 생성을 해준다.
+ if (tbPumIDX.Text == "" || tbPumIDX.Text == "-1")
+ {
+
+ //아이템을 추가해야하낟.
+ byte[] pic = null;
+ if(this.pictureBox1.Image !=null && this.pictureBox1.Tag.ToString() == "U")
+ {
+ //이미지를 변경해줘야 한다.
+ pic = FCOMMON.DBM.getImagByteArray(this.pictureBox1.Image);
+ }
+ var newidx = FCOMMON.DBM.addItem(dr.pumname, dr.sid, dr.pumscale, dr.pumprice, dr.supply, dr.supplyidx, pic);
+ if(newidx != null && newidx != -1)
+ {
+ dr.pumidx = newidx;
+ Console.WriteLine("new pumidx set = " +dr.pumidx.ToString());
+ }
+ }
+ else
+ {
+ //아이템을 추가해야한다(변경된 이름은
+ if (this.pictureBox1.Image != null && this.pictureBox1.Tag.ToString() == "U")
+ {
+ //이미지를 변경해줘야 한다.
+ FCOMMON.DBM.setImageData(this.pictureBox1.Image, "Items", "image", dr.pumidx);
+ }
+ }
+
+ dr.EndEdit();
+
+ return true;
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ if (!saveData()) return;
+ DialogResult = System.Windows.Forms.DialogResult.OK;
+ }
+
+ private void chkInDate_CheckedChanged(object sender, EventArgs e)
+ {
+ this.dtInDate.Enabled = chkInDate.Checked;
+ }
+
+ private void chkExp_CheckedChanged(object sender, EventArgs e)
+ {
+ this.dtExpDate.Enabled = chkExp.Checked;
+ }
+
+ private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ string code = "";
+ if (cmbState.SelectedIndex < 0) label3.Text = "--";
+ else
+ {
+ //var value = cmbState.DataSource as BindingSource;
+ //var list = value.DataSource as Dictionary;
+ //var item = list.Values
+ if (cmbState.Text.StartsWith("[") == false) return;
+ code = cmbState.Text.ToString().Substring(1,2);
+ var desc = FCOMMON.DBM.getCodeSavlue("04", code);
+ label3.Text = desc;
+
+ }
+ switch (code)
+ {
+ case "01":
+ label3.BackColor = Color.LightBlue;
+ break;
+ case "02":
+ label3.BackColor = Color.SkyBlue;
+ break;
+ case "03":
+ label3.BackColor = Color.Yellow;
+ break;
+ case "04":
+ label3.BackColor = Color.Green;
+ break;
+ case "06":
+ case "05":
+ label3.BackColor = Color.Red;
+ break;
+ case "07":
+ label3.BackColor = Color.Magenta;
+ break;
+ default:
+ label3.BackColor = Color.LightGray;
+ break;
+ }
+
+ }
+
+ private void button2_Click(object sender, EventArgs e)
+ {
+ if (!saveData()) return;
+ this.repeatAdd = true;
+ DialogResult = System.Windows.Forms.DialogResult.OK;
+ }
+
+ private void tbPumQty_TextChanged(object sender, EventArgs e)
+ {
+ var strQty = this.tbPumQty.Text;
+ var strPrice = this.tbPumPrice.Text;
+
+ int qty = 0;
+ double price = 0;
+ if (strQty.IsNumeric()) qty = int.Parse(strQty);
+ if (strPrice.IsNumeric()) price = double.Parse(strPrice);
+ double amt = price * qty;
+ tbPumAmt.Text = amt.ToString("N0");
+ }
+
+ private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
+ {
+ string path ="\\\\k4fs3201n\\ee1t$\\1. 장비기술1파트\\24_Project & Overhaul 예산 사용 실적\\구매 견적서\\" + DateTime.Now.Year.ToString("0000") + "년";
+ FCOMMON.Util.RunExplorer(path);
+ }
+
+ private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
+ {
+ OpenFileDialog od = new OpenFileDialog();
+ if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
+ var image = Image.FromFile(od.FileName);
+ var oimage = this.pictureBox1.Image;
+ this.pictureBox1.Image = image;
+ this.pictureBox1.SizeMode = PictureBoxSizeMode.Zoom;
+ this.pictureBox1.Tag = "U";
+ if (oimage != null) oimage.Dispose();
+ }
+
+ private void imgpase_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
+ {
+ if (!Clipboard.ContainsImage())
+ {
+ FCOMMON.Util.MsgE("이미지를 먼저 클립보드에 복사 하세요.");
+ return;
+ }
+
+ var image = Clipboard.GetImage();
+ var oimage = this.pictureBox1.Image;
+ this.pictureBox1.Image = image;
+ this.pictureBox1.Tag = "U";
+ if (oimage != null) oimage.Dispose();
+ }
+
+ private void linkLabel4_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
+ {
+ FCOMMON.fWebCamera f = new FCOMMON.fWebCamera(FCOMMON.info.camIndex);
+ if(f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ var bmp = f.bmp.Clone();
+ Application.DoEvents();
+ var oimag = this.pictureBox1.Image;
+ this.pictureBox1.Image = (Image)bmp;
+ if (oimag != null) oimag.Dispose();
+ }
+ }
+
+ }
+}
diff --git a/SubProject/FEQ0000/Purchase/fPurchase_Add.resx b/SubProject/FEQ0000/Purchase/fPurchase_Add.resx
new file mode 100644
index 0000000..073f019
--- /dev/null
+++ b/SubProject/FEQ0000/Purchase/fPurchase_Add.resx
@@ -0,0 +1,180 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ 17, 17
+
+
+ 131, 17
+
+
+ 313, 17
+
+
\ No newline at end of file
diff --git a/SubProject/FEQ0000/Resources/action_save.gif b/SubProject/FEQ0000/Resources/action_save.gif
new file mode 100644
index 0000000..6e6f7de
Binary files /dev/null and b/SubProject/FEQ0000/Resources/action_save.gif differ
diff --git a/SubProject/FPJ0000/FPUtil.cs b/SubProject/FPJ0000/FPUtil.cs
new file mode 100644
index 0000000..8ad50f5
--- /dev/null
+++ b/SubProject/FPJ0000/FPUtil.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FPJ0000
+{
+ public static class FPUtil
+ {
+ public static void ColsizeSave(FarPoint.Win.Spread.FpSpread dv, string fn)
+ {
+ arUtil.INIHelper ini = new arUtil.INIHelper(fn);
+ foreach (FarPoint.Win.Spread.Column col in dv.ActiveSheet.Columns)
+ ini.set_Data("colsize", "index_" + col.Index.ToString(), col.Width.ToString());
+ ini.Flush();
+ }
+ public static void ColSizeLoad(ref FarPoint.Win.Spread.FpSpread dv, string fn)
+ {
+ if (System.IO.File.Exists(fn) == false) return;
+ arUtil.INIHelper ini = new arUtil.INIHelper(fn);
+ foreach (FarPoint.Win.Spread.Column col in dv.ActiveSheet.Columns)
+ {
+ var width = ini.get_Data("colsize", "index_" + col.Index.ToString(), "0");
+ col.Width = float.Parse(width);
+ }
+ }
+ }
+}
diff --git a/SubProject/FPJ0000/JobReport/fJobReport.cs b/SubProject/FPJ0000/JobReport/fJobReport.cs
new file mode 100644
index 0000000..09c759b
--- /dev/null
+++ b/SubProject/FPJ0000/JobReport/fJobReport.cs
@@ -0,0 +1,149 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using util = FCOMMON.Util;
+
+namespace FPJ0000
+{
+ public partial class fJobReport : FCOMMON.fBase
+ {
+ string fn_fpcolsize = "";
+ public fJobReport()
+ {
+ InitializeComponent();
+ fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
+ this.dsMSSQL.Projects.TableNewRow += Projects_TableNewRow;
+ this.FormClosed += __Closed;
+ }
+
+ void __Closed(object sender, FormClosedEventArgs e)
+ {
+
+ }
+
+ private void __Load(object sender, EventArgs e)
+ {
+ //프로젝트 목록을 처리함
+ this.tbRequest.Text = FCOMMON.info.Login.nameK;
+
+ //state list
+ var stList = FCOMMON.DBM.getCodeList("05");
+ this.cmbState.Items.Clear();
+ cmbState.Items.Add("-- All --");
+ // cmbState.Items.Add("-- incomplete --");
+ foreach (var item in stList)
+ cmbState.Items.Add(item);
+ this.cmbState.SelectedIndex = 0;
+
+ refreshData();
+ FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
+ }
+
+ void refreshData()
+ {
+ string state = "%";
+ if (cmbState.SelectedIndex > 0) state = cmbState.Text.Split(',')[0].Substring(1);
+ string request = "%";
+ if (tbRequest.Text.Trim() != "") request = "%" + this.tbRequest.Text.Trim() + "%";
+
+ this.ta.Fill(this.dsMSSQL.JobReport, dtSD.Text, dtED.Text, "%");
+ }
+
+ void saveData()
+ {
+ this.Validate();
+ this.bs.EndEdit();
+ this.tam.UpdateAll(this.dsMSSQL);
+ }
+
+ private void projectsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
+ {
+ saveData();
+
+ }
+ void Projects_TableNewRow(object sender, DataTableNewRowEventArgs e)
+ {
+ e.Row["wuid"] = FCOMMON.info.Login.no;
+ e.Row["wdate"] = DateTime.Now;
+ e.Row["type"] = "02";//other
+ e.Row["uid"] = FCOMMON.info.Login.no;
+ e.Row["process"] = "Done";
+ e.Row["Group"] = "Automation";
+ e.Row["hrs"] = 0.5;
+ }
+
+ private void refreshToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ refreshData();
+ }
+
+ private void partListToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ var drv =this.bs.Current as DataRowView;
+ if(drv == null) return;
+ var dr = drv.Row as dsPRJ.ProjectsRow;
+ var f = new fPartList(dr.idx);
+ f.MdiParent = this.MdiParent;
+ f.Show();
+ }
+
+
+ private void autoToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true;
+
+ for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
+ this.fpSpread1.ActiveSheet.SetRowHeight(i, 25);
+ //dv1.AutoResizeColumns();
+ }
+
+ private void resetToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns)
+ {
+ col.Width = 100;
+ }
+ }
+
+ private void saveToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize);
+ }
+
+ private void loadToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
+ }
+
+ private void btSearch_Click(object sender, EventArgs e)
+ {
+ refreshData();
+ }
+
+ private void toolStripLabel3_Click(object sender, EventArgs e)
+ {
+ //사용자목록처리
+ tbRequest.Text = string.Empty;
+ refreshData();
+ }
+
+ private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
+ {
+ var newdr = this.dsMSSQL.JobReport.NewJobReportRow();
+ JobReport.fJobReport_Add f = new JobReport.fJobReport_Add(newdr);
+ if(f.ShowDialog() != System.Windows.Forms.DialogResult.OK)
+ {
+ newdr.Delete();
+ }
+ else
+ {
+ this.dsMSSQL.JobReport.AddJobReportRow(newdr);
+ }
+ }
+ }
+}
diff --git a/SubProject/FPJ0000/JobReport/fJobReport.resx b/SubProject/FPJ0000/JobReport/fJobReport.resx
new file mode 100644
index 0000000..983fa36
--- /dev/null
+++ b/SubProject/FPJ0000/JobReport/fJobReport.resx
@@ -0,0 +1,266 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 259, 17
+
+
+ 122, 17
+
+
+ 17, 17
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
+ DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
+ rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
+ i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
+ 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
+ QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
+ bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
+ wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
+ v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
+ UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
+ Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
+ lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
+ 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
+ Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
+ 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
+ n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
+ N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
+ oAc0QjgAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
+ h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
+ twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
+ kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
+ WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
+ 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
+ pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
+ Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
+ /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
+ zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
+ IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
+ rkJggg==
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
+ dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
+
+
+
+ 325, 17
+
+
+
+ R0lGODlhEAAQAIQfAJXG2JXa+ZLO5ChrlkCy4TZ1kiVvpCN0trvo9SN5xTd4lrfh7iR9zo3S+EGz7JDJ
+ 4TaCromrvC9ymyV+0Dd3mTl1koe72YvN7LTj+9ne6N3g6v7+/0Cw2Stoh////////yH/C05FVFNDQVBF
+ Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAInwA/CBzooaAHgQUHKvRQoUABCgUlHFT4IYMCBAsQIIBg
+ wcBEgh0WCBDAgcAFDAc+fvDQIUKHDgMeEHDQIIFKlgoMGgjQoAGDmwUOehhg4EACBhM+GlzKVOkEBgkO
+ GBggNOhCBhgCBPBYUEGHmwkCOCDwYMCAll8XHghwgQCHkQDSLjRgAcKDBwAAKNCwgaIHiR4oOKygkuDE
+ pRQTK6YYEAA7
+
+
+
+
+ R0lGODlhEAAQAIQfALnik2aXQv7+/dPut73llbfala3LmW6gSWqdQ2eYRGqaSLfck568iYrUQN7yzF6R
+ PLTXlYjUP8XwmYfQQLbYl4jRQGiaQsPumNbyu7nglNPzsLXYlf7+/lCHK////////yH/C05FVFNDQVBF
+ Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIlgA/CBzooaAHgQUHEvSgIEAABQUfHFTIwQECDAMwYDhg
+ oENCgRw8dBgAAECFBgsweJxYsAODDjApTIhAwCMHkCItGOxwgUCGlQQTeAgJsyhQg0iTGvzQ0qhND0IX
+ dtBwQcJKDxZsIhQpIcIECkVffmwpYUGDCiUheBQg1cCBAgU2QFDg4KZCDxIZOoQ48S7LpQoDCx4cEAA7
+
+
+
+
+ R0lGODlhEAAQAIQAAJXD9Iasxm6MqnSn2lZtjVaRyEpXbYu767TX/2KZztvr/4Gy5KrT/3ut32+gzlFh
+ e+r0/0RNX9/u/9Ln+8Xg//n8/4e36CkxQz9GVkSCvKjL35/N/Je91K7T5bDS4////yH/C05FVFNDQVBF
+ Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIuQA/CBxIsKDACRwScggQwIGAhwIICBDYQcEEgwg+bNjw
+ QKCHCQgkQBgpQcKBCg0AEBCoAaRIkhIsVBigUiAHCgwkKNjJU8GAAx0/3NwIAMABCwsaDHCwIGgAChuK
+ HjiQdMDSAQYEPpWKtKqDBA6yfgiAwGhXpUsTJIgg0AGCo0nRfi1QgO0HAQyQNpCrtkAGDAIFbKi69GsC
+ un8FEohqdEFavxkyXAhMoPKDBwYMRIiAAcOFoAZDCwwIADs=
+
+
+
+
+ R0lGODlhEAAQAIQfAJfL/OTs9HWVsW6aUqnT+6bnZldwkYiux7TZ/O3z+UlVa/P2+ZfTW36wWJDLV4m7
+ 69nn78bi/qjL3qDP+VJhe4rAVa7S40NLXJ3bYJrA1ikxQz5FVdDU22OPRf///////yH/C05FVFNDQVBF
+ Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIwQA9CBxIcOCHgx4gWLAgIUOGAwcESBTgAaEFCAEGaBwQ
+ IGOABwYqerCQsYBJBho7JHgAUqCEDjAxYGBQgYHKBAsoCMzQIUIEmA6CdkCAIOfOBT5/MnBQYSgBozCj
+ SoVJ4KkCDx1MFhhKFEFVAhMCXM1aAANMoh2qTgh7AWvZmQ6igp0AIEDbDg0aLA06YC4AABA2eBjgYcHG
+ vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw==
+
+
+
+ 186, 17
+
+
+ 651, 17
+
+
+ 17, 56
+
+
+ 393, 17
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPtZPPasJAEMbzPn0FwWA92JtP4NGKB1/DP7ei
+ QSsovkChh7ZBrCfpyR4sikopUgq9StFzM/UbZ5asSS4FfzAkO7vft5udiZMEnSBpk5dhFJmncjdHxXaG
+ A+9K4SbFT1luEwQBbXavVO5d0nI3ovnW5yeiMriiu+kt5asXbABEdgRigAUQDr+aHLU3lxoLl/yPJhvF
+ GsiYJ/vPdX5qPK3bVJ25VFukafztGQNsKHJ791I3w+8KcpNth8XDz5YxACI/gsR1J8sTYcO4UIzwv1gG
+ cTshgJ5IT8hChTMHsHi+v+fvffmxywVwN2FDkdsGEOK2ceu4feQ0tDqKyKMGqDfqjvprLzyswuX7Tf4E
+ dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII=
+
+
+
\ No newline at end of file
diff --git a/SubProject/FPJ0000/JobReport/fJobReport_Add.Designer.cs b/SubProject/FPJ0000/JobReport/fJobReport_Add.Designer.cs
new file mode 100644
index 0000000..8127cb2
--- /dev/null
+++ b/SubProject/FPJ0000/JobReport/fJobReport_Add.Designer.cs
@@ -0,0 +1,335 @@
+namespace FPJ0000.JobReport
+{
+ partial class fJobReport_Add
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.Windows.Forms.Label groupLabel;
+ System.Windows.Forms.Label uidLabel;
+ System.Windows.Forms.Label progressLabel;
+ System.Windows.Forms.Label memoLabel;
+ System.Windows.Forms.Label hrsLabel;
+ System.Windows.Forms.Label projectLabel;
+ System.Windows.Forms.Label typeLabel;
+ this.dsPRJ = new FPJ0000.dsPRJ();
+ this.bs = new System.Windows.Forms.BindingSource(this.components);
+ this.ta = new FPJ0000.dsPRJTableAdapters.JobReportTableAdapter();
+ this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
+ this.pdateTextBox = new System.Windows.Forms.TextBox();
+ this.groupTextBox = new System.Windows.Forms.TextBox();
+ this.progressTextBox = new System.Windows.Forms.TextBox();
+ this.memoTextBox = new System.Windows.Forms.TextBox();
+ this.hrsTextBox = new System.Windows.Forms.TextBox();
+ this.projectidxTextBox = new System.Windows.Forms.TextBox();
+ this.projectTextBox = new System.Windows.Forms.TextBox();
+ this.statusStrip1 = new System.Windows.Forms.StatusStrip();
+ this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
+ this.lbIndex = new System.Windows.Forms.ToolStripStatusLabel();
+ this.comboBox1 = new System.Windows.Forms.ComboBox();
+ this.typeComboBox = new System.Windows.Forms.ComboBox();
+ this.linkLabel1 = new System.Windows.Forms.LinkLabel();
+ this.button1 = new System.Windows.Forms.Button();
+ groupLabel = new System.Windows.Forms.Label();
+ uidLabel = new System.Windows.Forms.Label();
+ progressLabel = new System.Windows.Forms.Label();
+ memoLabel = new System.Windows.Forms.Label();
+ hrsLabel = new System.Windows.Forms.Label();
+ projectLabel = new System.Windows.Forms.Label();
+ typeLabel = new System.Windows.Forms.Label();
+ ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
+ this.statusStrip1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // dsPRJ
+ //
+ this.dsPRJ.DataSetName = "dsPRJ";
+ this.dsPRJ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+ //
+ // bs
+ //
+ this.bs.DataMember = "JobReport";
+ this.bs.DataSource = this.dsPRJ;
+ //
+ // ta
+ //
+ this.ta.ClearBeforeFill = true;
+ //
+ // tam
+ //
+ this.tam.BackupDataSetBeforeUpdate = false;
+ this.tam.JobReportTableAdapter = this.ta;
+ this.tam.ProjectsPartTableAdapter = null;
+ this.tam.ProjectsTableAdapter = null;
+ this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
+ //
+ // pdateTextBox
+ //
+ this.pdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "pdate", true));
+ this.pdateTextBox.Location = new System.Drawing.Point(89, 65);
+ this.pdateTextBox.Name = "pdateTextBox";
+ this.pdateTextBox.Size = new System.Drawing.Size(200, 21);
+ this.pdateTextBox.TabIndex = 5;
+ //
+ // groupLabel
+ //
+ groupLabel.AutoSize = true;
+ groupLabel.Location = new System.Drawing.Point(42, 41);
+ groupLabel.Name = "groupLabel";
+ groupLabel.Size = new System.Drawing.Size(41, 12);
+ groupLabel.TabIndex = 6;
+ groupLabel.Text = "group:";
+ //
+ // groupTextBox
+ //
+ this.groupTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "group", true));
+ this.groupTextBox.Location = new System.Drawing.Point(90, 38);
+ this.groupTextBox.Name = "groupTextBox";
+ this.groupTextBox.Size = new System.Drawing.Size(200, 21);
+ this.groupTextBox.TabIndex = 7;
+ //
+ // uidLabel
+ //
+ uidLabel.AutoSize = true;
+ uidLabel.Location = new System.Drawing.Point(57, 15);
+ uidLabel.Name = "uidLabel";
+ uidLabel.Size = new System.Drawing.Size(26, 12);
+ uidLabel.TabIndex = 8;
+ uidLabel.Text = "uid:";
+ //
+ // progressLabel
+ //
+ progressLabel.AutoSize = true;
+ progressLabel.Location = new System.Drawing.Point(24, 98);
+ progressLabel.Name = "progressLabel";
+ progressLabel.Size = new System.Drawing.Size(59, 12);
+ progressLabel.TabIndex = 10;
+ progressLabel.Text = "progress:";
+ //
+ // progressTextBox
+ //
+ this.progressTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "progress", true));
+ this.progressTextBox.Location = new System.Drawing.Point(90, 95);
+ this.progressTextBox.Name = "progressTextBox";
+ this.progressTextBox.Size = new System.Drawing.Size(200, 21);
+ this.progressTextBox.TabIndex = 11;
+ //
+ // memoLabel
+ //
+ memoLabel.AutoSize = true;
+ memoLabel.Location = new System.Drawing.Point(38, 180);
+ memoLabel.Name = "memoLabel";
+ memoLabel.Size = new System.Drawing.Size(45, 12);
+ memoLabel.TabIndex = 12;
+ memoLabel.Text = "memo:";
+ //
+ // memoTextBox
+ //
+ this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true));
+ this.memoTextBox.Location = new System.Drawing.Point(90, 177);
+ this.memoTextBox.Multiline = true;
+ this.memoTextBox.Name = "memoTextBox";
+ this.memoTextBox.Size = new System.Drawing.Size(200, 51);
+ this.memoTextBox.TabIndex = 13;
+ //
+ // hrsLabel
+ //
+ hrsLabel.AutoSize = true;
+ hrsLabel.Location = new System.Drawing.Point(179, 127);
+ hrsLabel.Name = "hrsLabel";
+ hrsLabel.Size = new System.Drawing.Size(27, 12);
+ hrsLabel.TabIndex = 16;
+ hrsLabel.Text = "hrs:";
+ //
+ // hrsTextBox
+ //
+ this.hrsTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "hrs", true));
+ this.hrsTextBox.Location = new System.Drawing.Point(213, 124);
+ this.hrsTextBox.Name = "hrsTextBox";
+ this.hrsTextBox.Size = new System.Drawing.Size(77, 21);
+ this.hrsTextBox.TabIndex = 17;
+ //
+ // projectidxTextBox
+ //
+ this.projectidxTextBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
+ this.projectidxTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "projectidx", true));
+ this.projectidxTextBox.Location = new System.Drawing.Point(239, 150);
+ this.projectidxTextBox.Name = "projectidxTextBox";
+ this.projectidxTextBox.Size = new System.Drawing.Size(51, 21);
+ this.projectidxTextBox.TabIndex = 25;
+ this.projectidxTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // projectLabel
+ //
+ projectLabel.AutoSize = true;
+ projectLabel.Location = new System.Drawing.Point(36, 153);
+ projectLabel.Name = "projectLabel";
+ projectLabel.Size = new System.Drawing.Size(47, 12);
+ projectLabel.TabIndex = 26;
+ projectLabel.Text = "project:";
+ //
+ // projectTextBox
+ //
+ this.projectTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "project", true));
+ this.projectTextBox.Location = new System.Drawing.Point(90, 150);
+ this.projectTextBox.Name = "projectTextBox";
+ this.projectTextBox.Size = new System.Drawing.Size(143, 21);
+ this.projectTextBox.TabIndex = 27;
+ //
+ // statusStrip1
+ //
+ this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolStripStatusLabel1,
+ this.lbIndex});
+ this.statusStrip1.Location = new System.Drawing.Point(0, 278);
+ this.statusStrip1.Name = "statusStrip1";
+ this.statusStrip1.Size = new System.Drawing.Size(302, 22);
+ this.statusStrip1.TabIndex = 28;
+ this.statusStrip1.Text = "statusStrip1";
+ //
+ // toolStripStatusLabel1
+ //
+ this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
+ this.toolStripStatusLabel1.Size = new System.Drawing.Size(36, 17);
+ this.toolStripStatusLabel1.Text = "Index";
+ //
+ // lbIndex
+ //
+ this.lbIndex.Name = "lbIndex";
+ this.lbIndex.Size = new System.Drawing.Size(17, 17);
+ this.lbIndex.Text = "--";
+ //
+ // comboBox1
+ //
+ this.comboBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "uid", true));
+ this.comboBox1.FormattingEnabled = true;
+ this.comboBox1.Location = new System.Drawing.Point(90, 12);
+ this.comboBox1.Name = "comboBox1";
+ this.comboBox1.Size = new System.Drawing.Size(200, 20);
+ this.comboBox1.TabIndex = 29;
+ //
+ // typeLabel
+ //
+ typeLabel.AutoSize = true;
+ typeLabel.Location = new System.Drawing.Point(50, 127);
+ typeLabel.Name = "typeLabel";
+ typeLabel.Size = new System.Drawing.Size(33, 12);
+ typeLabel.TabIndex = 29;
+ typeLabel.Text = "type:";
+ //
+ // typeComboBox
+ //
+ this.typeComboBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "type", true));
+ this.typeComboBox.FormattingEnabled = true;
+ this.typeComboBox.Location = new System.Drawing.Point(90, 124);
+ this.typeComboBox.Name = "typeComboBox";
+ this.typeComboBox.Size = new System.Drawing.Size(77, 20);
+ this.typeComboBox.TabIndex = 30;
+ //
+ // linkLabel1
+ //
+ this.linkLabel1.AutoSize = true;
+ this.linkLabel1.Location = new System.Drawing.Point(49, 68);
+ this.linkLabel1.Name = "linkLabel1";
+ this.linkLabel1.Size = new System.Drawing.Size(30, 12);
+ this.linkLabel1.TabIndex = 31;
+ this.linkLabel1.TabStop = true;
+ this.linkLabel1.Text = "Date";
+ this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
+ //
+ // button1
+ //
+ this.button1.Location = new System.Drawing.Point(89, 233);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(201, 31);
+ this.button1.TabIndex = 32;
+ this.button1.Text = "button1";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // fJobReport_Add
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(302, 300);
+ this.Controls.Add(this.button1);
+ this.Controls.Add(this.linkLabel1);
+ this.Controls.Add(typeLabel);
+ this.Controls.Add(this.typeComboBox);
+ this.Controls.Add(this.comboBox1);
+ this.Controls.Add(this.statusStrip1);
+ this.Controls.Add(this.pdateTextBox);
+ this.Controls.Add(groupLabel);
+ this.Controls.Add(this.groupTextBox);
+ this.Controls.Add(uidLabel);
+ this.Controls.Add(progressLabel);
+ this.Controls.Add(this.progressTextBox);
+ this.Controls.Add(memoLabel);
+ this.Controls.Add(this.memoTextBox);
+ this.Controls.Add(hrsLabel);
+ this.Controls.Add(this.hrsTextBox);
+ this.Controls.Add(this.projectidxTextBox);
+ this.Controls.Add(projectLabel);
+ this.Controls.Add(this.projectTextBox);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "fJobReport_Add";
+ this.Text = "fJobReport_Add";
+ this.Load += new System.EventHandler(this.fJobReport_Add_Load);
+ ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
+ this.statusStrip1.ResumeLayout(false);
+ this.statusStrip1.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private dsPRJ dsPRJ;
+ private System.Windows.Forms.BindingSource bs;
+ private dsPRJTableAdapters.JobReportTableAdapter ta;
+ private dsPRJTableAdapters.TableAdapterManager tam;
+ private System.Windows.Forms.TextBox pdateTextBox;
+ private System.Windows.Forms.TextBox groupTextBox;
+ private System.Windows.Forms.TextBox progressTextBox;
+ private System.Windows.Forms.TextBox memoTextBox;
+ private System.Windows.Forms.TextBox hrsTextBox;
+ private System.Windows.Forms.TextBox projectidxTextBox;
+ private System.Windows.Forms.TextBox projectTextBox;
+ private System.Windows.Forms.StatusStrip statusStrip1;
+ private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
+ private System.Windows.Forms.ToolStripStatusLabel lbIndex;
+ private System.Windows.Forms.ComboBox comboBox1;
+ private System.Windows.Forms.ComboBox typeComboBox;
+ private System.Windows.Forms.LinkLabel linkLabel1;
+ private System.Windows.Forms.Button button1;
+ }
+}
\ No newline at end of file
diff --git a/SubProject/FPJ0000/JobReport/fJobReport_Add.cs b/SubProject/FPJ0000/JobReport/fJobReport_Add.cs
new file mode 100644
index 0000000..ba8e0ca
--- /dev/null
+++ b/SubProject/FPJ0000/JobReport/fJobReport_Add.cs
@@ -0,0 +1,43 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace FPJ0000.JobReport
+{
+ public partial class fJobReport_Add : Form
+ {
+ dsPRJ.JobReportRow dr;
+ public fJobReport_Add( dsPRJ.JobReportRow dr_ )
+ {
+ InitializeComponent();
+ dr =dr_;
+ }
+
+ private void fJobReport_Add_Load(object sender, EventArgs e)
+ {
+ //사용자목록
+ this.bs.DataSource = dr;
+
+ }
+
+ private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
+ {
+ FCM0000.fSelectDate f = new FCM0000.fSelectDate(pdateTextBox.Text);
+ if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
+ pdateTextBox.Text = f.dtSelect.ToShortDateString();
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ this.Invalidate();
+ this.bs.EndEdit();
+ DialogResult = System.Windows.Forms.DialogResult.OK;
+ }
+
+ }
+}
diff --git a/SubProject/FPJ0000/JobReport/fJobReport_Add.resx b/SubProject/FPJ0000/JobReport/fJobReport_Add.resx
new file mode 100644
index 0000000..3720edb
--- /dev/null
+++ b/SubProject/FPJ0000/JobReport/fJobReport_Add.resx
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
+ 100, 17
+
+
+ 164, 17
+
+
+ 226, 17
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ 299, 17
+
+
+ False
+
+
\ No newline at end of file
diff --git a/SubProject/FPJ0000/Properties/licenses.licx b/SubProject/FPJ0000/Properties/licenses.licx
new file mode 100644
index 0000000..43d4733
--- /dev/null
+++ b/SubProject/FPJ0000/Properties/licenses.licx
@@ -0,0 +1 @@
+FarPoint.Win.Spread.FpSpread, FarPoint.Win.Spread, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457
diff --git a/SubProject/FPJ0000/fProjectIOMap.Designer.cs b/SubProject/FPJ0000/fProjectIOMap.Designer.cs
new file mode 100644
index 0000000..17b2565
--- /dev/null
+++ b/SubProject/FPJ0000/fProjectIOMap.Designer.cs
@@ -0,0 +1,389 @@
+namespace FPJ0000
+{
+ partial class fProjectIOMap
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectIOMap));
+ 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();
+ this.dsPRJ = new FPJ0000.dsPRJ();
+ this.bs = new System.Windows.Forms.BindingSource(this.components);
+ this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
+ this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsIOMapTableAdapter();
+ this.bn = new System.Windows.Forms.BindingNavigator(this.components);
+ this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
+ this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
+ this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
+ this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
+ this.projectsScheduleBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
+ this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
+ this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
+ this.exportListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
+ ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
+ this.bn.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
+ this.cm1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // dsPRJ
+ //
+ this.dsPRJ.DataSetName = "dsPRJ";
+ this.dsPRJ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+ //
+ // bs
+ //
+ this.bs.DataMember = "ProjectsIOMap";
+ this.bs.DataSource = this.dsPRJ;
+ //
+ // tam
+ //
+ this.tam.BackupDataSetBeforeUpdate = false;
+ this.tam.JobReportTableAdapter = null;
+ this.tam.ProjectsIOMapTableAdapter = this.ta;
+ this.tam.ProjectsPartTableAdapter = null;
+ this.tam.ProjectsScheduleTableAdapter = null;
+ this.tam.ProjectsTableAdapter = null;
+ this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
+ //
+ // ta
+ //
+ this.ta.ClearBeforeFill = true;
+ //
+ // bn
+ //
+ this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
+ this.bn.BindingSource = this.bs;
+ this.bn.CountItem = this.bindingNavigatorCountItem;
+ this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
+ this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.bindingNavigatorMoveFirstItem,
+ this.bindingNavigatorMovePreviousItem,
+ this.bindingNavigatorSeparator,
+ this.bindingNavigatorPositionItem,
+ this.bindingNavigatorCountItem,
+ this.bindingNavigatorSeparator1,
+ this.bindingNavigatorMoveNextItem,
+ this.bindingNavigatorMoveLastItem,
+ this.bindingNavigatorSeparator2,
+ this.bindingNavigatorAddNewItem,
+ this.bindingNavigatorDeleteItem,
+ this.projectsScheduleBindingNavigatorSaveItem});
+ this.bn.Location = new System.Drawing.Point(0, 532);
+ this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
+ this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
+ this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
+ this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
+ this.bn.Name = "bn";
+ this.bn.PositionItem = this.bindingNavigatorPositionItem;
+ this.bn.Size = new System.Drawing.Size(549, 25);
+ this.bn.TabIndex = 0;
+ this.bn.Text = "bindingNavigator1";
+ //
+ // bindingNavigatorAddNewItem
+ //
+ this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
+ this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
+ this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(65, 22);
+ this.bindingNavigatorAddNewItem.Text = "Add(&A)";
+ //
+ // bindingNavigatorCountItem
+ //
+ this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
+ this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
+ this.bindingNavigatorCountItem.Text = "/{0}";
+ this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
+ //
+ // bindingNavigatorDeleteItem
+ //
+ this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
+ this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
+ this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(78, 22);
+ this.bindingNavigatorDeleteItem.Text = "Delete(&D)";
+ //
+ // bindingNavigatorMoveFirstItem
+ //
+ this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
+ this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
+ this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
+ //
+ // bindingNavigatorMovePreviousItem
+ //
+ this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
+ this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
+ this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
+ //
+ // bindingNavigatorSeparator
+ //
+ this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
+ this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
+ //
+ // bindingNavigatorPositionItem
+ //
+ this.bindingNavigatorPositionItem.AccessibleName = "위치";
+ this.bindingNavigatorPositionItem.AutoSize = false;
+ this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
+ this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
+ this.bindingNavigatorPositionItem.Text = "0";
+ this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
+ //
+ // bindingNavigatorSeparator1
+ //
+ this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
+ this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
+ //
+ // bindingNavigatorMoveNextItem
+ //
+ this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
+ this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
+ this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
+ //
+ // bindingNavigatorMoveLastItem
+ //
+ this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
+ this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
+ this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
+ //
+ // bindingNavigatorSeparator2
+ //
+ this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
+ this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
+ //
+ // projectsScheduleBindingNavigatorSaveItem
+ //
+ this.projectsScheduleBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("projectsScheduleBindingNavigatorSaveItem.Image")));
+ this.projectsScheduleBindingNavigatorSaveItem.Name = "projectsScheduleBindingNavigatorSaveItem";
+ this.projectsScheduleBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22);
+ this.projectsScheduleBindingNavigatorSaveItem.Text = "Save(&S)";
+ this.projectsScheduleBindingNavigatorSaveItem.Click += new System.EventHandler(this.projectsScheduleBindingNavigatorSaveItem_Click);
+ //
+ // fpSpread1
+ //
+ this.fpSpread1.AccessibleDescription = "";
+ this.fpSpread1.ContextMenuStrip = this.cm1;
+ this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.fpSpread1.EditModeReplace = true;
+ this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.fpSpread1.Location = new System.Drawing.Point(0, 0);
+ this.fpSpread1.Name = "fpSpread1";
+ this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
+ this.fpSpread1_Sheet1});
+ this.fpSpread1.Size = new System.Drawing.Size(549, 532);
+ this.fpSpread1.TabIndex = 1;
+ //
+ // cm1
+ //
+ this.cm1.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.columnSizeToolStripMenuItem,
+ this.toolStripMenuItem1,
+ this.exportListToolStripMenuItem});
+ this.cm1.Name = "cm1";
+ this.cm1.Size = new System.Drawing.Size(226, 82);
+ //
+ // columnSizeToolStripMenuItem
+ //
+ this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.autoToolStripMenuItem,
+ this.resetToolStripMenuItem,
+ this.saveToolStripMenuItem,
+ this.loadToolStripMenuItem});
+ this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
+ this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(225, 36);
+ this.columnSizeToolStripMenuItem.Text = "Column Size";
+ //
+ // autoToolStripMenuItem
+ //
+ this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image")));
+ this.autoToolStripMenuItem.Name = "autoToolStripMenuItem";
+ this.autoToolStripMenuItem.Size = new System.Drawing.Size(149, 36);
+ this.autoToolStripMenuItem.Text = "Auto";
+ this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click);
+ //
+ // resetToolStripMenuItem
+ //
+ this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image")));
+ this.resetToolStripMenuItem.Name = "resetToolStripMenuItem";
+ this.resetToolStripMenuItem.Size = new System.Drawing.Size(149, 36);
+ this.resetToolStripMenuItem.Text = "Reset";
+ this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click);
+ //
+ // saveToolStripMenuItem
+ //
+ this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
+ this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
+ this.saveToolStripMenuItem.Size = new System.Drawing.Size(149, 36);
+ this.saveToolStripMenuItem.Text = "Save";
+ this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
+ //
+ // loadToolStripMenuItem
+ //
+ this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image")));
+ this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
+ this.loadToolStripMenuItem.Size = new System.Drawing.Size(149, 36);
+ this.loadToolStripMenuItem.Text = "Load";
+ this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
+ //
+ // toolStripMenuItem1
+ //
+ this.toolStripMenuItem1.Name = "toolStripMenuItem1";
+ this.toolStripMenuItem1.Size = new System.Drawing.Size(222, 6);
+ //
+ // exportListToolStripMenuItem
+ //
+ this.exportListToolStripMenuItem.Name = "exportListToolStripMenuItem";
+ this.exportListToolStripMenuItem.Size = new System.Drawing.Size(225, 36);
+ this.exportListToolStripMenuItem.Text = "Export List";
+ this.exportListToolStripMenuItem.Click += new System.EventHandler(this.exportListToolStripMenuItem_Click);
+ //
+ // fpSpread1_Sheet1
+ //
+ this.fpSpread1_Sheet1.Reset();
+ this.fpSpread1_Sheet1.SheetName = "Sheet1";
+ // Formulas and custom names must be loaded with R1C1 reference style
+ this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
+ this.fpSpread1_Sheet1.ColumnCount = 4;
+ this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
+ this.fpSpread1_Sheet1.ActiveRowIndex = -1;
+ this.fpSpread1_Sheet1.AutoGenerateColumns = false;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Title";
+ this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 34F;
+ this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
+ this.fpSpread1_Sheet1.Columns.Get(0).DataField = "Dir";
+ this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(0).Width = 93F;
+ this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
+ this.fpSpread1_Sheet1.Columns.Get(1).DataField = "PIn";
+ this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(1).Width = 93F;
+ this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3;
+ this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Description";
+ this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
+ this.fpSpread1_Sheet1.Columns.Get(2).Label = "Title";
+ this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(2).Width = 93F;
+ this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4;
+ this.fpSpread1_Sheet1.Columns.Get(3).DataField = "Remark";
+ 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(3).Width = 134F;
+ 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;
+ //
+ // fProjectIOMap
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(549, 557);
+ this.Controls.Add(this.fpSpread1);
+ this.Controls.Add(this.bn);
+ this.Name = "fProjectIOMap";
+ this.Text = "fProjectSchedule";
+ this.Load += new System.EventHandler(this.fProjectSchedule_Load);
+ ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
+ this.bn.ResumeLayout(false);
+ this.bn.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
+ this.cm1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private dsPRJ dsPRJ;
+ private System.Windows.Forms.BindingSource bs;
+ private dsPRJTableAdapters.TableAdapterManager tam;
+ private System.Windows.Forms.BindingNavigator bn;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
+ private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
+ private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
+ private System.Windows.Forms.ToolStripButton projectsScheduleBindingNavigatorSaveItem;
+ private FarPoint.Win.Spread.FpSpread fpSpread1;
+ private System.Windows.Forms.ContextMenuStrip cm1;
+ private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem autoToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem;
+ private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
+ private System.Windows.Forms.ToolStripMenuItem exportListToolStripMenuItem;
+ private dsPRJTableAdapters.ProjectsIOMapTableAdapter ta;
+ private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
+ }
+}
\ No newline at end of file