업무일지 리포트 추가
This commit is contained in:
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
|
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
|
||||||
// 지정되도록 할 수 있습니다.
|
// 지정되도록 할 수 있습니다.
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("19.04.23.1300")]
|
[assembly: AssemblyVersion("19.05.07.1000")]
|
||||||
[assembly: AssemblyFileVersion("19.04.23.1300")]
|
[assembly: AssemblyFileVersion("19.05.07.1000")]
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ namespace Project
|
|||||||
{
|
{
|
||||||
없음=0,
|
없음=0,
|
||||||
NR구매관리,
|
NR구매관리,
|
||||||
|
프로젝트관리,
|
||||||
|
업무일지,
|
||||||
}
|
}
|
||||||
public class Setting : arUtil.Setting
|
public class Setting : arUtil.Setting
|
||||||
{
|
{
|
||||||
|
|||||||
633
Project/fMain.Designer.cs
generated
633
Project/fMain.Designer.cs
generated
@@ -28,76 +28,69 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fMain));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fMain));
|
||||||
this.tmDisplay = new System.Windows.Forms.Timer(this.components);
|
this.tmDisplay = new System.Windows.Forms.Timer();
|
||||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
this.toolTip1 = new System.Windows.Forms.ToolTip();
|
||||||
this.toolStrip = new System.Windows.Forms.ToolStrip();
|
|
||||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
|
||||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
|
||||||
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
|
|
||||||
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
|
|
||||||
this.toolStripButton5 = new System.Windows.Forms.ToolStripButton();
|
|
||||||
this.bw = new System.ComponentModel.BackgroundWorker();
|
this.bw = new System.ComponentModel.BackgroundWorker();
|
||||||
this.cmTab = new System.Windows.Forms.ContextMenuStrip(this.components);
|
this.cmTab = new System.Windows.Forms.ContextMenuStrip();
|
||||||
this.saveImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.saveImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.sbBWRun = new System.Windows.Forms.ToolStripStatusLabel();
|
this.sbBWRun = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.sbBCD = new System.Windows.Forms.ToolStripStatusLabel();
|
this.sbBCD = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||||
this.sbRedis = new System.Windows.Forms.ToolStripStatusLabel();
|
this.sbRedis = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.sbLogin = new System.Windows.Forms.ToolStripStatusLabel();
|
this.sbLogin = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.btSetting = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.btLog = new System.Windows.Forms.ToolStripMenuItem();
|
this.btLog = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||||
|
this.btDev = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.purchaseImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.purchaseOrderImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.materialImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.purchaseDataConvertToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.customerImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.projectImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.projectImportCompleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.workReportImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.tabControl1 = new System.Windows.Forms.TabControl();
|
||||||
|
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||||
|
this.btSetting = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.로그인ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.commonToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.commonToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.itemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.codesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.codesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.itemsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.userInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.userInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.userAccountToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.userAccountToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.myAccouserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.myAccouserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.aDSUserListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.aDSUserListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.customerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.customerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.월별근무표ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.staffGridToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.staffGridToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.mailFormToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.mailFormToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.boardsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.minutesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.holidayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.requestITemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.freeBoardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.bugReportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.todoListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.업무일지ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.managementToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.managementToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.nRPurchaseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.프로젝트ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.업무일지ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.personalInventoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.equipmentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.equipmentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.dataFOLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.dataFOLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.dataMoldEOLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.dataMoldEOLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.dataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.dataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.라인코드관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.라인코드관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.personalInventoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.boardsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.nRPurchaseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.패치내역ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.프로젝트ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.minutesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.패치내역ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.holidayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.btDev = new System.Windows.Forms.ToolStripMenuItem();
|
this.requestITemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.purchaseImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.freeBoardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.materialImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.bugReportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.purchaseDataConvertToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.todoListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.customerImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.메일전송ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.projectImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.projectImportCompleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.tabControl1 = new System.Windows.Forms.TabControl();
|
|
||||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
|
||||||
this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
|
|
||||||
this.purchaseOrderImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.toolStrip.SuspendLayout();
|
|
||||||
this.cmTab.SuspendLayout();
|
this.cmTab.SuspendLayout();
|
||||||
this.statusStrip1.SuspendLayout();
|
this.statusStrip1.SuspendLayout();
|
||||||
this.menuStrip1.SuspendLayout();
|
this.menuStrip1.SuspendLayout();
|
||||||
this.tabControl1.SuspendLayout();
|
this.tabControl1.SuspendLayout();
|
||||||
this.toolStripContainer1.ContentPanel.SuspendLayout();
|
|
||||||
this.toolStripContainer1.LeftToolStripPanel.SuspendLayout();
|
|
||||||
this.toolStripContainer1.SuspendLayout();
|
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// tmDisplay
|
// tmDisplay
|
||||||
@@ -105,76 +98,6 @@
|
|||||||
this.tmDisplay.Interval = 300;
|
this.tmDisplay.Interval = 300;
|
||||||
this.tmDisplay.Tick += new System.EventHandler(this.tmDisplay_Tick);
|
this.tmDisplay.Tick += new System.EventHandler(this.tmDisplay_Tick);
|
||||||
//
|
//
|
||||||
// toolStrip
|
|
||||||
//
|
|
||||||
this.toolStrip.Dock = System.Windows.Forms.DockStyle.None;
|
|
||||||
this.toolStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
|
|
||||||
this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
||||||
this.toolStripButton1,
|
|
||||||
this.toolStripButton2,
|
|
||||||
this.toolStripButton3,
|
|
||||||
this.toolStripButton4,
|
|
||||||
this.toolStripButton5});
|
|
||||||
this.toolStrip.Location = new System.Drawing.Point(0, 4);
|
|
||||||
this.toolStrip.Name = "toolStrip";
|
|
||||||
this.toolStrip.Size = new System.Drawing.Size(25, 146);
|
|
||||||
this.toolStrip.TabIndex = 32;
|
|
||||||
this.toolStrip.Text = "ToolStrip";
|
|
||||||
this.toolTip1.SetToolTip(this.toolStrip, "NR파트 구매");
|
|
||||||
//
|
|
||||||
// toolStripButton1
|
|
||||||
//
|
|
||||||
this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
||||||
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(23, 24);
|
|
||||||
this.toolStripButton1.Text = "메일전송";
|
|
||||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
|
||||||
//
|
|
||||||
// toolStripButton2
|
|
||||||
//
|
|
||||||
this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
||||||
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
|
|
||||||
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
||||||
this.toolStripButton2.Name = "toolStripButton2";
|
|
||||||
this.toolStripButton2.Size = new System.Drawing.Size(23, 24);
|
|
||||||
this.toolStripButton2.Text = "구매신청";
|
|
||||||
this.toolStripButton2.ToolTipText = "파트구매신청서 작성";
|
|
||||||
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
|
|
||||||
//
|
|
||||||
// toolStripButton3
|
|
||||||
//
|
|
||||||
this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
||||||
this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
|
|
||||||
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
||||||
this.toolStripButton3.Name = "toolStripButton3";
|
|
||||||
this.toolStripButton3.Size = new System.Drawing.Size(23, 24);
|
|
||||||
this.toolStripButton3.Text = "toolStripButton3";
|
|
||||||
this.toolStripButton3.ToolTipText = "프로젝트";
|
|
||||||
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
|
|
||||||
//
|
|
||||||
// toolStripButton4
|
|
||||||
//
|
|
||||||
this.toolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
||||||
this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
|
|
||||||
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
||||||
this.toolStripButton4.Name = "toolStripButton4";
|
|
||||||
this.toolStripButton4.Size = new System.Drawing.Size(23, 24);
|
|
||||||
this.toolStripButton4.Text = "개인 인벤토리";
|
|
||||||
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
|
|
||||||
//
|
|
||||||
// toolStripButton5
|
|
||||||
//
|
|
||||||
this.toolStripButton5.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
||||||
this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image")));
|
|
||||||
this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
||||||
this.toolStripButton5.Name = "toolStripButton5";
|
|
||||||
this.toolStripButton5.Size = new System.Drawing.Size(23, 24);
|
|
||||||
this.toolStripButton5.Text = "toolStripButton5";
|
|
||||||
this.toolStripButton5.ToolTipText = "로그인/로그아웃";
|
|
||||||
this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click);
|
|
||||||
//
|
|
||||||
// bw
|
// bw
|
||||||
//
|
//
|
||||||
this.bw.WorkerReportsProgress = true;
|
this.bw.WorkerReportsProgress = true;
|
||||||
@@ -231,14 +154,6 @@
|
|||||||
this.sbLogin.Size = new System.Drawing.Size(50, 17);
|
this.sbLogin.Size = new System.Drawing.Size(50, 17);
|
||||||
this.sbLogin.Text = "{LOGIN}";
|
this.sbLogin.Text = "{LOGIN}";
|
||||||
//
|
//
|
||||||
// btSetting
|
|
||||||
//
|
|
||||||
this.btSetting.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
|
||||||
this.btSetting.Name = "btSetting";
|
|
||||||
this.btSetting.Size = new System.Drawing.Size(49, 23);
|
|
||||||
this.btSetting.Text = "설정";
|
|
||||||
this.btSetting.Click += new System.EventHandler(this.settingToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// btLog
|
// btLog
|
||||||
//
|
//
|
||||||
this.btLog.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
this.btLog.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||||
@@ -254,10 +169,10 @@
|
|||||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.btSetting,
|
this.btSetting,
|
||||||
this.btLog,
|
this.btLog,
|
||||||
|
this.로그인ToolStripMenuItem,
|
||||||
this.commonToolStripMenuItem,
|
this.commonToolStripMenuItem,
|
||||||
this.boardsToolStripMenuItem,
|
|
||||||
this.managementToolStripMenuItem,
|
this.managementToolStripMenuItem,
|
||||||
this.패치내역ToolStripMenuItem,
|
this.boardsToolStripMenuItem,
|
||||||
this.btDev});
|
this.btDev});
|
||||||
this.menuStrip1.Location = new System.Drawing.Point(1, 1);
|
this.menuStrip1.Location = new System.Drawing.Point(1, 1);
|
||||||
this.menuStrip1.Name = "menuStrip1";
|
this.menuStrip1.Name = "menuStrip1";
|
||||||
@@ -265,34 +180,154 @@
|
|||||||
this.menuStrip1.TabIndex = 29;
|
this.menuStrip1.TabIndex = 29;
|
||||||
this.menuStrip1.Text = "menuStrip1";
|
this.menuStrip1.Text = "menuStrip1";
|
||||||
//
|
//
|
||||||
|
// btDev
|
||||||
|
//
|
||||||
|
this.btDev.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.purchaseImportToolStripMenuItem,
|
||||||
|
this.purchaseOrderImportToolStripMenuItem,
|
||||||
|
this.materialImportToolStripMenuItem,
|
||||||
|
this.purchaseDataConvertToolStripMenuItem,
|
||||||
|
this.customerImportToolStripMenuItem,
|
||||||
|
this.projectImportToolStripMenuItem,
|
||||||
|
this.projectImportCompleteToolStripMenuItem,
|
||||||
|
this.workReportImportToolStripMenuItem});
|
||||||
|
this.btDev.ForeColor = System.Drawing.Color.Blue;
|
||||||
|
this.btDev.Name = "btDev";
|
||||||
|
this.btDev.Size = new System.Drawing.Size(91, 23);
|
||||||
|
this.btDev.Text = "개발자메뉴";
|
||||||
|
this.btDev.Visible = false;
|
||||||
|
//
|
||||||
|
// purchaseImportToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.purchaseImportToolStripMenuItem.Name = "purchaseImportToolStripMenuItem";
|
||||||
|
this.purchaseImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
||||||
|
this.purchaseImportToolStripMenuItem.Text = "Purchase Import";
|
||||||
|
this.purchaseImportToolStripMenuItem.Click += new System.EventHandler(this.purchaseImportToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// purchaseOrderImportToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.purchaseOrderImportToolStripMenuItem.Name = "purchaseOrderImportToolStripMenuItem";
|
||||||
|
this.purchaseOrderImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
||||||
|
this.purchaseOrderImportToolStripMenuItem.Text = "Purchase(Order) Import";
|
||||||
|
this.purchaseOrderImportToolStripMenuItem.Click += new System.EventHandler(this.purchaseOrderImportToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// materialImportToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.materialImportToolStripMenuItem.Name = "materialImportToolStripMenuItem";
|
||||||
|
this.materialImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
||||||
|
this.materialImportToolStripMenuItem.Text = "Material Import";
|
||||||
|
this.materialImportToolStripMenuItem.Click += new System.EventHandler(this.materialImportToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// purchaseDataConvertToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.purchaseDataConvertToolStripMenuItem.Name = "purchaseDataConvertToolStripMenuItem";
|
||||||
|
this.purchaseDataConvertToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
||||||
|
this.purchaseDataConvertToolStripMenuItem.Text = "Purchase Data Convert";
|
||||||
|
this.purchaseDataConvertToolStripMenuItem.Click += new System.EventHandler(this.purchaseDataConvertToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// customerImportToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.customerImportToolStripMenuItem.Name = "customerImportToolStripMenuItem";
|
||||||
|
this.customerImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
||||||
|
this.customerImportToolStripMenuItem.Text = "Customer Import";
|
||||||
|
this.customerImportToolStripMenuItem.Click += new System.EventHandler(this.customerImportToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// projectImportToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.projectImportToolStripMenuItem.Name = "projectImportToolStripMenuItem";
|
||||||
|
this.projectImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
||||||
|
this.projectImportToolStripMenuItem.Text = "Project Import";
|
||||||
|
this.projectImportToolStripMenuItem.Click += new System.EventHandler(this.projectImportToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// projectImportCompleteToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.projectImportCompleteToolStripMenuItem.Name = "projectImportCompleteToolStripMenuItem";
|
||||||
|
this.projectImportCompleteToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
||||||
|
this.projectImportCompleteToolStripMenuItem.Text = "Project Import(Complete)";
|
||||||
|
this.projectImportCompleteToolStripMenuItem.Click += new System.EventHandler(this.projectImportCompleteToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// workReportImportToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.workReportImportToolStripMenuItem.Name = "workReportImportToolStripMenuItem";
|
||||||
|
this.workReportImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
||||||
|
this.workReportImportToolStripMenuItem.Text = "WorkReport Import";
|
||||||
|
this.workReportImportToolStripMenuItem.Click += new System.EventHandler(this.workReportImportToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// tabControl1
|
||||||
|
//
|
||||||
|
this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
|
||||||
|
this.tabControl1.Controls.Add(this.tabPage1);
|
||||||
|
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.tabControl1.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
|
this.tabControl1.Location = new System.Drawing.Point(1, 28);
|
||||||
|
this.tabControl1.Multiline = true;
|
||||||
|
this.tabControl1.Name = "tabControl1";
|
||||||
|
this.tabControl1.SelectedIndex = 0;
|
||||||
|
this.tabControl1.ShowToolTips = true;
|
||||||
|
this.tabControl1.Size = new System.Drawing.Size(1034, 594);
|
||||||
|
this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
|
||||||
|
this.tabControl1.TabIndex = 34;
|
||||||
|
this.tabControl1.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.tabControl1_DrawItem);
|
||||||
|
//
|
||||||
|
// tabPage1
|
||||||
|
//
|
||||||
|
this.tabPage1.BackColor = System.Drawing.Color.LightGray;
|
||||||
|
this.tabPage1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||||
|
this.tabPage1.ContextMenuStrip = this.cmTab;
|
||||||
|
this.tabPage1.Location = new System.Drawing.Point(4, 29);
|
||||||
|
this.tabPage1.Name = "tabPage1";
|
||||||
|
this.tabPage1.Padding = new System.Windows.Forms.Padding(10);
|
||||||
|
this.tabPage1.Size = new System.Drawing.Size(1026, 561);
|
||||||
|
this.tabPage1.TabIndex = 0;
|
||||||
|
this.tabPage1.Text = "요약";
|
||||||
|
//
|
||||||
|
// btSetting
|
||||||
|
//
|
||||||
|
this.btSetting.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||||
|
this.btSetting.Image = ((System.Drawing.Image)(resources.GetObject("btSetting.Image")));
|
||||||
|
this.btSetting.Name = "btSetting";
|
||||||
|
this.btSetting.Size = new System.Drawing.Size(65, 23);
|
||||||
|
this.btSetting.Text = "설정";
|
||||||
|
this.btSetting.Click += new System.EventHandler(this.settingToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// 로그인ToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.로그인ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("로그인ToolStripMenuItem.Image")));
|
||||||
|
this.로그인ToolStripMenuItem.Name = "로그인ToolStripMenuItem";
|
||||||
|
this.로그인ToolStripMenuItem.Size = new System.Drawing.Size(79, 23);
|
||||||
|
this.로그인ToolStripMenuItem.Text = "로그인";
|
||||||
|
this.로그인ToolStripMenuItem.Click += new System.EventHandler(this.로그인ToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
// commonToolStripMenuItem
|
// commonToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.commonToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.commonToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.itemsToolStripMenuItem,
|
|
||||||
this.codesToolStripMenuItem,
|
this.codesToolStripMenuItem,
|
||||||
|
this.itemsToolStripMenuItem,
|
||||||
this.userInfoToolStripMenuItem,
|
this.userInfoToolStripMenuItem,
|
||||||
this.customerToolStripMenuItem,
|
this.customerToolStripMenuItem,
|
||||||
|
this.월별근무표ToolStripMenuItem,
|
||||||
this.toolStripMenuItem1,
|
this.toolStripMenuItem1,
|
||||||
this.staffGridToolStripMenuItem,
|
this.staffGridToolStripMenuItem,
|
||||||
this.mailFormToolStripMenuItem});
|
this.mailFormToolStripMenuItem});
|
||||||
|
this.commonToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("commonToolStripMenuItem.Image")));
|
||||||
this.commonToolStripMenuItem.Name = "commonToolStripMenuItem";
|
this.commonToolStripMenuItem.Name = "commonToolStripMenuItem";
|
||||||
this.commonToolStripMenuItem.Size = new System.Drawing.Size(77, 23);
|
this.commonToolStripMenuItem.Size = new System.Drawing.Size(93, 23);
|
||||||
this.commonToolStripMenuItem.Text = "공용정보";
|
this.commonToolStripMenuItem.Text = "공용정보";
|
||||||
//
|
//
|
||||||
// itemsToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem";
|
|
||||||
this.itemsToolStripMenuItem.Size = new System.Drawing.Size(139, 24);
|
|
||||||
this.itemsToolStripMenuItem.Text = "품목";
|
|
||||||
this.itemsToolStripMenuItem.Click += new System.EventHandler(this.itemsToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// codesToolStripMenuItem
|
// codesToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.codesToolStripMenuItem.Name = "codesToolStripMenuItem";
|
this.codesToolStripMenuItem.Name = "codesToolStripMenuItem";
|
||||||
this.codesToolStripMenuItem.Size = new System.Drawing.Size(139, 24);
|
this.codesToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
|
||||||
this.codesToolStripMenuItem.Text = "공용코드";
|
this.codesToolStripMenuItem.Text = "공용코드";
|
||||||
this.codesToolStripMenuItem.Click += new System.EventHandler(this.codesToolStripMenuItem_Click);
|
this.codesToolStripMenuItem.Click += new System.EventHandler(this.codesToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
|
// itemsToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem";
|
||||||
|
this.itemsToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
|
||||||
|
this.itemsToolStripMenuItem.Text = "품목";
|
||||||
|
this.itemsToolStripMenuItem.Click += new System.EventHandler(this.itemsToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
// userInfoToolStripMenuItem
|
// userInfoToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.userInfoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.userInfoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
@@ -300,7 +335,7 @@
|
|||||||
this.myAccouserToolStripMenuItem,
|
this.myAccouserToolStripMenuItem,
|
||||||
this.aDSUserListToolStripMenuItem});
|
this.aDSUserListToolStripMenuItem});
|
||||||
this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem";
|
this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem";
|
||||||
this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(139, 24);
|
this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
|
||||||
this.userInfoToolStripMenuItem.Text = "사용자";
|
this.userInfoToolStripMenuItem.Text = "사용자";
|
||||||
//
|
//
|
||||||
// userAccountToolStripMenuItem
|
// userAccountToolStripMenuItem
|
||||||
@@ -328,20 +363,27 @@
|
|||||||
// customerToolStripMenuItem
|
// customerToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.customerToolStripMenuItem.Name = "customerToolStripMenuItem";
|
this.customerToolStripMenuItem.Name = "customerToolStripMenuItem";
|
||||||
this.customerToolStripMenuItem.Size = new System.Drawing.Size(139, 24);
|
this.customerToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
|
||||||
this.customerToolStripMenuItem.Text = "업체정보";
|
this.customerToolStripMenuItem.Text = "업체정보";
|
||||||
this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click);
|
this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
|
// 월별근무표ToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.월별근무표ToolStripMenuItem.Name = "월별근무표ToolStripMenuItem";
|
||||||
|
this.월별근무표ToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
|
||||||
|
this.월별근무표ToolStripMenuItem.Text = "월별 근무표";
|
||||||
|
this.월별근무표ToolStripMenuItem.Click += new System.EventHandler(this.월별근무표ToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
// toolStripMenuItem1
|
// toolStripMenuItem1
|
||||||
//
|
//
|
||||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(136, 6);
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(150, 6);
|
||||||
//
|
//
|
||||||
// staffGridToolStripMenuItem
|
// staffGridToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.staffGridToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
|
this.staffGridToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
|
||||||
this.staffGridToolStripMenuItem.Name = "staffGridToolStripMenuItem";
|
this.staffGridToolStripMenuItem.Name = "staffGridToolStripMenuItem";
|
||||||
this.staffGridToolStripMenuItem.Size = new System.Drawing.Size(139, 24);
|
this.staffGridToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
|
||||||
this.staffGridToolStripMenuItem.Text = "Staff Grid";
|
this.staffGridToolStripMenuItem.Text = "Staff Grid";
|
||||||
this.staffGridToolStripMenuItem.Click += new System.EventHandler(this.staffGridToolStripMenuItem_Click);
|
this.staffGridToolStripMenuItem.Click += new System.EventHandler(this.staffGridToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
@@ -349,88 +391,61 @@
|
|||||||
//
|
//
|
||||||
this.mailFormToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
|
this.mailFormToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
|
||||||
this.mailFormToolStripMenuItem.Name = "mailFormToolStripMenuItem";
|
this.mailFormToolStripMenuItem.Name = "mailFormToolStripMenuItem";
|
||||||
this.mailFormToolStripMenuItem.Size = new System.Drawing.Size(139, 24);
|
this.mailFormToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
|
||||||
this.mailFormToolStripMenuItem.Text = "메일 양식";
|
this.mailFormToolStripMenuItem.Text = "메일 양식";
|
||||||
this.mailFormToolStripMenuItem.Click += new System.EventHandler(this.mailFormToolStripMenuItem_Click);
|
this.mailFormToolStripMenuItem.Click += new System.EventHandler(this.mailFormToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// boardsToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.boardsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
||||||
this.minutesToolStripMenuItem,
|
|
||||||
this.holidayToolStripMenuItem,
|
|
||||||
this.requestITemToolStripMenuItem,
|
|
||||||
this.freeBoardToolStripMenuItem,
|
|
||||||
this.bugReportToolStripMenuItem,
|
|
||||||
this.todoListToolStripMenuItem,
|
|
||||||
this.업무일지ToolStripMenuItem});
|
|
||||||
this.boardsToolStripMenuItem.Name = "boardsToolStripMenuItem";
|
|
||||||
this.boardsToolStripMenuItem.Size = new System.Drawing.Size(49, 23);
|
|
||||||
this.boardsToolStripMenuItem.Text = "문서";
|
|
||||||
//
|
|
||||||
// minutesToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.minutesToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
|
|
||||||
this.minutesToolStripMenuItem.Name = "minutesToolStripMenuItem";
|
|
||||||
this.minutesToolStripMenuItem.Size = new System.Drawing.Size(152, 24);
|
|
||||||
this.minutesToolStripMenuItem.Text = "회의록";
|
|
||||||
this.minutesToolStripMenuItem.Click += new System.EventHandler(this.minutesToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// holidayToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.holidayToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
|
|
||||||
this.holidayToolStripMenuItem.Name = "holidayToolStripMenuItem";
|
|
||||||
this.holidayToolStripMenuItem.Size = new System.Drawing.Size(152, 24);
|
|
||||||
this.holidayToolStripMenuItem.Text = "휴가";
|
|
||||||
this.holidayToolStripMenuItem.Click += new System.EventHandler(this.holidayToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// requestITemToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.requestITemToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
|
|
||||||
this.requestITemToolStripMenuItem.Name = "requestITemToolStripMenuItem";
|
|
||||||
this.requestITemToolStripMenuItem.Size = new System.Drawing.Size(152, 24);
|
|
||||||
this.requestITemToolStripMenuItem.Text = "견적요청";
|
|
||||||
this.requestITemToolStripMenuItem.Click += new System.EventHandler(this.requestITemToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// freeBoardToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.freeBoardToolStripMenuItem.Enabled = false;
|
|
||||||
this.freeBoardToolStripMenuItem.Name = "freeBoardToolStripMenuItem";
|
|
||||||
this.freeBoardToolStripMenuItem.Size = new System.Drawing.Size(152, 24);
|
|
||||||
this.freeBoardToolStripMenuItem.Text = "Free Board";
|
|
||||||
//
|
|
||||||
// bugReportToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.bugReportToolStripMenuItem.Enabled = false;
|
|
||||||
this.bugReportToolStripMenuItem.Name = "bugReportToolStripMenuItem";
|
|
||||||
this.bugReportToolStripMenuItem.Size = new System.Drawing.Size(152, 24);
|
|
||||||
this.bugReportToolStripMenuItem.Text = "Bug Report";
|
|
||||||
//
|
|
||||||
// todoListToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.todoListToolStripMenuItem.Enabled = false;
|
|
||||||
this.todoListToolStripMenuItem.Name = "todoListToolStripMenuItem";
|
|
||||||
this.todoListToolStripMenuItem.Size = new System.Drawing.Size(152, 24);
|
|
||||||
this.todoListToolStripMenuItem.Text = "Todo List";
|
|
||||||
this.todoListToolStripMenuItem.Click += new System.EventHandler(this.todoListToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// 업무일지ToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.업무일지ToolStripMenuItem.Name = "업무일지ToolStripMenuItem";
|
|
||||||
this.업무일지ToolStripMenuItem.Size = new System.Drawing.Size(152, 24);
|
|
||||||
this.업무일지ToolStripMenuItem.Text = "업무일지";
|
|
||||||
this.업무일지ToolStripMenuItem.Click += new System.EventHandler(this.업무일지ToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// managementToolStripMenuItem
|
// managementToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.managementToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.managementToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.equipmentToolStripMenuItem,
|
|
||||||
this.personalInventoryToolStripMenuItem,
|
|
||||||
this.nRPurchaseToolStripMenuItem,
|
this.nRPurchaseToolStripMenuItem,
|
||||||
this.프로젝트ToolStripMenuItem});
|
this.프로젝트ToolStripMenuItem,
|
||||||
|
this.업무일지ToolStripMenuItem1,
|
||||||
|
this.personalInventoryToolStripMenuItem,
|
||||||
|
this.toolStripMenuItem3,
|
||||||
|
this.equipmentToolStripMenuItem});
|
||||||
|
this.managementToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("managementToolStripMenuItem.Image")));
|
||||||
this.managementToolStripMenuItem.Name = "managementToolStripMenuItem";
|
this.managementToolStripMenuItem.Name = "managementToolStripMenuItem";
|
||||||
this.managementToolStripMenuItem.Size = new System.Drawing.Size(49, 23);
|
this.managementToolStripMenuItem.Size = new System.Drawing.Size(65, 23);
|
||||||
this.managementToolStripMenuItem.Text = "관리";
|
this.managementToolStripMenuItem.Text = "관리";
|
||||||
//
|
//
|
||||||
|
// nRPurchaseToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.nRPurchaseToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nRPurchaseToolStripMenuItem.Image")));
|
||||||
|
this.nRPurchaseToolStripMenuItem.Name = "nRPurchaseToolStripMenuItem";
|
||||||
|
this.nRPurchaseToolStripMenuItem.Size = new System.Drawing.Size(154, 24);
|
||||||
|
this.nRPurchaseToolStripMenuItem.Text = "NR구매신청";
|
||||||
|
this.nRPurchaseToolStripMenuItem.Click += new System.EventHandler(this.nRPurchaseToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// 프로젝트ToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.프로젝트ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("프로젝트ToolStripMenuItem.Image")));
|
||||||
|
this.프로젝트ToolStripMenuItem.Name = "프로젝트ToolStripMenuItem";
|
||||||
|
this.프로젝트ToolStripMenuItem.Size = new System.Drawing.Size(154, 24);
|
||||||
|
this.프로젝트ToolStripMenuItem.Text = "프로젝트";
|
||||||
|
this.프로젝트ToolStripMenuItem.Click += new System.EventHandler(this.프로젝트ToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// 업무일지ToolStripMenuItem1
|
||||||
|
//
|
||||||
|
this.업무일지ToolStripMenuItem1.Image = ((System.Drawing.Image)(resources.GetObject("업무일지ToolStripMenuItem1.Image")));
|
||||||
|
this.업무일지ToolStripMenuItem1.Name = "업무일지ToolStripMenuItem1";
|
||||||
|
this.업무일지ToolStripMenuItem1.Size = new System.Drawing.Size(154, 24);
|
||||||
|
this.업무일지ToolStripMenuItem1.Text = "업무일지";
|
||||||
|
this.업무일지ToolStripMenuItem1.Click += new System.EventHandler(this.업무일지ToolStripMenuItem1_Click);
|
||||||
|
//
|
||||||
|
// personalInventoryToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.personalInventoryToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
|
||||||
|
this.personalInventoryToolStripMenuItem.Name = "personalInventoryToolStripMenuItem";
|
||||||
|
this.personalInventoryToolStripMenuItem.Size = new System.Drawing.Size(154, 24);
|
||||||
|
this.personalInventoryToolStripMenuItem.Text = "개인별 물품";
|
||||||
|
this.personalInventoryToolStripMenuItem.Click += new System.EventHandler(this.personalInventoryToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// toolStripMenuItem3
|
||||||
|
//
|
||||||
|
this.toolStripMenuItem3.Name = "toolStripMenuItem3";
|
||||||
|
this.toolStripMenuItem3.Size = new System.Drawing.Size(151, 6);
|
||||||
|
//
|
||||||
// equipmentToolStripMenuItem
|
// equipmentToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.equipmentToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.equipmentToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
@@ -439,6 +454,7 @@
|
|||||||
this.dataToolStripMenuItem,
|
this.dataToolStripMenuItem,
|
||||||
this.toolStripMenuItem2,
|
this.toolStripMenuItem2,
|
||||||
this.라인코드관리ToolStripMenuItem});
|
this.라인코드관리ToolStripMenuItem});
|
||||||
|
this.equipmentToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("equipmentToolStripMenuItem.Image")));
|
||||||
this.equipmentToolStripMenuItem.Name = "equipmentToolStripMenuItem";
|
this.equipmentToolStripMenuItem.Name = "equipmentToolStripMenuItem";
|
||||||
this.equipmentToolStripMenuItem.Size = new System.Drawing.Size(154, 24);
|
this.equipmentToolStripMenuItem.Size = new System.Drawing.Size(154, 24);
|
||||||
this.equipmentToolStripMenuItem.Text = "장비 목록";
|
this.equipmentToolStripMenuItem.Text = "장비 목록";
|
||||||
@@ -476,153 +492,89 @@
|
|||||||
this.라인코드관리ToolStripMenuItem.Text = "라인코드관리";
|
this.라인코드관리ToolStripMenuItem.Text = "라인코드관리";
|
||||||
this.라인코드관리ToolStripMenuItem.Click += new System.EventHandler(this.라인코드관리ToolStripMenuItem_Click);
|
this.라인코드관리ToolStripMenuItem.Click += new System.EventHandler(this.라인코드관리ToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// personalInventoryToolStripMenuItem
|
// boardsToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.personalInventoryToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
|
this.boardsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.personalInventoryToolStripMenuItem.Name = "personalInventoryToolStripMenuItem";
|
this.패치내역ToolStripMenuItem1,
|
||||||
this.personalInventoryToolStripMenuItem.Size = new System.Drawing.Size(154, 24);
|
this.minutesToolStripMenuItem,
|
||||||
this.personalInventoryToolStripMenuItem.Text = "개인별 물품";
|
this.holidayToolStripMenuItem,
|
||||||
this.personalInventoryToolStripMenuItem.Click += new System.EventHandler(this.personalInventoryToolStripMenuItem_Click);
|
this.requestITemToolStripMenuItem,
|
||||||
|
this.freeBoardToolStripMenuItem,
|
||||||
|
this.bugReportToolStripMenuItem,
|
||||||
|
this.todoListToolStripMenuItem,
|
||||||
|
this.메일전송ToolStripMenuItem});
|
||||||
|
this.boardsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("boardsToolStripMenuItem.Image")));
|
||||||
|
this.boardsToolStripMenuItem.Name = "boardsToolStripMenuItem";
|
||||||
|
this.boardsToolStripMenuItem.Size = new System.Drawing.Size(65, 23);
|
||||||
|
this.boardsToolStripMenuItem.Text = "문서";
|
||||||
//
|
//
|
||||||
// nRPurchaseToolStripMenuItem
|
// 패치내역ToolStripMenuItem1
|
||||||
//
|
//
|
||||||
this.nRPurchaseToolStripMenuItem.Name = "nRPurchaseToolStripMenuItem";
|
this.패치내역ToolStripMenuItem1.Name = "패치내역ToolStripMenuItem1";
|
||||||
this.nRPurchaseToolStripMenuItem.Size = new System.Drawing.Size(154, 24);
|
this.패치내역ToolStripMenuItem1.Size = new System.Drawing.Size(149, 24);
|
||||||
this.nRPurchaseToolStripMenuItem.Text = "NR구매신청";
|
this.패치내역ToolStripMenuItem1.Text = "패치내역";
|
||||||
this.nRPurchaseToolStripMenuItem.Click += new System.EventHandler(this.nRPurchaseToolStripMenuItem_Click);
|
this.패치내역ToolStripMenuItem1.Click += new System.EventHandler(this.패치내역ToolStripMenuItem1_Click);
|
||||||
//
|
//
|
||||||
// 프로젝트ToolStripMenuItem
|
// minutesToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.프로젝트ToolStripMenuItem.Name = "프로젝트ToolStripMenuItem";
|
this.minutesToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
|
||||||
this.프로젝트ToolStripMenuItem.Size = new System.Drawing.Size(154, 24);
|
this.minutesToolStripMenuItem.Name = "minutesToolStripMenuItem";
|
||||||
this.프로젝트ToolStripMenuItem.Text = "프로젝트";
|
this.minutesToolStripMenuItem.Size = new System.Drawing.Size(149, 24);
|
||||||
this.프로젝트ToolStripMenuItem.Click += new System.EventHandler(this.프로젝트ToolStripMenuItem_Click);
|
this.minutesToolStripMenuItem.Text = "회의록";
|
||||||
|
this.minutesToolStripMenuItem.Click += new System.EventHandler(this.minutesToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// 패치내역ToolStripMenuItem
|
// holidayToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.패치내역ToolStripMenuItem.Name = "패치내역ToolStripMenuItem";
|
this.holidayToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
|
||||||
this.패치내역ToolStripMenuItem.Size = new System.Drawing.Size(77, 23);
|
this.holidayToolStripMenuItem.Name = "holidayToolStripMenuItem";
|
||||||
this.패치내역ToolStripMenuItem.Text = "패치내역";
|
this.holidayToolStripMenuItem.Size = new System.Drawing.Size(149, 24);
|
||||||
this.패치내역ToolStripMenuItem.Click += new System.EventHandler(this.패치내역ToolStripMenuItem_Click);
|
this.holidayToolStripMenuItem.Text = "휴가";
|
||||||
|
this.holidayToolStripMenuItem.Click += new System.EventHandler(this.holidayToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// btDev
|
// requestITemToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.btDev.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.requestITemToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
|
||||||
this.purchaseImportToolStripMenuItem,
|
this.requestITemToolStripMenuItem.Name = "requestITemToolStripMenuItem";
|
||||||
this.purchaseOrderImportToolStripMenuItem,
|
this.requestITemToolStripMenuItem.Size = new System.Drawing.Size(149, 24);
|
||||||
this.materialImportToolStripMenuItem,
|
this.requestITemToolStripMenuItem.Text = "견적요청";
|
||||||
this.purchaseDataConvertToolStripMenuItem,
|
this.requestITemToolStripMenuItem.Click += new System.EventHandler(this.requestITemToolStripMenuItem_Click);
|
||||||
this.customerImportToolStripMenuItem,
|
|
||||||
this.projectImportToolStripMenuItem,
|
|
||||||
this.projectImportCompleteToolStripMenuItem});
|
|
||||||
this.btDev.ForeColor = System.Drawing.Color.Blue;
|
|
||||||
this.btDev.Name = "btDev";
|
|
||||||
this.btDev.Size = new System.Drawing.Size(91, 23);
|
|
||||||
this.btDev.Text = "개발자메뉴";
|
|
||||||
this.btDev.Visible = false;
|
|
||||||
//
|
//
|
||||||
// purchaseImportToolStripMenuItem
|
// freeBoardToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.purchaseImportToolStripMenuItem.Name = "purchaseImportToolStripMenuItem";
|
this.freeBoardToolStripMenuItem.Enabled = false;
|
||||||
this.purchaseImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
this.freeBoardToolStripMenuItem.Name = "freeBoardToolStripMenuItem";
|
||||||
this.purchaseImportToolStripMenuItem.Text = "Purchase Import";
|
this.freeBoardToolStripMenuItem.Size = new System.Drawing.Size(149, 24);
|
||||||
this.purchaseImportToolStripMenuItem.Click += new System.EventHandler(this.purchaseImportToolStripMenuItem_Click);
|
this.freeBoardToolStripMenuItem.Text = "Free Board";
|
||||||
//
|
//
|
||||||
// materialImportToolStripMenuItem
|
// bugReportToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.materialImportToolStripMenuItem.Name = "materialImportToolStripMenuItem";
|
this.bugReportToolStripMenuItem.Enabled = false;
|
||||||
this.materialImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
this.bugReportToolStripMenuItem.Name = "bugReportToolStripMenuItem";
|
||||||
this.materialImportToolStripMenuItem.Text = "Material Import";
|
this.bugReportToolStripMenuItem.Size = new System.Drawing.Size(149, 24);
|
||||||
this.materialImportToolStripMenuItem.Click += new System.EventHandler(this.materialImportToolStripMenuItem_Click);
|
this.bugReportToolStripMenuItem.Text = "Bug Report";
|
||||||
//
|
//
|
||||||
// purchaseDataConvertToolStripMenuItem
|
// todoListToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.purchaseDataConvertToolStripMenuItem.Name = "purchaseDataConvertToolStripMenuItem";
|
this.todoListToolStripMenuItem.Enabled = false;
|
||||||
this.purchaseDataConvertToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
this.todoListToolStripMenuItem.Name = "todoListToolStripMenuItem";
|
||||||
this.purchaseDataConvertToolStripMenuItem.Text = "Purchase Data Convert";
|
this.todoListToolStripMenuItem.Size = new System.Drawing.Size(149, 24);
|
||||||
this.purchaseDataConvertToolStripMenuItem.Click += new System.EventHandler(this.purchaseDataConvertToolStripMenuItem_Click);
|
this.todoListToolStripMenuItem.Text = "Todo List";
|
||||||
|
this.todoListToolStripMenuItem.Click += new System.EventHandler(this.todoListToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// customerImportToolStripMenuItem
|
// 메일전송ToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.customerImportToolStripMenuItem.Name = "customerImportToolStripMenuItem";
|
this.메일전송ToolStripMenuItem.ForeColor = System.Drawing.Color.Red;
|
||||||
this.customerImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
this.메일전송ToolStripMenuItem.Name = "메일전송ToolStripMenuItem";
|
||||||
this.customerImportToolStripMenuItem.Text = "Customer Import";
|
this.메일전송ToolStripMenuItem.Size = new System.Drawing.Size(149, 24);
|
||||||
this.customerImportToolStripMenuItem.Click += new System.EventHandler(this.customerImportToolStripMenuItem_Click);
|
this.메일전송ToolStripMenuItem.Text = "메일전송";
|
||||||
//
|
this.메일전송ToolStripMenuItem.Click += new System.EventHandler(this.메일전송ToolStripMenuItem_Click);
|
||||||
// projectImportToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.projectImportToolStripMenuItem.Name = "projectImportToolStripMenuItem";
|
|
||||||
this.projectImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
|
||||||
this.projectImportToolStripMenuItem.Text = "Project Import";
|
|
||||||
this.projectImportToolStripMenuItem.Click += new System.EventHandler(this.projectImportToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// projectImportCompleteToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.projectImportCompleteToolStripMenuItem.Name = "projectImportCompleteToolStripMenuItem";
|
|
||||||
this.projectImportCompleteToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
|
||||||
this.projectImportCompleteToolStripMenuItem.Text = "Project Import(Complete)";
|
|
||||||
this.projectImportCompleteToolStripMenuItem.Click += new System.EventHandler(this.projectImportCompleteToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// tabControl1
|
|
||||||
//
|
|
||||||
this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
|
|
||||||
this.tabControl1.Controls.Add(this.tabPage1);
|
|
||||||
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
||||||
this.tabControl1.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
|
||||||
this.tabControl1.Location = new System.Drawing.Point(0, 0);
|
|
||||||
this.tabControl1.Multiline = true;
|
|
||||||
this.tabControl1.Name = "tabControl1";
|
|
||||||
this.tabControl1.SelectedIndex = 0;
|
|
||||||
this.tabControl1.ShowToolTips = true;
|
|
||||||
this.tabControl1.Size = new System.Drawing.Size(1009, 569);
|
|
||||||
this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
|
|
||||||
this.tabControl1.TabIndex = 34;
|
|
||||||
this.tabControl1.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.tabControl1_DrawItem);
|
|
||||||
//
|
|
||||||
// tabPage1
|
|
||||||
//
|
|
||||||
this.tabPage1.BackColor = System.Drawing.Color.LightGray;
|
|
||||||
this.tabPage1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
||||||
this.tabPage1.ContextMenuStrip = this.cmTab;
|
|
||||||
this.tabPage1.Location = new System.Drawing.Point(4, 29);
|
|
||||||
this.tabPage1.Name = "tabPage1";
|
|
||||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(10);
|
|
||||||
this.tabPage1.Size = new System.Drawing.Size(1001, 536);
|
|
||||||
this.tabPage1.TabIndex = 0;
|
|
||||||
this.tabPage1.Text = "요약";
|
|
||||||
//
|
|
||||||
// toolStripContainer1
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// toolStripContainer1.ContentPanel
|
|
||||||
//
|
|
||||||
this.toolStripContainer1.ContentPanel.Controls.Add(this.tabControl1);
|
|
||||||
this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(1009, 569);
|
|
||||||
this.toolStripContainer1.ContentPanel.Load += new System.EventHandler(this.toolStripContainer1_ContentPanel_Load);
|
|
||||||
this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
||||||
//
|
|
||||||
// toolStripContainer1.LeftToolStripPanel
|
|
||||||
//
|
|
||||||
this.toolStripContainer1.LeftToolStripPanel.Controls.Add(this.toolStrip);
|
|
||||||
this.toolStripContainer1.Location = new System.Drawing.Point(1, 28);
|
|
||||||
this.toolStripContainer1.Name = "toolStripContainer1";
|
|
||||||
this.toolStripContainer1.Size = new System.Drawing.Size(1034, 594);
|
|
||||||
this.toolStripContainer1.TabIndex = 35;
|
|
||||||
this.toolStripContainer1.Text = "toolStripContainer1";
|
|
||||||
//
|
|
||||||
// purchaseOrderImportToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.purchaseOrderImportToolStripMenuItem.Name = "purchaseOrderImportToolStripMenuItem";
|
|
||||||
this.purchaseOrderImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
|
|
||||||
this.purchaseOrderImportToolStripMenuItem.Text = "Purchase(Order) Import";
|
|
||||||
this.purchaseOrderImportToolStripMenuItem.Click += new System.EventHandler(this.purchaseOrderImportToolStripMenuItem_Click);
|
|
||||||
//
|
//
|
||||||
// fMain
|
// fMain
|
||||||
//
|
//
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
|
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
|
||||||
this.ClientSize = new System.Drawing.Size(1036, 647);
|
this.ClientSize = new System.Drawing.Size(1036, 647);
|
||||||
this.Controls.Add(this.toolStripContainer1);
|
this.Controls.Add(this.tabControl1);
|
||||||
this.Controls.Add(this.menuStrip1);
|
this.Controls.Add(this.menuStrip1);
|
||||||
this.Controls.Add(this.statusStrip1);
|
this.Controls.Add(this.statusStrip1);
|
||||||
this.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
@@ -634,19 +586,12 @@
|
|||||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
this.Text = " ";
|
this.Text = " ";
|
||||||
this.Load += new System.EventHandler(this.@__Load);
|
this.Load += new System.EventHandler(this.@__Load);
|
||||||
this.toolStrip.ResumeLayout(false);
|
|
||||||
this.toolStrip.PerformLayout();
|
|
||||||
this.cmTab.ResumeLayout(false);
|
this.cmTab.ResumeLayout(false);
|
||||||
this.statusStrip1.ResumeLayout(false);
|
this.statusStrip1.ResumeLayout(false);
|
||||||
this.statusStrip1.PerformLayout();
|
this.statusStrip1.PerformLayout();
|
||||||
this.menuStrip1.ResumeLayout(false);
|
this.menuStrip1.ResumeLayout(false);
|
||||||
this.menuStrip1.PerformLayout();
|
this.menuStrip1.PerformLayout();
|
||||||
this.tabControl1.ResumeLayout(false);
|
this.tabControl1.ResumeLayout(false);
|
||||||
this.toolStripContainer1.ContentPanel.ResumeLayout(false);
|
|
||||||
this.toolStripContainer1.LeftToolStripPanel.ResumeLayout(false);
|
|
||||||
this.toolStripContainer1.LeftToolStripPanel.PerformLayout();
|
|
||||||
this.toolStripContainer1.ResumeLayout(false);
|
|
||||||
this.toolStripContainer1.PerformLayout();
|
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
@@ -665,7 +610,6 @@
|
|||||||
private System.Windows.Forms.ToolStripMenuItem btSetting;
|
private System.Windows.Forms.ToolStripMenuItem btSetting;
|
||||||
private System.Windows.Forms.ToolStripMenuItem btLog;
|
private System.Windows.Forms.ToolStripMenuItem btLog;
|
||||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||||
private System.Windows.Forms.ToolStrip toolStrip;
|
|
||||||
private System.Windows.Forms.ToolStripMenuItem commonToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem commonToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem itemsToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem itemsToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripStatusLabel sbLogin;
|
private System.Windows.Forms.ToolStripStatusLabel sbLogin;
|
||||||
@@ -686,34 +630,33 @@
|
|||||||
private System.Windows.Forms.ToolStripMenuItem holidayToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem holidayToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem mailFormToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem mailFormToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem requestITemToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem requestITemToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
|
||||||
private System.Windows.Forms.ToolStripMenuItem nRPurchaseToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem nRPurchaseToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem btDev;
|
private System.Windows.Forms.ToolStripMenuItem btDev;
|
||||||
private System.Windows.Forms.ToolStripMenuItem purchaseImportToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem purchaseImportToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem purchaseDataConvertToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem purchaseDataConvertToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem customerToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem customerToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton2;
|
|
||||||
private System.Windows.Forms.ToolStripStatusLabel sbRedis;
|
private System.Windows.Forms.ToolStripStatusLabel sbRedis;
|
||||||
private System.Windows.Forms.ToolStripMenuItem userAccountToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem userAccountToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem aDSUserListToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem aDSUserListToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem myAccouserToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem myAccouserToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton3;
|
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton4;
|
|
||||||
private System.Windows.Forms.ToolStripMenuItem customerImportToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem customerImportToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
||||||
private System.Windows.Forms.TabControl tabControl1;
|
private System.Windows.Forms.TabControl tabControl1;
|
||||||
private System.Windows.Forms.TabPage tabPage1;
|
private System.Windows.Forms.TabPage tabPage1;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
|
||||||
private System.Windows.Forms.ToolStripMenuItem 라인코드관리ToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem 라인코드관리ToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripContainer toolStripContainer1;
|
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton5;
|
|
||||||
private System.Windows.Forms.ToolStripMenuItem 패치내역ToolStripMenuItem;
|
|
||||||
private System.Windows.Forms.ToolStripMenuItem materialImportToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem materialImportToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem projectImportToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem projectImportToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem 프로젝트ToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem 프로젝트ToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem 업무일지ToolStripMenuItem;
|
|
||||||
private System.Windows.Forms.ToolStripMenuItem projectImportCompleteToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem projectImportCompleteToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem purchaseOrderImportToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem purchaseOrderImportToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem 로그인ToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem 메일전송ToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem 업무일지ToolStripMenuItem1;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem 패치내역ToolStripMenuItem1;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem workReportImportToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem 월별근무표ToolStripMenuItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
137
Project/fMain.cs
137
Project/fMain.cs
@@ -84,9 +84,9 @@ namespace Project
|
|||||||
tmDisplay.Start(); //display timer
|
tmDisplay.Start(); //display timer
|
||||||
|
|
||||||
Func_Login();
|
Func_Login();
|
||||||
|
|
||||||
bw.RunWorkerAsync(); //background worker
|
bw.RunWorkerAsync(); //background worker
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Func_Login()
|
void Func_Login()
|
||||||
@@ -114,6 +114,14 @@ namespace Project
|
|||||||
{
|
{
|
||||||
menu_nrpurchase();
|
menu_nrpurchase();
|
||||||
}
|
}
|
||||||
|
else if (Pub.setting.startForm == eFormList.업무일지)
|
||||||
|
{
|
||||||
|
menu_work_report();
|
||||||
|
}
|
||||||
|
else if (Pub.setting.startForm == eFormList.프로젝트관리)
|
||||||
|
{
|
||||||
|
menu_projecT_list();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -236,8 +244,8 @@ namespace Project
|
|||||||
string formkey = "EQMOLD";
|
string formkey = "EQMOLD";
|
||||||
if (!ShowForm(formkey))
|
if (!ShowForm(formkey))
|
||||||
AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.MOLD));
|
AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.MOLD));
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void dataFOLToolStripMenuItem_Click(object sender, EventArgs e)
|
private void dataFOLToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
@@ -246,7 +254,7 @@ namespace Project
|
|||||||
string formkey = "EQFOL";
|
string formkey = "EQFOL";
|
||||||
if (!ShowForm(formkey))
|
if (!ShowForm(formkey))
|
||||||
AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.FOL));
|
AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.FOL));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void cascadeToolStripMenuItem_Click(object sender, EventArgs e)
|
private void cascadeToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
@@ -325,20 +333,13 @@ namespace Project
|
|||||||
{
|
{
|
||||||
string formkey = "ITEMREQUEST";
|
string formkey = "ITEMREQUEST";
|
||||||
if (!ShowForm(formkey))
|
if (!ShowForm(formkey))
|
||||||
AddForm(formkey, new FCM0000.fRequestItem());
|
AddForm(formkey, new FCM0000.fRequestItem());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (FCOMMON.info.Login.level < 10)
|
|
||||||
{
|
|
||||||
FCOMMON.Util.MsgE("테스트 기능이므로 개발자만 사용가능 합니다.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
FCM0000.fSendMail f = new FCM0000.fSendMail();
|
|
||||||
//f.MdiParent = this;
|
|
||||||
f.Show();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void menu_nrpurchase()
|
void menu_nrpurchase()
|
||||||
@@ -358,14 +359,14 @@ namespace Project
|
|||||||
private void purchaseImportToolStripMenuItem_Click(object sender, EventArgs e)
|
private void purchaseImportToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var f = new FEQ0000.fPurchase_Import();
|
var f = new FEQ0000.fPurchase_Import();
|
||||||
// f.MdiParent = this;
|
// f.MdiParent = this;
|
||||||
f.Show();
|
f.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void purchaseDataConvertToolStripMenuItem_Click(object sender, EventArgs e)
|
private void purchaseDataConvertToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var f = new FEQ0000.fPurchase_Data();
|
var f = new FEQ0000.fPurchase_Data();
|
||||||
// f.MdiParent = this;
|
// f.MdiParent = this;
|
||||||
f.Show();
|
f.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -373,7 +374,7 @@ namespace Project
|
|||||||
{
|
{
|
||||||
string formkey = "CUSTOMS";
|
string formkey = "CUSTOMS";
|
||||||
if (!ShowForm(formkey))
|
if (!ShowForm(formkey))
|
||||||
AddForm(formkey, new FCM0000.fCustoms());
|
AddForm(formkey, new FCM0000.fCustoms());
|
||||||
var f = new FCM0000.fCustoms();
|
var f = new FCM0000.fCustoms();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -390,8 +391,8 @@ namespace Project
|
|||||||
|
|
||||||
private void aDSUserListToolStripMenuItem_Click(object sender, EventArgs e)
|
private void aDSUserListToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
if (FCOMMON.info.Login.level < 10)
|
if (FCOMMON.info.Login.level < 10)
|
||||||
{
|
{
|
||||||
FCOMMON.Util.MsgE("개발자 이상 사용가능한 메뉴 입니다.");
|
FCOMMON.Util.MsgE("개발자 이상 사용가능한 메뉴 입니다.");
|
||||||
@@ -400,14 +401,14 @@ namespace Project
|
|||||||
|
|
||||||
string formkey = "ADUSERS";
|
string formkey = "ADUSERS";
|
||||||
if (!ShowForm(formkey))
|
if (!ShowForm(formkey))
|
||||||
AddForm(formkey, new _Common.fADSUserList());
|
AddForm(formkey, new _Common.fADSUserList());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void myAccouserToolStripMenuItem_Click(object sender, EventArgs e)
|
private void myAccouserToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
string formkey = "USERS";
|
string formkey = "USERS";
|
||||||
if (!ShowForm(formkey))
|
if (!ShowForm(formkey))
|
||||||
AddForm(formkey, new _Common.fUserList());
|
AddForm(formkey, new _Common.fUserList());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -418,7 +419,7 @@ namespace Project
|
|||||||
|
|
||||||
private void workReportToolStripMenuItem_Click(object sender, EventArgs e)
|
private void workReportToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void toolStripButton4_Click(object sender, EventArgs e)
|
private void toolStripButton4_Click(object sender, EventArgs e)
|
||||||
@@ -429,7 +430,7 @@ namespace Project
|
|||||||
private void customerImportToolStripMenuItem_Click(object sender, EventArgs e)
|
private void customerImportToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var f = new FCM0000.Customer_Import();
|
var f = new FCM0000.Customer_Import();
|
||||||
// f.MdiParent = this;
|
// f.MdiParent = this;
|
||||||
f.Show();
|
f.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -448,14 +449,14 @@ namespace Project
|
|||||||
f.TopLevel = false;
|
f.TopLevel = false;
|
||||||
f.Dock = DockStyle.Fill;
|
f.Dock = DockStyle.Fill;
|
||||||
f.ControlBox = false;
|
f.ControlBox = false;
|
||||||
f.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
f.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||||
this.tabControl1.TabPages.Add(key, f.Text);
|
this.tabControl1.TabPages.Add(key, f.Text);
|
||||||
this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].BorderStyle = BorderStyle.Fixed3D;
|
this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].BorderStyle = BorderStyle.Fixed3D;
|
||||||
this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].Padding = new Padding(10, 10, 10, 10);
|
this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].Padding = new Padding(10, 10, 10, 10);
|
||||||
this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].BackColor = Color.LightGray;
|
this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].BackColor = Color.LightGray;
|
||||||
this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].ContextMenuStrip = this.cmTab;
|
this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].ContextMenuStrip = this.cmTab;
|
||||||
this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].Controls.Add(f);
|
this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].Controls.Add(f);
|
||||||
this.tabControl1.SelectedIndex = this.tabControl1.TabPages.Count - 1;
|
this.tabControl1.SelectedIndex = this.tabControl1.TabPages.Count - 1;
|
||||||
f.Show();
|
f.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -465,11 +466,6 @@ namespace Project
|
|||||||
f.ShowDialog();
|
f.ShowDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void toolStripContainer1_ContentPanel_Load(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
private void tabControl1_DrawItem(object sender, DrawItemEventArgs e)
|
private void tabControl1_DrawItem(object sender, DrawItemEventArgs e)
|
||||||
{
|
{
|
||||||
//e.Graphics.FillRectangle(Brushes.Red, e.Bounds);
|
//e.Graphics.FillRectangle(Brushes.Red, e.Bounds);
|
||||||
@@ -482,25 +478,12 @@ namespace Project
|
|||||||
|
|
||||||
private void toolStripButton5_Click(object sender, EventArgs e)
|
private void toolStripButton5_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if(this.tabControl1.TabPages.Count > 1)
|
|
||||||
{
|
|
||||||
while(tabControl1.TabPages.Count > 1)
|
|
||||||
{
|
|
||||||
var tab = this.tabControl1.TabPages[1];
|
|
||||||
var f = tab.Controls[0] as System.Windows.Forms.Form;
|
|
||||||
f.Close();
|
|
||||||
f.Dispose();
|
|
||||||
tabControl1.TabPages.Remove(tab);
|
|
||||||
this.tabControl1.Refresh();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Func_Login();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void 패치내역ToolStripMenuItem_Click(object sender, EventArgs e)
|
private void 패치내역ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
FCM0000.fPatchList f = new FCM0000.fPatchList();
|
|
||||||
f.Show();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void materialImportToolStripMenuItem_Click(object sender, EventArgs e)
|
private void materialImportToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
@@ -522,7 +505,7 @@ namespace Project
|
|||||||
|
|
||||||
private void 업무일지ToolStripMenuItem_Click(object sender, EventArgs e)
|
private void 업무일지ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
menu_work_report();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void todoListToolStripMenuItem_Click(object sender, EventArgs e)
|
private void todoListToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
@@ -543,5 +526,65 @@ namespace Project
|
|||||||
f.Show();
|
f.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void 로그인ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (this.tabControl1.TabPages.Count > 1)
|
||||||
|
{
|
||||||
|
while (tabControl1.TabPages.Count > 1)
|
||||||
|
{
|
||||||
|
var tab = this.tabControl1.TabPages[1];
|
||||||
|
var f = tab.Controls[0] as System.Windows.Forms.Form;
|
||||||
|
f.Close();
|
||||||
|
f.Dispose();
|
||||||
|
tabControl1.TabPages.Remove(tab);
|
||||||
|
this.tabControl1.Refresh();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Func_Login();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void 메일전송ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (FCOMMON.info.Login.level < 10)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("테스트 기능이므로 개발자만 사용가능 합니다.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
FCM0000.fSendMail f = new FCM0000.fSendMail();
|
||||||
|
//f.MdiParent = this;
|
||||||
|
f.Show();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void nR구매신청ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
menu_nrpurchase();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void 업무일지ToolStripMenuItem1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
menu_work_report();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void 패치내역ToolStripMenuItem1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
FCM0000.fPatchList f = new FCM0000.fPatchList();
|
||||||
|
f.Show();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void workReportImportToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var f = new FPJ0000.JobReport.fJobReportImport();
|
||||||
|
f.ShowDialog();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void 월별근무표ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//string formkey = "HOLIS";
|
||||||
|
//if (!ShowForm(formkey))
|
||||||
|
// AddForm(formkey, new FCM0000.fHolidaytable());
|
||||||
|
var f = new FCM0000.fHolidaytable();
|
||||||
|
f.ShowDialog();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -123,80 +123,6 @@
|
|||||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>124, 17</value>
|
<value>124, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="toolStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
||||||
<value>709, 17</value>
|
|
||||||
</metadata>
|
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
||||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>
|
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEOSURBVDhPYxh48J9CADbg8vMP/2ceuAbGXWtOoODa+Tv/
|
|
||||||
V87YBMYVE1b/T62fA8ZBCZUIA0Aaf/35SzQ+ffkWqgEgm0AShx/8/X/g/p//u+/8BeNtN/+A8frrf/6v
|
|
||||||
ugLBiy/8+X/78Zv/nqHZmAaANMMMQNYMkrsSFAPGIANeffmHakDN4gNwA0D+BOHS/jXwcADZDNIEwjAD
|
|
||||||
nL1jEAaAAgpkACGng/CcsxAvoBgACuHHb76ANcNsR3YBsmaYAXauoQgD8vvWgw1AthlmO7pmEAapRTEA
|
|
||||||
FK+gqAFJgDDIBlwYJA9Sq2nojDAA5OzQ7C44BsUxCINCGoRB/gVhkK0gDNKMkg4oAdAcMWCAgQEAUU2N
|
|
||||||
V3HhzrYAAAAASUVORK5CYII=
|
|
||||||
</value>
|
|
||||||
</data>
|
|
||||||
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>
|
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIbSURBVDhPY0iaU3o9aWbN/7Ty3ovplX3WDFAwrd5VbGad
|
|
||||||
+65pVS4WcH61y64pFW4qYAUwkDS/8lLi3KqLqZW9UUkVfXcYGP4zTq10sZ9S4f52U73Pr+nl7u8nV7q5
|
|
||||||
Tq9zerWzPubPnAaXx3NKrXih2lFBanX9n5QZRW9K6rP/zFxZ8n/X7vr/7fV5/+rr/f6tai/89/Vc6//9
|
|
||||||
U1J/zq71OLoqNJQZqg0B4hu7PresnfV/1sml//v2z/rfvHXC//I1rf/TF1b+j59T/j9vcfX/hlW1/2vn
|
|
||||||
FvwqmphyLG52eQxUKwSktXReqZ0//f+uB3sx8Pa7u/+vurLx/9zTy/5PODj3f+DGnr8x8yreQrVCQFJz
|
|
||||||
8+L43v7fME09+2ZipUF4zqll/5MXVF2AaoWApNbW1PT6+j8wRXFzyrDSIAxyRfy88tVQrRCQ0tEhk1bV
|
|
||||||
93/7vd0EDajfPvlH3JzSFqhWBLAP6P278Pg6sCJ8Xihe0/4xdk5ZKlQbAiTWd7/rWjcfrhAb3nRr+//o
|
|
||||||
eZU/EmZWmEK1IUBSc8cp+66Wv0n9+d9hOHp+xY/o+ZVwnDgl62fygpp+qBZUkFbRl5Fa2bcVyiUdpJb1
|
|
||||||
6qaVt79Pqeo3gAqRDjJqJx7OqK7/l1kz6X9aZT8KzqiZ+D8+fuLvnLop2L0AAtFV9T/mrDv0Pz2//ztU
|
|
||||||
CA7wycFBJtD0+PgJv7NrJ/dAheAAVY6BAQDLzKEqDWlJgQAAAABJRU5ErkJggg==
|
|
||||||
</value>
|
|
||||||
</data>
|
|
||||||
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>
|
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJESURBVDhPhZHtS1NxFMf3RxQV0Zve9q7/IOhdb3pTEEFQ
|
|
||||||
+SYijB5UMhFLcasIq9kKjWoq+cCWxaxxhcq2hSM33aM6yQ18muZ2r+753t19O/e3n10ZZF84l/s7v/P9
|
|
||||||
cM75Gf4l1Iin/y9eD1laxMSbi/jy6gIyCYFn9wDxe2Z0912Gy3oJSmIEqhiB8PI8xsxnIcVGedUuED8z
|
|
||||||
o6e/joUU6oUYsGDN00GAMJTFASi/+mF/fBqDxlNIR4e5i0DaJyyYmFFNfoOypsVXlJacWJ80MYAqhqCm
|
|
||||||
gxQBFta2Ewg6mnWA1nK5lIEqRaFuzVPMVv+p/eiHKwjZ6hAbq4c43QVp5glSP40YbDmmA7R5K2oJqlKA
|
|
||||||
KmehxIdQ5vNrxvh4I0QypqdMyM08QGGuByN3j+oAbdsaQKE2lU0/B1FHBFh1t5HZjC1fJ7Lh5yxy0Rd4
|
|
||||||
13REB2hPVSkXIa97IW9MQk5+h7wsoFyUkFmwI+2vtr4dfIpMyMwgAw2HdYDTco4ABQK4INMS5RUB8pKD
|
|
||||||
QG4sjLdiw2tEauoRJNrBdrCbIN14e+OADnA8O4OKkq8alz+T+SPkhJ0ALsSEZiR/dFQhrJMuBuit36cD
|
|
||||||
fO9vVxepZClykOM2tkiFRpl3NrE97EByEQteX99Pr3NVB2gS5+xsFDZOMQX1t5cAE5gdvYZVTztWXPfR
|
|
||||||
d+sQM+d9LdxFgB3xMzYjQxjuPAlb+3GUOUDbuPXmQeT9rbxql7FW/B65wENEP91h285P3+PZPYy14vV/
|
|
||||||
xdM1Mhj+AC07yRaMtd+HAAAAAElFTkSuQmCC
|
|
||||||
</value>
|
|
||||||
</data>
|
|
||||||
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>
|
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJNSURBVDhPnZPbThNBAIZ5He/0AbxQxHhENDamGo2kF6Q3
|
|
||||||
qNELwcRoMB4IgahBggdqiFpNAwUxBCEKjVhFQEsL1kOKLm0tPW5367Zdhu3vzNTp0kud5N+dmcz3zczO
|
|
||||||
bA0hBP9aajYW1hGIZTEQiMLtW8HT2RAcb4LonvDj+uA7ngt94zznuofRdM1ZLWGNQQoHqSQia4grBcTk
|
|
||||||
AhKqjqRSRDSd54nQhFMFdHoUHG15YEpYZcgfxiqFvY9tVZmWDHh+GJikeb1sIJ0vof2VjLaRMKzNHWUJ
|
|
||||||
ewhgLTKGlO8uf7OIfgZPhMqClFZCLq/D0nSlLBCggGMzXZCm26tErhu1GPtmYJTm+Zd1qJqOg40XTQEr
|
|
||||||
YrAQiXrCexkzjnq8+GpgKLiOgSXCBfUnWjhXEeiZIEAyFVAaP8/DBG/v74ebwq5FgmcBAkUrYp/1DOf+
|
|
||||||
CrIoRl+CxKZgEKUCqv6b0AK3MdWzk4NOP8GjBYJIUsPuw/aNAg1roX6Qn04qmURg+DQXpOfLAk/vHjyh
|
|
||||||
YL+PwPGJChJF1B1oNAUlovIGUiNA0ovPo2c5yMJW427bzOG+jwT35gmk1Sy27z3OEX6MbACLnpOAwmJl
|
|
||||||
/6JfwD1zwJ0PBKGYjG27jpiCU51uaEW9AoiwfbM9P6TLZjMz+NZ7Aln5ja07LKbgWKsDS98j/IIklDx+
|
|
||||||
pXOIpnL0Y6kIJxSsxLOQ4jKW6cyZrIrZuQVs2lJrClq7XGiwd/DrabFfxSHbJX7O7KjY165rsPE9s2Wz
|
|
||||||
mRlsPdlcFvzP7ywKIQR/ADe1RkU7UZGnAAAAAElFTkSuQmCC
|
|
||||||
</value>
|
|
||||||
</data>
|
|
||||||
<data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>
|
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFBSURBVDhPnZOxSgNBFEXzO5b6ATZLCrETYmWhnRAsLBRt
|
|
||||||
7FNYCApCegtNkypFCgshjaAiSkCbBBQVAyaiaUYZPRNuMm93qyycZPLm3bOZndmCn+IqxBeF9kvfn111
|
|
||||||
DQeN68Be7d5vHdUNRsIPAkieet/+fTA0UIupNHt+eWN/IpGA5lbny1fW5gzUGo+/gf7QBYGR8NG8644m
|
|
||||||
/wPn1R1f3y6OoRYLREaQF86TSLS0upsV0PzWbhnSgpPb0T8wAtZJ4+D5ITQrrDFzCkuwUCpbwcXhehCw
|
|
||||||
DAk0Zk5hYDeMgC1kF2hUWKTDEiSLK1aQbFb96c1nCMRwkJgjeHz5E+i8fliBwoJQGnpiwXyxlBXoWyHV
|
|
||||||
0gKWawRsI0Webt7x5Y6CefpnZpOJgBeEkyXYY+BJA+sF7gqEx+fAORcG01zOOf8HE8Uw/ZN/lX0AAAAA
|
|
||||||
SUVORK5CYII=
|
|
||||||
</value>
|
|
||||||
</data>
|
|
||||||
<metadata name="bw.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="bw.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>306, 17</value>
|
<value>306, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
@@ -209,6 +135,106 @@
|
|||||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>476, 17</value>
|
<value>476, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="btSetting.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
R0lGODlhEAAQAIQfAJyzyufy/qG1ysLa8qzF3llyitjr/pOsxcvk/aS807zV7UpierXO54ylvZywxPb5
|
||||||
|
/r3S6L7X8H2WrrrS6ZCowPr8/6fA2WmCm5ixyrzU68fg+Mvg9fH3/sDY7////////yH/C05FVFNDQVBF
|
||||||
|
Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAImQA/CBxIsKDBDx4SejhI0IMDBxgELDyY0MGDBwECWEhY
|
||||||
|
0IOABBs4KBjggQGBjQM9XoQwIYIHBB4yUpjo8AFLBS9fKjAgYSJCAQEyeJAgIUAEnj4RAgjgQUPPCgwQ
|
||||||
|
9Ey51APJABUIYKAwoADNBBlfRrCwtUOGBT49JEhAwIAFABQaFEDb0cMBAwg0DECbtOGFAoD7GlQomCHD
|
||||||
|
gAA7
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="로그인ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
R0lGODlhEAAQAIQXAM2VE9+3RfjopNSgIc+YFMmLEdyxVubEWt6xOuC6b+zau9SkF9mpL9uzbcySEuG2
|
||||||
|
QeS8SsaHD+fBSv354vbii+3LYf///////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBF
|
||||||
|
Mi4wAwEBAAAh+QQBAAAXACwAAAAAEAAQAAAIggAvCBwo0IJBCwQTFqwAAQEDhAoXTpgoYQDEhBYqTKDA
|
||||||
|
kYKEBRclciRAoMEDCREuZtw40oKCCihVauxIIYEBmCkJruxYoWfMggYPsOyJU+WAABMqCJDgM+eFg0iV
|
||||||
|
Aigg4WfBo0kFADAYwWnBABSkQjSIcYDYiAMtBHCwFW3ag24HBgQAOw==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="commonToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
R0lGODlhEAAQAIQfAP/umP/eN//kV//riOuzSuujJ+usOuu3VuvKgf/0uf/yq+ucF//bJf/pfOvOiO/O
|
||||||
|
fP/52//ZGP/UAP/haf/ma//hR//ncevDceu8YP39/OuuQP/rp//pdP/nZf///////yH/C05FVFNDQVBF
|
||||||
|
Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIkAA/CByYwUOGgQgTfvDgwINChQw9IHD4UGBEABAuUETo
|
||||||
|
oaNEDxg1erTo4IGDiQAGNFCA4QABAg4jdkxpoYOABAkUGKD4UaUFARUCMLCwk6NGCkADRKBQNKEHDB6E
|
||||||
|
RpDQlCNUoRYkSJhQYKPFAyqZThjbleMBDxw07CxQYMKGBRs9vNTQcaGHBXjjjuS4t2LFgAA7
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="nRPurchaseToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m
|
||||||
|
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIwSURBVDhPpVLbSqJRGPVqruY9Zp7gf4F5jbkSEhFE
|
||||||
|
00pFS4IyFSVTxHN4yAIPlCc8lGCpReJFqKAoaKJzNVeSMIgya/begw5SNAxzsfbP/vjWWt+3/s0D8F94
|
||||||
|
s/geQqEQTk9P4Xa7Ybfbv/Kq1SooyuUySqUSisUiCoUCstksUqkULi8vEY1GcXFxgWAwyHrn8znG4zEs
|
||||||
|
FkuLV6lUsFgsMJvN3sXLywt8Pt+3yWSCTqeD4+PjgdFoFPHu7u5YYTQa4eHhAcPhELQ2GAxwfX2NXq+H
|
||||||
|
dDrNemKxGFqtFpvIYDB8oSuxvW5ubnB/f49MJsPd3t4iHo9zlHx2dsbRNTweD0fJVquVC4fDbP+Dg4PP
|
||||||
|
K4FcLodGo8Ey6Pf7LAPqTMntdnvlTATx9PRE3bG3t/dxJUBxdXWF6XSKfD4PkjSXTCapE0fHJWFxlHx0
|
||||||
|
dMR5vV5KJpTfvJUAadTUajV0u11QMnWORCJoNptUkDmTVVCv16FUKn++EqAIBAI0aTidTthsNpo0SNI4
|
||||||
|
PDzE/v4+tFotEokEtra23hb4GxQKxQe5XA6JRPJ9WWOH3+//RMZzORwOmjTMZjP0ej1Nmrmq1Wrs7OxA
|
||||||
|
JpORdvBEItF0TYCEpaHfk5MTqclkeiZk6bJhic3NTalYLH4mZKlAIPixrLODvGkNSZr9rsfHR5yfn7Ok
|
||||||
|
VSoVtre3QchwuVzsGZNe8Pn83prAEjqdjoW1u7v7agKhUCjd2NigZHL9U19r+neA9wvhROqXtIFlogAA
|
||||||
|
AABJRU5ErkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="프로젝트ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
R0lGODlhEAAQAIZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4
|
||||||
|
Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKB
|
||||||
|
QaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDP
|
||||||
|
kP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXD
|
||||||
|
g+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzg
|
||||||
|
q/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6
|
||||||
|
if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH/C05FVFNDQVBFMi4wAwEBAAAh+QQB
|
||||||
|
AAB/ACwAAAAAEAAQAAAI3QD/CBzop6CfgQgJ+klwAAKYggn/FEzQIEAXBFV8GIEoceGCBVDSrJBw54OW
|
||||||
|
I24MzllgRwQRDTUk6KATIcIIGAUboLCQ5I0FBDk2GNDjYMieggEu/Cgh4AsCA2WeMMFDhkvBAxeaBPmR
|
||||||
|
BcEEKykUKIjyoCAEHBzqyABwxQsGB2hsKCBQcAASM0BcTGHhpEKRG2sokCjI54ULNlLCzDhToEKLPBRC
|
||||||
|
FDQRoA+IDAJU0JjQWI2cDgY9DBigRMgWBj2WiJEDh2PBNiew7GDwIEYcjggL8hhDgAruiB1/CwwIADs=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="업무일지ToolStripMenuItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
R0lGODlhEAAQAIQAANnq+K7T5HiUsMHb+v/vlOXs9IyzzHWs1/T5/1ZtjUlVa+z1/+3x9uTx/6a2ysng
|
||||||
|
+FFhe0NLXIDG/fD4/ykxQz5FVf/41vr8/6TI3MvM0XHG/vbHQPn8//b8/4PL/f///yH/C05FVFNDQVBF
|
||||||
|
Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIugA/CLSwQaDBDwQPAghAYIMAAxAFCGiYQIDAAA4aCgDA
|
||||||
|
EUBGhxAuLjhwwIOEkydJOkggEAMDDzBjxtRQgOUHDAU46OTQoQOCnxMKhPxggMEFnj2BTgg6tOjRBz4f
|
||||||
|
SF2woIACgQZySkXwYALVAQ2sCjxQoOcDrlQbgC0QQaCAslwnPFjQQC0Atm7hdl0woG/HCm4n+PRKt0FH
|
||||||
|
BoA/JHjAoACDx5AfZ6DgNoFlCBAUKIgQoUIFCkMPih4dEAA7
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="equipmentToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
R0lGODlhEAAQAIUkAHBwcMXFxaioqJqamtHR0XNzc6SkpJeXl6CgoNXV1ZiYmHd3d8fHx6Kioo2NjZub
|
||||||
|
m6GhoX9/f4qKipSUlKenp5CQkJOTk6Ojo3t7e6WlpZ2dnX19fZ+fn4SEhHJycn5+foWFhZ6entra2v//
|
||||||
|
/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||||
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEBAAAh+QQBAAAkACwAAAAAEAAQ
|
||||||
|
AAAIfABJCBxIsKDBgwhJjFjIMOEIARQyGICAYMTBhyNEJCDAIMADiwIZChhhAAGHAQoUBJjAcESIly8v
|
||||||
|
LDwA8+VCEThxghAYISfOhSCCBh2wsACAo0dbNhhxoIKEDh8wBFjQMKSGjBs7egBZcIQFByA2LCjA1WDL
|
||||||
|
hQnTql2rNiAAOw==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="managementToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
R0lGODlhEAAQAIQQAP/cpv/GcNvb292RIP+kG/+5T6m5rMStgK13Jv+wOt2TJKmwrP/zcZOru////wAA
|
||||||
|
AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBF
|
||||||
|
Mi4wAwEBAAAh+QQBAAAQACwAAAAAEAAQAAAIZQAhCBxIsKBABgQBGCTIoCEEBgEWDmRAgMAAAwUgKJQ4
|
||||||
|
QIEDBwciSmw4QMDHBRIBBCiQAIGABw8aSBSosgHMmCkH2oQpc6bAnTh9QgDa0ydRoUMffCw6s4FJB0wl
|
||||||
|
OoWKdGiDBgEBADs=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="boardsToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
R0lGODlhEAAQAIQfAJrM+3OSsKfS++zx9uXt9Yis1FdwkZW51ElVa8fj/bba/NXb5PL2+o276b3d/VJh
|
||||||
|
e7TR4ENLXNXn8KLD536kwIyzzJ/E2KjL3t7n7ykxQz5FVa/W/OLp8I+w1P///////yH/C05FVFNDQVBF
|
||||||
|
Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAItgA9CBxIcOCHgx4kQIBwwcKBChQiBgjgASEECQQGZNRI
|
||||||
|
oGMDAxU9QCCQoGRJBygZNPgo8AKDBB1iyuzAoOYDgRZeonSgoGfPDQxuejjwcsLMAkgFBBVY4aVPBRui
|
||||||
|
ClCKQCCFojGRIm0ggEBVDxQG8IQqdSoAAhGsijWqdSsADmk9BBBLdqoAAHgxaBAYgAHPsnjxDtjrwcAC
|
||||||
|
Bhw5KOaAYQCEDHwNSH7wAAGCCBE0aMggtKBnggEBADs=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>77</value>
|
<value>77</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|||||||
316
SubProject/FCM0000/DSQuery.Designer.cs
generated
Normal file
316
SubProject/FCM0000/DSQuery.Designer.cs
generated
Normal file
@@ -0,0 +1,316 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// 이 코드는 도구를 사용하여 생성되었습니다.
|
||||||
|
// 런타임 버전:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
|
||||||
|
// 이러한 변경 내용이 손실됩니다.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#pragma warning disable 1591
|
||||||
|
|
||||||
|
namespace FCM0000 {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///Represents a strongly typed in-memory cache of data.
|
||||||
|
///</summary>
|
||||||
|
[global::System.Serializable()]
|
||||||
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||||
|
[global::System.ComponentModel.ToolboxItem(true)]
|
||||||
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
|
||||||
|
[global::System.Xml.Serialization.XmlRootAttribute("DSQuery")]
|
||||||
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
|
||||||
|
public partial class DSQuery : global::System.Data.DataSet {
|
||||||
|
|
||||||
|
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
public DSQuery() {
|
||||||
|
this.BeginInit();
|
||||||
|
this.InitClass();
|
||||||
|
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
|
||||||
|
base.Tables.CollectionChanged += schemaChangedHandler;
|
||||||
|
base.Relations.CollectionChanged += schemaChangedHandler;
|
||||||
|
this.EndInit();
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
protected DSQuery(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
||||||
|
base(info, context, false) {
|
||||||
|
if ((this.IsBinarySerialized(info, context) == true)) {
|
||||||
|
this.InitVars(false);
|
||||||
|
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
|
||||||
|
this.Tables.CollectionChanged += schemaChangedHandler1;
|
||||||
|
this.Relations.CollectionChanged += schemaChangedHandler1;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
|
||||||
|
if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
|
||||||
|
global::System.Data.DataSet ds = new global::System.Data.DataSet();
|
||||||
|
ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
|
||||||
|
this.DataSetName = ds.DataSetName;
|
||||||
|
this.Prefix = ds.Prefix;
|
||||||
|
this.Namespace = ds.Namespace;
|
||||||
|
this.Locale = ds.Locale;
|
||||||
|
this.CaseSensitive = ds.CaseSensitive;
|
||||||
|
this.EnforceConstraints = ds.EnforceConstraints;
|
||||||
|
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
|
||||||
|
this.InitVars();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
|
||||||
|
}
|
||||||
|
this.GetSerializationData(info, context);
|
||||||
|
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
|
||||||
|
base.Tables.CollectionChanged += schemaChangedHandler;
|
||||||
|
this.Relations.CollectionChanged += schemaChangedHandler;
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
[global::System.ComponentModel.BrowsableAttribute(true)]
|
||||||
|
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
|
||||||
|
public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
|
||||||
|
get {
|
||||||
|
return this._schemaSerializationMode;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this._schemaSerializationMode = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||||
|
public new global::System.Data.DataTableCollection Tables {
|
||||||
|
get {
|
||||||
|
return base.Tables;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||||
|
public new global::System.Data.DataRelationCollection Relations {
|
||||||
|
get {
|
||||||
|
return base.Relations;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
protected override void InitializeDerivedDataSet() {
|
||||||
|
this.BeginInit();
|
||||||
|
this.InitClass();
|
||||||
|
this.EndInit();
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
public override global::System.Data.DataSet Clone() {
|
||||||
|
DSQuery cln = ((DSQuery)(base.Clone()));
|
||||||
|
cln.InitVars();
|
||||||
|
cln.SchemaSerializationMode = this.SchemaSerializationMode;
|
||||||
|
return cln;
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
protected override bool ShouldSerializeTables() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
protected override bool ShouldSerializeRelations() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
|
||||||
|
if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
|
||||||
|
this.Reset();
|
||||||
|
global::System.Data.DataSet ds = new global::System.Data.DataSet();
|
||||||
|
ds.ReadXml(reader);
|
||||||
|
this.DataSetName = ds.DataSetName;
|
||||||
|
this.Prefix = ds.Prefix;
|
||||||
|
this.Namespace = ds.Namespace;
|
||||||
|
this.Locale = ds.Locale;
|
||||||
|
this.CaseSensitive = ds.CaseSensitive;
|
||||||
|
this.EnforceConstraints = ds.EnforceConstraints;
|
||||||
|
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
|
||||||
|
this.InitVars();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
this.ReadXml(reader);
|
||||||
|
this.InitVars();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
|
||||||
|
global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
|
||||||
|
this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
|
||||||
|
stream.Position = 0;
|
||||||
|
return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
internal void InitVars() {
|
||||||
|
this.InitVars(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
internal void InitVars(bool initTable) {
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
private void InitClass() {
|
||||||
|
this.DataSetName = "DSQuery";
|
||||||
|
this.Prefix = "";
|
||||||
|
this.Namespace = "http://tempuri.org/DSQuery.xsd";
|
||||||
|
this.EnforceConstraints = true;
|
||||||
|
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
|
||||||
|
if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
|
||||||
|
this.InitVars();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
||||||
|
DSQuery ds = new DSQuery();
|
||||||
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
||||||
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
||||||
|
global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
|
||||||
|
any.Namespace = ds.Namespace;
|
||||||
|
sequence.Items.Add(any);
|
||||||
|
type.Particle = sequence;
|
||||||
|
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
||||||
|
if (xs.Contains(dsSchema.TargetNamespace)) {
|
||||||
|
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
||||||
|
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
||||||
|
try {
|
||||||
|
global::System.Xml.Schema.XmlSchema schema = null;
|
||||||
|
dsSchema.Write(s1);
|
||||||
|
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
||||||
|
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
||||||
|
s2.SetLength(0);
|
||||||
|
schema.Write(s2);
|
||||||
|
if ((s1.Length == s2.Length)) {
|
||||||
|
s1.Position = 0;
|
||||||
|
s2.Position = 0;
|
||||||
|
for (; ((s1.Position != s1.Length)
|
||||||
|
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
||||||
|
;
|
||||||
|
}
|
||||||
|
if ((s1.Position == s1.Length)) {
|
||||||
|
return type;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
finally {
|
||||||
|
if ((s1 != null)) {
|
||||||
|
s1.Close();
|
||||||
|
}
|
||||||
|
if ((s2 != null)) {
|
||||||
|
s2.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
xs.Add(dsSchema);
|
||||||
|
return type;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
namespace FCM0000.DSQueryTableAdapters {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///Represents the connection and commands used to retrieve and save data.
|
||||||
|
///</summary>
|
||||||
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||||
|
[global::System.ComponentModel.ToolboxItem(true)]
|
||||||
|
[global::System.ComponentModel.DataObjectAttribute(true)]
|
||||||
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
||||||
|
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
||||||
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||||
|
public partial class QueriesTableAdapter : global::System.ComponentModel.Component {
|
||||||
|
|
||||||
|
private global::System.Data.IDbCommand[] _commandCollection;
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
protected global::System.Data.IDbCommand[] CommandCollection {
|
||||||
|
get {
|
||||||
|
if ((this._commandCollection == null)) {
|
||||||
|
this.InitCommandCollection();
|
||||||
|
}
|
||||||
|
return this._commandCollection;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
private void InitCommandCollection() {
|
||||||
|
this._commandCollection = new global::System.Data.IDbCommand[1];
|
||||||
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||||
|
((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Connection = new global::System.Data.SqlClient.SqlConnection(global::FCM0000.Properties.Settings.Default.gwcs);
|
||||||
|
((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandText = "SELECT ISNULL(SUM(cnt), 0) AS Expr1\r\nFROM vSupplyUsage\r\nWHERE (supplyidx = " +
|
||||||
|
"@idx)";
|
||||||
|
((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandType = global::System.Data.CommandType.Text;
|
||||||
|
((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||||
|
public virtual global::System.Nullable<int> CheckSupplyUsage(global::System.Nullable<int> idx) {
|
||||||
|
global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[0]));
|
||||||
|
if ((idx.HasValue == true)) {
|
||||||
|
command.Parameters[0].Value = ((int)(idx.Value));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
command.Parameters[0].Value = global::System.DBNull.Value;
|
||||||
|
}
|
||||||
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||||
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||||
|
!= global::System.Data.ConnectionState.Open)) {
|
||||||
|
command.Connection.Open();
|
||||||
|
}
|
||||||
|
object returnValue;
|
||||||
|
try {
|
||||||
|
returnValue = command.ExecuteScalar();
|
||||||
|
}
|
||||||
|
finally {
|
||||||
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||||
|
command.Connection.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (((returnValue == null)
|
||||||
|
|| (returnValue.GetType() == typeof(global::System.DBNull)))) {
|
||||||
|
return new global::System.Nullable<int>();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return new global::System.Nullable<int>(((int)(returnValue)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma warning restore 1591
|
||||||
9
SubProject/FCM0000/DSQuery.xsc
Normal file
9
SubProject/FCM0000/DSQuery.xsc
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--<autogenerated>
|
||||||
|
This code was generated by a tool.
|
||||||
|
Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
the code is regenerated.
|
||||||
|
</autogenerated>-->
|
||||||
|
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||||
|
<TableUISettings />
|
||||||
|
</DataSetUISetting>
|
||||||
32
SubProject/FCM0000/DSQuery.xsd
Normal file
32
SubProject/FCM0000/DSQuery.xsd
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<xs:schema id="DSQuery" targetNamespace="http://tempuri.org/DSQuery.xsd" xmlns:mstns="http://tempuri.org/DSQuery.xsd" xmlns="http://tempuri.org/DSQuery.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
||||||
|
<xs:annotation>
|
||||||
|
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
||||||
|
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||||
|
<Connections>
|
||||||
|
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="gwcs" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="gwcs (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.FCM0000.Properties.Settings.GlobalReference.Default.gwcs" Provider="System.Data.SqlClient" />
|
||||||
|
</Connections>
|
||||||
|
<Tables />
|
||||||
|
<Sources>
|
||||||
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CheckSupplyUsage" MethodsParameterType="CLR" Modifier="Public" Name="CheckSupplyUsage" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CheckSupplyUsage">
|
||||||
|
<SelectCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||||
|
<CommandText>SELECT ISNULL(SUM(cnt), 0) AS Expr1
|
||||||
|
FROM vSupplyUsage
|
||||||
|
WHERE (supplyidx = @idx)</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="idx" ColumnName="supplyidx" DataSourceName="GroupWare.dbo.vSupplyUsage" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</SelectCommand>
|
||||||
|
</DbSource>
|
||||||
|
</Sources>
|
||||||
|
</DataSource>
|
||||||
|
</xs:appinfo>
|
||||||
|
</xs:annotation>
|
||||||
|
<xs:element name="DSQuery" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSQuery" msprop:Generator_UserDSName="DSQuery">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:choice minOccurs="0" maxOccurs="unbounded" />
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:schema>
|
||||||
1
SubProject/FCM0000/DSQuery.xss
Normal file
1
SubProject/FCM0000/DSQuery.xss
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -117,6 +117,11 @@
|
|||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
<DependentUpon>dsMSSQL.xsd</DependentUpon>
|
<DependentUpon>dsMSSQL.xsd</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="DSQuery.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<DependentUpon>DSQuery.xsd</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="DSReport.Designer.cs">
|
<Compile Include="DSReport.Designer.cs">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
@@ -146,6 +151,12 @@
|
|||||||
<Compile Include="fItems.Designer.cs">
|
<Compile Include="fItems.Designer.cs">
|
||||||
<DependentUpon>fItems.cs</DependentUpon>
|
<DependentUpon>fItems.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="fHolidaytable.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="fHolidaytable.Designer.cs">
|
||||||
|
<DependentUpon>fHolidaytable.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="fLovOneItem.cs">
|
<Compile Include="fLovOneItem.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -227,6 +238,9 @@
|
|||||||
<EmbeddedResource Include="fItems.resx">
|
<EmbeddedResource Include="fItems.resx">
|
||||||
<DependentUpon>fItems.cs</DependentUpon>
|
<DependentUpon>fItems.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="fHolidaytable.resx">
|
||||||
|
<DependentUpon>fHolidaytable.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="fLovOneItem.resx">
|
<EmbeddedResource Include="fLovOneItem.resx">
|
||||||
<DependentUpon>fLovOneItem.cs</DependentUpon>
|
<DependentUpon>fLovOneItem.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
@@ -279,6 +293,17 @@
|
|||||||
<None Include="dsMSSQL.xss">
|
<None Include="dsMSSQL.xss">
|
||||||
<DependentUpon>dsMSSQL.xsd</DependentUpon>
|
<DependentUpon>dsMSSQL.xsd</DependentUpon>
|
||||||
</None>
|
</None>
|
||||||
|
<None Include="DSQuery.xsc">
|
||||||
|
<DependentUpon>DSQuery.xsd</DependentUpon>
|
||||||
|
</None>
|
||||||
|
<None Include="DSQuery.xsd">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSDataSetGenerator</Generator>
|
||||||
|
<LastGenOutput>DSQuery.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="DSQuery.xss">
|
||||||
|
<DependentUpon>DSQuery.xsd</DependentUpon>
|
||||||
|
</None>
|
||||||
<None Include="DSReport.xsc">
|
<None Include="DSReport.xsc">
|
||||||
<DependentUpon>DSReport.xsd</DependentUpon>
|
<DependentUpon>DSReport.xsd</DependentUpon>
|
||||||
</None>
|
</None>
|
||||||
|
|||||||
4318
SubProject/FCM0000/dsMSSQL.Designer.cs
generated
4318
SubProject/FCM0000/dsMSSQL.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -5,15 +5,5 @@
|
|||||||
the code is regenerated.
|
the code is regenerated.
|
||||||
</autogenerated>-->
|
</autogenerated>-->
|
||||||
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||||
<TableUISettings>
|
<TableUISettings />
|
||||||
<TableUISetting Name="RequestItem">
|
|
||||||
<ColumnUISettings>
|
|
||||||
<ColumnUISetting Name="project">
|
|
||||||
<ControlSettings><ControlSetting ArtifactName="Microsoft:System.Windows.Forms:Form" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
||||||
<BindableControlInfo Name="ComboBox" Type="System.Windows.Forms.ComboBox" AssemblyName="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
||||||
</ControlSetting></ControlSettings>
|
|
||||||
</ColumnUISetting>
|
|
||||||
</ColumnUISettings>
|
|
||||||
</TableUISetting>
|
|
||||||
</TableUISettings>
|
|
||||||
</DataSetUISetting>
|
</DataSetUISetting>
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
<xs:schema id="dsMSSQL" targetNamespace="http://tempuri.org/dsMSSQL.xsd" xmlns:mstns="http://tempuri.org/dsMSSQL.xsd" xmlns="http://tempuri.org/dsMSSQL.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
<xs:schema id="dsMSSQL" targetNamespace="http://tempuri.org/dsMSSQL.xsd" xmlns:mstns="http://tempuri.org/dsMSSQL.xsd" xmlns="http://tempuri.org/dsMSSQL.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
||||||
<xs:annotation>
|
<xs:annotation>
|
||||||
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
||||||
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||||
<Connections>
|
<Connections>
|
||||||
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="gwcs" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="gwcs (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.FCM0000.Properties.Settings.GlobalReference.Default.gwcs" Provider="System.Data.SqlClient" />
|
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="gwcs" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="gwcs (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.FCM0000.Properties.Settings.GlobalReference.Default.gwcs" Provider="System.Data.SqlClient" />
|
||||||
</Connections>
|
</Connections>
|
||||||
@@ -138,7 +138,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
|
|||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iparam1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iparam1" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iparam1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iparam1" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_import" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="true" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_import" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_import" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_import" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Items" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</UpdateCommand>
|
</UpdateCommand>
|
||||||
@@ -167,38 +167,38 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
|
|||||||
<Sources>
|
<Sources>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteImport" Modifier="Public" Name="DeleteImport" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteImport">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteImport" Modifier="Public" Name="DeleteImport" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteImport">
|
||||||
<DeleteCommand>
|
<DeleteCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>DELETE FROM Items
|
<CommandText>DELETE FROM Items
|
||||||
WHERE (import = @imptag)</CommandText>
|
WHERE (import = @imptag)</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="imptag" ColumnName="import" DataSourceName="GroupWare.dbo.Items" DataTypeServer="char(1)" DbType="AnsiString" Direction="Input" ParameterName="@imptag" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="imptag" ColumnName="import" DataSourceName="" DataTypeServer="char(1)" DbType="AnsiString" Direction="Input" ParameterName="@imptag" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</DeleteCommand>
|
</DeleteCommand>
|
||||||
</DbSource>
|
</DbSource>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillDupCheck" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDupCheck" GeneratorSourceName="FillDupCheck" GetMethodModifier="Public" GetMethodName="GetDupCheck" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDupCheck" UserSourceName="FillDupCheck">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillDupCheck" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDupCheck" GeneratorSourceName="FillDupCheck" GetMethodModifier="Public" GetMethodName="GetDupCheck" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDupCheck" UserSourceName="FillDupCheck">
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>SELECT bparam1, cate, disable, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (sid IN (SELECT sid FROM Items AS Items_1 GROUP BY sid HAVING (COUNT(*) > 1))) AND (ISNULL(sid, '') <> '') AND (cate LIKE @cate) ORDER BY sid, name, idx</CommandText>
|
<CommandText>SELECT bparam1, cate, disable, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (sid IN (SELECT sid FROM Items AS Items_1 GROUP BY sid HAVING (COUNT(*) > 1))) AND (ISNULL(sid, '') <> '') AND (cate LIKE @cate) ORDER BY sid, name, idx</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="GroupWare.dbo.Items" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
</DbSource>
|
</DbSource>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillNoImage" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetNoImage" GeneratorSourceName="FillNoImage" GetMethodModifier="Public" GetMethodName="GetNoImage" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetNoImage" UserSourceName="FillNoImage">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillNoImage" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetNoImage" GeneratorSourceName="FillNoImage" GetMethodModifier="Public" GetMethodName="GetNoImage" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetNoImage" UserSourceName="FillNoImage">
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>SELECT bparam1, cate, disable, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (cate LIKE @cate) ORDER BY name, idx</CommandText>
|
<CommandText>SELECT bparam1, cate, disable, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (cate LIKE @cate) ORDER BY name, idx</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="GroupWare.dbo.Items" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
</DbSource>
|
</DbSource>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearch" GeneratorSourceName="FillSearch" GetMethodModifier="Public" GetMethodName="GetSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearch" UserSourceName="FillSearch">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearch" GeneratorSourceName="FillSearch" GetMethodModifier="Public" GetMethodName="GetSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearch" UserSourceName="FillSearch">
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>SELECT bparam1, cate, disable, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (ISNULL(name, N'') LIKE @search) OR (ISNULL(sid, N'') LIKE @search) OR (ISNULL(manu, N'') LIKE @search) OR (ISNULL(supply, N'') LIKE @search) OR (ISNULL(model, N'') LIKE @search) OR (ISNULL(memo, N'') LIKE @search) ORDER BY name, idx</CommandText>
|
<CommandText>SELECT bparam1, cate, disable, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (ISNULL(name, N'') LIKE @search) OR (ISNULL(sid, N'') LIKE @search) OR (ISNULL(manu, N'') LIKE @search) OR (ISNULL(supply, N'') LIKE @search) OR (ISNULL(model, N'') LIKE @search) OR (ISNULL(memo, N'') LIKE @search) ORDER BY name, idx</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
@@ -208,10 +208,10 @@ WHERE (import = @imptag)</CommandText>
|
|||||||
</DbSource>
|
</DbSource>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetIDX" GetMethodModifier="Public" GetMethodName="GetIDX" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetIDX" UserSourceName="GetIDX">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetIDX" GetMethodModifier="Public" GetMethodName="GetIDX" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetIDX" UserSourceName="GetIDX">
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>SELECT bparam1, cate, disable, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (idx = @idx)</CommandText>
|
<CommandText>SELECT bparam1, cate, disable, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (idx = @idx)</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Items" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
@@ -364,14 +364,11 @@ SELECT idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, proj
|
|||||||
<Sources>
|
<Sources>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Inventory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByName" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetbyName" GeneratorSourceName="FillByName" GetMethodModifier="Public" GetMethodName="GetbyName" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbyName" UserSourceName="FillByName">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Inventory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByName" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetbyName" GeneratorSourceName="FillByName" GetMethodModifier="Public" GetMethodName="GetbyName" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbyName" UserSourceName="FillByName">
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>SELECT idx, pdate, uid, item, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, project, wuid, wdate, invtype, ItemName, projectName
|
<CommandText>SELECT ItemName, cr_amt, cr_qty, dr_amt, dr_qty, idx, invtype, item, memo, pdate, project, projectName, serial, uid, wdate, wuid FROM Inventory WHERE (pdate BETWEEN @sd AND @ed) AND (dbo.getUserName(uid) LIKE @uname) ORDER BY pdate</CommandText>
|
||||||
FROM Inventory
|
|
||||||
WHERE (pdate BETWEEN @sd AND @ed) AND (dbo.getUserName(uid) LIKE @uname)
|
|
||||||
ORDER BY pdate</CommandText>
|
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="GroupWare.dbo.Inventory" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="GroupWare.dbo.Inventory" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="uname" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@uname" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="uname" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@uname" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
@@ -391,132 +388,6 @@ ORDER BY pdate</CommandText>
|
|||||||
</DbSource>
|
</DbSource>
|
||||||
</Sources>
|
</Sources>
|
||||||
</TableAdapter>
|
</TableAdapter>
|
||||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProjectsTableAdapter" GeneratorDataComponentClassName="ProjectsTableAdapter" Name="Projects" UserDataComponentName="ProjectsTableAdapter">
|
|
||||||
<MainSource>
|
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Projects" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
|
||||||
<DeleteCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>DELETE FROM [Projects] WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_reqstaff = 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_odate = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_request" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_request" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_reqstaff" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_edate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_odate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</DeleteCommand>
|
|
||||||
<InsertCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>INSERT INTO [Projects] ([name], [pdate], [request], [reqstaff], [sdate], [edate], [odate], [memo], [wuid], [wdate]) VALUES (@name, @pdate, @request, @reqstaff, @sdate, @edate, @odate, @memo, @wuid, @wdate);
|
|
||||||
SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wdate FROM Projects WHERE (idx = SCOPE_IDENTITY())</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@request" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</InsertCommand>
|
|
||||||
<SelectCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
|
||||||
<CommandText>SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wdate
|
|
||||||
FROM Projects
|
|
||||||
WHERE (idx = @idx)</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</SelectCommand>
|
|
||||||
<UpdateCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>UPDATE [Projects] SET [name] = @name, [pdate] = @pdate, [request] = @request, [reqstaff] = @reqstaff, [sdate] = @sdate, [edate] = @edate, [odate] = @odate, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_reqstaff = 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_odate = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
|
|
||||||
SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wdate FROM Projects WHERE (idx = @idx)</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@request" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_request" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_request" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="request" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_reqstaff" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_edate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_odate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</UpdateCommand>
|
|
||||||
</DbSource>
|
|
||||||
</MainSource>
|
|
||||||
<Mappings>
|
|
||||||
<Mapping SourceColumn="idx" DataSetColumn="idx" />
|
|
||||||
<Mapping SourceColumn="name" DataSetColumn="name" />
|
|
||||||
<Mapping SourceColumn="pdate" DataSetColumn="pdate" />
|
|
||||||
<Mapping SourceColumn="request" DataSetColumn="request" />
|
|
||||||
<Mapping SourceColumn="reqstaff" DataSetColumn="reqstaff" />
|
|
||||||
<Mapping SourceColumn="sdate" DataSetColumn="sdate" />
|
|
||||||
<Mapping SourceColumn="edate" DataSetColumn="edate" />
|
|
||||||
<Mapping SourceColumn="odate" DataSetColumn="odate" />
|
|
||||||
<Mapping SourceColumn="memo" DataSetColumn="memo" />
|
|
||||||
<Mapping SourceColumn="wuid" DataSetColumn="wuid" />
|
|
||||||
<Mapping SourceColumn="wdate" DataSetColumn="wdate" />
|
|
||||||
</Mappings>
|
|
||||||
<Sources>
|
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Projects" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearch" GeneratorSourceName="FillSearch" GetMethodModifier="Public" GetMethodName="GetSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearch" UserSourceName="FillSearch">
|
|
||||||
<SelectCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
|
||||||
<CommandText>SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wdate
|
|
||||||
FROM Projects
|
|
||||||
WHERE (ISNULL(name, N'') LIKE @search) OR
|
|
||||||
(ISNULL(memo, N'') LIKE @search)</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</SelectCommand>
|
|
||||||
</DbSource>
|
|
||||||
</Sources>
|
|
||||||
</TableAdapter>
|
|
||||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CommonTableAdapter" GeneratorDataComponentClassName="CommonTableAdapter" Name="Common" UserDataComponentName="CommonTableAdapter">
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CommonTableAdapter" GeneratorDataComponentClassName="CommonTableAdapter" Name="Common" UserDataComponentName="CommonTableAdapter">
|
||||||
<MainSource>
|
<MainSource>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Common" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Common" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||||
@@ -563,7 +434,7 @@ FROM Common
|
|||||||
WHERE (grp = @grp)
|
WHERE (grp = @grp)
|
||||||
ORDER BY grp, memo</CommandText>
|
ORDER BY grp, memo</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="grp" ColumnName="grp" DataSourceName="GroupWare.dbo.Common" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@grp" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="grp" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="grp" ColumnName="grp" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@grp" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="grp" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
@@ -593,7 +464,7 @@ SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate FROM Common WHE
|
|||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Common" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</UpdateCommand>
|
</UpdateCommand>
|
||||||
@@ -691,7 +562,7 @@ SELECT idx, cate, title, tolist, bcc, cc, subject, body, selfTo, selfCC, selfBCC
|
|||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_selfBCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfBCC" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_selfBCC" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="selfBCC" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.MailForm" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</UpdateCommand>
|
</UpdateCommand>
|
||||||
@@ -715,10 +586,10 @@ SELECT idx, cate, title, tolist, bcc, cc, subject, body, selfTo, selfCC, selfBCC
|
|||||||
<Sources>
|
<Sources>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.MailForm" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByCate" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetbyCate" GeneratorSourceName="FillByCate" GetMethodModifier="Public" GetMethodName="GetbyCate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbyCate" UserSourceName="FillByCate">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.MailForm" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByCate" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetbyCate" GeneratorSourceName="FillByCate" GetMethodModifier="Public" GetMethodName="GetbyCate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbyCate" UserSourceName="FillByCate">
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>SELECT bcc, body, cate, cc, idx, selfBCC, selfCC, selfTo, subject, title, tolist, wdate, wuid FROM MailForm WHERE (cate = @cate)</CommandText>
|
<CommandText>SELECT bcc, body, cate, cc, idx, selfBCC, selfCC, selfTo, subject, title, tolist, wdate, wuid FROM MailForm WHERE (cate = @cate)</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="GroupWare.dbo.MailForm" DataTypeServer="varchar(2)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="" DataTypeServer="varchar(2)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
@@ -780,7 +651,7 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
|
|||||||
FROM Board
|
FROM Board
|
||||||
WHERE (bidx = @bidx) AND (ISNULL(header, 0) = 0)</CommandText>
|
WHERE (bidx = @bidx) AND (ISNULL(header, 0) = 0)</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="bidx" ColumnName="bidx" DataSourceName="GroupWare.dbo.Board" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@bidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="bidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="bidx" ColumnName="bidx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@bidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="bidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
@@ -820,7 +691,7 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
|
|||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="true" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Board" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</UpdateCommand>
|
</UpdateCommand>
|
||||||
@@ -881,9 +752,9 @@ SELECT idx, cate, pdate, tolist, bcc, cc, subject, body, wuid, wdate FROM MailDa
|
|||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>SELECT idx, cate, pdate, tolist, bcc, cc, subject, body, wuid, wdate FROM MailData WHERE (cate = @cate) AND (pdate BETWEEN @sd AND @ed) ORDER BY pdate, idx</CommandText>
|
<CommandText>SELECT idx, cate, pdate, tolist, bcc, cc, subject, body, wuid, wdate FROM MailData WHERE (cate = @cate) AND (pdate BETWEEN @sd AND @ed) ORDER BY pdate, idx</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="GroupWare.dbo.MailData" DataTypeServer="varchar(2)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="" DataTypeServer="varchar(2)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="GroupWare.dbo.MailData" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="GroupWare.dbo.MailData" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
@@ -908,7 +779,7 @@ SELECT idx, cate, pdate, tolist, bcc, cc, subject, body, wuid, wdate FROM MailDa
|
|||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.MailData" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</UpdateCommand>
|
</UpdateCommand>
|
||||||
@@ -985,8 +856,8 @@ FROM RequestItem
|
|||||||
WHERE (pdate BETWEEN @sd AND @ed)
|
WHERE (pdate BETWEEN @sd AND @ed)
|
||||||
ORDER BY pdate</CommandText>
|
ORDER BY pdate</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="GroupWare.dbo.RequestItem" DataTypeServer="date" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="Date" Scale="0" Size="3" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="" DataTypeServer="date" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="Date" Scale="0" Size="3" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="GroupWare.dbo.RequestItem" DataTypeServer="date" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="Date" Scale="0" Size="3" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="" DataTypeServer="date" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="Date" Scale="0" Size="3" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
@@ -1027,7 +898,7 @@ SELECT idx, tolist, cclist, bcclist, title, sid, url, qty, remark, wuid, wdate,
|
|||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_model" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_model" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.RequestItem" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</UpdateCommand>
|
</UpdateCommand>
|
||||||
@@ -1055,12 +926,10 @@ SELECT idx, tolist, cclist, bcclist, title, sid, url, qty, remark, wuid, wdate,
|
|||||||
<Sources>
|
<Sources>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.RequestItem" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillIDX" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetIDX" GeneratorSourceName="FillIDX" GetMethodModifier="Public" GetMethodName="GetIDX" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetIDX" UserSourceName="FillIDX">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.RequestItem" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillIDX" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetIDX" GeneratorSourceName="FillIDX" GetMethodModifier="Public" GetMethodName="GetIDX" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetIDX" UserSourceName="FillIDX">
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>SELECT bMail, bcclist, cclist, idx, memo, model, pdate, project, dbo.getProjectName(project) AS projectName, qty, remark, sid, title, tolist, url, wdate, wuid
|
<CommandText>SELECT bMail, bcclist, cclist, idx, memo, model, pdate, project, dbo.getProjectName(project) AS projectName, qty, remark, sid, title, tolist, url, wdate, wuid FROM RequestItem WHERE (idx = @idx)</CommandText>
|
||||||
FROM RequestItem
|
|
||||||
WHERE (idx = @idx)</CommandText>
|
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.RequestItem" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
@@ -1186,7 +1055,7 @@ SELECT idx, grp, name, owner, ownertel, address, tel, fax, email, memo, wuid, wd
|
|||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_stafftel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="stafftel" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_stafftel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="stafftel" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name2" SourceColumnNullMapping="true" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name2" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name2" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name2" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Customs" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</UpdateCommand>
|
</UpdateCommand>
|
||||||
@@ -1213,7 +1082,7 @@ SELECT idx, grp, name, owner, ownertel, address, tel, fax, email, memo, wuid, wd
|
|||||||
<Sources>
|
<Sources>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="ExistName" Modifier="Public" Name="ExistName" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="ExistName">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="ExistName" Modifier="Public" Name="ExistName" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="ExistName">
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>SELECT ISNULL(COUNT(*), 0) AS Expr1
|
<CommandText>SELECT ISNULL(COUNT(*), 0) AS Expr1
|
||||||
FROM Customs
|
FROM Customs
|
||||||
WHERE (ISNULL(name, N'') LIKE @name) OR
|
WHERE (ISNULL(name, N'') LIKE @name) OR
|
||||||
@@ -1226,17 +1095,17 @@ WHERE (ISNULL(name, N'') LIKE @name) OR
|
|||||||
</DbSource>
|
</DbSource>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Customs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillbyGrp" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetbyGrp" GeneratorSourceName="FillbyGrp" GetMethodModifier="Public" GetMethodName="GetbyGrp" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbyGrp" UserSourceName="FillbyGrp">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Customs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillbyGrp" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetbyGrp" GeneratorSourceName="FillbyGrp" GetMethodModifier="Public" GetMethodName="GetbyGrp" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbyGrp" UserSourceName="FillbyGrp">
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>SELECT address, email, fax, grp, idx, memo, name, name2, owner, ownertel, staff, stafftel, tel, uptae, wdate, wuid FROM Customs WHERE (grp = @grp)</CommandText>
|
<CommandText>SELECT address, email, fax, grp, idx, memo, name, name2, owner, ownertel, staff, stafftel, tel, uptae, wdate, wuid FROM Customs WHERE (grp = @grp)</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="grp" ColumnName="grp" DataSourceName="GroupWare.dbo.Customs" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@grp" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="grp" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="grp" ColumnName="grp" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@grp" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="grp" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
</DbSource>
|
</DbSource>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Customs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearch" GeneratorSourceName="FillSearch" GetMethodModifier="Public" GetMethodName="GetSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearch" UserSourceName="FillSearch">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Customs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearch" GeneratorSourceName="FillSearch" GetMethodModifier="Public" GetMethodName="GetSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearch" UserSourceName="FillSearch">
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>SELECT address, email, fax, grp, idx, memo, name, name2, owner, ownertel, staff, stafftel, tel, uptae, wdate, wuid FROM Customs WHERE (ISNULL(name, N'') LIKE @search) OR (ISNULL(tel, N'') LIKE @search) OR (ISNULL(email, N'') LIKE @search) OR (ISNULL(name2, N'') LIKE @search) OR (memo LIKE @search)</CommandText>
|
<CommandText>SELECT address, email, fax, grp, idx, memo, name, name2, owner, ownertel, staff, stafftel, tel, uptae, wdate, wuid FROM Customs WHERE (ISNULL(name, N'') LIKE @search) OR (ISNULL(tel, N'') LIKE @search) OR (ISNULL(email, N'') LIKE @search) OR (ISNULL(name2, N'') LIKE @search) OR (memo LIKE @search)</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
@@ -1291,7 +1160,7 @@ SELECT idx, cid, name, grade, dept, tel, email, memo, wuid, wdate FROM Staff WHE
|
|||||||
</DbCommand>
|
</DbCommand>
|
||||||
</InsertCommand>
|
</InsertCommand>
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>SELECT Staff.*
|
<CommandText>SELECT Staff.*
|
||||||
FROM Staff</CommandText>
|
FROM Staff</CommandText>
|
||||||
<Parameters />
|
<Parameters />
|
||||||
@@ -1328,7 +1197,7 @@ SELECT idx, cid, name, grade, dept, tel, email, memo, wuid, wdate FROM Staff WHE
|
|||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Staff" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</UpdateCommand>
|
</UpdateCommand>
|
||||||
@@ -1447,7 +1316,7 @@ FROM Purchase
|
|||||||
WHERE (state <> 'Cancled') AND (pumidx = @pumidx) AND (ISNULL(isdel, 0) = 0)
|
WHERE (state <> 'Cancled') AND (pumidx = @pumidx) AND (ISNULL(isdel, 0) = 0)
|
||||||
ORDER BY pdate DESC</CommandText>
|
ORDER BY pdate DESC</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="pumidx" ColumnName="pumidx" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pumidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pumidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="pumidx" ColumnName="pumidx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pumidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pumidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
@@ -1567,35 +1436,243 @@ SELECT TOP (10) idx, pdate, state, process, receive, sc, request, sid, pumname,
|
|||||||
<Sources>
|
<Sources>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Purchase" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillInDate" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetInDate" GeneratorSourceName="FillInDate" GetMethodModifier="Public" GetMethodName="GetInDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetInDate" UserSourceName="FillInDate">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Purchase" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillInDate" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetInDate" GeneratorSourceName="FillInDate" GetMethodModifier="Public" GetMethodName="GetInDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetInDate" UserSourceName="FillInDate">
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>SELECT TOP (10) idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate,
|
<CommandText>SELECT TOP (10) asset, dept, edate, idx, import, indate, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive, request, sc, sid, state, supply, supplyidx, wdate, wuid FROM Purchase WHERE (ISNULL(indate, '') <> '') AND (pumidx = @pumidx) AND (ISNULL(isdel, 0) = 0) ORDER BY indate DESC</CommandText>
|
||||||
po, dept, import, wuid, wdate
|
|
||||||
FROM Purchase
|
|
||||||
WHERE (ISNULL(indate, '') <> '') AND (pumidx = @pumidx) AND (ISNULL(isdel, 0) = 0)
|
|
||||||
ORDER BY indate DESC</CommandText>
|
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="pumidx" ColumnName="pumidx" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pumidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pumidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="pumidx" ColumnName="pumidx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pumidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pumidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
</DbSource>
|
</DbSource>
|
||||||
</Sources>
|
</Sources>
|
||||||
</TableAdapter>
|
</TableAdapter>
|
||||||
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProjectsTableAdapter" GeneratorDataComponentClassName="ProjectsTableAdapter" Name="Projects" UserDataComponentName="ProjectsTableAdapter">
|
||||||
|
<MainSource>
|
||||||
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Projects" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||||
|
<DeleteCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>DELETE FROM [Projects] WHERE (((@IsNull_ddate = 1 AND [ddate] IS NULL) OR ([ddate] = @Original_ddate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ([idx] = @Original_idx) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_odate = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_reqstaff = 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ([wdate] = @Original_wdate) AND ([wuid] = @Original_wuid))</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ddate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ddate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_edate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_odate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_part" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="part" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_part" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_process" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_reqstaff" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</DeleteCommand>
|
||||||
|
<InsertCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>INSERT INTO [Projects] ([ddate], [edate], [memo], [name], [odate], [part], [pdate], [process], [reqstaff], [sdate], [status], [wdate], [wuid]) VALUES (@ddate, @edate, @memo, @name, @odate, @part, @pdate, @process, @reqstaff, @sdate, @status, @wdate, @wuid);
|
||||||
|
SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid FROM Projects WHERE (idx = SCOPE_IDENTITY())</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@part" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</InsertCommand>
|
||||||
|
<SelectCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||||
|
<CommandText>SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid
|
||||||
|
FROM Projects
|
||||||
|
WHERE idx = @idx</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</SelectCommand>
|
||||||
|
<UpdateCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>UPDATE [Projects] SET [ddate] = @ddate, [edate] = @edate, [memo] = @memo, [name] = @name, [odate] = @odate, [part] = @part, [pdate] = @pdate, [process] = @process, [reqstaff] = @reqstaff, [sdate] = @sdate, [status] = @status, [wdate] = @wdate, [wuid] = @wuid WHERE (((@IsNull_ddate = 1 AND [ddate] IS NULL) OR ([ddate] = @Original_ddate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ([idx] = @Original_idx) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_odate = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_reqstaff = 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ([wdate] = @Original_wdate) AND ([wuid] = @Original_wuid));
|
||||||
|
SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid FROM Projects WHERE (idx = @idx)</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@part" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ddate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ddate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_edate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_odate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_part" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="part" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_part" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_process" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_reqstaff" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</UpdateCommand>
|
||||||
|
</DbSource>
|
||||||
|
</MainSource>
|
||||||
|
<Mappings>
|
||||||
|
<Mapping SourceColumn="ddate" DataSetColumn="ddate" />
|
||||||
|
<Mapping SourceColumn="edate" DataSetColumn="edate" />
|
||||||
|
<Mapping SourceColumn="idx" DataSetColumn="idx" />
|
||||||
|
<Mapping SourceColumn="memo" DataSetColumn="memo" />
|
||||||
|
<Mapping SourceColumn="name" DataSetColumn="name" />
|
||||||
|
<Mapping SourceColumn="odate" DataSetColumn="odate" />
|
||||||
|
<Mapping SourceColumn="part" DataSetColumn="part" />
|
||||||
|
<Mapping SourceColumn="pdate" DataSetColumn="pdate" />
|
||||||
|
<Mapping SourceColumn="process" DataSetColumn="process" />
|
||||||
|
<Mapping SourceColumn="reqstaff" DataSetColumn="reqstaff" />
|
||||||
|
<Mapping SourceColumn="sdate" DataSetColumn="sdate" />
|
||||||
|
<Mapping SourceColumn="status" DataSetColumn="status" />
|
||||||
|
<Mapping SourceColumn="wdate" DataSetColumn="wdate" />
|
||||||
|
<Mapping SourceColumn="wuid" DataSetColumn="wuid" />
|
||||||
|
</Mappings>
|
||||||
|
<Sources>
|
||||||
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Projects" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearch" GeneratorSourceName="FillSearch" GetMethodModifier="Public" GetMethodName="GetSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearch" UserSourceName="FillSearch">
|
||||||
|
<SelectCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||||
|
<CommandText>SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid
|
||||||
|
FROM Projects
|
||||||
|
WHERE (ISNULL(name, N'') LIKE @search OR
|
||||||
|
ISNULL(memo, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0)</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</SelectCommand>
|
||||||
|
</DbSource>
|
||||||
|
</Sources>
|
||||||
|
</TableAdapter>
|
||||||
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="HolidayLIstTableAdapter" GeneratorDataComponentClassName="HolidayLIstTableAdapter" Name="HolidayLIst" UserDataComponentName="HolidayLIstTableAdapter">
|
||||||
|
<MainSource>
|
||||||
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.HolidayLIst" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||||
|
<DeleteCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>DELETE FROM [HolidayLIst] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_free = 1 AND [free] IS NULL) OR ([free] = @Original_free)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_free" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="free" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_free" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="free" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</DeleteCommand>
|
||||||
|
<InsertCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>INSERT INTO [HolidayLIst] ([pdate], [free], [memo], [wuid], [wdate]) VALUES (@pdate, @free, @memo, @wuid, @wdate);
|
||||||
|
SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@free" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="free" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</InsertCommand>
|
||||||
|
<SelectCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||||
|
<CommandText>SELECT idx, pdate, free, memo, wuid, wdate
|
||||||
|
FROM HolidayLIst
|
||||||
|
WHERE (pdate LIKE @yymm)
|
||||||
|
ORDER BY pdate</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="yymm" ColumnName="pdate" DataSourceName="GroupWare.dbo.HolidayLIst" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@yymm" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</SelectCommand>
|
||||||
|
<UpdateCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
|
<CommandText>UPDATE [HolidayLIst] SET [pdate] = @pdate, [free] = @free, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_free = 1 AND [free] IS NULL) OR ([free] = @Original_free)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
|
||||||
|
SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) ORDER BY pdate</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@free" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="free" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_free" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="free" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_free" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="free" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.HolidayLIst" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</UpdateCommand>
|
||||||
|
</DbSource>
|
||||||
|
</MainSource>
|
||||||
|
<Mappings>
|
||||||
|
<Mapping SourceColumn="idx" DataSetColumn="idx" />
|
||||||
|
<Mapping SourceColumn="pdate" DataSetColumn="pdate" />
|
||||||
|
<Mapping SourceColumn="free" DataSetColumn="free" />
|
||||||
|
<Mapping SourceColumn="memo" DataSetColumn="memo" />
|
||||||
|
<Mapping SourceColumn="wuid" DataSetColumn="wuid" />
|
||||||
|
<Mapping SourceColumn="wdate" DataSetColumn="wdate" />
|
||||||
|
</Mappings>
|
||||||
|
<Sources />
|
||||||
|
</TableAdapter>
|
||||||
</Tables>
|
</Tables>
|
||||||
<Sources>
|
<Sources />
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CheckSupplyUsage" MethodsParameterType="CLR" Modifier="Public" Name="CheckSupplyUsage" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CheckSupplyUsage">
|
|
||||||
<SelectCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
|
||||||
<CommandText>SELECT ISNULL(SUM(cnt), 0) AS Expr1
|
|
||||||
FROM vSupplyUsage
|
|
||||||
WHERE (supplyidx = @idx)</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="idx" ColumnName="supplyidx" DataSourceName="GroupWare.dbo.vSupplyUsage" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</SelectCommand>
|
|
||||||
</DbSource>
|
|
||||||
</Sources>
|
|
||||||
</DataSource>
|
</DataSource>
|
||||||
</xs:appinfo>
|
</xs:appinfo>
|
||||||
</xs:annotation>
|
</xs:annotation>
|
||||||
@@ -1756,77 +1833,6 @@ WHERE (supplyidx = @idx)</CommandText>
|
|||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
<xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_UserTableName="Projects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent" msprop:Generator_RowClassName="ProjectsRow">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
|
||||||
<xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="50" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="10" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="request" msprop:Generator_ColumnVarNameInTable="columnrequest" msprop:Generator_ColumnPropNameInRow="request" msprop:Generator_ColumnPropNameInTable="requestColumn" msprop:Generator_UserColumnName="request" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="50" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="reqstaff" msprop:Generator_ColumnVarNameInTable="columnreqstaff" msprop:Generator_ColumnPropNameInRow="reqstaff" msprop:Generator_ColumnPropNameInTable="reqstaffColumn" msprop:Generator_UserColumnName="reqstaff" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="50" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="sdate" msprop:Generator_ColumnVarNameInTable="columnsdate" msprop:Generator_ColumnPropNameInRow="sdate" msprop:Generator_ColumnPropNameInTable="sdateColumn" msprop:Generator_UserColumnName="sdate" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="10" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="edate" msprop:Generator_ColumnVarNameInTable="columnedate" msprop:Generator_ColumnPropNameInRow="edate" msprop:Generator_ColumnPropNameInTable="edateColumn" msprop:Generator_UserColumnName="edate" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="10" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="odate" msprop:Generator_ColumnVarNameInTable="columnodate" msprop:Generator_ColumnPropNameInRow="odate" msprop:Generator_ColumnPropNameInTable="odateColumn" msprop:Generator_UserColumnName="odate" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="10" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="255" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="20" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="Common" msprop:Generator_TableClassName="CommonDataTable" msprop:Generator_TableVarName="tableCommon" msprop:Generator_TablePropName="Common" msprop:Generator_RowDeletingName="CommonRowDeleting" msprop:Generator_RowChangingName="CommonRowChanging" msprop:Generator_RowEvHandlerName="CommonRowChangeEventHandler" msprop:Generator_RowDeletedName="CommonRowDeleted" msprop:Generator_UserTableName="Common" msprop:Generator_RowChangedName="CommonRowChanged" msprop:Generator_RowEvArgName="CommonRowChangeEvent" msprop:Generator_RowClassName="CommonRow">
|
<xs:element name="Common" msprop:Generator_TableClassName="CommonDataTable" msprop:Generator_TableVarName="tableCommon" msprop:Generator_TablePropName="Common" msprop:Generator_RowDeletingName="CommonRowDeleting" msprop:Generator_RowChangingName="CommonRowChanging" msprop:Generator_RowEvHandlerName="CommonRowChangeEventHandler" msprop:Generator_RowDeletedName="CommonRowDeleted" msprop:Generator_UserTableName="Common" msprop:Generator_RowChangedName="CommonRowChanged" msprop:Generator_RowEvArgName="CommonRowChangeEvent" msprop:Generator_RowClassName="CommonRow">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
@@ -1939,7 +1945,7 @@ WHERE (supplyidx = @idx)</CommandText>
|
|||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
<xs:element name="Board" msprop:Generator_TableClassName="BoardDataTable" msprop:Generator_TableVarName="tableBoard" msprop:Generator_RowChangedName="BoardRowChanged" msprop:Generator_TablePropName="Board" msprop:Generator_RowDeletingName="BoardRowDeleting" msprop:Generator_RowChangingName="BoardRowChanging" msprop:Generator_RowEvHandlerName="BoardRowChangeEventHandler" msprop:Generator_RowDeletedName="BoardRowDeleted" msprop:Generator_RowClassName="BoardRow" msprop:Generator_UserTableName="Board" msprop:Generator_RowEvArgName="BoardRowChangeEvent">
|
<xs:element name="Board" msprop:Generator_TableClassName="BoardDataTable" msprop:Generator_TableVarName="tableBoard" msprop:Generator_TablePropName="Board" msprop:Generator_RowDeletingName="BoardRowDeleting" msprop:Generator_RowChangingName="BoardRowChanging" msprop:Generator_RowEvHandlerName="BoardRowChangeEventHandler" msprop:Generator_RowDeletedName="BoardRowDeleted" msprop:Generator_UserTableName="Board" msprop:Generator_RowChangedName="BoardRowChanged" msprop:Generator_RowEvArgName="BoardRowChangeEvent" msprop:Generator_RowClassName="BoardRow">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
||||||
@@ -2000,7 +2006,7 @@ WHERE (supplyidx = @idx)</CommandText>
|
|||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
<xs:element name="MailData" msprop:Generator_TableClassName="MailDataDataTable" msprop:Generator_TableVarName="tableMailData" msprop:Generator_RowChangedName="MailDataRowChanged" msprop:Generator_TablePropName="MailData" msprop:Generator_RowDeletingName="MailDataRowDeleting" msprop:Generator_RowChangingName="MailDataRowChanging" msprop:Generator_RowEvHandlerName="MailDataRowChangeEventHandler" msprop:Generator_RowDeletedName="MailDataRowDeleted" msprop:Generator_RowClassName="MailDataRow" msprop:Generator_UserTableName="MailData" msprop:Generator_RowEvArgName="MailDataRowChangeEvent">
|
<xs:element name="MailData" msprop:Generator_TableClassName="MailDataDataTable" msprop:Generator_TableVarName="tableMailData" msprop:Generator_TablePropName="MailData" msprop:Generator_RowDeletingName="MailDataRowDeleting" msprop:Generator_RowChangingName="MailDataRowChanging" msprop:Generator_RowEvHandlerName="MailDataRowChangeEventHandler" msprop:Generator_RowDeletedName="MailDataRowDeleted" msprop:Generator_UserTableName="MailData" msprop:Generator_RowChangedName="MailDataRowChanged" msprop:Generator_RowEvArgName="MailDataRowChangeEvent" msprop:Generator_RowClassName="MailDataRow">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
||||||
@@ -2317,7 +2323,7 @@ WHERE (supplyidx = @idx)</CommandText>
|
|||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
<xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_RowClassName="PurchaseRow" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent">
|
<xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent" msprop:Generator_RowClassName="PurchaseRow">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
||||||
@@ -2458,6 +2464,128 @@ WHERE (supplyidx = @idx)</CommandText>
|
|||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
<xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_RowClassName="ProjectsRow" msprop:Generator_UserTableName="Projects" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="ddate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ddate" msprop:Generator_ColumnVarNameInTable="columnddate" msprop:Generator_ColumnPropNameInTable="ddateColumn" msprop:Generator_UserColumnName="ddate" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="50" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="edate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="edate" msprop:Generator_ColumnVarNameInTable="columnedate" msprop:Generator_ColumnPropNameInTable="edateColumn" msprop:Generator_UserColumnName="edate" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="50" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
||||||
|
<xs:element name="memo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="255" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="name" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="255" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="odate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="odate" msprop:Generator_ColumnVarNameInTable="columnodate" msprop:Generator_ColumnPropNameInTable="odateColumn" msprop:Generator_UserColumnName="odate" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="50" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="part" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="part" msprop:Generator_ColumnVarNameInTable="columnpart" msprop:Generator_ColumnPropNameInTable="partColumn" msprop:Generator_UserColumnName="part" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="50" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="pdate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="10" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="process" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="process" msprop:Generator_ColumnVarNameInTable="columnprocess" msprop:Generator_ColumnPropNameInTable="processColumn" msprop:Generator_UserColumnName="process" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="50" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="reqstaff" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="reqstaff" msprop:Generator_ColumnVarNameInTable="columnreqstaff" msprop:Generator_ColumnPropNameInTable="reqstaffColumn" msprop:Generator_UserColumnName="reqstaff" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="50" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="sdate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="sdate" msprop:Generator_ColumnVarNameInTable="columnsdate" msprop:Generator_ColumnPropNameInTable="sdateColumn" msprop:Generator_UserColumnName="sdate" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="50" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="status" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="status" msprop:Generator_ColumnVarNameInTable="columnstatus" msprop:Generator_ColumnPropNameInTable="statusColumn" msprop:Generator_UserColumnName="status" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="50" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
|
||||||
|
<xs:element name="wuid" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="20" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="HolidayLIst" msprop:Generator_TableClassName="HolidayLIstDataTable" msprop:Generator_TableVarName="tableHolidayLIst" msprop:Generator_RowChangedName="HolidayLIstRowChanged" msprop:Generator_TablePropName="HolidayLIst" msprop:Generator_RowDeletingName="HolidayLIstRowDeleting" msprop:Generator_RowChangingName="HolidayLIstRowChanging" msprop:Generator_RowEvHandlerName="HolidayLIstRowChangeEventHandler" msprop:Generator_RowDeletedName="HolidayLIstRowDeleted" msprop:Generator_RowClassName="HolidayLIstRow" msprop:Generator_UserTableName="HolidayLIst" msprop:Generator_RowEvArgName="HolidayLIstRowChangeEvent">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
||||||
|
<xs:element name="pdate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="10" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="free" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="free" msprop:Generator_ColumnVarNameInTable="columnfree" msprop:Generator_ColumnPropNameInTable="freeColumn" msprop:Generator_UserColumnName="free" type="xs:boolean" minOccurs="0" />
|
||||||
|
<xs:element name="memo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="255" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="20" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
</xs:choice>
|
</xs:choice>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||||
@@ -2468,10 +2596,6 @@ WHERE (supplyidx = @idx)</CommandText>
|
|||||||
<xs:selector xpath=".//mstns:Inventory" />
|
<xs:selector xpath=".//mstns:Inventory" />
|
||||||
<xs:field xpath="mstns:idx" />
|
<xs:field xpath="mstns:idx" />
|
||||||
</xs:unique>
|
</xs:unique>
|
||||||
<xs:unique name="Projects_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
||||||
<xs:selector xpath=".//mstns:Projects" />
|
|
||||||
<xs:field xpath="mstns:idx" />
|
|
||||||
</xs:unique>
|
|
||||||
<xs:unique name="Common_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
<xs:unique name="Common_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||||
<xs:selector xpath=".//mstns:Common" />
|
<xs:selector xpath=".//mstns:Common" />
|
||||||
<xs:field xpath="mstns:idx" />
|
<xs:field xpath="mstns:idx" />
|
||||||
@@ -2504,5 +2628,13 @@ WHERE (supplyidx = @idx)</CommandText>
|
|||||||
<xs:selector xpath=".//mstns:Purchase" />
|
<xs:selector xpath=".//mstns:Purchase" />
|
||||||
<xs:field xpath="mstns:idx" />
|
<xs:field xpath="mstns:idx" />
|
||||||
</xs:unique>
|
</xs:unique>
|
||||||
|
<xs:unique name="Projects_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||||
|
<xs:selector xpath=".//mstns:Projects" />
|
||||||
|
<xs:field xpath="mstns:idx" />
|
||||||
|
</xs:unique>
|
||||||
|
<xs:unique name="HolidayLIst_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||||
|
<xs:selector xpath=".//mstns:HolidayLIst" />
|
||||||
|
<xs:field xpath="mstns:idx" />
|
||||||
|
</xs:unique>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:schema>
|
</xs:schema>
|
||||||
@@ -1,21 +1 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--<autogenerated>
|
|
||||||
This code was generated by a tool to store the dataset designer's layout information.
|
|
||||||
Changes to this file may cause incorrect behavior and will be lost if
|
|
||||||
the code is regenerated.
|
|
||||||
</autogenerated>-->
|
|
||||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-13" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
|
||||||
<Shapes>
|
|
||||||
<Shape ID="DesignTable:Items" ZOrder="4" X="62" Y="-1" Height="381" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
|
||||||
<Shape ID="DesignTable:Inventory" ZOrder="10" X="280" Y="-3" Height="324" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
|
||||||
<Shape ID="DesignTable:Projects" ZOrder="9" X="563" Y="36" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
|
|
||||||
<Shape ID="DesignTable:Common" ZOrder="2" X="28" Y="334" Height="452" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
|
|
||||||
<Shape ID="DesignTable:MailForm" ZOrder="8" X="372" Y="341" Height="440" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="330" />
|
|
||||||
<Shape ID="DesignTable:Board" ZOrder="7" X="525" Y="80" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
|
|
||||||
<Shape ID="DesignTable:MailData" ZOrder="6" X="666" Y="197" Height="476" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="408" />
|
|
||||||
<Shape ID="DesignTable:RequestItem" ZOrder="5" X="948" Y="148" Height="381" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="294" />
|
|
||||||
<Shape ID="DesignTable:Customs" ZOrder="3" X="257" Y="375" Height="286" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
|
||||||
<Shape ID="DesignSources:QueriesTableAdapter" ZOrder="1" X="852" Y="68" Height="48" Width="189" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="44" />
|
|
||||||
</Shapes>
|
|
||||||
<Connectors />
|
|
||||||
</DiagramLayout>
|
|
||||||
1
SubProject/FCM0000/fCode.Designer.cs
generated
1
SubProject/FCM0000/fCode.Designer.cs
generated
@@ -110,6 +110,7 @@
|
|||||||
this.tam.BoardTableAdapter = null;
|
this.tam.BoardTableAdapter = null;
|
||||||
this.tam.CommonTableAdapter = this.ta;
|
this.tam.CommonTableAdapter = this.ta;
|
||||||
this.tam.CustomsTableAdapter = null;
|
this.tam.CustomsTableAdapter = null;
|
||||||
|
this.tam.HolidayLIstTableAdapter = null;
|
||||||
this.tam.InventoryTableAdapter = null;
|
this.tam.InventoryTableAdapter = null;
|
||||||
this.tam.ItemsTableAdapter = null;
|
this.tam.ItemsTableAdapter = null;
|
||||||
this.tam.MailDataTableAdapter = null;
|
this.tam.MailDataTableAdapter = null;
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ namespace FCM0000
|
|||||||
var dr = drv.Row as dsMSSQL.CustomsRow;
|
var dr = drv.Row as dsMSSQL.CustomsRow;
|
||||||
if (dr.RowState == DataRowState.Added || dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Deleted) this.bs.RemoveCurrent();
|
if (dr.RowState == DataRowState.Added || dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Deleted) this.bs.RemoveCurrent();
|
||||||
|
|
||||||
dsMSSQLTableAdapters.QueriesTableAdapter taq = new dsMSSQLTableAdapters.QueriesTableAdapter();
|
var taq = new DSQueryTableAdapters.QueriesTableAdapter();
|
||||||
var cnt = (int)taq.CheckSupplyUsage(dr.idx);
|
var cnt = (int)taq.CheckSupplyUsage(dr.idx);
|
||||||
if(cnt > 0)
|
if(cnt > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
344
SubProject/FCM0000/fHolidaytable.Designer.cs
generated
Normal file
344
SubProject/FCM0000/fHolidaytable.Designer.cs
generated
Normal file
@@ -0,0 +1,344 @@
|
|||||||
|
namespace FCM0000
|
||||||
|
{
|
||||||
|
partial class fHolidaytable
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.components = new System.ComponentModel.Container();
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fHolidaytable));
|
||||||
|
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
|
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||||
|
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
|
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||||
|
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||||
|
this.dsMSSQL = new FCM0000.dsMSSQL();
|
||||||
|
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.btSave = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.ta = new FCM0000.dsMSSQLTableAdapters.HolidayLIstTableAdapter();
|
||||||
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
|
this.btrefresh = new System.Windows.Forms.Button();
|
||||||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||||
|
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||||
|
this.lbStatus = new System.Windows.Forms.ToolStripLabel();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||||
|
this.bn.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||||
|
this.panel1.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// 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.btSave,
|
||||||
|
this.lbStatus});
|
||||||
|
this.bn.Location = new System.Drawing.Point(0, 586);
|
||||||
|
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(574, 25);
|
||||||
|
this.bn.TabIndex = 0;
|
||||||
|
this.bn.Text = "bindingNavigator1";
|
||||||
|
//
|
||||||
|
// bs
|
||||||
|
//
|
||||||
|
this.bs.DataMember = "HolidayLIst";
|
||||||
|
this.bs.DataSource = this.dsMSSQL;
|
||||||
|
this.bs.Sort = "pdate";
|
||||||
|
this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
|
||||||
|
//
|
||||||
|
// dsMSSQL
|
||||||
|
//
|
||||||
|
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||||
|
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||||
|
//
|
||||||
|
// 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);
|
||||||
|
//
|
||||||
|
// btSave
|
||||||
|
//
|
||||||
|
this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image")));
|
||||||
|
this.btSave.Name = "btSave";
|
||||||
|
this.btSave.Size = new System.Drawing.Size(66, 22);
|
||||||
|
this.btSave.Text = "저장(&S)";
|
||||||
|
this.btSave.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click);
|
||||||
|
//
|
||||||
|
// ta
|
||||||
|
//
|
||||||
|
this.ta.ClearBeforeFill = true;
|
||||||
|
//
|
||||||
|
// panel1
|
||||||
|
//
|
||||||
|
this.panel1.Controls.Add(this.btrefresh);
|
||||||
|
this.panel1.Controls.Add(this.textBox1);
|
||||||
|
this.panel1.Controls.Add(this.label1);
|
||||||
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.panel1.Name = "panel1";
|
||||||
|
this.panel1.Padding = new System.Windows.Forms.Padding(5);
|
||||||
|
this.panel1.Size = new System.Drawing.Size(574, 45);
|
||||||
|
this.panel1.TabIndex = 2;
|
||||||
|
//
|
||||||
|
// btrefresh
|
||||||
|
//
|
||||||
|
this.btrefresh.Dock = System.Windows.Forms.DockStyle.Right;
|
||||||
|
this.btrefresh.Location = new System.Drawing.Point(487, 5);
|
||||||
|
this.btrefresh.Name = "btrefresh";
|
||||||
|
this.btrefresh.Size = new System.Drawing.Size(82, 35);
|
||||||
|
this.btrefresh.TabIndex = 2;
|
||||||
|
this.btrefresh.Text = "새로고침";
|
||||||
|
this.btrefresh.UseVisualStyleBackColor = true;
|
||||||
|
this.btrefresh.Click += new System.EventHandler(this.btrefresh_Click);
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(48, 10);
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(97, 27);
|
||||||
|
this.textBox1.TabIndex = 1;
|
||||||
|
this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown);
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(16, 13);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(24, 20);
|
||||||
|
this.label1.TabIndex = 0;
|
||||||
|
this.label1.Text = "월";
|
||||||
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// fpSpread1
|
||||||
|
//
|
||||||
|
this.fpSpread1.AccessibleDescription = "";
|
||||||
|
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.fpSpread1.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||||
|
this.fpSpread1.Location = new System.Drawing.Point(0, 45);
|
||||||
|
this.fpSpread1.Name = "fpSpread1";
|
||||||
|
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||||
|
this.fpSpread1_Sheet1});
|
||||||
|
this.fpSpread1.Size = new System.Drawing.Size(574, 541);
|
||||||
|
this.fpSpread1.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// 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 = 3;
|
||||||
|
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||||
|
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||||
|
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||||
|
this.fpSpread1_Sheet1.AutoSortEnhancedContextMenu = true;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "일자";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "휴일";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "비고";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 38F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).Label = "일자";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).LockBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).Locked = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).Width = 121F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType1;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "free";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).Label = "휴일";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "memo";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(2).Label = "비고";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(2).Width = 350F;
|
||||||
|
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||||
|
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||||
|
this.fpSpread1_Sheet1.DisplayZero = false;
|
||||||
|
this.fpSpread1_Sheet1.LockForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||||
|
this.fpSpread1_Sheet1.NullForeColor = System.Drawing.Color.Red;
|
||||||
|
this.fpSpread1_Sheet1.PreviewRowInfo.Height = 30;
|
||||||
|
this.fpSpread1_Sheet1.Protect = false;
|
||||||
|
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||||
|
this.fpSpread1_Sheet1.Rows.Default.Height = 30F;
|
||||||
|
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||||
|
//
|
||||||
|
// lbStatus
|
||||||
|
//
|
||||||
|
this.lbStatus.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||||
|
this.lbStatus.Name = "lbStatus";
|
||||||
|
this.lbStatus.Size = new System.Drawing.Size(144, 22);
|
||||||
|
this.lbStatus.Text = "근무일수 : {0} / 휴일 : {1}";
|
||||||
|
//
|
||||||
|
// fHolidaytable
|
||||||
|
//
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
|
this.ClientSize = new System.Drawing.Size(574, 611);
|
||||||
|
this.Controls.Add(this.fpSpread1);
|
||||||
|
this.Controls.Add(this.panel1);
|
||||||
|
this.Controls.Add(this.bn);
|
||||||
|
this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.Name = "fHolidaytable";
|
||||||
|
this.Text = "월별 근무표";
|
||||||
|
this.Load += new System.EventHandler(this.fLovItem_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||||
|
this.bn.ResumeLayout(false);
|
||||||
|
this.bn.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||||
|
this.panel1.ResumeLayout(false);
|
||||||
|
this.panel1.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).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 btSave;
|
||||||
|
private dsMSSQL dsMSSQL;
|
||||||
|
private dsMSSQLTableAdapters.HolidayLIstTableAdapter ta;
|
||||||
|
private System.Windows.Forms.Panel panel1;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
|
private System.Windows.Forms.Button btrefresh;
|
||||||
|
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
||||||
|
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||||
|
private System.Windows.Forms.ToolStripLabel lbStatus;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
130
SubProject/FCM0000/fHolidaytable.cs
Normal file
130
SubProject/FCM0000/fHolidaytable.cs
Normal file
@@ -0,0 +1,130 @@
|
|||||||
|
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 fHolidaytable : Form
|
||||||
|
{
|
||||||
|
public string Title { get; set; }
|
||||||
|
DataTable dt;
|
||||||
|
|
||||||
|
public fHolidaytable()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
this.StartPosition = FormStartPosition.CenterScreen;
|
||||||
|
this.KeyPreview = true;
|
||||||
|
this.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Escape) this.Close(); };
|
||||||
|
this.FormClosed += fHolidaytable_FormClosed;
|
||||||
|
}
|
||||||
|
|
||||||
|
void fHolidaytable_FormClosed(object sender, FormClosedEventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void fLovItem_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.textBox1.Text = DateTime.Now.ToString("yyyy-MM");
|
||||||
|
refreshData();
|
||||||
|
|
||||||
|
//if(dv.Columns.Count > 1)
|
||||||
|
// this.dv.Columns[1].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||||
|
//else
|
||||||
|
// this.dv.Columns[0].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||||
|
}
|
||||||
|
void refreshData()
|
||||||
|
{
|
||||||
|
string month = textBox1.Text.Trim() + "%";
|
||||||
|
this.ta.Fill(this.dsMSSQL.HolidayLIst, month);
|
||||||
|
if (this.dsMSSQL.HolidayLIst.Rows.Count < 1)
|
||||||
|
{
|
||||||
|
//자료를 추가해야함
|
||||||
|
DateTime sdt = DateTime.Parse(textBox1.Text.Trim() + "-01");
|
||||||
|
DateTime edt = sdt.AddMonths(1).AddDays(-1);
|
||||||
|
var ts = edt - sdt;
|
||||||
|
for (int i = sdt.Day; i <= edt.Day; i++)
|
||||||
|
{
|
||||||
|
DateTime dayvalue = DateTime.Parse(textBox1.Text.Trim() + "-" + i.ToString("00"));
|
||||||
|
var newdr = this.dsMSSQL.HolidayLIst.NewHolidayLIstRow();
|
||||||
|
newdr.wuid = FCOMMON.info.Login.no;
|
||||||
|
newdr.wdate = DateTime.Now;
|
||||||
|
newdr.pdate = dayvalue.ToShortDateString();// textBox1.Text.Trim() + "-" + i.ToString("00");
|
||||||
|
if (dayvalue.DayOfWeek == DayOfWeek.Saturday )
|
||||||
|
{
|
||||||
|
newdr.free = true;
|
||||||
|
newdr.memo = "토요일";
|
||||||
|
}
|
||||||
|
else if (dayvalue.DayOfWeek == DayOfWeek.Sunday)
|
||||||
|
{
|
||||||
|
newdr.free = true;
|
||||||
|
newdr.memo = "일요일";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
newdr.free = false;
|
||||||
|
newdr.memo = "";
|
||||||
|
}
|
||||||
|
this.dsMSSQL.HolidayLIst.AddHolidayLIstRow(newdr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
refreshStatus();
|
||||||
|
}
|
||||||
|
|
||||||
|
void refreshStatus()
|
||||||
|
{
|
||||||
|
var smsg = "근무일수 : {0} / 휴일 : {1}";
|
||||||
|
int freeday =this.dsMSSQL.HolidayLIst.Where(t=>t.free==true).Count();
|
||||||
|
int workday = this.dsMSSQL.HolidayLIst.Rows.Count - freeday;
|
||||||
|
lbStatus.Text = string.Format(smsg, workday, freeday);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void dv_KeyDown(object sender, KeyEventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Validate();
|
||||||
|
this.bs.EndEdit();
|
||||||
|
try
|
||||||
|
{
|
||||||
|
ta.Update(this.dsMSSQL.HolidayLIst);
|
||||||
|
this.dsMSSQL.HolidayLIst.AcceptChanges();
|
||||||
|
refreshStatus();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE(ex.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void dv_DoubleClick(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
btSave.PerformClick();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btrefresh_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
refreshData();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void textBox1_KeyDown(object sender, KeyEventArgs e)
|
||||||
|
{
|
||||||
|
if (e.KeyCode == Keys.Enter)
|
||||||
|
btrefresh.PerformClick();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
186
SubProject/FCM0000/fHolidaytable.resx
Normal file
186
SubProject/FCM0000/fHolidaytable.resx
Normal file
@@ -0,0 +1,186 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>81, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>147, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
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=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
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
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||||
|
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||||
|
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||||
|
oAc0QjgAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
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==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="btSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||||
|
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>252, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>314, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>82</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
122
SubProject/FCM0000/fLovOneItem.Designer.cs
generated
122
SubProject/FCM0000/fLovOneItem.Designer.cs
generated
@@ -29,32 +29,28 @@
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
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();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovOneItem));
|
||||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
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.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
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.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.btOK = new System.Windows.Forms.ToolStripButton();
|
|
||||||
this.dv = new System.Windows.Forms.DataGridView();
|
this.dv = new System.Windows.Forms.DataGridView();
|
||||||
this.ta = new FCM0000.dsMSSQLTableAdapters.CustomsTableAdapter();
|
this.ta = new FCM0000.dsMSSQLTableAdapters.CustomsTableAdapter();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||||
|
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.btOK = new System.Windows.Forms.ToolStripButton();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||||
this.bn.SuspendLayout();
|
this.bn.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dv)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dv)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// bs
|
|
||||||
//
|
|
||||||
this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
|
|
||||||
//
|
|
||||||
// bn
|
// bn
|
||||||
//
|
//
|
||||||
this.bn.AddNewItem = null;
|
this.bn.AddNewItem = null;
|
||||||
@@ -80,7 +76,7 @@
|
|||||||
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||||
this.bn.Name = "bn";
|
this.bn.Name = "bn";
|
||||||
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||||
this.bn.Size = new System.Drawing.Size(377, 25);
|
this.bn.Size = new System.Drawing.Size(402, 25);
|
||||||
this.bn.TabIndex = 0;
|
this.bn.TabIndex = 0;
|
||||||
this.bn.Text = "bindingNavigator1";
|
this.bn.Text = "bindingNavigator1";
|
||||||
//
|
//
|
||||||
@@ -91,24 +87,6 @@
|
|||||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
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
|
// bindingNavigatorSeparator
|
||||||
//
|
//
|
||||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||||
@@ -128,38 +106,11 @@
|
|||||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
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
|
// bindingNavigatorSeparator2
|
||||||
//
|
//
|
||||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
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
|
// dv
|
||||||
//
|
//
|
||||||
this.dv.AllowUserToAddRows = false;
|
this.dv.AllowUserToAddRows = false;
|
||||||
@@ -184,7 +135,7 @@
|
|||||||
this.dv.RowHeadersVisible = false;
|
this.dv.RowHeadersVisible = false;
|
||||||
this.dv.RowTemplate.Height = 23;
|
this.dv.RowTemplate.Height = 23;
|
||||||
this.dv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
this.dv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||||
this.dv.Size = new System.Drawing.Size(377, 564);
|
this.dv.Size = new System.Drawing.Size(402, 564);
|
||||||
this.dv.TabIndex = 1;
|
this.dv.TabIndex = 1;
|
||||||
this.dv.DoubleClick += new System.EventHandler(this.dv_DoubleClick);
|
this.dv.DoubleClick += new System.EventHandler(this.dv_DoubleClick);
|
||||||
this.dv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dv_KeyDown);
|
this.dv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dv_KeyDown);
|
||||||
@@ -193,21 +144,70 @@
|
|||||||
//
|
//
|
||||||
this.ta.ClearBeforeFill = true;
|
this.ta.ClearBeforeFill = true;
|
||||||
//
|
//
|
||||||
|
// bs
|
||||||
|
//
|
||||||
|
this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
|
||||||
|
//
|
||||||
|
// 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 = "이전으로 이동";
|
||||||
|
//
|
||||||
|
// 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 = "마지막으로 이동";
|
||||||
|
//
|
||||||
|
// 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);
|
||||||
|
//
|
||||||
// fLovOneItem
|
// fLovOneItem
|
||||||
//
|
//
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
this.ClientSize = new System.Drawing.Size(377, 589);
|
this.ClientSize = new System.Drawing.Size(402, 589);
|
||||||
this.Controls.Add(this.dv);
|
this.Controls.Add(this.dv);
|
||||||
this.Controls.Add(this.bn);
|
this.Controls.Add(this.bn);
|
||||||
this.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.Name = "fLovOneItem";
|
this.Name = "fLovOneItem";
|
||||||
this.Text = "Select Item";
|
this.Text = "Select Item";
|
||||||
this.Load += new System.EventHandler(this.fLovItem_Load);
|
this.Load += new System.EventHandler(this.fLovItem_Load);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||||
this.bn.ResumeLayout(false);
|
this.bn.ResumeLayout(false);
|
||||||
this.bn.PerformLayout();
|
this.bn.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dv)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.dv)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
|
|||||||
@@ -117,12 +117,12 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
||||||
<value>17, 17</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>81, 17</value>
|
<value>81, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
|
|||||||
228
SubProject/FCM0000/fLovProject.Designer.cs
generated
228
SubProject/FCM0000/fLovProject.Designer.cs
generated
@@ -34,14 +34,13 @@
|
|||||||
System.Windows.Forms.Label reqstaffLabel;
|
System.Windows.Forms.Label reqstaffLabel;
|
||||||
System.Windows.Forms.Label sdateLabel;
|
System.Windows.Forms.Label sdateLabel;
|
||||||
System.Windows.Forms.Label edateLabel;
|
System.Windows.Forms.Label edateLabel;
|
||||||
System.Windows.Forms.Label odateLabel;
|
|
||||||
System.Windows.Forms.Label memoLabel;
|
System.Windows.Forms.Label memoLabel;
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovProject));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovProject));
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
this.dsMSSQL = new FCM0000.dsMSSQL();
|
|
||||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
|
||||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||||
|
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||||
|
this.dsMSSQL = new FCM0000.dsMSSQL();
|
||||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||||
@@ -53,29 +52,28 @@
|
|||||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.btOK = new System.Windows.Forms.ToolStripButton();
|
this.btOK = new System.Windows.Forms.ToolStripButton();
|
||||||
this.dv = new System.Windows.Forms.DataGridView();
|
this.dv = new System.Windows.Forms.DataGridView();
|
||||||
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
this.pdateTextBox = new System.Windows.Forms.TextBox();
|
this.pdateTextBox = new System.Windows.Forms.TextBox();
|
||||||
this.requestTextBox = new System.Windows.Forms.TextBox();
|
this.requestTextBox = new System.Windows.Forms.TextBox();
|
||||||
this.reqstaffTextBox = new System.Windows.Forms.TextBox();
|
this.reqstaffTextBox = new System.Windows.Forms.TextBox();
|
||||||
this.sdateTextBox = new System.Windows.Forms.TextBox();
|
this.sdateTextBox = new System.Windows.Forms.TextBox();
|
||||||
this.edateTextBox = new System.Windows.Forms.TextBox();
|
this.edateTextBox = new System.Windows.Forms.TextBox();
|
||||||
this.odateTextBox = new System.Windows.Forms.TextBox();
|
|
||||||
this.memoTextBox = new System.Windows.Forms.TextBox();
|
this.memoTextBox = new System.Windows.Forms.TextBox();
|
||||||
this.ta = new FCM0000.dsMSSQLTableAdapters.ProjectsTableAdapter();
|
this.ta = new FCM0000.dsMSSQLTableAdapters.ProjectsTableAdapter();
|
||||||
this.tableAdapterManager = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
|
this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
|
||||||
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.status = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
pdateLabel = new System.Windows.Forms.Label();
|
pdateLabel = new System.Windows.Forms.Label();
|
||||||
requestLabel = new System.Windows.Forms.Label();
|
requestLabel = new System.Windows.Forms.Label();
|
||||||
reqstaffLabel = new System.Windows.Forms.Label();
|
reqstaffLabel = new System.Windows.Forms.Label();
|
||||||
sdateLabel = new System.Windows.Forms.Label();
|
sdateLabel = new System.Windows.Forms.Label();
|
||||||
edateLabel = new System.Windows.Forms.Label();
|
edateLabel = new System.Windows.Forms.Label();
|
||||||
odateLabel = new System.Windows.Forms.Label();
|
|
||||||
memoLabel = new System.Windows.Forms.Label();
|
memoLabel = new System.Windows.Forms.Label();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||||
this.bn.SuspendLayout();
|
this.bn.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dv)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dv)).BeginInit();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
@@ -83,76 +81,56 @@
|
|||||||
// pdateLabel
|
// pdateLabel
|
||||||
//
|
//
|
||||||
pdateLabel.AutoSize = true;
|
pdateLabel.AutoSize = true;
|
||||||
pdateLabel.Location = new System.Drawing.Point(27, 15);
|
pdateLabel.Location = new System.Drawing.Point(26, 15);
|
||||||
pdateLabel.Name = "pdateLabel";
|
pdateLabel.Name = "pdateLabel";
|
||||||
pdateLabel.Size = new System.Drawing.Size(60, 22);
|
pdateLabel.Size = new System.Drawing.Size(47, 17);
|
||||||
pdateLabel.TabIndex = 4;
|
pdateLabel.TabIndex = 4;
|
||||||
pdateLabel.Text = "pdate:";
|
pdateLabel.Text = "시작일";
|
||||||
//
|
//
|
||||||
// requestLabel
|
// requestLabel
|
||||||
//
|
//
|
||||||
requestLabel.AutoSize = true;
|
requestLabel.AutoSize = true;
|
||||||
requestLabel.Location = new System.Drawing.Point(27, 49);
|
requestLabel.Location = new System.Drawing.Point(39, 44);
|
||||||
requestLabel.Name = "requestLabel";
|
requestLabel.Name = "requestLabel";
|
||||||
requestLabel.Size = new System.Drawing.Size(74, 22);
|
requestLabel.Size = new System.Drawing.Size(34, 17);
|
||||||
requestLabel.TabIndex = 6;
|
requestLabel.TabIndex = 6;
|
||||||
requestLabel.Text = "request:";
|
requestLabel.Text = "공정";
|
||||||
//
|
//
|
||||||
// reqstaffLabel
|
// reqstaffLabel
|
||||||
//
|
//
|
||||||
reqstaffLabel.AutoSize = true;
|
reqstaffLabel.AutoSize = true;
|
||||||
reqstaffLabel.Location = new System.Drawing.Point(27, 83);
|
reqstaffLabel.Location = new System.Drawing.Point(403, 44);
|
||||||
reqstaffLabel.Name = "reqstaffLabel";
|
reqstaffLabel.Name = "reqstaffLabel";
|
||||||
reqstaffLabel.Size = new System.Drawing.Size(76, 22);
|
reqstaffLabel.Size = new System.Drawing.Size(47, 17);
|
||||||
reqstaffLabel.TabIndex = 8;
|
reqstaffLabel.TabIndex = 8;
|
||||||
reqstaffLabel.Text = "reqstaff:";
|
reqstaffLabel.Text = "요청자";
|
||||||
//
|
//
|
||||||
// sdateLabel
|
// sdateLabel
|
||||||
//
|
//
|
||||||
sdateLabel.AutoSize = true;
|
sdateLabel.AutoSize = true;
|
||||||
sdateLabel.Location = new System.Drawing.Point(27, 117);
|
sdateLabel.Location = new System.Drawing.Point(217, 15);
|
||||||
sdateLabel.Name = "sdateLabel";
|
sdateLabel.Name = "sdateLabel";
|
||||||
sdateLabel.Size = new System.Drawing.Size(58, 22);
|
sdateLabel.Size = new System.Drawing.Size(47, 17);
|
||||||
sdateLabel.TabIndex = 10;
|
sdateLabel.TabIndex = 10;
|
||||||
sdateLabel.Text = "sdate:";
|
sdateLabel.Text = "만료일";
|
||||||
//
|
//
|
||||||
// edateLabel
|
// edateLabel
|
||||||
//
|
//
|
||||||
edateLabel.AutoSize = true;
|
edateLabel.AutoSize = true;
|
||||||
edateLabel.Location = new System.Drawing.Point(27, 151);
|
edateLabel.Location = new System.Drawing.Point(403, 15);
|
||||||
edateLabel.Name = "edateLabel";
|
edateLabel.Name = "edateLabel";
|
||||||
edateLabel.Size = new System.Drawing.Size(59, 22);
|
edateLabel.Size = new System.Drawing.Size(47, 17);
|
||||||
edateLabel.TabIndex = 12;
|
edateLabel.TabIndex = 12;
|
||||||
edateLabel.Text = "edate:";
|
edateLabel.Text = "완료일";
|
||||||
//
|
|
||||||
// odateLabel
|
|
||||||
//
|
|
||||||
odateLabel.AutoSize = true;
|
|
||||||
odateLabel.Location = new System.Drawing.Point(27, 185);
|
|
||||||
odateLabel.Name = "odateLabel";
|
|
||||||
odateLabel.Size = new System.Drawing.Size(60, 22);
|
|
||||||
odateLabel.TabIndex = 14;
|
|
||||||
odateLabel.Text = "odate:";
|
|
||||||
//
|
//
|
||||||
// memoLabel
|
// memoLabel
|
||||||
//
|
//
|
||||||
memoLabel.AutoSize = true;
|
memoLabel.AutoSize = true;
|
||||||
memoLabel.Location = new System.Drawing.Point(27, 219);
|
memoLabel.Location = new System.Drawing.Point(39, 71);
|
||||||
memoLabel.Name = "memoLabel";
|
memoLabel.Name = "memoLabel";
|
||||||
memoLabel.Size = new System.Drawing.Size(65, 22);
|
memoLabel.Size = new System.Drawing.Size(34, 17);
|
||||||
memoLabel.TabIndex = 16;
|
memoLabel.TabIndex = 16;
|
||||||
memoLabel.Text = "memo:";
|
memoLabel.Text = "비고";
|
||||||
//
|
|
||||||
// dsMSSQL
|
|
||||||
//
|
|
||||||
this.dsMSSQL.DataSetName = "dsMSSQL";
|
|
||||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
|
||||||
//
|
|
||||||
// bs
|
|
||||||
//
|
|
||||||
this.bs.DataMember = "Projects";
|
|
||||||
this.bs.DataSource = this.dsMSSQL;
|
|
||||||
this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
|
|
||||||
//
|
//
|
||||||
// bn
|
// bn
|
||||||
//
|
//
|
||||||
@@ -179,10 +157,22 @@
|
|||||||
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||||
this.bn.Name = "bn";
|
this.bn.Name = "bn";
|
||||||
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||||
this.bn.Size = new System.Drawing.Size(771, 25);
|
this.bn.Size = new System.Drawing.Size(582, 25);
|
||||||
this.bn.TabIndex = 0;
|
this.bn.TabIndex = 0;
|
||||||
this.bn.Text = "bindingNavigator1";
|
this.bn.Text = "bindingNavigator1";
|
||||||
//
|
//
|
||||||
|
// bs
|
||||||
|
//
|
||||||
|
this.bs.DataMember = "Projects";
|
||||||
|
this.bs.DataSource = this.dsMSSQL;
|
||||||
|
this.bs.Sort = "status desc";
|
||||||
|
this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
|
||||||
|
//
|
||||||
|
// dsMSSQL
|
||||||
|
//
|
||||||
|
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||||
|
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||||
|
//
|
||||||
// bindingNavigatorCountItem
|
// bindingNavigatorCountItem
|
||||||
//
|
//
|
||||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||||
@@ -269,11 +259,12 @@
|
|||||||
this.dv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
this.dv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.dv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
this.dv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
this.dataGridViewTextBoxColumn1,
|
this.dataGridViewTextBoxColumn1,
|
||||||
this.dataGridViewTextBoxColumn2});
|
this.dataGridViewTextBoxColumn2,
|
||||||
|
this.status});
|
||||||
this.dv.DataSource = this.bs;
|
this.dv.DataSource = this.bs;
|
||||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
|
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
|
||||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
|
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||||
dataGridViewCellStyle2.Padding = new System.Windows.Forms.Padding(1, 3, 1, 3);
|
dataGridViewCellStyle2.Padding = new System.Windows.Forms.Padding(1, 3, 1, 3);
|
||||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||||
@@ -287,30 +278,11 @@
|
|||||||
this.dv.RowHeadersVisible = false;
|
this.dv.RowHeadersVisible = false;
|
||||||
this.dv.RowTemplate.Height = 23;
|
this.dv.RowTemplate.Height = 23;
|
||||||
this.dv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
this.dv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||||
this.dv.Size = new System.Drawing.Size(450, 408);
|
this.dv.Size = new System.Drawing.Size(582, 295);
|
||||||
this.dv.TabIndex = 1;
|
this.dv.TabIndex = 1;
|
||||||
this.dv.DoubleClick += new System.EventHandler(this.dv_DoubleClick);
|
this.dv.DoubleClick += new System.EventHandler(this.dv_DoubleClick);
|
||||||
this.dv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dv_KeyDown);
|
this.dv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dv_KeyDown);
|
||||||
//
|
//
|
||||||
// dataGridViewTextBoxColumn1
|
|
||||||
//
|
|
||||||
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
|
|
||||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
||||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
||||||
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
|
|
||||||
this.dataGridViewTextBoxColumn1.HeaderText = "IDX";
|
|
||||||
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
|
||||||
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
|
||||||
this.dataGridViewTextBoxColumn1.Width = 66;
|
|
||||||
//
|
|
||||||
// dataGridViewTextBoxColumn2
|
|
||||||
//
|
|
||||||
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
||||||
this.dataGridViewTextBoxColumn2.DataPropertyName = "name";
|
|
||||||
this.dataGridViewTextBoxColumn2.HeaderText = "Name";
|
|
||||||
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
|
||||||
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
|
||||||
//
|
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.Controls.Add(pdateLabel);
|
this.panel1.Controls.Add(pdateLabel);
|
||||||
@@ -323,108 +295,134 @@
|
|||||||
this.panel1.Controls.Add(this.sdateTextBox);
|
this.panel1.Controls.Add(this.sdateTextBox);
|
||||||
this.panel1.Controls.Add(edateLabel);
|
this.panel1.Controls.Add(edateLabel);
|
||||||
this.panel1.Controls.Add(this.edateTextBox);
|
this.panel1.Controls.Add(this.edateTextBox);
|
||||||
this.panel1.Controls.Add(odateLabel);
|
|
||||||
this.panel1.Controls.Add(this.odateTextBox);
|
|
||||||
this.panel1.Controls.Add(memoLabel);
|
this.panel1.Controls.Add(memoLabel);
|
||||||
this.panel1.Controls.Add(this.memoTextBox);
|
this.panel1.Controls.Add(this.memoTextBox);
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
this.panel1.Location = new System.Drawing.Point(450, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 295);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(321, 408);
|
this.panel1.Size = new System.Drawing.Size(582, 113);
|
||||||
this.panel1.TabIndex = 2;
|
this.panel1.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// pdateTextBox
|
// pdateTextBox
|
||||||
//
|
//
|
||||||
this.pdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "pdate", true));
|
this.pdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sdate", true));
|
||||||
this.pdateTextBox.Location = new System.Drawing.Point(109, 12);
|
this.pdateTextBox.Location = new System.Drawing.Point(80, 11);
|
||||||
this.pdateTextBox.Name = "pdateTextBox";
|
this.pdateTextBox.Name = "pdateTextBox";
|
||||||
this.pdateTextBox.ReadOnly = true;
|
this.pdateTextBox.ReadOnly = true;
|
||||||
this.pdateTextBox.Size = new System.Drawing.Size(200, 28);
|
this.pdateTextBox.Size = new System.Drawing.Size(115, 25);
|
||||||
this.pdateTextBox.TabIndex = 5;
|
this.pdateTextBox.TabIndex = 5;
|
||||||
//
|
//
|
||||||
// requestTextBox
|
// requestTextBox
|
||||||
//
|
//
|
||||||
this.requestTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "request", true));
|
this.requestTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "process", true));
|
||||||
this.requestTextBox.Location = new System.Drawing.Point(109, 46);
|
this.requestTextBox.Location = new System.Drawing.Point(80, 40);
|
||||||
this.requestTextBox.Name = "requestTextBox";
|
this.requestTextBox.Name = "requestTextBox";
|
||||||
this.requestTextBox.ReadOnly = true;
|
this.requestTextBox.ReadOnly = true;
|
||||||
this.requestTextBox.Size = new System.Drawing.Size(200, 28);
|
this.requestTextBox.Size = new System.Drawing.Size(306, 25);
|
||||||
this.requestTextBox.TabIndex = 7;
|
this.requestTextBox.TabIndex = 7;
|
||||||
//
|
//
|
||||||
// reqstaffTextBox
|
// reqstaffTextBox
|
||||||
//
|
//
|
||||||
this.reqstaffTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reqstaff", true));
|
this.reqstaffTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reqstaff", true));
|
||||||
this.reqstaffTextBox.Location = new System.Drawing.Point(109, 80);
|
this.reqstaffTextBox.Location = new System.Drawing.Point(457, 40);
|
||||||
this.reqstaffTextBox.Name = "reqstaffTextBox";
|
this.reqstaffTextBox.Name = "reqstaffTextBox";
|
||||||
this.reqstaffTextBox.ReadOnly = true;
|
this.reqstaffTextBox.ReadOnly = true;
|
||||||
this.reqstaffTextBox.Size = new System.Drawing.Size(200, 28);
|
this.reqstaffTextBox.Size = new System.Drawing.Size(115, 25);
|
||||||
this.reqstaffTextBox.TabIndex = 9;
|
this.reqstaffTextBox.TabIndex = 9;
|
||||||
//
|
//
|
||||||
// sdateTextBox
|
// sdateTextBox
|
||||||
//
|
//
|
||||||
this.sdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sdate", true));
|
this.sdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ddate", true));
|
||||||
this.sdateTextBox.Location = new System.Drawing.Point(109, 114);
|
this.sdateTextBox.Location = new System.Drawing.Point(271, 11);
|
||||||
this.sdateTextBox.Name = "sdateTextBox";
|
this.sdateTextBox.Name = "sdateTextBox";
|
||||||
this.sdateTextBox.ReadOnly = true;
|
this.sdateTextBox.ReadOnly = true;
|
||||||
this.sdateTextBox.Size = new System.Drawing.Size(200, 28);
|
this.sdateTextBox.Size = new System.Drawing.Size(115, 25);
|
||||||
this.sdateTextBox.TabIndex = 11;
|
this.sdateTextBox.TabIndex = 11;
|
||||||
//
|
//
|
||||||
// edateTextBox
|
// edateTextBox
|
||||||
//
|
//
|
||||||
this.edateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "edate", true));
|
this.edateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "edate", true));
|
||||||
this.edateTextBox.Location = new System.Drawing.Point(109, 148);
|
this.edateTextBox.Location = new System.Drawing.Point(457, 11);
|
||||||
this.edateTextBox.Name = "edateTextBox";
|
this.edateTextBox.Name = "edateTextBox";
|
||||||
this.edateTextBox.ReadOnly = true;
|
this.edateTextBox.ReadOnly = true;
|
||||||
this.edateTextBox.Size = new System.Drawing.Size(200, 28);
|
this.edateTextBox.Size = new System.Drawing.Size(115, 25);
|
||||||
this.edateTextBox.TabIndex = 13;
|
this.edateTextBox.TabIndex = 13;
|
||||||
//
|
//
|
||||||
// odateTextBox
|
|
||||||
//
|
|
||||||
this.odateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "odate", true));
|
|
||||||
this.odateTextBox.Location = new System.Drawing.Point(109, 182);
|
|
||||||
this.odateTextBox.Name = "odateTextBox";
|
|
||||||
this.odateTextBox.ReadOnly = true;
|
|
||||||
this.odateTextBox.Size = new System.Drawing.Size(200, 28);
|
|
||||||
this.odateTextBox.TabIndex = 15;
|
|
||||||
//
|
|
||||||
// memoTextBox
|
// memoTextBox
|
||||||
//
|
//
|
||||||
this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true));
|
this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true));
|
||||||
this.memoTextBox.Location = new System.Drawing.Point(109, 216);
|
this.memoTextBox.Location = new System.Drawing.Point(80, 68);
|
||||||
this.memoTextBox.Multiline = true;
|
this.memoTextBox.Multiline = true;
|
||||||
this.memoTextBox.Name = "memoTextBox";
|
this.memoTextBox.Name = "memoTextBox";
|
||||||
this.memoTextBox.ReadOnly = true;
|
this.memoTextBox.ReadOnly = true;
|
||||||
this.memoTextBox.Size = new System.Drawing.Size(200, 176);
|
this.memoTextBox.Size = new System.Drawing.Size(492, 40);
|
||||||
this.memoTextBox.TabIndex = 17;
|
this.memoTextBox.TabIndex = 17;
|
||||||
//
|
//
|
||||||
// ta
|
// ta
|
||||||
//
|
//
|
||||||
this.ta.ClearBeforeFill = true;
|
this.ta.ClearBeforeFill = true;
|
||||||
//
|
//
|
||||||
// tableAdapterManager
|
// tam
|
||||||
//
|
//
|
||||||
this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
|
this.tam.BackupDataSetBeforeUpdate = false;
|
||||||
this.tableAdapterManager.InventoryTableAdapter = null;
|
this.tam.BoardTableAdapter = null;
|
||||||
this.tableAdapterManager.ItemsTableAdapter = null;
|
this.tam.CommonTableAdapter = null;
|
||||||
this.tableAdapterManager.ProjectsTableAdapter = this.ta;
|
this.tam.CustomsTableAdapter = null;
|
||||||
this.tableAdapterManager.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
this.tam.InventoryTableAdapter = null;
|
||||||
|
this.tam.ItemsTableAdapter = null;
|
||||||
|
this.tam.MailDataTableAdapter = null;
|
||||||
|
this.tam.MailFormTableAdapter = null;
|
||||||
|
this.tam.ProjectsTableAdapter = this.ta;
|
||||||
|
this.tam.PurchaseTableAdapter = null;
|
||||||
|
this.tam.RequestItemTableAdapter = null;
|
||||||
|
this.tam.StaffTableAdapter = null;
|
||||||
|
this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn1
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
||||||
|
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
|
||||||
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
|
||||||
|
this.dataGridViewTextBoxColumn1.HeaderText = "번호";
|
||||||
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||||
|
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn1.Width = 61;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn2
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||||
|
this.dataGridViewTextBoxColumn2.DataPropertyName = "name";
|
||||||
|
this.dataGridViewTextBoxColumn2.HeaderText = "프로젝트 명";
|
||||||
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||||
|
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
||||||
|
//
|
||||||
|
// status
|
||||||
|
//
|
||||||
|
this.status.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
||||||
|
this.status.DataPropertyName = "status";
|
||||||
|
this.status.HeaderText = "상태";
|
||||||
|
this.status.Name = "status";
|
||||||
|
this.status.ReadOnly = true;
|
||||||
|
this.status.Width = 61;
|
||||||
//
|
//
|
||||||
// fLovProject
|
// fLovProject
|
||||||
//
|
//
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
this.ClientSize = new System.Drawing.Size(771, 433);
|
this.ClientSize = new System.Drawing.Size(582, 433);
|
||||||
this.Controls.Add(this.dv);
|
this.Controls.Add(this.dv);
|
||||||
this.Controls.Add(this.panel1);
|
this.Controls.Add(this.panel1);
|
||||||
this.Controls.Add(this.bn);
|
this.Controls.Add(this.bn);
|
||||||
this.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
this.Name = "fLovProject";
|
this.Name = "fLovProject";
|
||||||
this.Text = "Select Project";
|
this.Text = "프로젝트 선택";
|
||||||
this.Load += new System.EventHandler(this.fLovItem_Load);
|
this.Load += new System.EventHandler(this.fLovItem_Load);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||||
this.bn.ResumeLayout(false);
|
this.bn.ResumeLayout(false);
|
||||||
this.bn.PerformLayout();
|
this.bn.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dv)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.dv)).EndInit();
|
||||||
this.panel1.ResumeLayout(false);
|
this.panel1.ResumeLayout(false);
|
||||||
this.panel1.PerformLayout();
|
this.panel1.PerformLayout();
|
||||||
@@ -450,17 +448,17 @@
|
|||||||
private System.Windows.Forms.ToolStripButton btOK;
|
private System.Windows.Forms.ToolStripButton btOK;
|
||||||
private System.Windows.Forms.DataGridView dv;
|
private System.Windows.Forms.DataGridView dv;
|
||||||
private System.Windows.Forms.Panel panel1;
|
private System.Windows.Forms.Panel panel1;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
|
||||||
private dsMSSQLTableAdapters.ProjectsTableAdapter ta;
|
private dsMSSQLTableAdapters.ProjectsTableAdapter ta;
|
||||||
private System.Windows.Forms.TextBox pdateTextBox;
|
private System.Windows.Forms.TextBox pdateTextBox;
|
||||||
private System.Windows.Forms.TextBox requestTextBox;
|
private System.Windows.Forms.TextBox requestTextBox;
|
||||||
private System.Windows.Forms.TextBox reqstaffTextBox;
|
private System.Windows.Forms.TextBox reqstaffTextBox;
|
||||||
private System.Windows.Forms.TextBox sdateTextBox;
|
private System.Windows.Forms.TextBox sdateTextBox;
|
||||||
private System.Windows.Forms.TextBox edateTextBox;
|
private System.Windows.Forms.TextBox edateTextBox;
|
||||||
private System.Windows.Forms.TextBox odateTextBox;
|
|
||||||
private System.Windows.Forms.TextBox memoTextBox;
|
private System.Windows.Forms.TextBox memoTextBox;
|
||||||
private dsMSSQLTableAdapters.TableAdapterManager tableAdapterManager;
|
private dsMSSQLTableAdapters.TableAdapterManager tam;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn status;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -32,6 +32,7 @@ namespace FCM0000
|
|||||||
private void fLovItem_Load(object sender, EventArgs e)
|
private void fLovItem_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
//search data
|
//search data
|
||||||
|
// var dt = this.ta.GetSearch(this.keyword);
|
||||||
this.ta.FillSearch(this.dsMSSQL.Projects,this.keyword);
|
this.ta.FillSearch(this.dsMSSQL.Projects,this.keyword);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -132,20 +132,17 @@
|
|||||||
<metadata name="edateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="edateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>False</value>
|
<value>False</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="odateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
||||||
<value>False</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="memoLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="memoLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>False</value>
|
<value>False</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>81, 17</value>
|
<value>186, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>186, 17</value>
|
<value>81, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
@@ -195,10 +192,13 @@
|
|||||||
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
|
<metadata name="status.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>252, 17</value>
|
<value>252, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="tableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>314, 17</value>
|
<value>314, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
|||||||
@@ -11,7 +11,19 @@ namespace FCM0000
|
|||||||
{
|
{
|
||||||
public partial class fSelectDate : Form
|
public partial class fSelectDate : Form
|
||||||
{
|
{
|
||||||
public DateTime dtSelect = DateTime.Now;
|
private DateTime _dtSelect = DateTime.Now;
|
||||||
|
public DateTime dtSelect
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return _dtSelect;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
_dtSelect = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public fSelectDate(string dtstr) : this(DateTime.Parse(dtstr)) { }
|
public fSelectDate(string dtstr) : this(DateTime.Parse(dtstr)) { }
|
||||||
public fSelectDate(DateTime dt)
|
public fSelectDate(DateTime dt)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -13,7 +13,8 @@ namespace FCOMMON
|
|||||||
{
|
{
|
||||||
purchase,
|
purchase,
|
||||||
holyday,
|
holyday,
|
||||||
project
|
project,
|
||||||
|
jobreport,
|
||||||
}
|
}
|
||||||
public static int getAuth(eAutoType type, string uid)
|
public static int getAuth(eAutoType type, string uid)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -290,8 +290,20 @@ namespace FCOMMON
|
|||||||
}
|
}
|
||||||
public static System.Data.DataTable getUserTable(int baseLevel = 1)
|
public static System.Data.DataTable getUserTable(int baseLevel = 1)
|
||||||
{
|
{
|
||||||
var list = getUserList(baseLevel);
|
var cn = getCn();
|
||||||
return MakeDataTable(list);
|
cn.Open();
|
||||||
|
|
||||||
|
var retval = new sItemInfo();
|
||||||
|
retval.idx = -1;
|
||||||
|
|
||||||
|
string sql = "select [id],[name],concat([name],'(',[id],')') as dispName,[dept],[email],[level],[tel] from Users where dept like '%장비기술%' order by [name]";
|
||||||
|
var cmd = new SqlCommand(sql, cn);
|
||||||
|
var da = new SqlDataAdapter(sql, cn);
|
||||||
|
var ds = new System.Data.DataSet();
|
||||||
|
da.Fill(ds);
|
||||||
|
cn.Close();
|
||||||
|
cn.Dispose();
|
||||||
|
return ds.Tables[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Dictionary<string,string> MakeDataTable(List<string> list)
|
private static Dictionary<string,string> MakeDataTable(List<string> list)
|
||||||
@@ -351,6 +363,43 @@ namespace FCOMMON
|
|||||||
cn.Dispose();
|
cn.Dispose();
|
||||||
return data.ToString();
|
return data.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 지정된 프로젝트의 마지막 업무일지 데이터를 반환함
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="projectIdx"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static System.Data.DataTable getLastJobReportData(string uid,int projectIdx)
|
||||||
|
{
|
||||||
|
var cn = getCn();
|
||||||
|
cn.Open();
|
||||||
|
var sql = "select top 1 * from JobReport" +
|
||||||
|
" where isnull(pidx,-1)=" + projectIdx.ToString() +
|
||||||
|
" and uid ='" + uid + "'" +
|
||||||
|
" order by pdate desc, idx desc";
|
||||||
|
var da = new SqlDataAdapter(sql, cn);
|
||||||
|
var ds = new System.Data.DataSet();
|
||||||
|
da.Fill(ds);
|
||||||
|
cn.Close();
|
||||||
|
if (ds.Tables.Count > 0) return ds.Tables[0];
|
||||||
|
else return null;
|
||||||
|
}
|
||||||
|
public static System.Data.DataTable getLastJobReportData(string uid, string type)
|
||||||
|
{
|
||||||
|
var cn = getCn();
|
||||||
|
cn.Open();
|
||||||
|
var sql = "select top 1 * from JobReport" +
|
||||||
|
" where isnull([type],'')='" + type + "'" +
|
||||||
|
" and uid ='" + uid + "'" +
|
||||||
|
" order by pdate desc, idx desc";
|
||||||
|
var da = new SqlDataAdapter(sql, cn);
|
||||||
|
var ds = new System.Data.DataSet();
|
||||||
|
da.Fill(ds);
|
||||||
|
cn.Close();
|
||||||
|
if (ds.Tables.Count > 0) return ds.Tables[0];
|
||||||
|
else return null;
|
||||||
|
}
|
||||||
|
|
||||||
public static System.Data.DataTable getCodeTable(string GroupCode = "99")
|
public static System.Data.DataTable getCodeTable(string GroupCode = "99")
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -378,7 +427,7 @@ namespace FCOMMON
|
|||||||
cn.Dispose();
|
cn.Dispose();
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
private static Dictionary<string, string> getTwoColumnList(string table,string col1,string col2,string where="",string order="")
|
public static Dictionary<string, string> getTwoColumnList(string table, string col1, string col2, string where = "", string order = "")
|
||||||
{
|
{
|
||||||
Dictionary<string, string> retval = new Dictionary<string, string>();
|
Dictionary<string, string> retval = new Dictionary<string, string>();
|
||||||
var cn = getCn();
|
var cn = getCn();
|
||||||
@@ -399,7 +448,6 @@ namespace FCOMMON
|
|||||||
cn.Close();
|
cn.Close();
|
||||||
cn.Dispose();
|
cn.Dispose();
|
||||||
return retval;
|
return retval;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Dictionary<string,string> getGroupTable(string GroupColumn, string table, string where = "", Boolean desc = false)
|
public static Dictionary<string,string> getGroupTable(string GroupColumn, string table, string where = "", Boolean desc = false)
|
||||||
@@ -441,6 +489,56 @@ namespace FCOMMON
|
|||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 지정된 사용자/월의 전체 근무시간 초과시간을 반환함
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="uid">사용자번호</param>
|
||||||
|
/// <param name="yymm">지정월(2019-05)</param>
|
||||||
|
/// <param name="work">근무시간</param>
|
||||||
|
/// <param name="total">최대근무시간(근무일수*8)</param>
|
||||||
|
/// <param name="ot">초과근무시간</param>
|
||||||
|
public static void getWorkTime(string uid,string yymm,out int work,out int total,out int ot)
|
||||||
|
{
|
||||||
|
work = 0;
|
||||||
|
total = 0;
|
||||||
|
ot = 0;
|
||||||
|
string retval = string.Empty;
|
||||||
|
var cn = getCn();
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
|
||||||
|
cn.Open();
|
||||||
|
var sql = "select isnull(sum(hrs),0) as hrs,isnull(sum(ot),0) as ot,dbo.getWorkDayCount('{1}') as workday" +
|
||||||
|
" from JobReport" +
|
||||||
|
" where uid = '{0}' and substring(pdate,1,7) = '{1}'";
|
||||||
|
|
||||||
|
sql = string.Format(sql, uid, yymm);
|
||||||
|
var cmd = new SqlCommand(sql, cn);
|
||||||
|
var rdr = cmd.ExecuteReader();
|
||||||
|
while (rdr.Read())
|
||||||
|
{
|
||||||
|
work = int.Parse(rdr[0].ToString());
|
||||||
|
ot = int.Parse(rdr[1].ToString());
|
||||||
|
total = int.Parse(rdr[2].ToString()) * 8;
|
||||||
|
}
|
||||||
|
cmd.Dispose();
|
||||||
|
cn.Close();
|
||||||
|
cn.Dispose();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
work = 0;
|
||||||
|
total = 0;
|
||||||
|
ot = 0;
|
||||||
|
}
|
||||||
|
finally {
|
||||||
|
if (cn != null) cn.Dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public static int addItem(string pumname,string sid, string model, decimal price, string supply ,int supplyidx = -1,byte[] pic = null)
|
public static int addItem(string pumname,string sid, string model, decimal price, string supply ,int supplyidx = -1,byte[] pic = null)
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -498,7 +596,7 @@ namespace FCOMMON
|
|||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static List<String> getGroupList(string GroupColumn, string table, string where = "",Boolean desc=false)
|
public static List<String> getGroupList(string GroupColumn, string table, string where = "",Boolean desc=false,Boolean useColumncover=true)
|
||||||
{
|
{
|
||||||
List<string> retval = new List<string>();
|
List<string> retval = new List<string>();
|
||||||
var cn = getCn();
|
var cn = getCn();
|
||||||
@@ -513,7 +611,10 @@ namespace FCOMMON
|
|||||||
" order by {0} ";
|
" order by {0} ";
|
||||||
if (desc) sql += " desc";
|
if (desc) sql += " desc";
|
||||||
|
|
||||||
sql = string.Format(sql, "[" + GroupColumn + "]", table);
|
if (useColumncover)
|
||||||
|
sql = string.Format(sql, "[" + GroupColumn + "]", table);
|
||||||
|
else
|
||||||
|
sql = string.Format(sql, GroupColumn , table);
|
||||||
var cmd = new SqlCommand(sql, cn);
|
var cmd = new SqlCommand(sql, cn);
|
||||||
var rdr = cmd.ExecuteReader();
|
var rdr = cmd.ExecuteReader();
|
||||||
while (rdr.Read())
|
while (rdr.Read())
|
||||||
|
|||||||
@@ -93,6 +93,12 @@
|
|||||||
<Compile Include="fLovDateList.Designer.cs">
|
<Compile Include="fLovDateList.Designer.cs">
|
||||||
<DependentUpon>fLovDateList.cs</DependentUpon>
|
<DependentUpon>fLovDateList.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="fSelectMonth.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="fSelectMonth.Designer.cs">
|
||||||
|
<DependentUpon>fSelectMonth.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="fWebCamera.cs">
|
<Compile Include="fWebCamera.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -116,6 +122,9 @@
|
|||||||
<EmbeddedResource Include="fLovDateList.resx">
|
<EmbeddedResource Include="fLovDateList.resx">
|
||||||
<DependentUpon>fLovDateList.cs</DependentUpon>
|
<DependentUpon>fLovDateList.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="fSelectMonth.resx">
|
||||||
|
<DependentUpon>fSelectMonth.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="fWebCamera.resx">
|
<EmbeddedResource Include="fWebCamera.resx">
|
||||||
<DependentUpon>fWebCamera.cs</DependentUpon>
|
<DependentUpon>fWebCamera.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
|||||||
@@ -51,31 +51,6 @@ namespace FCOMMON
|
|||||||
this.listView1.DragOver += listView1_DragOver;
|
this.listView1.DragOver += listView1_DragOver;
|
||||||
}
|
}
|
||||||
|
|
||||||
void listView1_DragOver(object sender, DragEventArgs e)
|
|
||||||
{
|
|
||||||
this.Cursor = Cursors.Hand;
|
|
||||||
}
|
|
||||||
|
|
||||||
void listView1_DragEnter(object sender, DragEventArgs e)
|
|
||||||
{
|
|
||||||
e.Effect = DragDropEffects.All;
|
|
||||||
}
|
|
||||||
|
|
||||||
void listView1_DragDrop(object sender, DragEventArgs e)
|
|
||||||
{
|
|
||||||
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop, false);
|
|
||||||
if (files.Length < 1) return;
|
|
||||||
string msg = string.Format("{0}건의 파일을 업로드 하시겠습니까?",files.Length);
|
|
||||||
if (FCOMMON.Util.MsgQ(msg) != System.Windows.Forms.DialogResult.Yes) return;
|
|
||||||
foreach(var fileName in files)
|
|
||||||
{
|
|
||||||
System.IO.FileInfo fi = new System.IO.FileInfo(fileName);
|
|
||||||
string remote = tbpath.Text + "/" + fi.Name;
|
|
||||||
ftp.upload(remote, fi.FullName);
|
|
||||||
}
|
|
||||||
btQuery.PerformClick();
|
|
||||||
}
|
|
||||||
|
|
||||||
void __Closed(object sender, FormClosedEventArgs e)
|
void __Closed(object sender, FormClosedEventArgs e)
|
||||||
{
|
{
|
||||||
//listview column width
|
//listview column width
|
||||||
@@ -83,9 +58,9 @@ namespace FCOMMON
|
|||||||
arUtil.INIHelper ini = new arUtil.INIHelper(fn);
|
arUtil.INIHelper ini = new arUtil.INIHelper(fn);
|
||||||
for (int i = 0; i < this.listView1.Columns.Count; i++)
|
for (int i = 0; i < this.listView1.Columns.Count; i++)
|
||||||
{
|
{
|
||||||
var curwidth = this.listView1.Columns[i].Width;
|
var curwidth = this.listView1.Columns[i].Width;
|
||||||
ini.set_Data("colsize", "index_" + i.ToString(), curwidth.ToString());
|
ini.set_Data("colsize", "index_" + i.ToString(), curwidth.ToString());
|
||||||
}
|
}
|
||||||
ini.Flush();
|
ini.Flush();
|
||||||
|
|
||||||
//string item = "ftp_lv_col_";
|
//string item = "ftp_lv_col_";
|
||||||
@@ -115,13 +90,44 @@ namespace FCOMMON
|
|||||||
}
|
}
|
||||||
btQuery.PerformClick();
|
btQuery.PerformClick();
|
||||||
}
|
}
|
||||||
|
void listView1_DragOver(object sender, DragEventArgs e)
|
||||||
|
{
|
||||||
|
this.Cursor = Cursors.Hand;
|
||||||
|
}
|
||||||
|
|
||||||
|
void listView1_DragEnter(object sender, DragEventArgs e)
|
||||||
|
{
|
||||||
|
e.Effect = DragDropEffects.All;
|
||||||
|
}
|
||||||
|
|
||||||
|
void listView1_DragDrop(object sender, DragEventArgs e)
|
||||||
|
{
|
||||||
|
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop, false);
|
||||||
|
if (files.Length < 1) return;
|
||||||
|
string msg = string.Format("{0}건의 파일을 업로드 하시겠습니까?",files.Length);
|
||||||
|
if (FCOMMON.Util.MsgQ(msg) != System.Windows.Forms.DialogResult.Yes) return;
|
||||||
|
foreach(var fileName in files)
|
||||||
|
{
|
||||||
|
System.IO.FileInfo fi = new System.IO.FileInfo(fileName);
|
||||||
|
string remote = tbpath.Text + "/" + fi.Name;
|
||||||
|
ftp.upload(remote, fi.FullName);
|
||||||
|
}
|
||||||
|
btQuery.PerformClick();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void listView1_DoubleClick(object sender, EventArgs e)
|
void listView1_DoubleClick(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var path = listView1.SelectedItems[0].Text;
|
var path = listView1.SelectedItems[0].Text;
|
||||||
var newpath = string.Empty;
|
var newpath = string.Empty;
|
||||||
if (path == "..")
|
if (path == "..")
|
||||||
newpath = ftp.getParent(curPath);
|
{
|
||||||
|
if( this.homePath.Replace("/","") == curPath.Replace("/",""))
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("홈 디렉토리 입니다.");
|
||||||
|
return;
|
||||||
|
} else newpath = ftp.getParent(curPath);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
newpath = ftp.PathCombine(curPath, path);
|
newpath = ftp.PathCombine(curPath, path);
|
||||||
|
|
||||||
@@ -149,6 +155,12 @@ namespace FCOMMON
|
|||||||
|
|
||||||
// var list = ftp.directoryListSimple("/201");
|
// var list = ftp.directoryListSimple("/201");
|
||||||
|
|
||||||
|
var lvup = listView1.Items.Add("..");
|
||||||
|
lvup.SubItems.Add("");
|
||||||
|
lvup.SubItems.Add("");
|
||||||
|
lvup.SubItems.Add("");
|
||||||
|
|
||||||
|
|
||||||
var ftpdir = ftp.ListDirectoryDetail(path);
|
var ftpdir = ftp.ListDirectoryDetail(path);
|
||||||
if(ftpdir == null)
|
if(ftpdir == null)
|
||||||
{
|
{
|
||||||
@@ -158,6 +170,7 @@ namespace FCOMMON
|
|||||||
|
|
||||||
this.progressBar1.Maximum = ftpdir.Count;
|
this.progressBar1.Maximum = ftpdir.Count;
|
||||||
var OrderData = ftpdir.OrderBy(t => t.FileType).OrderBy(t=>t.Filename);
|
var OrderData = ftpdir.OrderBy(t => t.FileType).OrderBy(t=>t.Filename);
|
||||||
|
|
||||||
foreach (var item in OrderData)
|
foreach (var item in OrderData)
|
||||||
{
|
{
|
||||||
this.progressBar1.Value += 1;
|
this.progressBar1.Value += 1;
|
||||||
@@ -195,8 +208,7 @@ namespace FCOMMON
|
|||||||
var selfile = this.listView1.SelectedItems[0];
|
var selfile = this.listView1.SelectedItems[0];
|
||||||
var remotefile = ftp.PathFileCombine(curPath, selfile.Text);
|
var remotefile = ftp.PathFileCombine(curPath, selfile.Text);
|
||||||
var onlyfilename = remotefile.Substring(remotefile.LastIndexOf("/")+1);
|
var onlyfilename = remotefile.Substring(remotefile.LastIndexOf("/")+1);
|
||||||
|
|
||||||
|
|
||||||
SaveFileDialog od = new SaveFileDialog();
|
SaveFileDialog od = new SaveFileDialog();
|
||||||
od.Filter = "All files|*.*";
|
od.Filter = "All files|*.*";
|
||||||
od.FilterIndex = 1;
|
od.FilterIndex = 1;
|
||||||
@@ -204,7 +216,6 @@ namespace FCOMMON
|
|||||||
|
|
||||||
if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
|
if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
|
||||||
|
|
||||||
|
|
||||||
System.IO.FileInfo fi = new System.IO.FileInfo(od.FileName);
|
System.IO.FileInfo fi = new System.IO.FileInfo(od.FileName);
|
||||||
string newfile = ftp.PathFileCombine(curPath, fi.Name);
|
string newfile = ftp.PathFileCombine(curPath, fi.Name);
|
||||||
if (!ftp.download(remotefile,od.FileName))
|
if (!ftp.download(remotefile,od.FileName))
|
||||||
|
|||||||
303
SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
generated
303
SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
generated
@@ -30,30 +30,30 @@
|
|||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase));
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType37 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType38 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType39 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType40 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType41 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType42 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType43 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType44 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType45 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType46 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType47 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType48 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
FarPoint.Win.Spread.CellType.NumberCellType numberCellType13 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType49 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
FarPoint.Win.Spread.CellType.NumberCellType numberCellType14 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType50 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType51 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType52 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType53 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType54 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||||
this.dsPurchase = new FEQ0000.dsPurchase();
|
this.dsPurchase = new FEQ0000.dsPurchase();
|
||||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||||
this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
|
this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||||
@@ -68,9 +68,10 @@
|
|||||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
this.btAdd = new System.Windows.Forms.ToolStripButton();
|
||||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
this.btCopy = new System.Windows.Forms.ToolStripButton();
|
||||||
this.btEdit = new System.Windows.Forms.ToolStripButton();
|
this.btEdit = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.btDel = new System.Windows.Forms.ToolStripButton();
|
||||||
this.btSave = new System.Windows.Forms.ToolStripButton();
|
this.btSave = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.lbSum = new System.Windows.Forms.ToolStripLabel();
|
this.lbSum = new System.Windows.Forms.ToolStripLabel();
|
||||||
@@ -84,12 +85,6 @@
|
|||||||
this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
|
||||||
this.copyDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.editDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.deleteDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
|
|
||||||
this.viewThisUserDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.exportDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.exportDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.ㅕCustomDataCopyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.ㅕCustomDataCopyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
@@ -156,7 +151,6 @@
|
|||||||
this.bn.CountItem = this.bindingNavigatorCountItem;
|
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||||
this.bn.DeleteItem = null;
|
this.bn.DeleteItem = null;
|
||||||
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
this.bn.ImageScalingSize = new System.Drawing.Size(24, 24);
|
|
||||||
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.bindingNavigatorMoveFirstItem,
|
this.bindingNavigatorMoveFirstItem,
|
||||||
this.bindingNavigatorMovePreviousItem,
|
this.bindingNavigatorMovePreviousItem,
|
||||||
@@ -167,9 +161,10 @@
|
|||||||
this.bindingNavigatorMoveNextItem,
|
this.bindingNavigatorMoveNextItem,
|
||||||
this.bindingNavigatorMoveLastItem,
|
this.bindingNavigatorMoveLastItem,
|
||||||
this.bindingNavigatorSeparator2,
|
this.bindingNavigatorSeparator2,
|
||||||
this.bindingNavigatorAddNewItem,
|
this.btAdd,
|
||||||
this.bindingNavigatorDeleteItem,
|
this.btCopy,
|
||||||
this.btEdit,
|
this.btEdit,
|
||||||
|
this.btDel,
|
||||||
this.btSave,
|
this.btSave,
|
||||||
this.toolStripSeparator1,
|
this.toolStripSeparator1,
|
||||||
this.lbSum,
|
this.lbSum,
|
||||||
@@ -177,21 +172,21 @@
|
|||||||
this.toolStripLabel2,
|
this.toolStripLabel2,
|
||||||
this.tbFind,
|
this.tbFind,
|
||||||
this.btFind});
|
this.btFind});
|
||||||
this.bn.Location = new System.Drawing.Point(0, 634);
|
this.bn.Location = new System.Drawing.Point(0, 639);
|
||||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||||
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||||
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||||
this.bn.Name = "bn";
|
this.bn.Name = "bn";
|
||||||
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||||
this.bn.Size = new System.Drawing.Size(1074, 31);
|
this.bn.Size = new System.Drawing.Size(1074, 26);
|
||||||
this.bn.TabIndex = 0;
|
this.bn.TabIndex = 0;
|
||||||
this.bn.Text = "bindingNavigator1";
|
this.bn.Text = "bindingNavigator1";
|
||||||
//
|
//
|
||||||
// bindingNavigatorCountItem
|
// bindingNavigatorCountItem
|
||||||
//
|
//
|
||||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 28);
|
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 23);
|
||||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||||
//
|
//
|
||||||
@@ -201,7 +196,7 @@
|
|||||||
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||||
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||||
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||||
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(28, 28);
|
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 23);
|
||||||
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||||
//
|
//
|
||||||
// bindingNavigatorMovePreviousItem
|
// bindingNavigatorMovePreviousItem
|
||||||
@@ -210,13 +205,13 @@
|
|||||||
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||||
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||||
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||||
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(28, 28);
|
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 23);
|
||||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||||
//
|
//
|
||||||
// bindingNavigatorSeparator
|
// bindingNavigatorSeparator
|
||||||
//
|
//
|
||||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 31);
|
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 26);
|
||||||
//
|
//
|
||||||
// bindingNavigatorPositionItem
|
// bindingNavigatorPositionItem
|
||||||
//
|
//
|
||||||
@@ -230,7 +225,7 @@
|
|||||||
// bindingNavigatorSeparator1
|
// bindingNavigatorSeparator1
|
||||||
//
|
//
|
||||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 31);
|
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 26);
|
||||||
//
|
//
|
||||||
// bindingNavigatorMoveNextItem
|
// bindingNavigatorMoveNextItem
|
||||||
//
|
//
|
||||||
@@ -238,7 +233,7 @@
|
|||||||
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||||
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||||
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||||
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(28, 28);
|
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 23);
|
||||||
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||||
//
|
//
|
||||||
// bindingNavigatorMoveLastItem
|
// bindingNavigatorMoveLastItem
|
||||||
@@ -247,81 +242,90 @@
|
|||||||
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||||
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||||
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||||
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(28, 28);
|
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 23);
|
||||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||||
//
|
//
|
||||||
// bindingNavigatorSeparator2
|
// bindingNavigatorSeparator2
|
||||||
//
|
//
|
||||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 31);
|
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 26);
|
||||||
//
|
//
|
||||||
// bindingNavigatorAddNewItem
|
// btAdd
|
||||||
//
|
//
|
||||||
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image")));
|
||||||
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
this.btAdd.Name = "btAdd";
|
||||||
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
this.btAdd.RightToLeftAutoMirrorImage = true;
|
||||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(75, 28);
|
this.btAdd.Size = new System.Drawing.Size(67, 23);
|
||||||
this.bindingNavigatorAddNewItem.Text = "추가(&A)";
|
this.btAdd.Text = "추가(&A)";
|
||||||
this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
|
this.btAdd.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
|
||||||
//
|
//
|
||||||
// bindingNavigatorDeleteItem
|
// btCopy
|
||||||
//
|
//
|
||||||
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
this.btCopy.Image = ((System.Drawing.Image)(resources.GetObject("btCopy.Image")));
|
||||||
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
this.btCopy.Name = "btCopy";
|
||||||
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(76, 28);
|
this.btCopy.Size = new System.Drawing.Size(67, 23);
|
||||||
this.bindingNavigatorDeleteItem.Text = "삭제(&D)";
|
this.btCopy.Text = "복사(&C)";
|
||||||
this.bindingNavigatorDeleteItem.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click);
|
this.btCopy.Click += new System.EventHandler(this.toolStripButton1_Click_2);
|
||||||
//
|
//
|
||||||
// btEdit
|
// btEdit
|
||||||
//
|
//
|
||||||
this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image")));
|
this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image")));
|
||||||
this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.btEdit.Name = "btEdit";
|
this.btEdit.Name = "btEdit";
|
||||||
this.btEdit.Size = new System.Drawing.Size(73, 28);
|
this.btEdit.Size = new System.Drawing.Size(65, 23);
|
||||||
this.btEdit.Text = "편집(&E)";
|
this.btEdit.Text = "편집(&E)";
|
||||||
this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click);
|
this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click);
|
||||||
//
|
//
|
||||||
|
// btDel
|
||||||
|
//
|
||||||
|
this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image")));
|
||||||
|
this.btDel.Name = "btDel";
|
||||||
|
this.btDel.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.btDel.Size = new System.Drawing.Size(68, 23);
|
||||||
|
this.btDel.Text = "삭제(&D)";
|
||||||
|
this.btDel.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click);
|
||||||
|
//
|
||||||
// btSave
|
// btSave
|
||||||
//
|
//
|
||||||
this.btSave.Image = global::FEQ0000.Properties.Resources.action_save;
|
this.btSave.Image = global::FEQ0000.Properties.Resources.action_save;
|
||||||
this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.btSave.Name = "btSave";
|
this.btSave.Name = "btSave";
|
||||||
this.btSave.Size = new System.Drawing.Size(74, 28);
|
this.btSave.Size = new System.Drawing.Size(66, 23);
|
||||||
this.btSave.Text = "저장(&S)";
|
this.btSave.Text = "저장(&S)";
|
||||||
this.btSave.Click += new System.EventHandler(this.btSave_Click);
|
this.btSave.Click += new System.EventHandler(this.btSave_Click);
|
||||||
//
|
//
|
||||||
// toolStripSeparator1
|
// toolStripSeparator1
|
||||||
//
|
//
|
||||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 31);
|
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 26);
|
||||||
//
|
//
|
||||||
// lbSum
|
// lbSum
|
||||||
//
|
//
|
||||||
this.lbSum.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
this.lbSum.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||||
this.lbSum.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.lbSum.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.lbSum.Name = "lbSum";
|
this.lbSum.Name = "lbSum";
|
||||||
this.lbSum.Size = new System.Drawing.Size(22, 28);
|
this.lbSum.Size = new System.Drawing.Size(22, 23);
|
||||||
this.lbSum.Text = "0";
|
this.lbSum.Text = "0";
|
||||||
//
|
//
|
||||||
// toolStripLabel5
|
// toolStripLabel5
|
||||||
//
|
//
|
||||||
this.toolStripLabel5.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
this.toolStripLabel5.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||||
this.toolStripLabel5.Name = "toolStripLabel5";
|
this.toolStripLabel5.Name = "toolStripLabel5";
|
||||||
this.toolStripLabel5.Size = new System.Drawing.Size(31, 28);
|
this.toolStripLabel5.Size = new System.Drawing.Size(31, 23);
|
||||||
this.toolStripLabel5.Text = "합계";
|
this.toolStripLabel5.Text = "합계";
|
||||||
//
|
//
|
||||||
// toolStripLabel2
|
// toolStripLabel2
|
||||||
//
|
//
|
||||||
this.toolStripLabel2.Name = "toolStripLabel2";
|
this.toolStripLabel2.Name = "toolStripLabel2";
|
||||||
this.toolStripLabel2.Size = new System.Drawing.Size(31, 28);
|
this.toolStripLabel2.Size = new System.Drawing.Size(31, 23);
|
||||||
this.toolStripLabel2.Text = "검색";
|
this.toolStripLabel2.Text = "검색";
|
||||||
//
|
//
|
||||||
// tbFind
|
// tbFind
|
||||||
//
|
//
|
||||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
this.tbFind.Name = "tbFind";
|
this.tbFind.Name = "tbFind";
|
||||||
this.tbFind.Size = new System.Drawing.Size(100, 31);
|
this.tbFind.Size = new System.Drawing.Size(100, 26);
|
||||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
||||||
//
|
//
|
||||||
// btFind
|
// btFind
|
||||||
@@ -330,7 +334,7 @@
|
|||||||
this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image")));
|
this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image")));
|
||||||
this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.btFind.Name = "btFind";
|
this.btFind.Name = "btFind";
|
||||||
this.btFind.Size = new System.Drawing.Size(28, 28);
|
this.btFind.Size = new System.Drawing.Size(23, 23);
|
||||||
this.btFind.Text = "toolStripButton2";
|
this.btFind.Text = "toolStripButton2";
|
||||||
this.btFind.Click += new System.EventHandler(this.btFind_Click);
|
this.btFind.Click += new System.EventHandler(this.btFind_Click);
|
||||||
//
|
//
|
||||||
@@ -339,18 +343,12 @@
|
|||||||
this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F);
|
this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F);
|
||||||
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.columnSizeToolStripMenuItem,
|
this.columnSizeToolStripMenuItem,
|
||||||
this.toolStripMenuItem1,
|
|
||||||
this.copyDataToolStripMenuItem,
|
|
||||||
this.editDataToolStripMenuItem,
|
|
||||||
this.deleteDataToolStripMenuItem,
|
|
||||||
this.toolStripMenuItem2,
|
|
||||||
this.viewThisUserDataToolStripMenuItem,
|
|
||||||
this.exportDataToolStripMenuItem,
|
this.exportDataToolStripMenuItem,
|
||||||
this.toolStripMenuItem3,
|
this.toolStripMenuItem3,
|
||||||
this.ㅕCustomDataCopyToolStripMenuItem,
|
this.ㅕCustomDataCopyToolStripMenuItem,
|
||||||
this.toolStripMenuItem4});
|
this.toolStripMenuItem4});
|
||||||
this.cm1.Name = "contextMenuStrip1";
|
this.cm1.Name = "contextMenuStrip1";
|
||||||
this.cm1.Size = new System.Drawing.Size(337, 322);
|
this.cm1.Size = new System.Drawing.Size(317, 164);
|
||||||
//
|
//
|
||||||
// columnSizeToolStripMenuItem
|
// columnSizeToolStripMenuItem
|
||||||
//
|
//
|
||||||
@@ -395,44 +393,6 @@
|
|||||||
this.loadToolStripMenuItem.Text = "Load";
|
this.loadToolStripMenuItem.Text = "Load";
|
||||||
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
|
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// toolStripMenuItem1
|
|
||||||
//
|
|
||||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
|
||||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(333, 6);
|
|
||||||
//
|
|
||||||
// copyDataToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.copyDataToolStripMenuItem.Name = "copyDataToolStripMenuItem";
|
|
||||||
this.copyDataToolStripMenuItem.Size = new System.Drawing.Size(336, 42);
|
|
||||||
this.copyDataToolStripMenuItem.Text = "Copy Data";
|
|
||||||
this.copyDataToolStripMenuItem.Click += new System.EventHandler(this.copyDataToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// editDataToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.editDataToolStripMenuItem.Name = "editDataToolStripMenuItem";
|
|
||||||
this.editDataToolStripMenuItem.Size = new System.Drawing.Size(336, 42);
|
|
||||||
this.editDataToolStripMenuItem.Text = "Edit Data";
|
|
||||||
this.editDataToolStripMenuItem.Click += new System.EventHandler(this.editDataToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// deleteDataToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.deleteDataToolStripMenuItem.Name = "deleteDataToolStripMenuItem";
|
|
||||||
this.deleteDataToolStripMenuItem.Size = new System.Drawing.Size(336, 42);
|
|
||||||
this.deleteDataToolStripMenuItem.Text = "Delete Data";
|
|
||||||
this.deleteDataToolStripMenuItem.Click += new System.EventHandler(this.deleteDataToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// toolStripMenuItem2
|
|
||||||
//
|
|
||||||
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
|
||||||
this.toolStripMenuItem2.Size = new System.Drawing.Size(333, 6);
|
|
||||||
//
|
|
||||||
// viewThisUserDataToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.viewThisUserDataToolStripMenuItem.Name = "viewThisUserDataToolStripMenuItem";
|
|
||||||
this.viewThisUserDataToolStripMenuItem.Size = new System.Drawing.Size(336, 42);
|
|
||||||
this.viewThisUserDataToolStripMenuItem.Text = "View This User data";
|
|
||||||
this.viewThisUserDataToolStripMenuItem.Click += new System.EventHandler(this.viewThisUserDataToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// exportDataToolStripMenuItem
|
// exportDataToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.exportDataToolStripMenuItem.Name = "exportDataToolStripMenuItem";
|
this.exportDataToolStripMenuItem.Name = "exportDataToolStripMenuItem";
|
||||||
@@ -572,8 +532,8 @@
|
|||||||
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
|
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
|
||||||
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.btSearch.Name = "btSearch";
|
this.btSearch.Name = "btSearch";
|
||||||
this.btSearch.Size = new System.Drawing.Size(98, 28);
|
this.btSearch.Size = new System.Drawing.Size(74, 28);
|
||||||
this.btSearch.Text = "새로고침(&R)";
|
this.btSearch.Text = "조회(&R)";
|
||||||
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
||||||
//
|
//
|
||||||
// toolStripSeparator5
|
// toolStripSeparator5
|
||||||
@@ -662,7 +622,7 @@
|
|||||||
this.fpSpread1.Name = "fpSpread1";
|
this.fpSpread1.Name = "fpSpread1";
|
||||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||||
this.fpSpread1_Sheet1});
|
this.fpSpread1_Sheet1});
|
||||||
this.fpSpread1.Size = new System.Drawing.Size(1074, 603);
|
this.fpSpread1.Size = new System.Drawing.Size(1074, 608);
|
||||||
this.fpSpread1.StatusBarVisible = true;
|
this.fpSpread1.StatusBarVisible = true;
|
||||||
this.fpSpread1.TabIndex = 4;
|
this.fpSpread1.TabIndex = 4;
|
||||||
//
|
//
|
||||||
@@ -706,7 +666,7 @@
|
|||||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F;
|
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true;
|
this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoSort = true;
|
this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoSort = true;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
|
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType37;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate";
|
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "등록일";
|
this.fpSpread1_Sheet1.Columns.Get(0).Label = "등록일";
|
||||||
@@ -714,7 +674,7 @@
|
|||||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 82F;
|
this.fpSpread1_Sheet1.Columns.Get(0).Width = 82F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
|
this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
|
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType38;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "state";
|
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "state";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).Label = "상태";
|
this.fpSpread1_Sheet1.Columns.Get(1).Label = "상태";
|
||||||
@@ -722,155 +682,155 @@
|
|||||||
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 66F;
|
this.fpSpread1_Sheet1.Columns.Get(1).Width = 66F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
|
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3;
|
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType39;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "process";
|
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "process";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "공정";
|
this.fpSpread1_Sheet1.Columns.Get(2).Label = "공정";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(2).Width = 67F;
|
this.fpSpread1_Sheet1.Columns.Get(2).Width = 67F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
|
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4;
|
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType40;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "request";
|
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "request";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "요청";
|
this.fpSpread1_Sheet1.Columns.Get(3).Label = "요청";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 48F;
|
this.fpSpread1_Sheet1.Columns.Get(3).Width = 48F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5;
|
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType41;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "sc";
|
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "sc";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "SC#";
|
this.fpSpread1_Sheet1.Columns.Get(4).Label = "SC#";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 27F;
|
this.fpSpread1_Sheet1.Columns.Get(4).Width = 27F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6;
|
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType42;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "orderno";
|
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "orderno";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "CR/CF#";
|
this.fpSpread1_Sheet1.Columns.Get(5).Label = "CR/CF#";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 44F;
|
this.fpSpread1_Sheet1.Columns.Get(5).Width = 44F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7;
|
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType43;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "receive";
|
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "receive";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "수령";
|
this.fpSpread1_Sheet1.Columns.Get(6).Label = "수령";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 46F;
|
this.fpSpread1_Sheet1.Columns.Get(6).Width = 46F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoSort = true;
|
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoSort = true;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8;
|
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType44;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "sid";
|
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "sid";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).Label = "SID#";
|
this.fpSpread1_Sheet1.Columns.Get(7).Label = "SID#";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 55F;
|
this.fpSpread1_Sheet1.Columns.Get(7).Width = 55F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9;
|
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType45;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "pumname";
|
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "pumname";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "품명";
|
this.fpSpread1_Sheet1.Columns.Get(8).Label = "품명";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 33F;
|
this.fpSpread1_Sheet1.Columns.Get(8).Width = 33F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
this.fpSpread1_Sheet1.Columns.Get(9).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
numberCellType1.DecimalPlaces = 0;
|
numberCellType11.DecimalPlaces = 0;
|
||||||
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
numberCellType11.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||||
numberCellType1.MaximumValue = 2147483647D;
|
numberCellType11.MaximumValue = 2147483647D;
|
||||||
numberCellType1.MinimumValue = -2147483648D;
|
numberCellType11.MinimumValue = -2147483648D;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType1;
|
this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType11;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumidx";
|
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumidx";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).Label = "*";
|
this.fpSpread1_Sheet1.Columns.Get(9).Label = "*";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).Width = 14F;
|
this.fpSpread1_Sheet1.Columns.Get(9).Width = 14F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10;
|
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType46;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "pumscale";
|
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "pumscale";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(10).Label = "규격";
|
this.fpSpread1_Sheet1.Columns.Get(10).Label = "규격";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(10).Width = 43F;
|
this.fpSpread1_Sheet1.Columns.Get(10).Width = 43F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11;
|
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType47;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "dept";
|
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "dept";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(11).Label = "장비\r\n제조사";
|
this.fpSpread1_Sheet1.Columns.Get(11).Label = "장비\r\n제조사";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11;
|
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType47;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "manuproc";
|
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "manuproc";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(12).Label = "제조\r\n공정";
|
this.fpSpread1_Sheet1.Columns.Get(12).Label = "제조\r\n공정";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType11;
|
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType47;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "asset";
|
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "asset";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(13).Label = "장비\r\n모델";
|
this.fpSpread1_Sheet1.Columns.Get(13).Label = "장비\r\n모델";
|
||||||
numberCellType2.DecimalPlaces = 0;
|
numberCellType12.DecimalPlaces = 0;
|
||||||
numberCellType2.NegativeRed = true;
|
numberCellType12.NegativeRed = true;
|
||||||
numberCellType2.NullDisplay = "--";
|
numberCellType12.NullDisplay = "--";
|
||||||
numberCellType2.Separator = ",";
|
numberCellType12.Separator = ",";
|
||||||
numberCellType2.ShowSeparator = true;
|
numberCellType12.ShowSeparator = true;
|
||||||
numberCellType2.ShrinkToFit = true;
|
numberCellType12.ShrinkToFit = true;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType2;
|
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType12;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumqty";
|
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumqty";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(14).Label = "수량";
|
this.fpSpread1_Sheet1.Columns.Get(14).Label = "수량";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(14).Width = 44F;
|
this.fpSpread1_Sheet1.Columns.Get(14).Width = 44F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType12;
|
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType48;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumunit";
|
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumunit";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(15).Label = "단위";
|
this.fpSpread1_Sheet1.Columns.Get(15).Label = "단위";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(15).Width = 46F;
|
this.fpSpread1_Sheet1.Columns.Get(15).Width = 46F;
|
||||||
numberCellType3.DecimalPlaces = 0;
|
numberCellType13.DecimalPlaces = 0;
|
||||||
numberCellType3.NegativeRed = true;
|
numberCellType13.NegativeRed = true;
|
||||||
numberCellType3.NullDisplay = "--";
|
numberCellType13.NullDisplay = "--";
|
||||||
numberCellType3.Separator = ",";
|
numberCellType13.Separator = ",";
|
||||||
numberCellType3.ShowSeparator = true;
|
numberCellType13.ShowSeparator = true;
|
||||||
numberCellType3.ShrinkToFit = true;
|
numberCellType13.ShrinkToFit = true;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType3;
|
this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType13;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumprice";
|
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumprice";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(16).Label = "단가";
|
this.fpSpread1_Sheet1.Columns.Get(16).Label = "단가";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(16).Width = 35F;
|
this.fpSpread1_Sheet1.Columns.Get(16).Width = 35F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType3;
|
this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType13;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumamt";
|
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumamt";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(17).Label = "합계금액";
|
this.fpSpread1_Sheet1.Columns.Get(17).Label = "합계금액";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(17).Width = 32F;
|
this.fpSpread1_Sheet1.Columns.Get(17).Width = 32F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(18).AllowAutoFilter = true;
|
this.fpSpread1_Sheet1.Columns.Get(18).AllowAutoFilter = true;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType13;
|
this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType49;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "supply";
|
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "supply";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(18).Label = "공급업체";
|
this.fpSpread1_Sheet1.Columns.Get(18).Label = "공급업체";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(18).Width = 46F;
|
this.fpSpread1_Sheet1.Columns.Get(18).Width = 46F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(19).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
this.fpSpread1_Sheet1.Columns.Get(19).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
numberCellType4.DecimalPlaces = 0;
|
numberCellType14.DecimalPlaces = 0;
|
||||||
numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
numberCellType14.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||||
numberCellType4.MaximumValue = 2147483647D;
|
numberCellType14.MaximumValue = 2147483647D;
|
||||||
numberCellType4.MinimumValue = -2147483648D;
|
numberCellType14.MinimumValue = -2147483648D;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType4;
|
this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType14;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "supplyidx";
|
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "supplyidx";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(19).Label = "*";
|
this.fpSpread1_Sheet1.Columns.Get(19).Label = "*";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(19).Width = 14F;
|
this.fpSpread1_Sheet1.Columns.Get(19).Width = 14F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType14;
|
this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType50;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "project";
|
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "project";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(20).Label = "관련프로젝트";
|
this.fpSpread1_Sheet1.Columns.Get(20).Label = "관련프로젝트";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(20).Width = 46F;
|
this.fpSpread1_Sheet1.Columns.Get(20).Width = 46F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(21).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
this.fpSpread1_Sheet1.Columns.Get(21).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
numberCellType5.DecimalPlaces = 0;
|
numberCellType15.DecimalPlaces = 0;
|
||||||
numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
numberCellType15.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||||
numberCellType5.MaximumValue = 2147483647D;
|
numberCellType15.MaximumValue = 2147483647D;
|
||||||
numberCellType5.MinimumValue = -2147483648D;
|
numberCellType15.MinimumValue = -2147483648D;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType5;
|
this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType15;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "projectidx";
|
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "projectidx";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(21).Label = "*";
|
this.fpSpread1_Sheet1.Columns.Get(21).Label = "*";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(21).Width = 14F;
|
this.fpSpread1_Sheet1.Columns.Get(21).Width = 14F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType15;
|
this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType51;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "edate";
|
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "edate";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(22).Label = "입고예정";
|
this.fpSpread1_Sheet1.Columns.Get(22).Label = "입고예정";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(22).Width = 38F;
|
this.fpSpread1_Sheet1.Columns.Get(22).Width = 38F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType16;
|
this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType52;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "indate";
|
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "indate";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(23).Label = "입고일";
|
this.fpSpread1_Sheet1.Columns.Get(23).Label = "입고일";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(23).Width = 42F;
|
this.fpSpread1_Sheet1.Columns.Get(23).Width = 42F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17;
|
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType53;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "po";
|
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "po";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(24).Label = "PO#";
|
this.fpSpread1_Sheet1.Columns.Get(24).Label = "PO#";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(24).Width = 41F;
|
this.fpSpread1_Sheet1.Columns.Get(24).Width = 41F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType18;
|
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType54;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "bigo";
|
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "bigo";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(25).Label = "비고";
|
this.fpSpread1_Sheet1.Columns.Get(25).Label = "비고";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(25).Width = 33F;
|
this.fpSpread1_Sheet1.Columns.Get(25).Width = 33F;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(26).CellType = checkBoxCellType1;
|
this.fpSpread1_Sheet1.Columns.Get(26).CellType = checkBoxCellType3;
|
||||||
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "isdel";
|
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "isdel";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(26).Label = "삭제됨";
|
this.fpSpread1_Sheet1.Columns.Get(26).Label = "삭제됨";
|
||||||
this.fpSpread1_Sheet1.Columns.Get(26).Tag = "isdel";
|
this.fpSpread1_Sheet1.Columns.Get(26).Tag = "isdel";
|
||||||
@@ -914,9 +874,9 @@
|
|||||||
private dsPurchaseTableAdapters.PurchaseTableAdapter ta;
|
private dsPurchaseTableAdapters.PurchaseTableAdapter ta;
|
||||||
private dsPurchaseTableAdapters.TableAdapterManager tam;
|
private dsPurchaseTableAdapters.TableAdapterManager tam;
|
||||||
private System.Windows.Forms.BindingNavigator bn;
|
private System.Windows.Forms.BindingNavigator bn;
|
||||||
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
private System.Windows.Forms.ToolStripButton btAdd;
|
||||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||||
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
private System.Windows.Forms.ToolStripButton btDel;
|
||||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||||
@@ -941,15 +901,10 @@
|
|||||||
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
||||||
private System.Windows.Forms.ToolStripComboBox cmbState;
|
private System.Windows.Forms.ToolStripComboBox cmbState;
|
||||||
private System.Windows.Forms.ToolStripMenuItem viewThisUserDataToolStripMenuItem;
|
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
|
||||||
private System.Windows.Forms.ToolStripMenuItem copyDataToolStripMenuItem;
|
|
||||||
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
|
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
|
||||||
private System.Windows.Forms.ToolStripTextBox tbFind;
|
private System.Windows.Forms.ToolStripTextBox tbFind;
|
||||||
private System.Windows.Forms.ToolStripButton btFind;
|
private System.Windows.Forms.ToolStripButton btFind;
|
||||||
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
||||||
private System.Windows.Forms.ToolStripMenuItem editDataToolStripMenuItem;
|
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
|
|
||||||
private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem autoToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem autoToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem;
|
||||||
@@ -963,7 +918,6 @@
|
|||||||
private System.Windows.Forms.ToolStripMenuItem 금일입고품목ToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem 금일입고품목ToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem 내가등록한자료ToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem 내가등록한자료ToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem 이번달자료ToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem 이번달자료ToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem deleteDataToolStripMenuItem;
|
|
||||||
private System.Windows.Forms.ToolStripButton btViewDel;
|
private System.Windows.Forms.ToolStripButton btViewDel;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton2;
|
private System.Windows.Forms.ToolStripButton toolStripButton2;
|
||||||
private System.Windows.Forms.ToolStripDropDownButton toolStripButton3;
|
private System.Windows.Forms.ToolStripDropDownButton toolStripButton3;
|
||||||
@@ -974,5 +928,6 @@
|
|||||||
private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem4;
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem4;
|
||||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||||
|
private System.Windows.Forms.ToolStripButton btCopy;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -435,55 +435,7 @@ namespace FEQ0000
|
|||||||
|
|
||||||
private void copyDataToolStripMenuItem_Click(object sender, EventArgs e)
|
private void copyDataToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var drv = this.bs.Current as DataRowView;
|
|
||||||
if (drv == null) return;
|
|
||||||
var dr = drv.Row as dsPurchase.PurchaseRow;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//현재 데이터를 입력하여 신규 추가를 한다.
|
|
||||||
var newdr = this.dsPurchase.Purchase.NewPurchaseRow();
|
|
||||||
FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr);
|
|
||||||
newdr.wdate = DateTime.Now;
|
|
||||||
newdr.wuid = FCOMMON.info.Login.no;
|
|
||||||
newdr.state = "---";
|
|
||||||
newdr.request = FCOMMON.info.Login.nameK;
|
|
||||||
newdr.receive = FCOMMON.info.Login.nameK;
|
|
||||||
newdr.sc = string.Empty;
|
|
||||||
newdr.po = string.Empty;
|
|
||||||
newdr.indate = string.Empty;
|
|
||||||
newdr.edate = string.Empty;
|
|
||||||
newdr.idx = -1;
|
|
||||||
newdr.EndEdit();
|
|
||||||
|
|
||||||
repeat:
|
|
||||||
fPurchase_Add f = new fPurchase_Add(newdr);
|
|
||||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
|
||||||
{
|
|
||||||
//존재하지 않는 sid 는 추가를 해준다.
|
|
||||||
var newidx = AddItemInfoGetIndex(newdr);
|
|
||||||
if (newidx != -1)
|
|
||||||
{
|
|
||||||
newdr.pumidx = newidx;
|
|
||||||
newdr.EndEdit();
|
|
||||||
}
|
|
||||||
|
|
||||||
this.dsPurchase.Purchase.AddPurchaseRow(newdr);
|
|
||||||
this.ta.Update(newdr);
|
|
||||||
newdr.AcceptChanges();
|
|
||||||
|
|
||||||
if (f.repeatAdd)
|
|
||||||
{
|
|
||||||
var newdro = this.dsPurchase.Purchase.NewPurchaseRow();
|
|
||||||
FCOMMON.Util.CopyData(newdr, newdro);
|
|
||||||
newdro.idx = -1;
|
|
||||||
newdro.wdate = DateTime.Now;
|
|
||||||
newdr = newdro; //change
|
|
||||||
goto repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
else newdr.Delete();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btFind_Click(object sender, EventArgs e)
|
private void btFind_Click(object sender, EventArgs e)
|
||||||
@@ -531,7 +483,7 @@ namespace FEQ0000
|
|||||||
if (drv == null) return;
|
if (drv == null) return;
|
||||||
var dr = drv.Row as dsPurchase.PurchaseRow;
|
var dr = drv.Row as dsPurchase.PurchaseRow;
|
||||||
|
|
||||||
fPurchase_Add f = new fPurchase_Add(dr);
|
var f = new fPurchase_Add(dr);
|
||||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||||
{
|
{
|
||||||
//존재하지 않는 sid 는 추가를 해준다.
|
//존재하지 않는 sid 는 추가를 해준다.
|
||||||
@@ -725,15 +677,58 @@ namespace FEQ0000
|
|||||||
//FCOMMON.Util.MsgI("다음 데이터가 클립보드에 저장됨\n\n" + buffer); 190131
|
//FCOMMON.Util.MsgI("다음 데이터가 클립보드에 저장됨\n\n" + buffer); 190131
|
||||||
}
|
}
|
||||||
|
|
||||||
private void fdsaToolStripMenuItem_Click(object sender, EventArgs e)
|
|
||||||
|
private void toolStripButton1_Click_2(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
var drv = this.bs.Current as DataRowView;
|
||||||
}
|
if (drv == null) return;
|
||||||
|
var dr = drv.Row as dsPurchase.PurchaseRow;
|
||||||
|
|
||||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//현재 데이터를 입력하여 신규 추가를 한다.
|
||||||
|
var newdr = this.dsPurchase.Purchase.NewPurchaseRow();
|
||||||
|
FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr);
|
||||||
|
newdr.wdate = DateTime.Now;
|
||||||
|
newdr.wuid = FCOMMON.info.Login.no;
|
||||||
|
newdr.state = "---";
|
||||||
|
newdr.request = FCOMMON.info.Login.nameK;
|
||||||
|
newdr.receive = FCOMMON.info.Login.nameK;
|
||||||
|
newdr.sc = string.Empty;
|
||||||
|
newdr.po = string.Empty;
|
||||||
|
newdr.indate = string.Empty;
|
||||||
|
newdr.edate = string.Empty;
|
||||||
|
newdr.idx = -1;
|
||||||
|
newdr.EndEdit();
|
||||||
|
|
||||||
|
repeat:
|
||||||
|
fPurchase_Add f = new fPurchase_Add(newdr);
|
||||||
|
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||||
|
{
|
||||||
|
//존재하지 않는 sid 는 추가를 해준다.
|
||||||
|
var newidx = AddItemInfoGetIndex(newdr);
|
||||||
|
if (newidx != -1)
|
||||||
|
{
|
||||||
|
newdr.pumidx = newidx;
|
||||||
|
newdr.EndEdit();
|
||||||
|
}
|
||||||
|
|
||||||
|
this.dsPurchase.Purchase.AddPurchaseRow(newdr);
|
||||||
|
this.ta.Update(newdr);
|
||||||
|
newdr.AcceptChanges();
|
||||||
|
|
||||||
|
if (f.repeatAdd)
|
||||||
|
{
|
||||||
|
var newdro = this.dsPurchase.Purchase.NewPurchaseRow();
|
||||||
|
FCOMMON.Util.CopyData(newdr, newdro);
|
||||||
|
newdro.idx = -1;
|
||||||
|
newdro.wdate = DateTime.Now;
|
||||||
|
newdr = newdro; //change
|
||||||
|
goto repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else newdr.Delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -173,7 +173,7 @@
|
|||||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="btAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||||
@@ -185,16 +185,16 @@
|
|||||||
rkJggg==
|
rkJggg==
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="btCopy.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFDSURBVDhPlZK9SgNREIXzOpY+gEXQIg+QkMLOTuwsLNRU
|
||||||
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
ViKIja0SbMRCBQsLUxgQArERf1ARCaLBCErUIoWJjnyzTna4Ccs6cLLkzpzvnr17M5KiMknFQPXyQfbO
|
||||||
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
m6rNkxtZ3q9LqVyR2bVdVSKEJsbr53dpvnVUrx/RE61W2zI5v6EQqz9rVCwAYLj2+KP6VyL+bJ825LPz
|
||||||
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
pWYzpknUB7CLARgIE6HK/bfO0F86aklhZiWC8ENEA9D0iUKAKRHgE5kZHdz2VPTyUwsxYHHrWN+TIQAe
|
||||||
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
6M07F10VvVx+OgZwsgaYO3wZAHhz+ayr5zMAwGAAn8gDMA8F8Fmu7p4Uwh3wibx5vd5TNVptyeaKMQAD
|
||||||
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
p4o4HJ9oGAD42EQhBoTlE9kFYleEmZQjo+M6q5fJF4thIt4XEZudMfc/Y1i6mrpEfgGL0hchHI3KDgAA
|
||||||
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
AABJRU5ErkJggg==
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="btEdit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="btEdit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
@@ -206,6 +206,18 @@
|
|||||||
0bcX/C3MXEfAfmzBsnCnP10uWBWu3IS+gJOm0w5fHCZiw0aQzu3GC0xYgm2R+poTRnh8HeqNOALu920w
|
0bcX/C3MXEfAfmzBsnCnP10uWBWu3IS+gJOm0w5fHCZiw0aQzu3GC0xYgm2R+poTRnh8HeqNOALu920w
|
||||||
9MK0F8NGkMrs+ALewqrwUXss3ed+vKB6H+rh2OT3SjpO0IBgcyvnCjgDBGCq8mcMiQ3FHAGdLB/J4vMF
|
9MK0F8NGkMrs+ALewqrwUXss3ed+vKB6H+rh2OT3SjpO0IBgcyvnCjgDBGCq8mcMiQ3FHAGdLB/J4vMF
|
||||||
KhoI83LXk6m5gCpmufbyOWlgv0BVIMx4JPj7JzIDGHRUPz2nxiQAAAAASUVORK5CYII=
|
KhoI83LXk6m5gCpmufbyOWlgv0BVIMx4JPj7JzIDGHRUPz2nxiQAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="btDel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
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=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
|||||||
@@ -39,11 +39,11 @@ namespace FEQ0000
|
|||||||
private void __Load(object sender, EventArgs e)
|
private void __Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
// TODO: 이 코드는 데이터를 'dsPurchase.Purchase' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
|
// TODO: 이 코드는 데이터를 'dsPurchase.Purchase' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
|
||||||
this.purchaseTableAdapter.Fill(this.dsPurchase.Purchase);
|
//this.purchaseTableAdapter.Fill(this.dsPurchase.Purchase);
|
||||||
// this.Show();
|
// this.Show();
|
||||||
// Application.DoEvents();
|
// Application.DoEvents();
|
||||||
|
|
||||||
//statelist
|
//상태
|
||||||
var stateList = FCOMMON.DBM.getCodeTable("04");
|
var stateList = FCOMMON.DBM.getCodeTable("04");
|
||||||
this.cmbState.DisplayMember = "Value";
|
this.cmbState.DisplayMember = "Value";
|
||||||
this.cmbState.ValueMember = "Value";
|
this.cmbState.ValueMember = "Value";
|
||||||
@@ -82,7 +82,7 @@ namespace FEQ0000
|
|||||||
//this.cbProcess.ValueMember = "Key";
|
//this.cbProcess.ValueMember = "Key";
|
||||||
//this.cbProcess.DataSource = new BindingSource(procList, "");
|
//this.cbProcess.DataSource = new BindingSource(procList, "");
|
||||||
|
|
||||||
//juserlist
|
//담당자목록
|
||||||
var userList = FCOMMON.DBM.getGroupList("name", "Users", "[level] > 0 and [level] < 10");
|
var userList = FCOMMON.DBM.getGroupList("name", "Users", "[level] > 0 and [level] < 10");
|
||||||
foreach (var user in userList)
|
foreach (var user in userList)
|
||||||
{
|
{
|
||||||
@@ -91,7 +91,6 @@ namespace FEQ0000
|
|||||||
}
|
}
|
||||||
|
|
||||||
dtPdate.Value = DateTime.Parse(dr.pdate);
|
dtPdate.Value = DateTime.Parse(dr.pdate);
|
||||||
|
|
||||||
if (dr.IsindateNull() || dr.indate.isEmpty())
|
if (dr.IsindateNull() || dr.indate.isEmpty())
|
||||||
{
|
{
|
||||||
this.chkInDate.Checked = false;
|
this.chkInDate.Checked = false;
|
||||||
|
|||||||
@@ -290,7 +290,7 @@ namespace FEQ0000
|
|||||||
}
|
}
|
||||||
|
|
||||||
var taE = new dsPurchaseTableAdapters.PurchaseTableAdapter();
|
var taE = new dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||||
if(checkBox1.Checked) taE.DeleteImport(sd.Value.ToShortDateString(),ed.Value.ToShortDateString());
|
if (checkBox1.Checked) taE.DeleteImport(sd.Value.ToShortDateString(), ed.Value.ToShortDateString(), FCOMMON.info.Login.no);
|
||||||
taE.Update((dsPurchase.PurchaseDataTable)dt);
|
taE.Update((dsPurchase.PurchaseDataTable)dt);
|
||||||
|
|
||||||
dt.AcceptChanges();
|
dt.AcceptChanges();
|
||||||
|
|||||||
@@ -37,11 +37,8 @@
|
|||||||
this.button3 = new System.Windows.Forms.Button();
|
this.button3 = new System.Windows.Forms.Button();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
this.button2 = new System.Windows.Forms.Button();
|
this.button2 = new System.Windows.Forms.Button();
|
||||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
|
||||||
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
|
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
|
||||||
this.label6 = new System.Windows.Forms.Label();
|
this.label6 = new System.Windows.Forms.Label();
|
||||||
this.ed = new System.Windows.Forms.DateTimePicker();
|
|
||||||
this.sd = new System.Windows.Forms.DateTimePicker();
|
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
this.nudCE = new System.Windows.Forms.NumericUpDown();
|
this.nudCE = new System.Windows.Forms.NumericUpDown();
|
||||||
this.nudCS = new System.Windows.Forms.NumericUpDown();
|
this.nudCS = new System.Windows.Forms.NumericUpDown();
|
||||||
@@ -66,6 +63,30 @@
|
|||||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.progressBar1 = new System.Windows.Forms.ToolStripProgressBar();
|
this.progressBar1 = new System.Windows.Forms.ToolStripProgressBar();
|
||||||
|
this.panel2 = new System.Windows.Forms.Panel();
|
||||||
|
this.label16 = new System.Windows.Forms.Label();
|
||||||
|
this.tbState = new System.Windows.Forms.TextBox();
|
||||||
|
this.col_supply = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label15 = new System.Windows.Forms.Label();
|
||||||
|
this.col_amt = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label14 = new System.Windows.Forms.Label();
|
||||||
|
this.col_price = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label13 = new System.Windows.Forms.Label();
|
||||||
|
this.numericUpDown7 = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label12 = new System.Windows.Forms.Label();
|
||||||
|
this.col_qty = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label11 = new System.Windows.Forms.Label();
|
||||||
|
this.col_name = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label10 = new System.Windows.Forms.Label();
|
||||||
|
this.col_sid = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label9 = new System.Windows.Forms.Label();
|
||||||
|
this.col_crcf = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label8 = new System.Windows.Forms.Label();
|
||||||
|
this.label7 = new System.Windows.Forms.Label();
|
||||||
|
this.dtPdate = new System.Windows.Forms.DateTimePicker();
|
||||||
|
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||||
|
this.label17 = new System.Windows.Forms.Label();
|
||||||
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
|
||||||
@@ -77,6 +98,15 @@
|
|||||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||||
this.bn.SuspendLayout();
|
this.bn.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||||
|
this.panel2.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.col_supply)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.col_amt)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.col_price)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.col_qty)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.col_name)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.col_sid)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.col_crcf)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// textBox1
|
// textBox1
|
||||||
@@ -112,10 +142,10 @@
|
|||||||
this.dataGridView1.AllowUserToAddRows = false;
|
this.dataGridView1.AllowUserToAddRows = false;
|
||||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.dataGridView1.Location = new System.Drawing.Point(0, 97);
|
this.dataGridView1.Location = new System.Drawing.Point(0, 159);
|
||||||
this.dataGridView1.Name = "dataGridView1";
|
this.dataGridView1.Name = "dataGridView1";
|
||||||
this.dataGridView1.RowTemplate.Height = 23;
|
this.dataGridView1.RowTemplate.Height = 23;
|
||||||
this.dataGridView1.Size = new System.Drawing.Size(906, 535);
|
this.dataGridView1.Size = new System.Drawing.Size(906, 473);
|
||||||
this.dataGridView1.TabIndex = 1;
|
this.dataGridView1.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// button3
|
// button3
|
||||||
@@ -130,12 +160,10 @@
|
|||||||
//
|
//
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.Controls.Add(this.button2);
|
|
||||||
this.panel1.Controls.Add(this.checkBox1);
|
this.panel1.Controls.Add(this.checkBox1);
|
||||||
|
this.panel1.Controls.Add(this.button2);
|
||||||
this.panel1.Controls.Add(this.numericUpDown2);
|
this.panel1.Controls.Add(this.numericUpDown2);
|
||||||
this.panel1.Controls.Add(this.label6);
|
this.panel1.Controls.Add(this.label6);
|
||||||
this.panel1.Controls.Add(this.ed);
|
|
||||||
this.panel1.Controls.Add(this.sd);
|
|
||||||
this.panel1.Controls.Add(this.label4);
|
this.panel1.Controls.Add(this.label4);
|
||||||
this.panel1.Controls.Add(this.nudCE);
|
this.panel1.Controls.Add(this.nudCE);
|
||||||
this.panel1.Controls.Add(this.nudCS);
|
this.panel1.Controls.Add(this.nudCS);
|
||||||
@@ -167,16 +195,6 @@
|
|||||||
this.button2.UseVisualStyleBackColor = true;
|
this.button2.UseVisualStyleBackColor = true;
|
||||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||||
//
|
//
|
||||||
// checkBox1
|
|
||||||
//
|
|
||||||
this.checkBox1.AutoSize = true;
|
|
||||||
this.checkBox1.Location = new System.Drawing.Point(474, 66);
|
|
||||||
this.checkBox1.Name = "checkBox1";
|
|
||||||
this.checkBox1.Size = new System.Drawing.Size(127, 16);
|
|
||||||
this.checkBox1.TabIndex = 19;
|
|
||||||
this.checkBox1.Text = "Auto Delete Import";
|
|
||||||
this.checkBox1.UseVisualStyleBackColor = true;
|
|
||||||
//
|
|
||||||
// numericUpDown2
|
// numericUpDown2
|
||||||
//
|
//
|
||||||
this.numericUpDown2.Location = new System.Drawing.Point(406, 63);
|
this.numericUpDown2.Location = new System.Drawing.Point(406, 63);
|
||||||
@@ -198,25 +216,11 @@
|
|||||||
// label6
|
// label6
|
||||||
//
|
//
|
||||||
this.label6.AutoSize = true;
|
this.label6.AutoSize = true;
|
||||||
this.label6.Location = new System.Drawing.Point(312, 67);
|
this.label6.Location = new System.Drawing.Point(316, 67);
|
||||||
this.label6.Name = "label6";
|
this.label6.Name = "label6";
|
||||||
this.label6.Size = new System.Drawing.Size(87, 12);
|
this.label6.Size = new System.Drawing.Size(78, 12);
|
||||||
this.label6.TabIndex = 17;
|
this.label6.TabIndex = 17;
|
||||||
this.label6.Text = "Column Name";
|
this.label6.Text = "Column Row";
|
||||||
//
|
|
||||||
// ed
|
|
||||||
//
|
|
||||||
this.ed.Location = new System.Drawing.Point(42, 67);
|
|
||||||
this.ed.Name = "ed";
|
|
||||||
this.ed.Size = new System.Drawing.Size(170, 21);
|
|
||||||
this.ed.TabIndex = 16;
|
|
||||||
//
|
|
||||||
// sd
|
|
||||||
//
|
|
||||||
this.sd.Location = new System.Drawing.Point(42, 40);
|
|
||||||
this.sd.Name = "sd";
|
|
||||||
this.sd.Size = new System.Drawing.Size(170, 21);
|
|
||||||
this.sd.TabIndex = 15;
|
|
||||||
//
|
//
|
||||||
// label4
|
// label4
|
||||||
//
|
//
|
||||||
@@ -470,12 +474,283 @@
|
|||||||
this.progressBar1.Name = "progressBar1";
|
this.progressBar1.Name = "progressBar1";
|
||||||
this.progressBar1.Size = new System.Drawing.Size(200, 22);
|
this.progressBar1.Size = new System.Drawing.Size(200, 22);
|
||||||
//
|
//
|
||||||
|
// panel2
|
||||||
|
//
|
||||||
|
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.panel2.Controls.Add(this.textBox2);
|
||||||
|
this.panel2.Controls.Add(this.label17);
|
||||||
|
this.panel2.Controls.Add(this.label16);
|
||||||
|
this.panel2.Controls.Add(this.tbState);
|
||||||
|
this.panel2.Controls.Add(this.col_supply);
|
||||||
|
this.panel2.Controls.Add(this.label15);
|
||||||
|
this.panel2.Controls.Add(this.col_amt);
|
||||||
|
this.panel2.Controls.Add(this.label14);
|
||||||
|
this.panel2.Controls.Add(this.col_price);
|
||||||
|
this.panel2.Controls.Add(this.label13);
|
||||||
|
this.panel2.Controls.Add(this.numericUpDown7);
|
||||||
|
this.panel2.Controls.Add(this.label12);
|
||||||
|
this.panel2.Controls.Add(this.col_qty);
|
||||||
|
this.panel2.Controls.Add(this.label11);
|
||||||
|
this.panel2.Controls.Add(this.col_name);
|
||||||
|
this.panel2.Controls.Add(this.label10);
|
||||||
|
this.panel2.Controls.Add(this.col_sid);
|
||||||
|
this.panel2.Controls.Add(this.label9);
|
||||||
|
this.panel2.Controls.Add(this.col_crcf);
|
||||||
|
this.panel2.Controls.Add(this.label8);
|
||||||
|
this.panel2.Controls.Add(this.label7);
|
||||||
|
this.panel2.Controls.Add(this.dtPdate);
|
||||||
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.panel2.Location = new System.Drawing.Point(0, 97);
|
||||||
|
this.panel2.Name = "panel2";
|
||||||
|
this.panel2.Size = new System.Drawing.Size(906, 62);
|
||||||
|
this.panel2.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// label16
|
||||||
|
//
|
||||||
|
this.label16.AutoSize = true;
|
||||||
|
this.label16.Location = new System.Drawing.Point(536, 10);
|
||||||
|
this.label16.Name = "label16";
|
||||||
|
this.label16.Size = new System.Drawing.Size(33, 12);
|
||||||
|
this.label16.TabIndex = 38;
|
||||||
|
this.label16.Text = "State";
|
||||||
|
//
|
||||||
|
// tbState
|
||||||
|
//
|
||||||
|
this.tbState.Location = new System.Drawing.Point(579, 6);
|
||||||
|
this.tbState.Name = "tbState";
|
||||||
|
this.tbState.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.tbState.TabIndex = 21;
|
||||||
|
this.tbState.Text = "PO";
|
||||||
|
//
|
||||||
|
// col_supply
|
||||||
|
//
|
||||||
|
this.col_supply.Location = new System.Drawing.Point(476, 6);
|
||||||
|
this.col_supply.Maximum = new decimal(new int[] {
|
||||||
|
10,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.col_supply.Name = "col_supply";
|
||||||
|
this.col_supply.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.col_supply.TabIndex = 37;
|
||||||
|
this.col_supply.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// label15
|
||||||
|
//
|
||||||
|
this.label15.AutoSize = true;
|
||||||
|
this.label15.Location = new System.Drawing.Point(427, 10);
|
||||||
|
this.label15.Name = "label15";
|
||||||
|
this.label15.Size = new System.Drawing.Size(44, 12);
|
||||||
|
this.label15.TabIndex = 36;
|
||||||
|
this.label15.Text = "Supply";
|
||||||
|
//
|
||||||
|
// col_amt
|
||||||
|
//
|
||||||
|
this.col_amt.Location = new System.Drawing.Point(670, 32);
|
||||||
|
this.col_amt.Maximum = new decimal(new int[] {
|
||||||
|
10,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.col_amt.Name = "col_amt";
|
||||||
|
this.col_amt.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.col_amt.TabIndex = 35;
|
||||||
|
this.col_amt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// label14
|
||||||
|
//
|
||||||
|
this.label14.AutoSize = true;
|
||||||
|
this.label14.Location = new System.Drawing.Point(636, 36);
|
||||||
|
this.label14.Name = "label14";
|
||||||
|
this.label14.Size = new System.Drawing.Size(27, 12);
|
||||||
|
this.label14.TabIndex = 34;
|
||||||
|
this.label14.Text = "Amt";
|
||||||
|
//
|
||||||
|
// col_price
|
||||||
|
//
|
||||||
|
this.col_price.Location = new System.Drawing.Point(578, 32);
|
||||||
|
this.col_price.Maximum = new decimal(new int[] {
|
||||||
|
10,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.col_price.Name = "col_price";
|
||||||
|
this.col_price.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.col_price.TabIndex = 33;
|
||||||
|
this.col_price.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// label13
|
||||||
|
//
|
||||||
|
this.label13.AutoSize = true;
|
||||||
|
this.label13.Location = new System.Drawing.Point(535, 36);
|
||||||
|
this.label13.Name = "label13";
|
||||||
|
this.label13.Size = new System.Drawing.Size(34, 12);
|
||||||
|
this.label13.TabIndex = 32;
|
||||||
|
this.label13.Text = "Price";
|
||||||
|
//
|
||||||
|
// numericUpDown7
|
||||||
|
//
|
||||||
|
this.numericUpDown7.Location = new System.Drawing.Point(476, 32);
|
||||||
|
this.numericUpDown7.Maximum = new decimal(new int[] {
|
||||||
|
10,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.numericUpDown7.Name = "numericUpDown7";
|
||||||
|
this.numericUpDown7.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.numericUpDown7.TabIndex = 31;
|
||||||
|
this.numericUpDown7.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// label12
|
||||||
|
//
|
||||||
|
this.label12.AutoSize = true;
|
||||||
|
this.label12.Location = new System.Drawing.Point(445, 36);
|
||||||
|
this.label12.Name = "label12";
|
||||||
|
this.label12.Size = new System.Drawing.Size(26, 12);
|
||||||
|
this.label12.TabIndex = 30;
|
||||||
|
this.label12.Text = "Unit";
|
||||||
|
//
|
||||||
|
// col_qty
|
||||||
|
//
|
||||||
|
this.col_qty.Location = new System.Drawing.Point(377, 32);
|
||||||
|
this.col_qty.Maximum = new decimal(new int[] {
|
||||||
|
10,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.col_qty.Name = "col_qty";
|
||||||
|
this.col_qty.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.col_qty.TabIndex = 29;
|
||||||
|
this.col_qty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// label11
|
||||||
|
//
|
||||||
|
this.label11.AutoSize = true;
|
||||||
|
this.label11.Location = new System.Drawing.Point(345, 36);
|
||||||
|
this.label11.Name = "label11";
|
||||||
|
this.label11.Size = new System.Drawing.Size(24, 12);
|
||||||
|
this.label11.TabIndex = 28;
|
||||||
|
this.label11.Text = "Qty";
|
||||||
|
//
|
||||||
|
// col_name
|
||||||
|
//
|
||||||
|
this.col_name.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||||
|
this.col_name.Location = new System.Drawing.Point(292, 32);
|
||||||
|
this.col_name.Maximum = new decimal(new int[] {
|
||||||
|
10,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.col_name.Name = "col_name";
|
||||||
|
this.col_name.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.col_name.TabIndex = 27;
|
||||||
|
this.col_name.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// label10
|
||||||
|
//
|
||||||
|
this.label10.AutoSize = true;
|
||||||
|
this.label10.Location = new System.Drawing.Point(246, 36);
|
||||||
|
this.label10.Name = "label10";
|
||||||
|
this.label10.Size = new System.Drawing.Size(39, 12);
|
||||||
|
this.label10.TabIndex = 26;
|
||||||
|
this.label10.Text = "Name";
|
||||||
|
//
|
||||||
|
// col_sid
|
||||||
|
//
|
||||||
|
this.col_sid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||||
|
this.col_sid.Location = new System.Drawing.Point(377, 6);
|
||||||
|
this.col_sid.Maximum = new decimal(new int[] {
|
||||||
|
10,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.col_sid.Name = "col_sid";
|
||||||
|
this.col_sid.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.col_sid.TabIndex = 25;
|
||||||
|
this.col_sid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// label9
|
||||||
|
//
|
||||||
|
this.label9.AutoSize = true;
|
||||||
|
this.label9.Location = new System.Drawing.Point(345, 10);
|
||||||
|
this.label9.Name = "label9";
|
||||||
|
this.label9.Size = new System.Drawing.Size(24, 12);
|
||||||
|
this.label9.TabIndex = 24;
|
||||||
|
this.label9.Text = "SID";
|
||||||
|
//
|
||||||
|
// col_crcf
|
||||||
|
//
|
||||||
|
this.col_crcf.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||||
|
this.col_crcf.Location = new System.Drawing.Point(292, 6);
|
||||||
|
this.col_crcf.Maximum = new decimal(new int[] {
|
||||||
|
10,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.col_crcf.Name = "col_crcf";
|
||||||
|
this.col_crcf.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.col_crcf.TabIndex = 23;
|
||||||
|
this.col_crcf.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// label8
|
||||||
|
//
|
||||||
|
this.label8.AutoSize = true;
|
||||||
|
this.label8.Location = new System.Drawing.Point(241, 10);
|
||||||
|
this.label8.Name = "label8";
|
||||||
|
this.label8.Size = new System.Drawing.Size(44, 12);
|
||||||
|
this.label8.TabIndex = 22;
|
||||||
|
this.label8.Text = "CR/CF";
|
||||||
|
//
|
||||||
|
// label7
|
||||||
|
//
|
||||||
|
this.label7.AutoSize = true;
|
||||||
|
this.label7.Location = new System.Drawing.Point(12, 10);
|
||||||
|
this.label7.Name = "label7";
|
||||||
|
this.label7.Size = new System.Drawing.Size(41, 12);
|
||||||
|
this.label7.TabIndex = 21;
|
||||||
|
this.label7.Text = "등록일";
|
||||||
|
//
|
||||||
|
// dtPdate
|
||||||
|
//
|
||||||
|
this.dtPdate.Location = new System.Drawing.Point(59, 6);
|
||||||
|
this.dtPdate.Name = "dtPdate";
|
||||||
|
this.dtPdate.Size = new System.Drawing.Size(170, 21);
|
||||||
|
this.dtPdate.TabIndex = 16;
|
||||||
|
//
|
||||||
|
// checkBox1
|
||||||
|
//
|
||||||
|
this.checkBox1.AutoSize = true;
|
||||||
|
this.checkBox1.Location = new System.Drawing.Point(474, 67);
|
||||||
|
this.checkBox1.Name = "checkBox1";
|
||||||
|
this.checkBox1.Size = new System.Drawing.Size(138, 16);
|
||||||
|
this.checkBox1.TabIndex = 21;
|
||||||
|
this.checkBox1.Text = "Remove Import Data";
|
||||||
|
this.checkBox1.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// label17
|
||||||
|
//
|
||||||
|
this.label17.AutoSize = true;
|
||||||
|
this.label17.Location = new System.Drawing.Point(636, 10);
|
||||||
|
this.label17.Name = "label17";
|
||||||
|
this.label17.Size = new System.Drawing.Size(29, 12);
|
||||||
|
this.label17.TabIndex = 39;
|
||||||
|
this.label17.Text = "비고";
|
||||||
|
//
|
||||||
|
// textBox2
|
||||||
|
//
|
||||||
|
this.textBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||||
|
this.textBox2.Location = new System.Drawing.Point(670, 5);
|
||||||
|
this.textBox2.Name = "textBox2";
|
||||||
|
this.textBox2.Size = new System.Drawing.Size(224, 21);
|
||||||
|
this.textBox2.TabIndex = 40;
|
||||||
|
//
|
||||||
// fPurchase_ImportO
|
// fPurchase_ImportO
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(906, 657);
|
this.ClientSize = new System.Drawing.Size(906, 657);
|
||||||
this.Controls.Add(this.dataGridView1);
|
this.Controls.Add(this.dataGridView1);
|
||||||
|
this.Controls.Add(this.panel2);
|
||||||
this.Controls.Add(this.bn);
|
this.Controls.Add(this.bn);
|
||||||
this.Controls.Add(this.panel1);
|
this.Controls.Add(this.panel1);
|
||||||
this.Name = "fPurchase_ImportO";
|
this.Name = "fPurchase_ImportO";
|
||||||
@@ -494,6 +769,16 @@
|
|||||||
this.bn.ResumeLayout(false);
|
this.bn.ResumeLayout(false);
|
||||||
this.bn.PerformLayout();
|
this.bn.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||||
|
this.panel2.ResumeLayout(false);
|
||||||
|
this.panel2.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.col_supply)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.col_amt)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.col_price)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.col_qty)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.col_name)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.col_sid)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.col_crcf)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
@@ -531,11 +816,32 @@
|
|||||||
private System.Windows.Forms.NumericUpDown nudCE;
|
private System.Windows.Forms.NumericUpDown nudCE;
|
||||||
private System.Windows.Forms.NumericUpDown nudCS;
|
private System.Windows.Forms.NumericUpDown nudCS;
|
||||||
private System.Windows.Forms.Label label5;
|
private System.Windows.Forms.Label label5;
|
||||||
private System.Windows.Forms.DateTimePicker ed;
|
|
||||||
private System.Windows.Forms.DateTimePicker sd;
|
|
||||||
private System.Windows.Forms.NumericUpDown numericUpDown2;
|
private System.Windows.Forms.NumericUpDown numericUpDown2;
|
||||||
private System.Windows.Forms.Label label6;
|
private System.Windows.Forms.Label label6;
|
||||||
private System.Windows.Forms.CheckBox checkBox1;
|
|
||||||
private System.Windows.Forms.Button button2;
|
private System.Windows.Forms.Button button2;
|
||||||
|
private System.Windows.Forms.Panel panel2;
|
||||||
|
private System.Windows.Forms.DateTimePicker dtPdate;
|
||||||
|
private System.Windows.Forms.Label label7;
|
||||||
|
private System.Windows.Forms.NumericUpDown col_crcf;
|
||||||
|
private System.Windows.Forms.Label label8;
|
||||||
|
private System.Windows.Forms.NumericUpDown col_sid;
|
||||||
|
private System.Windows.Forms.Label label9;
|
||||||
|
private System.Windows.Forms.NumericUpDown numericUpDown7;
|
||||||
|
private System.Windows.Forms.Label label12;
|
||||||
|
private System.Windows.Forms.NumericUpDown col_qty;
|
||||||
|
private System.Windows.Forms.Label label11;
|
||||||
|
private System.Windows.Forms.NumericUpDown col_name;
|
||||||
|
private System.Windows.Forms.Label label10;
|
||||||
|
private System.Windows.Forms.NumericUpDown col_price;
|
||||||
|
private System.Windows.Forms.Label label13;
|
||||||
|
private System.Windows.Forms.NumericUpDown col_amt;
|
||||||
|
private System.Windows.Forms.Label label14;
|
||||||
|
private System.Windows.Forms.NumericUpDown col_supply;
|
||||||
|
private System.Windows.Forms.Label label15;
|
||||||
|
private System.Windows.Forms.Label label16;
|
||||||
|
private System.Windows.Forms.TextBox tbState;
|
||||||
|
private System.Windows.Forms.CheckBox checkBox1;
|
||||||
|
private System.Windows.Forms.Label label17;
|
||||||
|
private System.Windows.Forms.TextBox textBox2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -21,8 +21,8 @@ namespace FEQ0000
|
|||||||
|
|
||||||
private void __Load(object sender, EventArgs e)
|
private void __Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.sd.Value = DateTime.Now.AddMonths(-1);
|
//this.sd.Value = DateTime.Now.AddMonths(-1);
|
||||||
this.ed.Value = DateTime.Now;
|
this.dtPdate.Value = DateTime.Now;
|
||||||
}
|
}
|
||||||
|
|
||||||
void __Closed(object sender, FormClosedEventArgs e)
|
void __Closed(object sender, FormClosedEventArgs e)
|
||||||
@@ -103,8 +103,8 @@ namespace FEQ0000
|
|||||||
//제목줄을 처리한다. 181029
|
//제목줄을 처리한다. 181029
|
||||||
List<string> cols = new List<string>();
|
List<string> cols = new List<string>();
|
||||||
|
|
||||||
string sDate = sd.Value.ToShortDateString();
|
//string sDate = sd.Value.ToShortDateString();
|
||||||
string eDate = ed.Value.ToShortDateString();
|
//string eDate = ed.Value.ToShortDateString();
|
||||||
|
|
||||||
for (int c = MinCol; c <= MaxCol; c++)
|
for (int c = MinCol; c <= MaxCol; c++)
|
||||||
{
|
{
|
||||||
@@ -160,15 +160,16 @@ namespace FEQ0000
|
|||||||
{
|
{
|
||||||
nullColumn = true; //날짜가 없다면 패스
|
nullColumn = true; //날짜가 없다면 패스
|
||||||
break;
|
break;
|
||||||
} else if(value.CompareTo(sDate) < 0)
|
}
|
||||||
{
|
//else if(value.CompareTo(sDate) < 0)
|
||||||
nullColumn = true; //과거데이터라서 패스
|
//{
|
||||||
break;
|
// nullColumn = true; //과거데이터라서 패스
|
||||||
} else if(value.CompareTo(eDate) > 0)
|
// break;
|
||||||
{
|
//} else if(value.CompareTo(eDate) > 0)
|
||||||
nullColumn = true; //미래데이터 패스
|
//{
|
||||||
break;
|
// nullColumn = true; //미래데이터 패스
|
||||||
}
|
// break;
|
||||||
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -220,6 +221,12 @@ namespace FEQ0000
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(col_crcf.Value < 1 || col_sid.Value < 1 || col_name.Value < 1)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("CR번호/품명/SId는 반드시 입력되어야 합니다.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
System.Text.StringBuilder sb = new StringBuilder();
|
System.Text.StringBuilder sb = new StringBuilder();
|
||||||
sb.AppendLine("다음 자료를 추가하시겠습니까?");
|
sb.AppendLine("다음 자료를 추가하시겠습니까?");
|
||||||
sb.AppendLine();
|
sb.AppendLine();
|
||||||
@@ -247,41 +254,60 @@ namespace FEQ0000
|
|||||||
|
|
||||||
//데이터추가
|
//데이터추가
|
||||||
var newdr = dt.NewRow();
|
var newdr = dt.NewRow();
|
||||||
if (dr[1] == DBNull.Value) continue; //nullerror
|
if (dr[(int)col_crcf.Value] == DBNull.Value) continue; //nullerror
|
||||||
|
|
||||||
newdr["pdate"] = "2019-01-01";// dr[0].ToString();
|
newdr["pdate"] = dtPdate.Value.ToString("yyyy-MM-dd");// "2019-01-01";// dr[0].ToString();
|
||||||
newdr["orderno"] = dr[1].ToString();
|
newdr["orderno"] = dr[(int)col_crcf.Value].ToString();
|
||||||
newdr["sid"] = dr[2].ToString().Replace(" ",""); //181116 - 빈공백제거
|
newdr["sid"] = dr[(int)col_sid.Value].ToString().Replace(" ", ""); //181116 - 빈공백제거
|
||||||
|
|
||||||
//이름 변경함
|
//이름 변경함
|
||||||
if (dr[3].ToString() != "") dr[3] = dr[3].ToString().Replace("*", "x");
|
if (dr[(int)col_name.Value].ToString() != "") dr[(int)col_name.Value] = dr[(int)col_name.Value].ToString().Replace("*", "x");
|
||||||
if (dr[4].ToString() != "") dr[4] = dr[4].ToString().Replace("*", "x");
|
//if (dr[4].ToString() != "") dr[4] = dr[4].ToString().Replace("*", "x");
|
||||||
|
|
||||||
newdr["pumname"] = dr[3].ToString();
|
|
||||||
newdr["pumscale"] = dr[4].ToString();
|
|
||||||
|
|
||||||
newdr["pumunit"] = dr[7].ToString();
|
newdr["pumname"] = dr[(int)col_name.Value].ToString();
|
||||||
|
newdr["pumscale"] = "";// dr[4].ToString();
|
||||||
|
|
||||||
if (dr[6].ToString() != "")
|
if ((int)numericUpDown7.Value > 0)
|
||||||
newdr["pumqty"] = int.Parse(dr[6].ToString());
|
newdr["pumunit"] = dr[(int)numericUpDown7.Value].ToString();
|
||||||
|
|
||||||
if (dr[5].ToString() != "")
|
if ((int)col_qty.Value > 0)
|
||||||
newdr["pumprice"] = decimal.Parse(dr[5].ToString());
|
{
|
||||||
|
if (dr[(int)col_qty.Value].ToString() != "")
|
||||||
|
newdr["pumqty"] = int.Parse(dr[(int)col_qty.Value].ToString());
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((int)col_price.Value > 0)
|
||||||
|
{
|
||||||
|
if (dr[(int)col_price.Value].ToString() != "")
|
||||||
|
newdr["pumprice"] = decimal.Parse(dr[(int)col_price.Value].ToString());
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((int)col_amt.Value > 0)
|
||||||
|
{
|
||||||
|
if (dr[(int)col_amt.Value].ToString() != "")
|
||||||
|
newdr["pumamt"] = decimal.Parse(dr[(int)col_amt.Value].ToString());
|
||||||
|
}
|
||||||
|
|
||||||
if (dr[8].ToString() != "")
|
if ((int)col_supply.Value > 0)
|
||||||
newdr["pumamt"] = decimal.Parse(dr[8].ToString());
|
newdr["supply"] = dr[(int)col_supply.Value].ToString();
|
||||||
|
|
||||||
newdr["supply"] = dr[10].ToString();
|
newdr["state"] = tbState.Text;// dr[14 + 6].ToString();
|
||||||
newdr["state"] = "PO";// dr[14 + 6].ToString();
|
|
||||||
newdr["import"] = true;
|
newdr["import"] = true;
|
||||||
newdr["wuid"] = "JBS";
|
newdr["wuid"] = FCOMMON.info.Login.no;
|
||||||
newdr["wdate"] = "2019-04-16 00:00:00";
|
newdr["wdate"] = DateTime.Now;
|
||||||
|
newdr["bigo"] = textBox2.Text.Trim();
|
||||||
|
|
||||||
dt.Rows.Add(newdr);
|
dt.Rows.Add(newdr);
|
||||||
}
|
}
|
||||||
|
|
||||||
var taE = new dsPurchaseTableAdapters.PurchaseTableAdapter();
|
var taE = new dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||||
if(checkBox1.Checked) taE.DeleteImport(sd.Value.ToShortDateString(),ed.Value.ToShortDateString());
|
|
||||||
|
//과거데이터 삭제
|
||||||
|
if (checkBox1.Checked) taE.DeleteImport(
|
||||||
|
dtPdate.Value.ToShortDateString(),
|
||||||
|
dtPdate.Value.ToShortDateString(),
|
||||||
|
FCOMMON.info.Login.no);
|
||||||
|
|
||||||
taE.Update((dsPurchase.PurchaseDataTable)dt);
|
taE.Update((dsPurchase.PurchaseDataTable)dt);
|
||||||
|
|
||||||
dt.AcceptChanges();
|
dt.AcceptChanges();
|
||||||
|
|||||||
12
SubProject/FEQ0000/dsPurchase.Designer.cs
generated
12
SubProject/FEQ0000/dsPurchase.Designer.cs
generated
@@ -2220,10 +2220,12 @@ ORDER BY pdate DESC, idx DESC";
|
|||||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||||
this._commandCollection[1].Connection = this.Connection;
|
this._commandCollection[1].Connection = this.Connection;
|
||||||
this._commandCollection[1].CommandText = "DELETE FROM Purchase\r\nWHERE (import = 1) AND (pdate BETWEEN @sd AND @ed)";
|
this._commandCollection[1].CommandText = "DELETE FROM Purchase\r\nWHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wu" +
|
||||||
|
"id = @userid)";
|
||||||
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
|
||||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||||
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||||
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
||||||
this._commandCollection[2].Connection = this.Connection;
|
this._commandCollection[2].Connection = this.Connection;
|
||||||
this._commandCollection[2].CommandText = @"SELECT asset, bigo, dept, edate, idx, import, indate, isdel, manuproc, orderno, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive, request, sc, sid, state, supply, supplyidx, wdate, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) ORDER BY pdate DESC, idx DESC";
|
this._commandCollection[2].CommandText = @"SELECT asset, bigo, dept, edate, idx, import, indate, isdel, manuproc, orderno, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive, request, sc, sid, state, supply, supplyidx, wdate, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) ORDER BY pdate DESC, idx DESC";
|
||||||
@@ -3039,7 +3041,7 @@ ORDER BY pdate DESC, idx DESC";
|
|||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||||
public virtual int DeleteImport(string sd, string ed) {
|
public virtual int DeleteImport(string sd, string ed, string userid) {
|
||||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
||||||
if ((sd == null)) {
|
if ((sd == null)) {
|
||||||
command.Parameters[0].Value = global::System.DBNull.Value;
|
command.Parameters[0].Value = global::System.DBNull.Value;
|
||||||
@@ -3053,6 +3055,12 @@ ORDER BY pdate DESC, idx DESC";
|
|||||||
else {
|
else {
|
||||||
command.Parameters[1].Value = ((string)(ed));
|
command.Parameters[1].Value = ((string)(ed));
|
||||||
}
|
}
|
||||||
|
if ((userid == null)) {
|
||||||
|
throw new global::System.ArgumentNullException("userid");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
command.Parameters[2].Value = ((string)(userid));
|
||||||
|
}
|
||||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||||
!= global::System.Data.ConnectionState.Open)) {
|
!= global::System.Data.ConnectionState.Open)) {
|
||||||
|
|||||||
@@ -236,10 +236,11 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale,
|
|||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||||
<CommandText>DELETE FROM Purchase
|
<CommandText>DELETE FROM Purchase
|
||||||
WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed)</CommandText>
|
WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed) AND (wuid = @userid)</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="userid" ColumnName="wuid" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@userid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
@@ -265,7 +266,7 @@ WHERE (import = 1) AND (pdate BETWEEN @sd AND @ed)</CommandText>
|
|||||||
<xs:element name="dsPurchase" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsPurchase" msprop:Generator_UserDSName="dsPurchase">
|
<xs:element name="dsPurchase" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsPurchase" msprop:Generator_UserDSName="dsPurchase">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||||
<xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_RowClassName="PurchaseRow" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent">
|
<xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent" msprop:Generator_RowClassName="PurchaseRow">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
||||||
|
|||||||
@@ -98,6 +98,16 @@
|
|||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
<DependentUpon>dsPRJ.xsd</DependentUpon>
|
<DependentUpon>dsPRJ.xsd</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="dsQuery.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<DependentUpon>dsQuery.xsd</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="dsReport.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<DependentUpon>dsReport.xsd</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="fHistAdd.cs">
|
<Compile Include="fHistAdd.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -183,6 +193,18 @@
|
|||||||
<Compile Include="JobReport\fJobReport_Add.Designer.cs">
|
<Compile Include="JobReport\fJobReport_Add.Designer.cs">
|
||||||
<DependentUpon>fJobReport_Add.cs</DependentUpon>
|
<DependentUpon>fJobReport_Add.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="JobReport\fJobReportImport.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="JobReport\fJobReportImport.Designer.cs">
|
||||||
|
<DependentUpon>fJobReportImport.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="JobReport\rJobReport.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="JobReport\rJobReport.Designer.cs">
|
||||||
|
<DependentUpon>rJobReport.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="MethodExtentions.cs" />
|
<Compile Include="MethodExtentions.cs" />
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
@@ -228,6 +250,13 @@
|
|||||||
<EmbeddedResource Include="JobReport\fJobReport_Add.resx">
|
<EmbeddedResource Include="JobReport\fJobReport_Add.resx">
|
||||||
<DependentUpon>fJobReport_Add.cs</DependentUpon>
|
<DependentUpon>fJobReport_Add.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="JobReport\fJobReportImport.resx">
|
||||||
|
<DependentUpon>fJobReportImport.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="JobReport\rJobReport.rdlc" />
|
||||||
|
<EmbeddedResource Include="JobReport\rJobReport.resx">
|
||||||
|
<DependentUpon>rJobReport.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||||
<EmbeddedResource Include="Properties\Resources.resx">
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
@@ -263,6 +292,28 @@
|
|||||||
<None Include="dsPRJ.xss">
|
<None Include="dsPRJ.xss">
|
||||||
<DependentUpon>dsPRJ.xsd</DependentUpon>
|
<DependentUpon>dsPRJ.xsd</DependentUpon>
|
||||||
</None>
|
</None>
|
||||||
|
<None Include="dsQuery.xsc">
|
||||||
|
<DependentUpon>dsQuery.xsd</DependentUpon>
|
||||||
|
</None>
|
||||||
|
<None Include="dsQuery.xsd">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSDataSetGenerator</Generator>
|
||||||
|
<LastGenOutput>dsQuery.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="dsQuery.xss">
|
||||||
|
<DependentUpon>dsQuery.xsd</DependentUpon>
|
||||||
|
</None>
|
||||||
|
<None Include="dsReport.xsc">
|
||||||
|
<DependentUpon>dsReport.xsd</DependentUpon>
|
||||||
|
</None>
|
||||||
|
<None Include="dsReport.xsd">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSDataSetGenerator</Generator>
|
||||||
|
<LastGenOutput>dsReport.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="dsReport.xss">
|
||||||
|
<DependentUpon>dsReport.xsd</DependentUpon>
|
||||||
|
</None>
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
<None Include="Properties\Settings.settings">
|
<None Include="Properties\Settings.settings">
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
@@ -298,6 +349,12 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\find.png" />
|
<None Include="Resources\find.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\copy.gif" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\action_save.gif" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|||||||
398
SubProject/FPJ0000/JobReport/fJobReport.Designer.cs
generated
398
SubProject/FPJ0000/JobReport/fJobReport.Designer.cs
generated
@@ -30,23 +30,22 @@
|
|||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fJobReport));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fJobReport));
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType25 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||||
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
|
FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||||
this.dsMSSQL = new FPJ0000.dsPRJ();
|
this.dsMSSQL = new FPJ0000.dsPRJ();
|
||||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
|
||||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||||
@@ -55,15 +54,23 @@
|
|||||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
this.btAdd = new System.Windows.Forms.ToolStripButton();
|
||||||
this.projectsBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
this.btCopy = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.btEdit = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.btDel = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.btSave = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
|
||||||
|
this.tbFind = new System.Windows.Forms.ToolStripTextBox();
|
||||||
|
this.btFind = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.btReport = new System.Windows.Forms.ToolStripButton();
|
||||||
this.cm = new System.Windows.Forms.ContextMenuStrip(this.components);
|
this.cm = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||||
this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.exportListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
@@ -71,6 +78,7 @@
|
|||||||
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
|
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
|
||||||
this.ta = new FPJ0000.dsPRJTableAdapters.JobReportTableAdapter();
|
this.ta = new FPJ0000.dsPRJTableAdapters.JobReportTableAdapter();
|
||||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||||
|
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||||
this.lbStt = new System.Windows.Forms.ToolStripLabel();
|
this.lbStt = new System.Windows.Forms.ToolStripLabel();
|
||||||
this.dtSD = new System.Windows.Forms.ToolStripTextBox();
|
this.dtSD = new System.Windows.Forms.ToolStripTextBox();
|
||||||
@@ -81,17 +89,17 @@
|
|||||||
this.cmbState = new System.Windows.Forms.ToolStripComboBox();
|
this.cmbState = new System.Windows.Forms.ToolStripComboBox();
|
||||||
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
|
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
|
||||||
this.tbRequest = new System.Windows.Forms.ToolStripTextBox();
|
this.cmbUser = new System.Windows.Forms.ToolStripComboBox();
|
||||||
this.btSearch = new System.Windows.Forms.ToolStripButton();
|
this.btSearch = new System.Windows.Forms.ToolStripButton();
|
||||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
this.lbTime = new System.Windows.Forms.ToolStripLabel();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||||
this.bn.SuspendLayout();
|
this.bn.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||||
this.cm.SuspendLayout();
|
this.cm.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||||
this.toolStrip1.SuspendLayout();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||||
|
this.toolStrip1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// bn
|
// bn
|
||||||
@@ -99,7 +107,7 @@
|
|||||||
this.bn.AddNewItem = null;
|
this.bn.AddNewItem = null;
|
||||||
this.bn.BindingSource = this.bs;
|
this.bn.BindingSource = this.bs;
|
||||||
this.bn.CountItem = this.bindingNavigatorCountItem;
|
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||||
this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
|
this.bn.DeleteItem = null;
|
||||||
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.bindingNavigatorMoveFirstItem,
|
this.bindingNavigatorMoveFirstItem,
|
||||||
@@ -111,10 +119,16 @@
|
|||||||
this.bindingNavigatorMoveNextItem,
|
this.bindingNavigatorMoveNextItem,
|
||||||
this.bindingNavigatorMoveLastItem,
|
this.bindingNavigatorMoveLastItem,
|
||||||
this.bindingNavigatorSeparator2,
|
this.bindingNavigatorSeparator2,
|
||||||
this.bindingNavigatorAddNewItem,
|
this.btAdd,
|
||||||
this.bindingNavigatorDeleteItem,
|
this.btCopy,
|
||||||
this.projectsBindingNavigatorSaveItem,
|
this.btEdit,
|
||||||
this.toolStripSeparator1});
|
this.btDel,
|
||||||
|
this.btSave,
|
||||||
|
this.toolStripSeparator1,
|
||||||
|
this.toolStripLabel2,
|
||||||
|
this.tbFind,
|
||||||
|
this.btFind,
|
||||||
|
this.btReport});
|
||||||
this.bn.Location = new System.Drawing.Point(0, 564);
|
this.bn.Location = new System.Drawing.Point(0, 564);
|
||||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||||
@@ -130,6 +144,7 @@
|
|||||||
//
|
//
|
||||||
this.bs.DataMember = "JobReport";
|
this.bs.DataMember = "JobReport";
|
||||||
this.bs.DataSource = this.dsMSSQL;
|
this.bs.DataSource = this.dsMSSQL;
|
||||||
|
this.bs.Sort = "pdate desc";
|
||||||
//
|
//
|
||||||
// dsMSSQL
|
// dsMSSQL
|
||||||
//
|
//
|
||||||
@@ -143,14 +158,6 @@
|
|||||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
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
|
// bindingNavigatorMoveFirstItem
|
||||||
//
|
//
|
||||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
@@ -211,39 +218,100 @@
|
|||||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||||
//
|
//
|
||||||
// bindingNavigatorAddNewItem
|
// btAdd
|
||||||
//
|
//
|
||||||
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image")));
|
||||||
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
this.btAdd.Name = "btAdd";
|
||||||
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
this.btAdd.RightToLeftAutoMirrorImage = true;
|
||||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(65, 22);
|
this.btAdd.Size = new System.Drawing.Size(67, 22);
|
||||||
this.bindingNavigatorAddNewItem.Text = "Add(&A)";
|
this.btAdd.Text = "추가(&A)";
|
||||||
this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
|
this.btAdd.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
|
||||||
//
|
//
|
||||||
// projectsBindingNavigatorSaveItem
|
// btCopy
|
||||||
//
|
//
|
||||||
this.projectsBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("projectsBindingNavigatorSaveItem.Image")));
|
this.btCopy.Image = global::FPJ0000.Properties.Resources.copy;
|
||||||
this.projectsBindingNavigatorSaveItem.Name = "projectsBindingNavigatorSaveItem";
|
this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.projectsBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22);
|
this.btCopy.Name = "btCopy";
|
||||||
this.projectsBindingNavigatorSaveItem.Text = "Save(&S)";
|
this.btCopy.Size = new System.Drawing.Size(67, 22);
|
||||||
this.projectsBindingNavigatorSaveItem.Click += new System.EventHandler(this.projectsBindingNavigatorSaveItem_Click);
|
this.btCopy.Text = "복사(&C)";
|
||||||
|
this.btCopy.Click += new System.EventHandler(this.btCopy_Click);
|
||||||
|
//
|
||||||
|
// btEdit
|
||||||
|
//
|
||||||
|
this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image")));
|
||||||
|
this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
|
this.btEdit.Name = "btEdit";
|
||||||
|
this.btEdit.Size = new System.Drawing.Size(65, 22);
|
||||||
|
this.btEdit.Text = "편집(&E)";
|
||||||
|
this.btEdit.Click += new System.EventHandler(this.btEdit_Click);
|
||||||
|
//
|
||||||
|
// btDel
|
||||||
|
//
|
||||||
|
this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image")));
|
||||||
|
this.btDel.Name = "btDel";
|
||||||
|
this.btDel.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.btDel.Size = new System.Drawing.Size(68, 22);
|
||||||
|
this.btDel.Text = "삭제(&D)";
|
||||||
|
this.btDel.Click += new System.EventHandler(this.btDel_Click);
|
||||||
|
//
|
||||||
|
// btSave
|
||||||
|
//
|
||||||
|
this.btSave.Image = global::FPJ0000.Properties.Resources.action_save;
|
||||||
|
this.btSave.Name = "btSave";
|
||||||
|
this.btSave.Size = new System.Drawing.Size(66, 22);
|
||||||
|
this.btSave.Text = "저장(&S)";
|
||||||
|
this.btSave.Click += new System.EventHandler(this.projectsBindingNavigatorSaveItem_Click);
|
||||||
//
|
//
|
||||||
// toolStripSeparator1
|
// toolStripSeparator1
|
||||||
//
|
//
|
||||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||||
//
|
//
|
||||||
|
// toolStripLabel2
|
||||||
|
//
|
||||||
|
this.toolStripLabel2.Name = "toolStripLabel2";
|
||||||
|
this.toolStripLabel2.Size = new System.Drawing.Size(31, 22);
|
||||||
|
this.toolStripLabel2.Text = "검색";
|
||||||
|
//
|
||||||
|
// tbFind
|
||||||
|
//
|
||||||
|
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.tbFind.Name = "tbFind";
|
||||||
|
this.tbFind.Size = new System.Drawing.Size(100, 25);
|
||||||
|
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
||||||
|
//
|
||||||
|
// btFind
|
||||||
|
//
|
||||||
|
this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image")));
|
||||||
|
this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
|
this.btFind.Name = "btFind";
|
||||||
|
this.btFind.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.btFind.Text = "toolStripButton2";
|
||||||
|
this.btFind.Click += new System.EventHandler(this.btFind_Click);
|
||||||
|
//
|
||||||
|
// btReport
|
||||||
|
//
|
||||||
|
this.btReport.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||||
|
this.btReport.Image = ((System.Drawing.Image)(resources.GetObject("btReport.Image")));
|
||||||
|
this.btReport.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
|
this.btReport.Name = "btReport";
|
||||||
|
this.btReport.Size = new System.Drawing.Size(108, 22);
|
||||||
|
this.btReport.Text = "월/개인별 요약";
|
||||||
|
this.btReport.Click += new System.EventHandler(this.btReport_Click);
|
||||||
|
//
|
||||||
// cm
|
// cm
|
||||||
//
|
//
|
||||||
this.cm.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
this.cm.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
this.cm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.cm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.columnSizeToolStripMenuItem,
|
this.columnSizeToolStripMenuItem,
|
||||||
|
this.exportListToolStripMenuItem,
|
||||||
this.toolStripMenuItem2,
|
this.toolStripMenuItem2,
|
||||||
this.refreshToolStripMenuItem,
|
this.refreshToolStripMenuItem,
|
||||||
this.toolStripMenuItem1,
|
this.toolStripMenuItem1,
|
||||||
this.partListToolStripMenuItem});
|
this.partListToolStripMenuItem});
|
||||||
this.cm.Name = "contextMenuStrip1";
|
this.cm.Name = "contextMenuStrip1";
|
||||||
this.cm.Size = new System.Drawing.Size(226, 124);
|
this.cm.Size = new System.Drawing.Size(226, 160);
|
||||||
//
|
//
|
||||||
// columnSizeToolStripMenuItem
|
// columnSizeToolStripMenuItem
|
||||||
//
|
//
|
||||||
@@ -288,6 +356,13 @@
|
|||||||
this.loadToolStripMenuItem.Text = "Load";
|
this.loadToolStripMenuItem.Text = "Load";
|
||||||
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
|
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
|
// 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);
|
||||||
|
//
|
||||||
// toolStripMenuItem2
|
// toolStripMenuItem2
|
||||||
//
|
//
|
||||||
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
||||||
@@ -331,6 +406,7 @@
|
|||||||
// fpSpread1
|
// fpSpread1
|
||||||
//
|
//
|
||||||
this.fpSpread1.AccessibleDescription = "";
|
this.fpSpread1.AccessibleDescription = "";
|
||||||
|
this.fpSpread1.AutoFitColumnOptions = FarPoint.Win.Spread.PreferredSizeColumnOptions.Off;
|
||||||
this.fpSpread1.ContextMenuStrip = this.cm;
|
this.fpSpread1.ContextMenuStrip = this.cm;
|
||||||
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||||
@@ -339,8 +415,104 @@
|
|||||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||||
this.fpSpread1_Sheet1});
|
this.fpSpread1_Sheet1});
|
||||||
this.fpSpread1.Size = new System.Drawing.Size(1142, 539);
|
this.fpSpread1.Size = new System.Drawing.Size(1142, 539);
|
||||||
|
this.fpSpread1.StatusBarVisible = true;
|
||||||
this.fpSpread1.TabIndex = 2;
|
this.fpSpread1.TabIndex = 2;
|
||||||
//
|
//
|
||||||
|
// 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 = 12;
|
||||||
|
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||||
|
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||||
|
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "날짜";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "WW";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "요청부서";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "패키지";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "상태";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "업무형태";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "업무분류";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "프로젝트(아이템)";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "*";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "시간";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "초과";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "비고";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 28F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType19;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).Label = "날짜";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).Width = 58F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType20;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "ww";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).Label = "WW";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType21;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "requestpart";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(2).Label = "요청부서";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(2).Width = 78F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType22;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "package";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(3).Label = "패키지";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(3).Width = 86F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType23;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "status";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(4).Label = "상태";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType24;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "type";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(5).Label = "업무형태";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(5).Width = 84F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType25;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "process";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(6).Label = "업무분류";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(6).Width = 80F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType26;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "projectName";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(7).Label = "프로젝트(아이템)";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(7).Width = 158F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(8).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
numberCellType7.DecimalPlaces = 0;
|
||||||
|
numberCellType7.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||||
|
numberCellType7.MaximumValue = 2147483647D;
|
||||||
|
numberCellType7.MinimumValue = -2147483648D;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType7;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "pidx";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(8).Label = "*";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(8).Width = 39F;
|
||||||
|
numberCellType8.MaximumValue = 999999999999999D;
|
||||||
|
numberCellType8.MinimumValue = -999999999999999D;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType8;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "hrs";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(9).Label = "시간";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(9).Width = 52F;
|
||||||
|
numberCellType9.MaximumValue = 999999999999999D;
|
||||||
|
numberCellType9.MinimumValue = -999999999999999D;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType9;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "ot";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(10).ForeColor = System.Drawing.Color.Red;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(10).Label = "초과";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType27;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "description";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(11).Label = "비고";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(11).Width = 113F;
|
||||||
|
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||||
|
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||||
|
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||||
|
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||||
|
//
|
||||||
// toolStrip1
|
// toolStrip1
|
||||||
//
|
//
|
||||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
@@ -348,12 +520,13 @@
|
|||||||
this.dtSD,
|
this.dtSD,
|
||||||
this.lbEnd,
|
this.lbEnd,
|
||||||
this.dtED,
|
this.dtED,
|
||||||
|
this.lbTime,
|
||||||
this.toolStripSeparator2,
|
this.toolStripSeparator2,
|
||||||
this.toolStripLabel1,
|
this.toolStripLabel1,
|
||||||
this.cmbState,
|
this.cmbState,
|
||||||
this.toolStripSeparator3,
|
this.toolStripSeparator3,
|
||||||
this.toolStripLabel3,
|
this.toolStripLabel3,
|
||||||
this.tbRequest,
|
this.cmbUser,
|
||||||
this.btSearch});
|
this.btSearch});
|
||||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.toolStrip1.Name = "toolStrip1";
|
this.toolStrip1.Name = "toolStrip1";
|
||||||
@@ -363,14 +536,18 @@
|
|||||||
//
|
//
|
||||||
// lbStt
|
// lbStt
|
||||||
//
|
//
|
||||||
|
this.lbStt.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
|
this.lbStt.ForeColor = System.Drawing.Color.Blue;
|
||||||
this.lbStt.Name = "lbStt";
|
this.lbStt.Name = "lbStt";
|
||||||
this.lbStt.Size = new System.Drawing.Size(41, 22);
|
this.lbStt.Size = new System.Drawing.Size(31, 22);
|
||||||
this.lbStt.Text = "Period";
|
this.lbStt.Text = "기간";
|
||||||
|
this.lbStt.Click += new System.EventHandler(this.lbStt_Click);
|
||||||
//
|
//
|
||||||
// dtSD
|
// dtSD
|
||||||
//
|
//
|
||||||
this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
this.dtSD.Name = "dtSD";
|
this.dtSD.Name = "dtSD";
|
||||||
|
this.dtSD.ReadOnly = true;
|
||||||
this.dtSD.Size = new System.Drawing.Size(90, 25);
|
this.dtSD.Size = new System.Drawing.Size(90, 25);
|
||||||
this.dtSD.Text = "1982-11-23";
|
this.dtSD.Text = "1982-11-23";
|
||||||
this.dtSD.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
this.dtSD.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
@@ -385,6 +562,7 @@
|
|||||||
//
|
//
|
||||||
this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
this.dtED.Name = "dtED";
|
this.dtED.Name = "dtED";
|
||||||
|
this.dtED.ReadOnly = true;
|
||||||
this.dtED.Size = new System.Drawing.Size(90, 25);
|
this.dtED.Size = new System.Drawing.Size(90, 25);
|
||||||
this.dtED.Text = "1982-11-23";
|
this.dtED.Text = "1982-11-23";
|
||||||
this.dtED.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
this.dtED.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
@@ -397,8 +575,8 @@
|
|||||||
// toolStripLabel1
|
// toolStripLabel1
|
||||||
//
|
//
|
||||||
this.toolStripLabel1.Name = "toolStripLabel1";
|
this.toolStripLabel1.Name = "toolStripLabel1";
|
||||||
this.toolStripLabel1.Size = new System.Drawing.Size(32, 22);
|
this.toolStripLabel1.Size = new System.Drawing.Size(31, 22);
|
||||||
this.toolStripLabel1.Text = "Type";
|
this.toolStripLabel1.Text = "상태";
|
||||||
//
|
//
|
||||||
// cmbState
|
// cmbState
|
||||||
//
|
//
|
||||||
@@ -414,104 +592,32 @@
|
|||||||
// toolStripLabel3
|
// toolStripLabel3
|
||||||
//
|
//
|
||||||
this.toolStripLabel3.Name = "toolStripLabel3";
|
this.toolStripLabel3.Name = "toolStripLabel3";
|
||||||
this.toolStripLabel3.Size = new System.Drawing.Size(66, 22);
|
this.toolStripLabel3.Size = new System.Drawing.Size(43, 22);
|
||||||
this.toolStripLabel3.Text = "User Name";
|
this.toolStripLabel3.Text = "사용자";
|
||||||
this.toolStripLabel3.Click += new System.EventHandler(this.toolStripLabel3_Click);
|
this.toolStripLabel3.Click += new System.EventHandler(this.toolStripLabel3_Click);
|
||||||
//
|
//
|
||||||
// tbRequest
|
// cmbUser
|
||||||
//
|
//
|
||||||
this.tbRequest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.tbRequest.Name = "tbRequest";
|
this.cmbUser.Name = "cmbUser";
|
||||||
this.tbRequest.Size = new System.Drawing.Size(70, 25);
|
this.cmbUser.Size = new System.Drawing.Size(120, 25);
|
||||||
this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
this.cmbUser.SelectedIndexChanged += new System.EventHandler(this.cmbUser_SelectedIndexChanged);
|
||||||
|
this.cmbUser.Click += new System.EventHandler(this.cmbUser_Click);
|
||||||
//
|
//
|
||||||
// btSearch
|
// btSearch
|
||||||
//
|
//
|
||||||
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
|
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
|
||||||
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.btSearch.Name = "btSearch";
|
this.btSearch.Name = "btSearch";
|
||||||
this.btSearch.Size = new System.Drawing.Size(81, 22);
|
this.btSearch.Size = new System.Drawing.Size(66, 22);
|
||||||
this.btSearch.Text = "Refresh(&R)";
|
this.btSearch.Text = "조회(&R)";
|
||||||
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
||||||
//
|
//
|
||||||
// fpSpread1_Sheet1
|
// lbTime
|
||||||
//
|
//
|
||||||
this.fpSpread1_Sheet1.Reset();
|
this.lbTime.Name = "lbTime";
|
||||||
this.fpSpread1_Sheet1.SheetName = "Sheet1";
|
this.lbTime.Size = new System.Drawing.Size(29, 22);
|
||||||
// Formulas and custom names must be loaded with R1C1 reference style
|
this.lbTime.Text = "{0}h";
|
||||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
|
|
||||||
this.fpSpread1_Sheet1.ColumnCount = 12;
|
|
||||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
|
||||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
|
||||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "담당자";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "날짜";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "WW";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "요일";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "요청부서";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "적용패키지";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "상태";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "TYPE";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "Project";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "*";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "비고";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 28F;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "username";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "담당자";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "pdate";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).Label = "날짜";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 58F;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(2).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "ww";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "WW";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "week";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "요일";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "requestpart";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "요청부서";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 78F;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "requestpart";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "적용패키지";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 78F;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "status";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "상태";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "type";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).Label = "TYPE";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "project";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "Project";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 109F;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
||||||
numberCellType1.DecimalPlaces = 0;
|
|
||||||
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
|
||||||
numberCellType1.MaximumValue = 2147483647D;
|
|
||||||
numberCellType1.MinimumValue = -2147483648D;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType1;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "projectidx";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).Label = "*";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).Width = 88F;
|
|
||||||
numberCellType2.MaximumValue = 999999999999999D;
|
|
||||||
numberCellType2.MinimumValue = -999999999999999D;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType2;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "hrs";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(10).Width = 25F;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "remark";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(11).Label = "비고";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(11).Width = 113F;
|
|
||||||
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;
|
|
||||||
//
|
//
|
||||||
// fJobReport
|
// fJobReport
|
||||||
//
|
//
|
||||||
@@ -523,7 +629,7 @@
|
|||||||
this.Controls.Add(this.bn);
|
this.Controls.Add(this.bn);
|
||||||
this.Name = "fJobReport";
|
this.Name = "fJobReport";
|
||||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||||
this.Text = "JobReport";
|
this.Text = "업무일지";
|
||||||
this.Load += new System.EventHandler(this.@__Load);
|
this.Load += new System.EventHandler(this.@__Load);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||||
this.bn.ResumeLayout(false);
|
this.bn.ResumeLayout(false);
|
||||||
@@ -532,9 +638,9 @@
|
|||||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||||
this.cm.ResumeLayout(false);
|
this.cm.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||||
this.toolStrip1.ResumeLayout(false);
|
this.toolStrip1.ResumeLayout(false);
|
||||||
this.toolStrip1.PerformLayout();
|
this.toolStrip1.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
@@ -546,9 +652,9 @@
|
|||||||
private System.Windows.Forms.BindingSource bs;
|
private System.Windows.Forms.BindingSource bs;
|
||||||
private dsPRJTableAdapters.TableAdapterManager tam;
|
private dsPRJTableAdapters.TableAdapterManager tam;
|
||||||
private System.Windows.Forms.BindingNavigator bn;
|
private System.Windows.Forms.BindingNavigator bn;
|
||||||
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
private System.Windows.Forms.ToolStripButton btAdd;
|
||||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||||
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
private System.Windows.Forms.ToolStripButton btDel;
|
||||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||||
@@ -557,7 +663,7 @@
|
|||||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||||
private System.Windows.Forms.ToolStripButton projectsBindingNavigatorSaveItem;
|
private System.Windows.Forms.ToolStripButton btSave;
|
||||||
private System.Windows.Forms.ContextMenuStrip cm;
|
private System.Windows.Forms.ContextMenuStrip cm;
|
||||||
private System.Windows.Forms.ToolStripMenuItem refreshToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem refreshToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
||||||
@@ -580,9 +686,17 @@
|
|||||||
private System.Windows.Forms.ToolStripComboBox cmbState;
|
private System.Windows.Forms.ToolStripComboBox cmbState;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
||||||
private System.Windows.Forms.ToolStripLabel toolStripLabel3;
|
private System.Windows.Forms.ToolStripLabel toolStripLabel3;
|
||||||
private System.Windows.Forms.ToolStripTextBox tbRequest;
|
|
||||||
private System.Windows.Forms.ToolStripButton btSearch;
|
private System.Windows.Forms.ToolStripButton btSearch;
|
||||||
private dsPRJTableAdapters.JobReportTableAdapter ta;
|
private dsPRJTableAdapters.JobReportTableAdapter ta;
|
||||||
|
private System.Windows.Forms.ToolStripButton btCopy;
|
||||||
|
private System.Windows.Forms.ToolStripButton btEdit;
|
||||||
|
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
|
||||||
|
private System.Windows.Forms.ToolStripTextBox tbFind;
|
||||||
|
private System.Windows.Forms.ToolStripButton btFind;
|
||||||
|
private System.Windows.Forms.ToolStripComboBox cmbUser;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem exportListToolStripMenuItem;
|
||||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||||
|
private System.Windows.Forms.ToolStripButton btReport;
|
||||||
|
private System.Windows.Forms.ToolStripLabel lbTime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -17,8 +17,12 @@ namespace FPJ0000
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||||
this.dsMSSQL.Projects.TableNewRow += Projects_TableNewRow;
|
this.dsMSSQL.JobReport.TableNewRow += Projects_TableNewRow;
|
||||||
this.FormClosed += __Closed;
|
this.FormClosed += __Closed;
|
||||||
|
|
||||||
|
dtSD.KeyDown += dtSD_KeyDown;
|
||||||
|
dtED.KeyDown += dtSD_KeyDown;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void __Closed(object sender, FormClosedEventArgs e)
|
void __Closed(object sender, FormClosedEventArgs e)
|
||||||
@@ -28,40 +32,141 @@ namespace FPJ0000
|
|||||||
|
|
||||||
private void __Load(object sender, EventArgs e)
|
private void __Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.dtSD.Text = DateTime.Now.Year.ToString("0000") + "-01-01";
|
this.dtSD.Text = DateTime.Now.ToString("yyyy-MM-01");
|
||||||
this.dtED.Text = DateTime.Now.ToShortDateString();
|
this.dtED.Text = DateTime.Now.ToShortDateString();
|
||||||
|
|
||||||
//프로젝트 목록을 처리함
|
//담당자목록
|
||||||
this.tbRequest.Text = FCOMMON.info.Login.nameK;
|
var userList = FCOMMON.DBM.getGroupList("name + '(' + id + ')'", "Users", "[level] > 0 and [level] < 10", false, false);
|
||||||
|
foreach (var user in userList)
|
||||||
|
{
|
||||||
|
this.cmbUser.Items.Add(user);
|
||||||
|
}
|
||||||
|
string namestr = string.Format("{0}({1})", FCOMMON.info.Login.nameK, FCOMMON.info.Login.no);
|
||||||
|
if (FCOMMON.info.Login.no == "dev") namestr = "김치균(395552)";
|
||||||
|
cmbUser.Text = namestr;
|
||||||
|
|
||||||
//state list
|
//state list
|
||||||
var stList = FCOMMON.DBM.getCodeList("05");
|
var stList = FCOMMON.DBM.getCodeList("05");
|
||||||
this.cmbState.Items.Clear();
|
this.cmbState.Items.Clear();
|
||||||
cmbState.Items.Add("-- All --");
|
cmbState.Items.Add("-- All --");
|
||||||
// cmbState.Items.Add("-- incomplete --");
|
// cmbState.Items.Add("-- incomplete --");
|
||||||
foreach (var item in stList)
|
foreach (var item in stList)
|
||||||
cmbState.Items.Add(item);
|
cmbState.Items.Add(item);
|
||||||
this.cmbState.SelectedIndex = 0;
|
this.cmbState.SelectedIndex = 0;
|
||||||
|
|
||||||
|
|
||||||
|
//일반사용자의경우에는 상태를 변경하지 못한다.
|
||||||
|
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAutoType.jobreport));
|
||||||
|
if (curLevel >= 5)
|
||||||
|
{
|
||||||
|
btSave.Visible = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
btSave.Visible = false;
|
||||||
|
//btViewDel.Visible = false;
|
||||||
|
fpSpread1.EditMode = false;
|
||||||
|
fpSpread1.Sheets[0].SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row;
|
||||||
|
fpSpread1.EditModePermanent = false;
|
||||||
|
fpSpread1.EditModeReplace = false;
|
||||||
|
|
||||||
|
foreach (FarPoint.Win.Spread.Column col in fpSpread1.ActiveSheet.Columns)
|
||||||
|
col.Locked = true;
|
||||||
|
}
|
||||||
|
|
||||||
refreshData();
|
refreshData();
|
||||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||||
}
|
}
|
||||||
|
void RefreshTime()
|
||||||
|
{
|
||||||
|
lbTime.Text = "--h";
|
||||||
|
|
||||||
|
//사용자번호추적
|
||||||
|
if (cmbUser.Text.Trim() == "")
|
||||||
|
{
|
||||||
|
//FCOMMON.Util.MsgE("담당자가 선택되지 않았습니다.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (cmbUser.Text.IndexOf("(") == -1 || cmbUser.Text.IndexOf(")") == -1)
|
||||||
|
{
|
||||||
|
// FCOMMON.Util.MsgE("담당자 번호를 확인할 수 없습니다.(문의 T.8567)");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
string request = cmbUser.Text.Substring(cmbUser.Text.LastIndexOf('(') + 1);
|
||||||
|
request = request.Substring(0, request.Length - 1);
|
||||||
|
|
||||||
|
int work, ot, total;
|
||||||
|
FCOMMON.DBM.getWorkTime(request, this.dtSD.Text.Substring(0,7), out work, out total, out ot);
|
||||||
|
lbTime.Text = string.Format(" {0}h/{2}h, OT:{1}h", work,ot, total);
|
||||||
|
}
|
||||||
|
void dtSD_KeyDown(object sender, KeyEventArgs e)
|
||||||
|
{
|
||||||
|
if (e.KeyCode != Keys.Enter) return;
|
||||||
|
var tb = sender as ToolStripTextBox;
|
||||||
|
var input = tb.Text.Trim();
|
||||||
|
if (input == "") tb.Text = DateTime.Now.ToShortDateString();
|
||||||
|
else
|
||||||
|
{
|
||||||
|
string dt = string.Empty;
|
||||||
|
if (!util.MakeDateString(input, out dt))
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("입력값이 올바르지 않습니다.");
|
||||||
|
tb.SelectAll();
|
||||||
|
tb.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
tb.Text = dt;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (tb == dtSD)
|
||||||
|
{
|
||||||
|
dtED.Focus();
|
||||||
|
dtED.SelectAll();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
btSearch.PerformClick();
|
||||||
|
tb.SelectAll();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void refreshData()
|
void refreshData()
|
||||||
{
|
{
|
||||||
string state = "%";
|
string state = "%";
|
||||||
if (cmbState.SelectedIndex > 0) state = cmbState.Text.Split(',')[0].Substring(1);
|
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, "%");
|
//사용자번호추적
|
||||||
|
if (cmbUser.Text.Trim() == "")
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("담당자가 선택되지 않았습니다.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (cmbUser.Text.IndexOf("(") == -1 || cmbUser.Text.IndexOf(")") == -1)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("담당자 번호를 확인할 수 없습니다.(문의 T.8567)");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
string request = cmbUser.Text.Substring(cmbUser.Text.LastIndexOf('(') + 1);
|
||||||
|
request = request.Substring(0, request.Length - 1);
|
||||||
|
|
||||||
|
this.ta.Fill(this.dsMSSQL.JobReport, dtSD.Text, dtED.Text, request);
|
||||||
|
RefreshTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
void saveData()
|
void saveData()
|
||||||
{
|
{
|
||||||
this.Validate();
|
this.Validate();
|
||||||
this.bs.EndEdit();
|
this.bs.EndEdit();
|
||||||
this.tam.UpdateAll(this.dsMSSQL);
|
try
|
||||||
|
{
|
||||||
|
this.tam.UpdateAll(this.dsMSSQL);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("저장 실패\n" + ex.Message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void projectsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
private void projectsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||||
@@ -71,12 +176,13 @@ namespace FPJ0000
|
|||||||
}
|
}
|
||||||
void Projects_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
void Projects_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||||
{
|
{
|
||||||
|
e.Row["pdate"] = DateTime.Now.ToShortDateString();
|
||||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||||
e.Row["wdate"] = DateTime.Now;
|
e.Row["wdate"] = DateTime.Now;
|
||||||
e.Row["type"] = "02";//other
|
e.Row["status"] = "진행 완료";//other
|
||||||
e.Row["uid"] = FCOMMON.info.Login.no;
|
e.Row["uid"] = FCOMMON.info.Login.nameK; //이름을 직접 기록
|
||||||
e.Row["hrs"] = 1.0;
|
e.Row["hrs"] = 8.0;
|
||||||
e.Row["pdate"] = DateTime.Now.ToShortDateString();
|
e.Row["ot"] = 0.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void refreshToolStripMenuItem_Click(object sender, EventArgs e)
|
private void refreshToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
@@ -86,8 +192,8 @@ namespace FPJ0000
|
|||||||
|
|
||||||
private void partListToolStripMenuItem_Click(object sender, EventArgs e)
|
private void partListToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var drv =this.bs.Current as DataRowView;
|
var drv = this.bs.Current as DataRowView;
|
||||||
if(drv == null) return;
|
if (drv == null) return;
|
||||||
var dr = drv.Row as dsPRJ.ProjectsRow;
|
var dr = drv.Row as dsPRJ.ProjectsRow;
|
||||||
var f = new fPartList(dr.idx);
|
var f = new fPartList(dr.idx);
|
||||||
f.MdiParent = this.MdiParent;
|
f.MdiParent = this.MdiParent;
|
||||||
@@ -130,22 +236,175 @@ namespace FPJ0000
|
|||||||
private void toolStripLabel3_Click(object sender, EventArgs e)
|
private void toolStripLabel3_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
//사용자목록처리
|
//사용자목록처리
|
||||||
tbRequest.Text = string.Empty;
|
var namestr = string.Format("{0}({1})", FCOMMON.info.Login.nameK, FCOMMON.info.Login.no); ;
|
||||||
|
if (FCOMMON.info.Login.no == "dev") namestr = "김치균(395552)";
|
||||||
|
this.cmbUser.Text = namestr;
|
||||||
refreshData();
|
refreshData();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
|
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var newdr = this.dsMSSQL.JobReport.NewJobReportRow();
|
var newdr = this.dsMSSQL.JobReport.NewJobReportRow();
|
||||||
|
newdr.pdate = DateTime.Now.ToShortDateString();
|
||||||
|
if (DateTime.Now.DayOfWeek == DayOfWeek.Sunday ||
|
||||||
|
DateTime.Now.DayOfWeek == DayOfWeek.Saturday) newdr.hrs = 0;
|
||||||
|
|
||||||
JobReport.fJobReport_Add f = new JobReport.fJobReport_Add(newdr);
|
JobReport.fJobReport_Add f = new JobReport.fJobReport_Add(newdr);
|
||||||
if(f.ShowDialog() != System.Windows.Forms.DialogResult.OK)
|
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||||
{
|
|
||||||
newdr.Delete();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
this.dsMSSQL.JobReport.AddJobReportRow(newdr);
|
this.dsMSSQL.JobReport.AddJobReportRow(newdr);
|
||||||
|
int cnt = this.ta.Update(newdr);
|
||||||
|
newdr.AcceptChanges();
|
||||||
|
if (cnt != 1)
|
||||||
|
FCOMMON.Util.MsgE("자료가 추가되지 않았습니다.\n\n잠시 후 다시 시도하세요");
|
||||||
|
}
|
||||||
|
else newdr.Delete();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btFind_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var search = tbFind.Text.Trim();
|
||||||
|
search = search.Replace("*", "x");
|
||||||
|
if (tbFind.Text != search) tbFind.Text = search;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (search.Trim() == "")
|
||||||
|
{
|
||||||
|
this.bs.Filter = "";
|
||||||
|
tbFind.BackColor = Color.White;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
search = search.Replace("'", "''");
|
||||||
|
string filter = "requestpart like ? or package like ? or projectname like ? or process like ? or [type] like ? or description like ?";
|
||||||
|
filter = filter.Replace("?", "'%" + search + "%'");
|
||||||
|
this.bs.Filter = filter;
|
||||||
|
tbFind.BackColor = Color.Lime;
|
||||||
|
}
|
||||||
|
tbFind.SelectAll();
|
||||||
|
tbFind.Focus();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
this.tbFind.BackColor = Color.Tomato;
|
||||||
|
FCOMMON.Util.MsgE(ex.Message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void tbFind_KeyDown(object sender, KeyEventArgs e)
|
||||||
|
{
|
||||||
|
if (e.KeyCode == Keys.Enter) btFind.PerformClick();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btEdit_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Func_Edit();
|
||||||
|
}
|
||||||
|
void Func_Edit()
|
||||||
|
{
|
||||||
|
var drv = this.bs.Current as DataRowView;
|
||||||
|
if (drv == null) return;
|
||||||
|
var dr = drv.Row as dsPRJ.JobReportRow;
|
||||||
|
|
||||||
|
var f = new JobReport.fJobReport_Add(dr);
|
||||||
|
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||||
|
{
|
||||||
|
if (dr.RowState != DataRowState.Unchanged)
|
||||||
|
{
|
||||||
|
this.ta.Update(dr);
|
||||||
|
dr.AcceptChanges();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else dr.RejectChanges();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void exportListToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
SaveFileDialog sd = new SaveFileDialog();
|
||||||
|
sd.Filter = "excel|*.xls";
|
||||||
|
sd.FileName = "jobreport.xls";
|
||||||
|
if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||||
|
{
|
||||||
|
fpSpread1.SaveExcel(sd.FileName,
|
||||||
|
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||||
|
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||||
|
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||||
|
FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btCopy_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var drv = this.bs.Current as DataRowView;
|
||||||
|
if (drv == null) return;
|
||||||
|
var dr = drv.Row as dsPRJ.JobReportRow;
|
||||||
|
|
||||||
|
//현재 데이터를 입력하여 신규 추가를 한다.
|
||||||
|
var newdr = this.dsMSSQL.JobReport.NewJobReportRow();
|
||||||
|
FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr);
|
||||||
|
newdr.wdate = DateTime.Now;
|
||||||
|
newdr.wuid = FCOMMON.info.Login.no;
|
||||||
|
newdr.description = "";
|
||||||
|
newdr.idx = -1;
|
||||||
|
newdr.hrs = 8.0;
|
||||||
|
newdr.ot = 0.0;
|
||||||
|
newdr.EndEdit();
|
||||||
|
|
||||||
|
//var newdr = this.dsMSSQL.JobReport.NewJobReportRow();
|
||||||
|
JobReport.fJobReport_Add f = new JobReport.fJobReport_Add(newdr);
|
||||||
|
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||||
|
{
|
||||||
|
this.dsMSSQL.JobReport.AddJobReportRow(newdr);
|
||||||
|
this.ta.Update(newdr);
|
||||||
|
newdr.AcceptChanges();
|
||||||
|
}
|
||||||
|
else newdr.Delete();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btDel_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var drv = this.bs.Current as DataRowView;
|
||||||
|
if (drv == null) return;
|
||||||
|
var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?");
|
||||||
|
var dr = drv.Row as dsPRJ.JobReportRow;
|
||||||
|
dr.Delete();
|
||||||
|
try
|
||||||
|
{
|
||||||
|
this.ta.Update(dr);
|
||||||
|
//dr.AcceptChanges();
|
||||||
|
//FCOMMON.Util.MsgI("삭제 완료");
|
||||||
|
}
|
||||||
|
catch(Exception ex)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("삭제실패\n\n"+ex.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void lbStt_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var f = new FCOMMON.fSelectMonth();
|
||||||
|
if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
|
||||||
|
var sdDate = DateTime.Parse(DateTime.Now.ToString("yyyy-") + f.selectmon.ToString() + "-01");
|
||||||
|
dtSD.Text = sdDate.ToShortDateString();
|
||||||
|
dtED.Text = sdDate.AddMonths(1).AddDays(-1).ToShortDateString();
|
||||||
|
refreshData();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btReport_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var f = new JobReport.rJobReport();
|
||||||
|
f.Show();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void cmbUser_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void cmbUser_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
RefreshTime();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -127,18 +127,6 @@
|
|||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>
|
|
||||||
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=
|
|
||||||
</value>
|
|
||||||
</data>
|
|
||||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
@@ -179,7 +167,7 @@
|
|||||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="btAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||||
@@ -191,13 +179,54 @@
|
|||||||
rkJggg==
|
rkJggg==
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="projectsBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="btEdit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEvSURBVDhPpZI/S0JRGIed+i6Nbk0t0iCuSkuDi1MfIKfm
|
||||||
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
+gAOQktTQkMggYtRkwgidKmgyQwMCgqz0CivvvK8cK7neG4KdeHhHs45v+c9/xLyz08Ft713OQ+6SqXV
|
||||||
|
kfLlnXJw1lSK5VrERqGkMB4JCCLpvQ7lZfDlQJ+B4EnwI9nTkbYdAZMbjxOPq4eJPH1MvXC2sD8XsOzP
|
||||||
|
0bcX/C3MXEfAfmzBsnCnP10uWBWu3IS+gJOm0w5fHCZiw0aQzu3GC0xYgm2R+poTRnh8HeqNOALu920w
|
||||||
|
9MK0F8NGkMrs+ALewqrwUXss3ed+vKB6H+rh2OT3SjpO0IBgcyvnCjgDBGCq8mcMiQ3FHAGdLB/J4vMF
|
||||||
|
KhoI83LXk6m5gCpmufbyOWlgv0BVIMx4JPj7JzIDGHRUPz2nxiQAAAAASUVORK5CYII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="btDel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
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=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE3SURBVDhPnZIxS8NQFEb7W/wLjh0Fl9a1SxBHBekkWFd1
|
||||||
|
qYg4Ci5dndSCg2AHl4LQSaRSKDqoFUE7VAjUmvTKueWmL2mw2gunL7zmO+/mJhmZoTJusdF868vpXUfO
|
||||||
|
b5/lpPEox9f3SvnsRtk8uojxHQ7HEgSEkXS6vrz3xqtdu+xdfUiheEBsJOGCk/mz/hROUHsIIrp+qIKY
|
||||||
|
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
|
||||||
|
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
|
||||||
|
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="btReport.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE3SURBVDhPnZIxS8NQFEb7W/wLjh0Fl9a1SxBHBekkWFd1
|
||||||
|
qYg4Ci5dndSCg2AHl4LQSaRSKDqoFUE7VAjUmvTKueWmL2mw2gunL7zmO+/mJhmZoTJusdF868vpXUfO
|
||||||
|
b5/lpPEox9f3SvnsRtk8uojxHQ7HEgSEkXS6vrz3xqtdu+xdfUiheEBsJOGCk/mz/hROUHsIIrp+qIKY
|
||||||
|
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
|
||||||
|
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
|
||||||
|
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
<metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>325, 17</value>
|
<value>325, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|||||||
552
SubProject/FPJ0000/JobReport/fJobReportImport.Designer.cs
generated
Normal file
552
SubProject/FPJ0000/JobReport/fJobReportImport.Designer.cs
generated
Normal file
@@ -0,0 +1,552 @@
|
|||||||
|
namespace FPJ0000.JobReport
|
||||||
|
{
|
||||||
|
partial class fJobReportImport
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.components = new System.ComponentModel.Container();
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fJobReportImport));
|
||||||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||||
|
this.button3 = new System.Windows.Forms.Button();
|
||||||
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
|
this.label7 = new System.Windows.Forms.Label();
|
||||||
|
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||||
|
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label6 = new System.Windows.Forms.Label();
|
||||||
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
|
this.nudCE = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.nudCS = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.nudE = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.nudS = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||||
|
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||||
|
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.progressBar1 = new System.Windows.Forms.ToolStripProgressBar();
|
||||||
|
this.sd = new System.Windows.Forms.DateTimePicker();
|
||||||
|
this.ed = new System.Windows.Forms.DateTimePicker();
|
||||||
|
this.cmbUser = new System.Windows.Forms.ComboBox();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||||
|
this.panel1.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.nudCE)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.nudCS)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.nudE)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.nudS)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||||
|
this.bn.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(42, 9);
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(170, 21);
|
||||||
|
this.textBox1.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// linkLabel1
|
||||||
|
//
|
||||||
|
this.linkLabel1.AutoSize = true;
|
||||||
|
this.linkLabel1.Location = new System.Drawing.Point(12, 13);
|
||||||
|
this.linkLabel1.Name = "linkLabel1";
|
||||||
|
this.linkLabel1.Size = new System.Drawing.Size(25, 12);
|
||||||
|
this.linkLabel1.TabIndex = 0;
|
||||||
|
this.linkLabel1.TabStop = true;
|
||||||
|
this.linkLabel1.Text = "File";
|
||||||
|
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(525, 8);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(102, 21);
|
||||||
|
this.button1.TabIndex = 4;
|
||||||
|
this.button1.Text = "1.View";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// dataGridView1
|
||||||
|
//
|
||||||
|
this.dataGridView1.AllowUserToAddRows = false;
|
||||||
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.dataGridView1.Location = new System.Drawing.Point(0, 120);
|
||||||
|
this.dataGridView1.Name = "dataGridView1";
|
||||||
|
this.dataGridView1.RowTemplate.Height = 23;
|
||||||
|
this.dataGridView1.Size = new System.Drawing.Size(906, 512);
|
||||||
|
this.dataGridView1.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// button3
|
||||||
|
//
|
||||||
|
this.button3.Location = new System.Drawing.Point(525, 35);
|
||||||
|
this.button3.Name = "button3";
|
||||||
|
this.button3.Size = new System.Drawing.Size(102, 21);
|
||||||
|
this.button3.TabIndex = 6;
|
||||||
|
this.button3.Text = "2.Save";
|
||||||
|
this.button3.UseVisualStyleBackColor = true;
|
||||||
|
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||||||
|
//
|
||||||
|
// panel1
|
||||||
|
//
|
||||||
|
this.panel1.Controls.Add(this.cmbUser);
|
||||||
|
this.panel1.Controls.Add(this.label7);
|
||||||
|
this.panel1.Controls.Add(this.checkBox1);
|
||||||
|
this.panel1.Controls.Add(this.numericUpDown2);
|
||||||
|
this.panel1.Controls.Add(this.label6);
|
||||||
|
this.panel1.Controls.Add(this.ed);
|
||||||
|
this.panel1.Controls.Add(this.sd);
|
||||||
|
this.panel1.Controls.Add(this.label4);
|
||||||
|
this.panel1.Controls.Add(this.nudCE);
|
||||||
|
this.panel1.Controls.Add(this.nudCS);
|
||||||
|
this.panel1.Controls.Add(this.label5);
|
||||||
|
this.panel1.Controls.Add(this.label3);
|
||||||
|
this.panel1.Controls.Add(this.nudE);
|
||||||
|
this.panel1.Controls.Add(this.nudS);
|
||||||
|
this.panel1.Controls.Add(this.label2);
|
||||||
|
this.panel1.Controls.Add(this.numericUpDown1);
|
||||||
|
this.panel1.Controls.Add(this.label1);
|
||||||
|
this.panel1.Controls.Add(this.button3);
|
||||||
|
this.panel1.Controls.Add(this.textBox1);
|
||||||
|
this.panel1.Controls.Add(this.linkLabel1);
|
||||||
|
this.panel1.Controls.Add(this.button1);
|
||||||
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.panel1.Name = "panel1";
|
||||||
|
this.panel1.Size = new System.Drawing.Size(906, 120);
|
||||||
|
this.panel1.TabIndex = 0;
|
||||||
|
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
|
||||||
|
//
|
||||||
|
// label7
|
||||||
|
//
|
||||||
|
this.label7.AutoSize = true;
|
||||||
|
this.label7.Location = new System.Drawing.Point(362, 95);
|
||||||
|
this.label7.Name = "label7";
|
||||||
|
this.label7.Size = new System.Drawing.Size(29, 12);
|
||||||
|
this.label7.TabIndex = 21;
|
||||||
|
this.label7.Text = "사번";
|
||||||
|
//
|
||||||
|
// checkBox1
|
||||||
|
//
|
||||||
|
this.checkBox1.AutoSize = true;
|
||||||
|
this.checkBox1.Location = new System.Drawing.Point(474, 66);
|
||||||
|
this.checkBox1.Name = "checkBox1";
|
||||||
|
this.checkBox1.Size = new System.Drawing.Size(127, 16);
|
||||||
|
this.checkBox1.TabIndex = 19;
|
||||||
|
this.checkBox1.Text = "Auto Delete Import";
|
||||||
|
this.checkBox1.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// numericUpDown2
|
||||||
|
//
|
||||||
|
this.numericUpDown2.Location = new System.Drawing.Point(406, 63);
|
||||||
|
this.numericUpDown2.Maximum = new decimal(new int[] {
|
||||||
|
65535,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.numericUpDown2.Name = "numericUpDown2";
|
||||||
|
this.numericUpDown2.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.numericUpDown2.TabIndex = 18;
|
||||||
|
this.numericUpDown2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
this.numericUpDown2.Value = new decimal(new int[] {
|
||||||
|
3,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
//
|
||||||
|
// label6
|
||||||
|
//
|
||||||
|
this.label6.AutoSize = true;
|
||||||
|
this.label6.Location = new System.Drawing.Point(312, 67);
|
||||||
|
this.label6.Name = "label6";
|
||||||
|
this.label6.Size = new System.Drawing.Size(87, 12);
|
||||||
|
this.label6.TabIndex = 17;
|
||||||
|
this.label6.Text = "Column Name";
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
this.label4.AutoSize = true;
|
||||||
|
this.label4.Location = new System.Drawing.Point(455, 13);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(14, 12);
|
||||||
|
this.label4.TabIndex = 14;
|
||||||
|
this.label4.Text = "~";
|
||||||
|
//
|
||||||
|
// nudCE
|
||||||
|
//
|
||||||
|
this.nudCE.Location = new System.Drawing.Point(474, 9);
|
||||||
|
this.nudCE.Maximum = new decimal(new int[] {
|
||||||
|
65535,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.nudCE.Name = "nudCE";
|
||||||
|
this.nudCE.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.nudCE.TabIndex = 13;
|
||||||
|
this.nudCE.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
this.nudCE.Value = new decimal(new int[] {
|
||||||
|
14,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
//
|
||||||
|
// nudCS
|
||||||
|
//
|
||||||
|
this.nudCS.Location = new System.Drawing.Point(406, 9);
|
||||||
|
this.nudCS.Maximum = new decimal(new int[] {
|
||||||
|
65535,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.nudCS.Name = "nudCS";
|
||||||
|
this.nudCS.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.nudCS.TabIndex = 12;
|
||||||
|
this.nudCS.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
this.nudCS.Value = new decimal(new int[] {
|
||||||
|
2,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
//
|
||||||
|
// label5
|
||||||
|
//
|
||||||
|
this.label5.AutoSize = true;
|
||||||
|
this.label5.Location = new System.Drawing.Point(335, 13);
|
||||||
|
this.label5.Name = "label5";
|
||||||
|
this.label5.Size = new System.Drawing.Size(64, 12);
|
||||||
|
this.label5.TabIndex = 11;
|
||||||
|
this.label5.Text = "Col Range";
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Location = new System.Drawing.Point(455, 40);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(14, 12);
|
||||||
|
this.label3.TabIndex = 10;
|
||||||
|
this.label3.Text = "~";
|
||||||
|
//
|
||||||
|
// nudE
|
||||||
|
//
|
||||||
|
this.nudE.Location = new System.Drawing.Point(474, 36);
|
||||||
|
this.nudE.Maximum = new decimal(new int[] {
|
||||||
|
65535,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.nudE.Name = "nudE";
|
||||||
|
this.nudE.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.nudE.TabIndex = 9;
|
||||||
|
this.nudE.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
this.nudE.Value = new decimal(new int[] {
|
||||||
|
300,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
//
|
||||||
|
// nudS
|
||||||
|
//
|
||||||
|
this.nudS.Location = new System.Drawing.Point(406, 36);
|
||||||
|
this.nudS.Maximum = new decimal(new int[] {
|
||||||
|
65535,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.nudS.Name = "nudS";
|
||||||
|
this.nudS.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.nudS.TabIndex = 8;
|
||||||
|
this.nudS.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
this.nudS.Value = new decimal(new int[] {
|
||||||
|
5,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Location = new System.Drawing.Point(329, 40);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(70, 12);
|
||||||
|
this.label2.TabIndex = 7;
|
||||||
|
this.label2.Text = "Row Range";
|
||||||
|
//
|
||||||
|
// numericUpDown1
|
||||||
|
//
|
||||||
|
this.numericUpDown1.Location = new System.Drawing.Point(261, 9);
|
||||||
|
this.numericUpDown1.Maximum = new decimal(new int[] {
|
||||||
|
10,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.numericUpDown1.Name = "numericUpDown1";
|
||||||
|
this.numericUpDown1.Size = new System.Drawing.Size(45, 21);
|
||||||
|
this.numericUpDown1.TabIndex = 3;
|
||||||
|
this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(218, 13);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(37, 12);
|
||||||
|
this.label1.TabIndex = 2;
|
||||||
|
this.label1.Text = "Sheet";
|
||||||
|
//
|
||||||
|
// 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.progressBar1});
|
||||||
|
this.bn.Location = new System.Drawing.Point(0, 632);
|
||||||
|
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(906, 25);
|
||||||
|
this.bn.TabIndex = 2;
|
||||||
|
this.bn.Text = "bindingNavigator1";
|
||||||
|
//
|
||||||
|
// bindingNavigatorAddNewItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
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(23, 22);
|
||||||
|
this.bindingNavigatorAddNewItem.Text = "새로 추가";
|
||||||
|
//
|
||||||
|
// bindingNavigatorCountItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||||
|
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||||
|
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||||
|
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||||
|
//
|
||||||
|
// bindingNavigatorDeleteItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
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(23, 22);
|
||||||
|
this.bindingNavigatorDeleteItem.Text = "삭제";
|
||||||
|
//
|
||||||
|
// 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);
|
||||||
|
//
|
||||||
|
// progressBar1
|
||||||
|
//
|
||||||
|
this.progressBar1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||||
|
this.progressBar1.Name = "progressBar1";
|
||||||
|
this.progressBar1.Size = new System.Drawing.Size(200, 22);
|
||||||
|
//
|
||||||
|
// sd
|
||||||
|
//
|
||||||
|
this.sd.Location = new System.Drawing.Point(42, 40);
|
||||||
|
this.sd.Name = "sd";
|
||||||
|
this.sd.Size = new System.Drawing.Size(170, 21);
|
||||||
|
this.sd.TabIndex = 15;
|
||||||
|
//
|
||||||
|
// ed
|
||||||
|
//
|
||||||
|
this.ed.Location = new System.Drawing.Point(42, 67);
|
||||||
|
this.ed.Name = "ed";
|
||||||
|
this.ed.Size = new System.Drawing.Size(170, 21);
|
||||||
|
this.ed.TabIndex = 16;
|
||||||
|
//
|
||||||
|
// cmbUser
|
||||||
|
//
|
||||||
|
this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
|
this.cmbUser.FormattingEnabled = true;
|
||||||
|
this.cmbUser.Location = new System.Drawing.Point(397, 90);
|
||||||
|
this.cmbUser.Name = "cmbUser";
|
||||||
|
this.cmbUser.Size = new System.Drawing.Size(171, 20);
|
||||||
|
this.cmbUser.TabIndex = 22;
|
||||||
|
//
|
||||||
|
// fJobReportImport
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(906, 657);
|
||||||
|
this.Controls.Add(this.dataGridView1);
|
||||||
|
this.Controls.Add(this.bn);
|
||||||
|
this.Controls.Add(this.panel1);
|
||||||
|
this.Name = "fJobReportImport";
|
||||||
|
this.Text = "업무일지 가져오기";
|
||||||
|
this.Load += new System.EventHandler(this.@__Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||||
|
this.panel1.ResumeLayout(false);
|
||||||
|
this.panel1.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.nudCE)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.nudCS)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.nudE)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.nudS)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||||
|
this.bn.ResumeLayout(false);
|
||||||
|
this.bn.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
|
private System.Windows.Forms.LinkLabel linkLabel1;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.DataGridView dataGridView1;
|
||||||
|
private System.Windows.Forms.Button button3;
|
||||||
|
private System.Windows.Forms.Panel panel1;
|
||||||
|
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.ToolStripProgressBar progressBar1;
|
||||||
|
private System.Windows.Forms.BindingSource bs;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.NumericUpDown nudE;
|
||||||
|
private System.Windows.Forms.NumericUpDown nudS;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.NumericUpDown nudCE;
|
||||||
|
private System.Windows.Forms.NumericUpDown nudCS;
|
||||||
|
private System.Windows.Forms.Label label5;
|
||||||
|
private System.Windows.Forms.NumericUpDown numericUpDown2;
|
||||||
|
private System.Windows.Forms.Label label6;
|
||||||
|
private System.Windows.Forms.CheckBox checkBox1;
|
||||||
|
private System.Windows.Forms.Label label7;
|
||||||
|
private System.Windows.Forms.DateTimePicker ed;
|
||||||
|
private System.Windows.Forms.DateTimePicker sd;
|
||||||
|
private System.Windows.Forms.ComboBox cmbUser;
|
||||||
|
}
|
||||||
|
}
|
||||||
323
SubProject/FPJ0000/JobReport/fJobReportImport.cs
Normal file
323
SubProject/FPJ0000/JobReport/fJobReportImport.cs
Normal file
@@ -0,0 +1,323 @@
|
|||||||
|
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 fJobReportImport : Form
|
||||||
|
{
|
||||||
|
DataTable dt = new dsPRJ.JobReportDataTable();
|
||||||
|
DataTable dtExcel = new DataTable();
|
||||||
|
public fJobReportImport()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
this.FormClosed += __Closed;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void __Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.sd.Value = DateTime.Parse( DateTime.Now.Year.ToString("0000") + "-01-01");
|
||||||
|
this.ed.Value = DateTime.Now;
|
||||||
|
|
||||||
|
//담당자목록
|
||||||
|
|
||||||
|
var dt_users = FCOMMON.DBM.getUserTable();// getGroupList("name + '(' + id + ')'", "Users", "[level] > 0 and [level] < 10", false, false);
|
||||||
|
this.cmbUser.DisplayMember = "dispName";
|
||||||
|
this.cmbUser.ValueMember = "id";
|
||||||
|
this.cmbUser.DataSource = dt_users;
|
||||||
|
}
|
||||||
|
|
||||||
|
void __Closed(object sender, FormClosedEventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||||
|
{
|
||||||
|
OpenFileDialog od = new OpenFileDialog();
|
||||||
|
od.Filter = "excel|*.xlsx|all files|*.*";
|
||||||
|
// od.InitialDirectory = FCOMMON.Util.CurrentPath + "model";
|
||||||
|
od.FilterIndex = 1;
|
||||||
|
od.RestoreDirectory = true;
|
||||||
|
if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
|
||||||
|
textBox1.Text = od.FileName;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
int ColumnNameNo = (int)numericUpDown2.Value;
|
||||||
|
if(textBox1.Text.Trim() == "")
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("파일을 선택하세요");
|
||||||
|
textBox1.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(!System.IO.File.Exists(textBox1.Text))
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("입력하신 파일이 존재하지 않습니다.");
|
||||||
|
textBox1.Focus();
|
||||||
|
textBox1.SelectAll();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
dtExcel.Columns.Clear();
|
||||||
|
dtExcel.Rows.Clear();
|
||||||
|
dtExcel.AcceptChanges();
|
||||||
|
|
||||||
|
libxl.Book book;// = new libxl.BinBook();
|
||||||
|
book = new libxl.XmlBook();
|
||||||
|
book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey);
|
||||||
|
try
|
||||||
|
{
|
||||||
|
book.load(textBox1.Text);
|
||||||
|
}catch (Exception ex)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE(ex.Message);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
int sheetNum = (int)numericUpDown1.Value;
|
||||||
|
if (sheetNum >= book.sheetCount())
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("입력한 시트 번호는 존재하지 않습니다.");
|
||||||
|
book = null;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var sheet = book.getSheet(sheetNum);
|
||||||
|
var MaxRow = sheet.lastRow();
|
||||||
|
var MinRow = sheet.firstRow();
|
||||||
|
|
||||||
|
MaxRow = (int)Math.Min(MaxRow, nudE.Value-1);
|
||||||
|
MinRow = (int)Math.Max(MinRow, nudS.Value-1);
|
||||||
|
if(MinRow <= (ColumnNameNo-1))
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgI("시작줄을 제목줄 보다 커야 합니다. 자동으로 +1 증가합니다.");
|
||||||
|
MinRow = ColumnNameNo ;
|
||||||
|
}
|
||||||
|
|
||||||
|
var MaxCol = sheet.lastCol();
|
||||||
|
var MinCol = sheet.firstCol();
|
||||||
|
|
||||||
|
MaxCol = (int)Math.Min(MaxCol, nudCE.Value - 1);
|
||||||
|
MinCol = (int)Math.Max(MinCol, nudCS.Value - 1);
|
||||||
|
|
||||||
|
//제목줄을 처리한다. 181029
|
||||||
|
List<string> cols = new List<string>();
|
||||||
|
|
||||||
|
string sDate = sd.Value.ToShortDateString();
|
||||||
|
string eDate = ed.Value.ToShortDateString();
|
||||||
|
|
||||||
|
for (int c = MinCol; c <= MaxCol; c++)
|
||||||
|
{
|
||||||
|
var strVallue = sheet.readStr(ColumnNameNo-1, c);
|
||||||
|
if (strVallue.Trim()=="" )
|
||||||
|
{
|
||||||
|
if (c == MinCol)
|
||||||
|
{
|
||||||
|
//첫줄 첫행이 빈값이면 처리하지 않는다.
|
||||||
|
FCOMMON.Util.MsgE("열 제목에 빈값이 있어 처리되지 못합니다.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//빈값이 나왓으므로 열 최대값을 변경해준다.
|
||||||
|
if(c < MaxCol)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgI("빈값으로 인해 최대 열 번호를 " + c.ToString() + "로 변경합니다");
|
||||||
|
MaxCol = c;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
cols.Add(strVallue);
|
||||||
|
this.dtExcel.Columns.Add(strVallue);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
try{
|
||||||
|
for (int r = MinRow; r <= MaxRow; r++)
|
||||||
|
{
|
||||||
|
DataRow dr = dtExcel.NewRow();
|
||||||
|
|
||||||
|
Boolean nullColumn = false;
|
||||||
|
for (int c = MinCol; c <= MaxCol; c++)
|
||||||
|
{
|
||||||
|
if (sheet.isDate(r, c))
|
||||||
|
{
|
||||||
|
var datevalue = sheet.readNum(r, c);
|
||||||
|
int y, m, d;
|
||||||
|
y = m = d = 0;
|
||||||
|
book.dateUnpack(datevalue, ref y, ref m, ref d);
|
||||||
|
if (y == 1900) y = DateTime.Now.Year;
|
||||||
|
if (y >= 2000)
|
||||||
|
dr[cols[c - MinCol]] = string.Format("{0:0000}-{1:00}-{2:00}", y, m, d);
|
||||||
|
else
|
||||||
|
dr[cols[c - MinCol]] = string.Empty;
|
||||||
|
|
||||||
|
//일자가 만약 넘어서면 패스한다.
|
||||||
|
if(cols[c]=="일자" )
|
||||||
|
{
|
||||||
|
string value = dr[cols[c - MinCol]].ToString();
|
||||||
|
if(value == "")
|
||||||
|
{
|
||||||
|
nullColumn = true; //날짜가 없다면 패스
|
||||||
|
break;
|
||||||
|
} else if(value.CompareTo(sDate) < 0)
|
||||||
|
{
|
||||||
|
nullColumn = true; //과거데이터라서 패스
|
||||||
|
break;
|
||||||
|
} else if(value.CompareTo(eDate) > 0)
|
||||||
|
{
|
||||||
|
nullColumn = true; //미래데이터 패스
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var dateStrin = sheet.readStr(r, c);
|
||||||
|
|
||||||
|
var strVallue = sheet.readStr(r, c);
|
||||||
|
if (strVallue.Trim() == "" && c == MinCol)
|
||||||
|
{
|
||||||
|
//첫줄 첫행이 빈값이면 처리하지 않는다.
|
||||||
|
nullColumn = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (cols[c - MinCol].Trim() != "")
|
||||||
|
dr[cols[c - MinCol]] = strVallue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (nullColumn) continue; //줄처리를 못한 경우 넘어감
|
||||||
|
if (dr != null)
|
||||||
|
{
|
||||||
|
dtExcel.Rows.Add(dr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
dtExcel.AcceptChanges();
|
||||||
|
}
|
||||||
|
catch(Exception ex)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("불러오는 중 오류 발생\n" + ex.Message);
|
||||||
|
}
|
||||||
|
//
|
||||||
|
book = null;
|
||||||
|
|
||||||
|
this.bs.DataSource = dtExcel;
|
||||||
|
this.dataGridView1.DataSource = dtExcel;
|
||||||
|
this.bn.BindingSource = this.bs;
|
||||||
|
|
||||||
|
if(this.bs.Count < 1)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("입력된 자료가 없습니다.\n\n지정된 엑셀의 1번째 칸에 값이 없다면 입력되지 않습니다.");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void button3_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if(dtExcel == null || dtExcel.Rows.Count < 1)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("등록 가능한 자료가 없습니다.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(cmbUser.SelectedValue == null || cmbUser.Text.Trim()=="")
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("사번이 입력되지 않았습니다.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
System.Text.StringBuilder sb = new StringBuilder();
|
||||||
|
sb.AppendLine("다음 자료를 추가하시겠습니까?");
|
||||||
|
sb.AppendLine();
|
||||||
|
sb.AppendLine("'저장 완료' 메세지가 나올때 까지 기다려 주세요.");
|
||||||
|
sb.AppendLine();
|
||||||
|
sb.AppendLine("실행 하려면 '예' 를 누르세요");
|
||||||
|
var dlg = FCOMMON.Util.MsgQ(sb.ToString());
|
||||||
|
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
dt.Clear();
|
||||||
|
dt.AcceptChanges();
|
||||||
|
|
||||||
|
this.progressBar1.Value = 0;
|
||||||
|
this.progressBar1.Maximum = dtExcel.Rows.Count;
|
||||||
|
|
||||||
|
//12,13
|
||||||
|
foreach (DataRow dr in dtExcel.Rows)
|
||||||
|
{
|
||||||
|
this.progressBar1.Value += 1;
|
||||||
|
|
||||||
|
//데이터추가
|
||||||
|
var newdr = dt.NewRow();
|
||||||
|
if (dr[1] == DBNull.Value || dr[1].ToString()=="") continue; //nullerror
|
||||||
|
|
||||||
|
var strdate = dr[1].ToString().Replace('/','-');
|
||||||
|
var datebuf = strdate.Split('-');
|
||||||
|
if (datebuf.Length == 2)
|
||||||
|
{
|
||||||
|
strdate = DateTime.Now.Year.ToString("0000") + "-" +
|
||||||
|
datebuf[0].PadLeft(2, '0') + "-" +
|
||||||
|
datebuf[1].PadLeft(2, '0');
|
||||||
|
}
|
||||||
|
newdr["pdate"] = strdate;
|
||||||
|
|
||||||
|
newdr["uid"] = cmbUser.SelectedValue.ToString(); // tbNo.Text.Trim();
|
||||||
|
newdr["requestpart"] = dr[2].ToString().Trim();
|
||||||
|
newdr["package"] = dr[3].ToString().Trim();
|
||||||
|
newdr["status"] = dr[4].ToString().Trim();
|
||||||
|
newdr["type"] = dr[5].ToString();
|
||||||
|
newdr["process"] = dr[6].ToString();
|
||||||
|
newdr["projectName"] = dr[7].ToString();
|
||||||
|
newdr["description"] = dr[8].ToString();
|
||||||
|
|
||||||
|
|
||||||
|
//프로젝트이름을 검색해서 PIDX를 결정해준다.
|
||||||
|
newdr["pidx"] = -1;// dr[3].ToString();
|
||||||
|
|
||||||
|
string hrsstr = "";
|
||||||
|
if (dr[9] != DBNull.Value) hrsstr = dr[9].ToString().Trim();
|
||||||
|
if (hrsstr.Trim() == "") hrsstr = "0";
|
||||||
|
newdr["hrs"] = double.Parse(hrsstr);
|
||||||
|
|
||||||
|
string otstr = "";
|
||||||
|
if (dr[10] != DBNull.Value) otstr = dr[10].ToString().Trim();
|
||||||
|
if (otstr.Trim() == "") otstr = "0";
|
||||||
|
newdr["ot"] = double.Parse(otstr);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
newdr["remark"] = "";
|
||||||
|
|
||||||
|
newdr["import"] = true;
|
||||||
|
newdr["wuid"] = FCOMMON.info.Login.no;
|
||||||
|
newdr["wdate"] = DateTime.Now;
|
||||||
|
|
||||||
|
dt.Rows.Add(newdr);
|
||||||
|
}
|
||||||
|
|
||||||
|
var taE = new dsPRJTableAdapters.JobReportTableAdapter();
|
||||||
|
if (checkBox1.Checked) taE.DeleteImport(sd.Value.ToShortDateString(), ed.Value.ToShortDateString(), FCOMMON.info.Login.no);
|
||||||
|
taE.Update((dsPRJ.JobReportDataTable)dt);
|
||||||
|
|
||||||
|
dt.AcceptChanges();
|
||||||
|
FCOMMON.Util.MsgI("Save OK");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void panel1_Paint(object sender, PaintEventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
191
SubProject/FPJ0000/JobReport/fJobReportImport.resx
Normal file
191
SubProject/FPJ0000/JobReport/fJobReportImport.resx
Normal file
@@ -0,0 +1,191 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
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==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>83, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
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=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
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=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
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
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||||
|
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||||
|
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||||
|
oAc0QjgAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
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==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
545
SubProject/FPJ0000/JobReport/fJobReport_Add.Designer.cs
generated
545
SubProject/FPJ0000/JobReport/fJobReport_Add.Designer.cs
generated
@@ -29,127 +29,311 @@
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
System.Windows.Forms.Label groupLabel;
|
|
||||||
System.Windows.Forms.Label uidLabel;
|
|
||||||
System.Windows.Forms.Label memoLabel;
|
|
||||||
System.Windows.Forms.Label hrsLabel;
|
System.Windows.Forms.Label hrsLabel;
|
||||||
System.Windows.Forms.Label projectLabel;
|
|
||||||
System.Windows.Forms.Label typeLabel;
|
System.Windows.Forms.Label typeLabel;
|
||||||
System.Windows.Forms.Label label1;
|
System.Windows.Forms.Label label1;
|
||||||
System.Windows.Forms.Label label2;
|
System.Windows.Forms.Label label2;
|
||||||
this.dsPRJ = new FPJ0000.dsPRJ();
|
System.Windows.Forms.Label projectLabel;
|
||||||
|
System.Windows.Forms.Label label4;
|
||||||
|
System.Windows.Forms.Label stateLabel;
|
||||||
|
System.Windows.Forms.Label label5;
|
||||||
|
this.lbSummary = new System.Windows.Forms.Label();
|
||||||
|
this.tbHrs = new System.Windows.Forms.TextBox();
|
||||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||||
this.ta = new FPJ0000.dsPRJTableAdapters.JobReportTableAdapter();
|
this.dsPRJ = new FPJ0000.dsPRJ();
|
||||||
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
|
|
||||||
this.pdateTextBox = new System.Windows.Forms.TextBox();
|
|
||||||
this.groupTextBox = 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.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||||
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
|
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.lbIndex = new System.Windows.Forms.ToolStripStatusLabel();
|
this.lbIndex = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
this.cmbType = new System.Windows.Forms.ComboBox();
|
||||||
this.typeComboBox = new System.Windows.Forms.ComboBox();
|
this.btSave = new System.Windows.Forms.Button();
|
||||||
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
this.tbDescription = new System.Windows.Forms.TextBox();
|
||||||
this.button1 = new System.Windows.Forms.Button();
|
this.dtPdate = new System.Windows.Forms.DateTimePicker();
|
||||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
this.cmbUser = new System.Windows.Forms.ComboBox();
|
||||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
this.tbProject = new System.Windows.Forms.TextBox();
|
||||||
groupLabel = new System.Windows.Forms.Label();
|
this.tbProjectIndex = new System.Windows.Forms.TextBox();
|
||||||
uidLabel = new System.Windows.Forms.Label();
|
this.tbOt = new System.Windows.Forms.TextBox();
|
||||||
memoLabel = new System.Windows.Forms.Label();
|
this.tbWW = new System.Windows.Forms.TextBox();
|
||||||
|
this.cmbProcess = new System.Windows.Forms.ComboBox();
|
||||||
|
this.cmbState = new System.Windows.Forms.ComboBox();
|
||||||
|
this.cmbPackage = new System.Windows.Forms.ComboBox();
|
||||||
|
this.cmbRequest = new System.Windows.Forms.ComboBox();
|
||||||
|
this.ta = new FPJ0000.dsPRJTableAdapters.JobReportTableAdapter();
|
||||||
|
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
|
||||||
hrsLabel = new System.Windows.Forms.Label();
|
hrsLabel = new System.Windows.Forms.Label();
|
||||||
projectLabel = new System.Windows.Forms.Label();
|
|
||||||
typeLabel = new System.Windows.Forms.Label();
|
typeLabel = new System.Windows.Forms.Label();
|
||||||
label1 = new System.Windows.Forms.Label();
|
label1 = new System.Windows.Forms.Label();
|
||||||
label2 = new System.Windows.Forms.Label();
|
label2 = new System.Windows.Forms.Label();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
|
projectLabel = new System.Windows.Forms.Label();
|
||||||
|
label4 = new System.Windows.Forms.Label();
|
||||||
|
stateLabel = new System.Windows.Forms.Label();
|
||||||
|
label5 = new System.Windows.Forms.Label();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
|
||||||
this.statusStrip1.SuspendLayout();
|
this.statusStrip1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// groupLabel
|
|
||||||
//
|
|
||||||
groupLabel.AutoSize = true;
|
|
||||||
groupLabel.Location = new System.Drawing.Point(43, 68);
|
|
||||||
groupLabel.Name = "groupLabel";
|
|
||||||
groupLabel.Size = new System.Drawing.Size(47, 12);
|
|
||||||
groupLabel.TabIndex = 6;
|
|
||||||
groupLabel.Text = "request";
|
|
||||||
//
|
|
||||||
// uidLabel
|
|
||||||
//
|
|
||||||
uidLabel.AutoSize = true;
|
|
||||||
uidLabel.Location = new System.Drawing.Point(64, 15);
|
|
||||||
uidLabel.Name = "uidLabel";
|
|
||||||
uidLabel.Size = new System.Drawing.Size(26, 12);
|
|
||||||
uidLabel.TabIndex = 8;
|
|
||||||
uidLabel.Text = "uid:";
|
|
||||||
//
|
|
||||||
// memoLabel
|
|
||||||
//
|
|
||||||
memoLabel.AutoSize = true;
|
|
||||||
memoLabel.Location = new System.Drawing.Point(46, 236);
|
|
||||||
memoLabel.Name = "memoLabel";
|
|
||||||
memoLabel.Size = new System.Drawing.Size(44, 12);
|
|
||||||
memoLabel.TabIndex = 12;
|
|
||||||
memoLabel.Text = "remark";
|
|
||||||
//
|
|
||||||
// hrsLabel
|
// hrsLabel
|
||||||
//
|
//
|
||||||
hrsLabel.AutoSize = true;
|
hrsLabel.AutoSize = true;
|
||||||
hrsLabel.Location = new System.Drawing.Point(188, 123);
|
hrsLabel.Location = new System.Drawing.Point(18, 162);
|
||||||
hrsLabel.Name = "hrsLabel";
|
hrsLabel.Name = "hrsLabel";
|
||||||
hrsLabel.Size = new System.Drawing.Size(27, 12);
|
hrsLabel.Size = new System.Drawing.Size(115, 12);
|
||||||
hrsLabel.TabIndex = 16;
|
hrsLabel.TabIndex = 16;
|
||||||
hrsLabel.Text = "hrs:";
|
hrsLabel.Text = "근무시간 / 초과시간";
|
||||||
//
|
|
||||||
// projectLabel
|
|
||||||
//
|
|
||||||
projectLabel.AutoSize = true;
|
|
||||||
projectLabel.Location = new System.Drawing.Point(43, 150);
|
|
||||||
projectLabel.Name = "projectLabel";
|
|
||||||
projectLabel.Size = new System.Drawing.Size(47, 12);
|
|
||||||
projectLabel.TabIndex = 26;
|
|
||||||
projectLabel.Text = "project:";
|
|
||||||
//
|
//
|
||||||
// typeLabel
|
// typeLabel
|
||||||
//
|
//
|
||||||
typeLabel.AutoSize = true;
|
typeLabel.AutoSize = true;
|
||||||
typeLabel.Location = new System.Drawing.Point(57, 123);
|
typeLabel.Location = new System.Drawing.Point(18, 129);
|
||||||
typeLabel.Name = "typeLabel";
|
typeLabel.Name = "typeLabel";
|
||||||
typeLabel.Size = new System.Drawing.Size(33, 12);
|
typeLabel.Size = new System.Drawing.Size(115, 12);
|
||||||
typeLabel.TabIndex = 29;
|
typeLabel.TabIndex = 13;
|
||||||
typeLabel.Text = "type:";
|
typeLabel.Text = "업무형태 / 업무분류";
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
label1.AutoSize = true;
|
label1.AutoSize = true;
|
||||||
label1.Location = new System.Drawing.Point(37, 95);
|
label1.Location = new System.Drawing.Point(30, 100);
|
||||||
label1.Name = "label1";
|
label1.Name = "label1";
|
||||||
label1.Size = new System.Drawing.Size(53, 12);
|
label1.Size = new System.Drawing.Size(103, 12);
|
||||||
label1.TabIndex = 33;
|
label1.TabIndex = 10;
|
||||||
label1.Text = "package";
|
label1.Text = "요청부서 / 패키지";
|
||||||
//
|
//
|
||||||
// label2
|
// label2
|
||||||
//
|
//
|
||||||
label2.AutoSize = true;
|
label2.AutoSize = true;
|
||||||
label2.Location = new System.Drawing.Point(22, 177);
|
label2.Location = new System.Drawing.Point(76, 190);
|
||||||
label2.Name = "label2";
|
label2.Name = "label2";
|
||||||
label2.Size = new System.Drawing.Size(68, 12);
|
label2.Size = new System.Drawing.Size(57, 12);
|
||||||
label2.TabIndex = 35;
|
label2.TabIndex = 18;
|
||||||
label2.Text = "Description";
|
label2.Text = "진행 내용";
|
||||||
|
//
|
||||||
|
// projectLabel
|
||||||
|
//
|
||||||
|
projectLabel.AutoSize = true;
|
||||||
|
projectLabel.Location = new System.Drawing.Point(30, 74);
|
||||||
|
projectLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
projectLabel.Name = "projectLabel";
|
||||||
|
projectLabel.Size = new System.Drawing.Size(103, 12);
|
||||||
|
projectLabel.TabIndex = 7;
|
||||||
|
projectLabel.Text = "프로젝트 (아이템)";
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
label4.AutoSize = true;
|
||||||
|
label4.Location = new System.Drawing.Point(92, 46);
|
||||||
|
label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
label4.Name = "label4";
|
||||||
|
label4.Size = new System.Drawing.Size(41, 12);
|
||||||
|
label4.TabIndex = 5;
|
||||||
|
label4.Text = "담당자";
|
||||||
|
//
|
||||||
|
// stateLabel
|
||||||
|
//
|
||||||
|
stateLabel.AutoSize = true;
|
||||||
|
stateLabel.Location = new System.Drawing.Point(388, 18);
|
||||||
|
stateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
stateLabel.Name = "stateLabel";
|
||||||
|
stateLabel.Size = new System.Drawing.Size(29, 12);
|
||||||
|
stateLabel.TabIndex = 3;
|
||||||
|
stateLabel.Text = "상태";
|
||||||
|
//
|
||||||
|
// lbSummary
|
||||||
|
//
|
||||||
|
this.lbSummary.AutoSize = true;
|
||||||
|
this.lbSummary.ForeColor = System.Drawing.Color.SlateGray;
|
||||||
|
this.lbSummary.Location = new System.Drawing.Point(309, 156);
|
||||||
|
this.lbSummary.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
this.lbSummary.Name = "lbSummary";
|
||||||
|
this.lbSummary.Size = new System.Drawing.Size(195, 24);
|
||||||
|
this.lbSummary.TabIndex = 53;
|
||||||
|
this.lbSummary.Text = "금월 근무시간 : {0:N1}h / {1:N0}h\r\n금월 초과시간 : {2:N1}h";
|
||||||
|
//
|
||||||
|
// label5
|
||||||
|
//
|
||||||
|
label5.AutoSize = true;
|
||||||
|
label5.Location = new System.Drawing.Point(92, 18);
|
||||||
|
label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
|
label5.Name = "label5";
|
||||||
|
label5.Size = new System.Drawing.Size(41, 12);
|
||||||
|
label5.TabIndex = 0;
|
||||||
|
label5.Text = "등록일";
|
||||||
|
//
|
||||||
|
// tbHrs
|
||||||
|
//
|
||||||
|
this.tbHrs.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "hrs", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2"));
|
||||||
|
this.tbHrs.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
|
this.tbHrs.Location = new System.Drawing.Point(141, 151);
|
||||||
|
this.tbHrs.Name = "tbHrs";
|
||||||
|
this.tbHrs.Size = new System.Drawing.Size(77, 33);
|
||||||
|
this.tbHrs.TabIndex = 17;
|
||||||
|
this.tbHrs.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// bs
|
||||||
|
//
|
||||||
|
this.bs.DataMember = "JobReport";
|
||||||
|
this.bs.DataSource = this.dsPRJ;
|
||||||
//
|
//
|
||||||
// dsPRJ
|
// dsPRJ
|
||||||
//
|
//
|
||||||
this.dsPRJ.DataSetName = "dsPRJ";
|
this.dsPRJ.DataSetName = "dsPRJ";
|
||||||
this.dsPRJ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
this.dsPRJ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||||
//
|
//
|
||||||
// bs
|
// statusStrip1
|
||||||
//
|
//
|
||||||
this.bs.DataMember = "JobReport";
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.bs.DataSource = this.dsPRJ;
|
this.toolStripStatusLabel1,
|
||||||
|
this.lbIndex});
|
||||||
|
this.statusStrip1.Location = new System.Drawing.Point(0, 351);
|
||||||
|
this.statusStrip1.Name = "statusStrip1";
|
||||||
|
this.statusStrip1.Size = new System.Drawing.Size(538, 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 = "--";
|
||||||
|
//
|
||||||
|
// cmbType
|
||||||
|
//
|
||||||
|
this.cmbType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
|
this.cmbType.FormattingEnabled = true;
|
||||||
|
this.cmbType.Location = new System.Drawing.Point(141, 123);
|
||||||
|
this.cmbType.Name = "cmbType";
|
||||||
|
this.cmbType.Size = new System.Drawing.Size(183, 20);
|
||||||
|
this.cmbType.TabIndex = 14;
|
||||||
|
this.cmbType.SelectedIndexChanged += new System.EventHandler(this.cmbType_SelectedIndexChanged);
|
||||||
|
//
|
||||||
|
// btSave
|
||||||
|
//
|
||||||
|
this.btSave.Location = new System.Drawing.Point(141, 300);
|
||||||
|
this.btSave.Name = "btSave";
|
||||||
|
this.btSave.Size = new System.Drawing.Size(381, 43);
|
||||||
|
this.btSave.TabIndex = 20;
|
||||||
|
this.btSave.Text = "확인";
|
||||||
|
this.btSave.UseVisualStyleBackColor = true;
|
||||||
|
this.btSave.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// tbDescription
|
||||||
|
//
|
||||||
|
this.tbDescription.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "description", true));
|
||||||
|
this.tbDescription.Location = new System.Drawing.Point(141, 190);
|
||||||
|
this.tbDescription.Multiline = true;
|
||||||
|
this.tbDescription.Name = "tbDescription";
|
||||||
|
this.tbDescription.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||||
|
this.tbDescription.Size = new System.Drawing.Size(381, 101);
|
||||||
|
this.tbDescription.TabIndex = 19;
|
||||||
|
//
|
||||||
|
// dtPdate
|
||||||
|
//
|
||||||
|
this.dtPdate.Location = new System.Drawing.Point(141, 14);
|
||||||
|
this.dtPdate.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.dtPdate.Name = "dtPdate";
|
||||||
|
this.dtPdate.Size = new System.Drawing.Size(178, 21);
|
||||||
|
this.dtPdate.TabIndex = 1;
|
||||||
|
this.dtPdate.ValueChanged += new System.EventHandler(this.dtPdate_ValueChanged);
|
||||||
|
//
|
||||||
|
// cmbUser
|
||||||
|
//
|
||||||
|
this.cmbUser.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||||
|
this.cmbUser.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||||
|
this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
|
this.cmbUser.FormattingEnabled = true;
|
||||||
|
this.cmbUser.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||||
|
this.cmbUser.Location = new System.Drawing.Point(141, 42);
|
||||||
|
this.cmbUser.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.cmbUser.Name = "cmbUser";
|
||||||
|
this.cmbUser.Size = new System.Drawing.Size(381, 20);
|
||||||
|
this.cmbUser.TabIndex = 6;
|
||||||
|
this.cmbUser.SelectedIndexChanged += new System.EventHandler(this.cmbUser_SelectedIndexChanged);
|
||||||
|
//
|
||||||
|
// tbProject
|
||||||
|
//
|
||||||
|
this.tbProject.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||||
|
this.tbProject.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
|
this.tbProject.Location = new System.Drawing.Point(141, 69);
|
||||||
|
this.tbProject.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.tbProject.Name = "tbProject";
|
||||||
|
this.tbProject.Size = new System.Drawing.Size(311, 21);
|
||||||
|
this.tbProject.TabIndex = 8;
|
||||||
|
//
|
||||||
|
// tbProjectIndex
|
||||||
|
//
|
||||||
|
this.tbProjectIndex.Location = new System.Drawing.Point(458, 69);
|
||||||
|
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, 21);
|
||||||
|
this.tbProjectIndex.TabIndex = 9;
|
||||||
|
this.tbProjectIndex.TabStop = false;
|
||||||
|
this.tbProjectIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// tbOt
|
||||||
|
//
|
||||||
|
this.tbOt.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ot", true));
|
||||||
|
this.tbOt.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
|
this.tbOt.ForeColor = System.Drawing.Color.Red;
|
||||||
|
this.tbOt.Location = new System.Drawing.Point(224, 151);
|
||||||
|
this.tbOt.Name = "tbOt";
|
||||||
|
this.tbOt.Size = new System.Drawing.Size(77, 33);
|
||||||
|
this.tbOt.TabIndex = 17;
|
||||||
|
this.tbOt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// tbWW
|
||||||
|
//
|
||||||
|
this.tbWW.Location = new System.Drawing.Point(321, 14);
|
||||||
|
this.tbWW.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.tbWW.Name = "tbWW";
|
||||||
|
this.tbWW.ReadOnly = true;
|
||||||
|
this.tbWW.Size = new System.Drawing.Size(63, 21);
|
||||||
|
this.tbWW.TabIndex = 2;
|
||||||
|
this.tbWW.TabStop = false;
|
||||||
|
this.tbWW.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// cmbProcess
|
||||||
|
//
|
||||||
|
this.cmbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
|
this.cmbProcess.FormattingEnabled = true;
|
||||||
|
this.cmbProcess.Location = new System.Drawing.Point(339, 123);
|
||||||
|
this.cmbProcess.Name = "cmbProcess";
|
||||||
|
this.cmbProcess.Size = new System.Drawing.Size(183, 20);
|
||||||
|
this.cmbProcess.TabIndex = 15;
|
||||||
|
//
|
||||||
|
// 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(421, 14);
|
||||||
|
this.cmbState.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.cmbState.Name = "cmbState";
|
||||||
|
this.cmbState.Size = new System.Drawing.Size(101, 20);
|
||||||
|
this.cmbState.TabIndex = 4;
|
||||||
|
//
|
||||||
|
// cmbPackage
|
||||||
|
//
|
||||||
|
this.cmbPackage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
|
this.cmbPackage.FormattingEnabled = true;
|
||||||
|
this.cmbPackage.Location = new System.Drawing.Point(339, 97);
|
||||||
|
this.cmbPackage.Name = "cmbPackage";
|
||||||
|
this.cmbPackage.Size = new System.Drawing.Size(183, 20);
|
||||||
|
this.cmbPackage.TabIndex = 12;
|
||||||
|
//
|
||||||
|
// cmbRequest
|
||||||
|
//
|
||||||
|
this.cmbRequest.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
|
this.cmbRequest.FormattingEnabled = true;
|
||||||
|
this.cmbRequest.Location = new System.Drawing.Point(141, 97);
|
||||||
|
this.cmbRequest.Name = "cmbRequest";
|
||||||
|
this.cmbRequest.Size = new System.Drawing.Size(183, 20);
|
||||||
|
this.cmbRequest.TabIndex = 11;
|
||||||
//
|
//
|
||||||
// ta
|
// ta
|
||||||
//
|
//
|
||||||
@@ -167,169 +351,43 @@
|
|||||||
this.tam.ProjectsTableAdapter = null;
|
this.tam.ProjectsTableAdapter = null;
|
||||||
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
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(98, 38);
|
|
||||||
this.pdateTextBox.Name = "pdateTextBox";
|
|
||||||
this.pdateTextBox.Size = new System.Drawing.Size(200, 21);
|
|
||||||
this.pdateTextBox.TabIndex = 5;
|
|
||||||
//
|
|
||||||
// groupTextBox
|
|
||||||
//
|
|
||||||
this.groupTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "requestpart", true));
|
|
||||||
this.groupTextBox.Location = new System.Drawing.Point(98, 65);
|
|
||||||
this.groupTextBox.Name = "groupTextBox";
|
|
||||||
this.groupTextBox.Size = new System.Drawing.Size(200, 21);
|
|
||||||
this.groupTextBox.TabIndex = 7;
|
|
||||||
//
|
|
||||||
// memoTextBox
|
|
||||||
//
|
|
||||||
this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "remark", true));
|
|
||||||
this.memoTextBox.Location = new System.Drawing.Point(98, 233);
|
|
||||||
this.memoTextBox.Name = "memoTextBox";
|
|
||||||
this.memoTextBox.Size = new System.Drawing.Size(200, 21);
|
|
||||||
this.memoTextBox.TabIndex = 13;
|
|
||||||
//
|
|
||||||
// hrsTextBox
|
|
||||||
//
|
|
||||||
this.hrsTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "hrs", true));
|
|
||||||
this.hrsTextBox.Location = new System.Drawing.Point(221, 120);
|
|
||||||
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, "pidx", true));
|
|
||||||
this.projectidxTextBox.Location = new System.Drawing.Point(247, 147);
|
|
||||||
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;
|
|
||||||
//
|
|
||||||
// projectTextBox
|
|
||||||
//
|
|
||||||
this.projectTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "projectName", true));
|
|
||||||
this.projectTextBox.Location = new System.Drawing.Point(99, 147);
|
|
||||||
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, 308);
|
|
||||||
this.statusStrip1.Name = "statusStrip1";
|
|
||||||
this.statusStrip1.Size = new System.Drawing.Size(316, 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(98, 12);
|
|
||||||
this.comboBox1.Name = "comboBox1";
|
|
||||||
this.comboBox1.Size = new System.Drawing.Size(200, 20);
|
|
||||||
this.comboBox1.TabIndex = 29;
|
|
||||||
//
|
|
||||||
// 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(98, 120);
|
|
||||||
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(60, 41);
|
|
||||||
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(97, 260);
|
|
||||||
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);
|
|
||||||
//
|
|
||||||
// textBox1
|
|
||||||
//
|
|
||||||
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "package", true));
|
|
||||||
this.textBox1.Location = new System.Drawing.Point(98, 92);
|
|
||||||
this.textBox1.Name = "textBox1";
|
|
||||||
this.textBox1.Size = new System.Drawing.Size(200, 21);
|
|
||||||
this.textBox1.TabIndex = 34;
|
|
||||||
//
|
|
||||||
// textBox2
|
|
||||||
//
|
|
||||||
this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "description", true));
|
|
||||||
this.textBox2.Location = new System.Drawing.Point(99, 174);
|
|
||||||
this.textBox2.Multiline = true;
|
|
||||||
this.textBox2.Name = "textBox2";
|
|
||||||
this.textBox2.Size = new System.Drawing.Size(200, 51);
|
|
||||||
this.textBox2.TabIndex = 36;
|
|
||||||
//
|
|
||||||
// fJobReport_Add
|
// fJobReport_Add
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(316, 330);
|
this.ClientSize = new System.Drawing.Size(538, 373);
|
||||||
this.Controls.Add(label2);
|
this.Controls.Add(label5);
|
||||||
this.Controls.Add(this.textBox2);
|
this.Controls.Add(this.lbSummary);
|
||||||
this.Controls.Add(label1);
|
this.Controls.Add(this.cmbPackage);
|
||||||
this.Controls.Add(this.textBox1);
|
this.Controls.Add(this.cmbRequest);
|
||||||
this.Controls.Add(this.button1);
|
this.Controls.Add(this.cmbState);
|
||||||
this.Controls.Add(this.linkLabel1);
|
this.Controls.Add(stateLabel);
|
||||||
this.Controls.Add(typeLabel);
|
this.Controls.Add(this.cmbProcess);
|
||||||
this.Controls.Add(this.typeComboBox);
|
this.Controls.Add(this.tbWW);
|
||||||
this.Controls.Add(this.comboBox1);
|
this.Controls.Add(label4);
|
||||||
this.Controls.Add(this.statusStrip1);
|
this.Controls.Add(this.tbOt);
|
||||||
this.Controls.Add(this.pdateTextBox);
|
|
||||||
this.Controls.Add(groupLabel);
|
|
||||||
this.Controls.Add(this.groupTextBox);
|
|
||||||
this.Controls.Add(uidLabel);
|
|
||||||
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(projectLabel);
|
||||||
this.Controls.Add(this.projectTextBox);
|
this.Controls.Add(this.tbProject);
|
||||||
|
this.Controls.Add(this.tbProjectIndex);
|
||||||
|
this.Controls.Add(this.cmbUser);
|
||||||
|
this.Controls.Add(this.dtPdate);
|
||||||
|
this.Controls.Add(label2);
|
||||||
|
this.Controls.Add(this.tbDescription);
|
||||||
|
this.Controls.Add(label1);
|
||||||
|
this.Controls.Add(this.btSave);
|
||||||
|
this.Controls.Add(typeLabel);
|
||||||
|
this.Controls.Add(this.cmbType);
|
||||||
|
this.Controls.Add(this.statusStrip1);
|
||||||
|
this.Controls.Add(hrsLabel);
|
||||||
|
this.Controls.Add(this.tbHrs);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||||
this.MaximizeBox = false;
|
this.MaximizeBox = false;
|
||||||
this.MinimizeBox = false;
|
this.MinimizeBox = false;
|
||||||
this.Name = "fJobReport_Add";
|
this.Name = "fJobReport_Add";
|
||||||
this.Text = "fJobReport_Add";
|
this.Text = "업무일지 등록/변경";
|
||||||
this.Load += new System.EventHandler(this.fJobReport_Add_Load);
|
this.Load += new System.EventHandler(this.fJobReport_Add_Load);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit();
|
||||||
this.statusStrip1.ResumeLayout(false);
|
this.statusStrip1.ResumeLayout(false);
|
||||||
this.statusStrip1.PerformLayout();
|
this.statusStrip1.PerformLayout();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
@@ -343,20 +401,23 @@
|
|||||||
private System.Windows.Forms.BindingSource bs;
|
private System.Windows.Forms.BindingSource bs;
|
||||||
private dsPRJTableAdapters.JobReportTableAdapter ta;
|
private dsPRJTableAdapters.JobReportTableAdapter ta;
|
||||||
private dsPRJTableAdapters.TableAdapterManager tam;
|
private dsPRJTableAdapters.TableAdapterManager tam;
|
||||||
private System.Windows.Forms.TextBox pdateTextBox;
|
private System.Windows.Forms.TextBox tbHrs;
|
||||||
private System.Windows.Forms.TextBox groupTextBox;
|
|
||||||
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.StatusStrip statusStrip1;
|
||||||
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
|
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
|
||||||
private System.Windows.Forms.ToolStripStatusLabel lbIndex;
|
private System.Windows.Forms.ToolStripStatusLabel lbIndex;
|
||||||
private System.Windows.Forms.ComboBox comboBox1;
|
private System.Windows.Forms.ComboBox cmbType;
|
||||||
private System.Windows.Forms.ComboBox typeComboBox;
|
private System.Windows.Forms.Button btSave;
|
||||||
private System.Windows.Forms.LinkLabel linkLabel1;
|
private System.Windows.Forms.TextBox tbDescription;
|
||||||
private System.Windows.Forms.Button button1;
|
private System.Windows.Forms.DateTimePicker dtPdate;
|
||||||
private System.Windows.Forms.TextBox textBox1;
|
private System.Windows.Forms.ComboBox cmbUser;
|
||||||
private System.Windows.Forms.TextBox textBox2;
|
private System.Windows.Forms.TextBox tbProject;
|
||||||
|
private System.Windows.Forms.TextBox tbProjectIndex;
|
||||||
|
private System.Windows.Forms.TextBox tbOt;
|
||||||
|
private System.Windows.Forms.TextBox tbWW;
|
||||||
|
private System.Windows.Forms.ComboBox cmbProcess;
|
||||||
|
private System.Windows.Forms.ComboBox cmbState;
|
||||||
|
private System.Windows.Forms.ComboBox cmbPackage;
|
||||||
|
private System.Windows.Forms.ComboBox cmbRequest;
|
||||||
|
private System.Windows.Forms.Label lbSummary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -16,6 +16,20 @@ namespace FPJ0000.JobReport
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
dr =dr_;
|
dr =dr_;
|
||||||
|
this.KeyPreview = true;
|
||||||
|
this.StartPosition = FormStartPosition.CenterScreen;
|
||||||
|
this.KeyDown += (s1, e1) =>
|
||||||
|
{
|
||||||
|
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||||
|
};
|
||||||
|
|
||||||
|
foreach (Control ctl in this.Controls)
|
||||||
|
{
|
||||||
|
if (ctl.GetType() == typeof(TextBox) || ctl.GetType() == typeof(ComboBox))
|
||||||
|
{
|
||||||
|
ctl.KeyDown += ctl_KeyDown;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void fJobReport_Add_Load(object sender, EventArgs e)
|
private void fJobReport_Add_Load(object sender, EventArgs e)
|
||||||
@@ -23,21 +37,310 @@ namespace FPJ0000.JobReport
|
|||||||
//사용자목록
|
//사용자목록
|
||||||
this.bs.DataSource = dr;
|
this.bs.DataSource = dr;
|
||||||
|
|
||||||
}
|
//상태
|
||||||
|
var stateList = FCOMMON.DBM.getCodeTable("12");
|
||||||
|
this.cmbState.DisplayMember = "Value";
|
||||||
|
this.cmbState.ValueMember = "Value";
|
||||||
|
this.cmbState.DataSource = stateList;
|
||||||
|
this.cmbState.Text = dr.status;
|
||||||
|
|
||||||
|
//요청부서
|
||||||
|
var dt_request = FCOMMON.DBM.getCodeTable("13");
|
||||||
|
this.cmbRequest.DisplayMember = "Value";
|
||||||
|
this.cmbRequest.ValueMember = "Value";
|
||||||
|
this.cmbRequest.DataSource = dt_request;
|
||||||
|
|
||||||
|
//패키지
|
||||||
|
var dt_package = FCOMMON.DBM.getCodeTable("14");
|
||||||
|
this.cmbPackage.DisplayMember = "Value";
|
||||||
|
this.cmbPackage.ValueMember = "Value";
|
||||||
|
this.cmbPackage.DataSource = dt_package;
|
||||||
|
|
||||||
|
//타입
|
||||||
|
var dt_type = FCOMMON.DBM.getCodeTable("15");
|
||||||
|
this.cmbType.DisplayMember = "Value";
|
||||||
|
this.cmbType.ValueMember = "Value";
|
||||||
|
this.cmbType.DataSource = dt_type;
|
||||||
|
|
||||||
|
//공정
|
||||||
|
var dt_process = FCOMMON.DBM.getCodeTable("16");
|
||||||
|
this.cmbProcess.DisplayMember = "Value";
|
||||||
|
this.cmbProcess.ValueMember = "Value";
|
||||||
|
this.cmbProcess.DataSource = dt_process;
|
||||||
|
|
||||||
|
//담당자목록
|
||||||
|
|
||||||
|
var dt_users = FCOMMON.DBM.getUserTable();// getGroupList("name + '(' + id + ')'", "Users", "[level] > 0 and [level] < 10", false, false);
|
||||||
|
this.cmbUser.DisplayMember = "dispName";
|
||||||
|
this.cmbUser.ValueMember = "id";
|
||||||
|
this.cmbUser.DataSource = dt_users;
|
||||||
|
if (FCOMMON.info.Login.level < 5) cmbUser.Enabled = false;
|
||||||
|
|
||||||
|
// tbWW.Text = dr.ww;
|
||||||
|
dtPdate.Value = DateTime.Parse(dr.pdate); //일자선택
|
||||||
|
cmbUser.SelectedValue = dr.wuid;
|
||||||
|
tbProject.Text = dr.projectName;
|
||||||
|
cmbRequest.SelectedValue = dr.requestpart;
|
||||||
|
cmbPackage.SelectedValue = dr.package;
|
||||||
|
cmbType.SelectedValue = dr.type;
|
||||||
|
cmbProcess.SelectedValue = dr.process;
|
||||||
|
|
||||||
|
if (cmbRequest.Text == "") cmbRequest.Text = "EE1";
|
||||||
|
if (cmbPackage.Text == "") cmbPackage.Text = "Common";
|
||||||
|
|
||||||
|
//프로젝트 번호 확인(프로젝트번호가 바뀌면 데이터를 업데이트 해준다)
|
||||||
|
if (dr.IspidxNull())
|
||||||
|
{
|
||||||
|
tbProjectIndex.Tag = -1;
|
||||||
|
tbProjectIndex.Text = "-1";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
tbProjectIndex.Tag = dr.pidx;
|
||||||
|
tbProjectIndex.Text = dr.pidx.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
this.Show();
|
||||||
|
Application.DoEvents();
|
||||||
|
|
||||||
|
tbProject.Focus();
|
||||||
|
tbProject.SelectAll();
|
||||||
|
|
||||||
|
}
|
||||||
|
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.cmbUser.Text + "%'", "pdate desc");
|
||||||
|
// if (lastprocess != "") cbProcess.Text = lastprocess;
|
||||||
|
// tbSID.Focus();
|
||||||
|
// break;
|
||||||
|
case "tbdescription":
|
||||||
|
if(e.Control)
|
||||||
|
{
|
||||||
|
btSave.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();
|
||||||
|
tbHrs.Focus();
|
||||||
|
tbHrs.SelectAll();
|
||||||
|
|
||||||
|
if(tbProjectIndex.Tag.ToString() != f.Index.ToString())
|
||||||
|
{
|
||||||
|
//마지막 데이터를 찾아서 공정등의 정보를 업데이트한다.
|
||||||
|
var uid = cmbUser.SelectedValue.ToString();
|
||||||
|
var lastDt = FCOMMON.DBM.getLastJobReportData(uid,f.Index);
|
||||||
|
if(lastDt != null && lastDt.Rows.Count > 0)
|
||||||
|
{
|
||||||
|
var predr = lastDt.Rows[0];
|
||||||
|
|
||||||
|
if (predr["requestpart"] != DBNull.Value)
|
||||||
|
this.cmbRequest.Text = predr["requestpart"].ToString(); //190506
|
||||||
|
|
||||||
|
if (predr["package"] != DBNull.Value)
|
||||||
|
this.cmbPackage.Text = predr["package"].ToString(); //190506
|
||||||
|
|
||||||
|
if (predr["type"] != DBNull.Value)
|
||||||
|
this.cmbType.Text = predr["type"].ToString(); //190506
|
||||||
|
|
||||||
|
if (predr["process"] != DBNull.Value)
|
||||||
|
cmbProcess.Text = predr["process"].ToString(); //190506
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//이름만 사용한다.
|
||||||
|
tbProjectIndex.Text = "-1";
|
||||||
|
cmbRequest.Focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("프로젝트 혹은 아이템이름은 반드시 입력되어야 합니다.");
|
||||||
|
var tb = sender as TextBox;
|
||||||
|
tb.SelectAll();
|
||||||
|
tb.Focus();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
SendKeys.Send("{TAB}");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||||
{
|
{
|
||||||
FCM0000.fSelectDate f = new FCM0000.fSelectDate(pdateTextBox.Text);
|
FCM0000.fSelectDate f = new FCM0000.fSelectDate(this.dtPdate.Value.ToShortDateString());
|
||||||
if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
|
if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
|
||||||
pdateTextBox.Text = f.dtSelect.ToShortDateString();
|
dtPdate.Value = f.dtSelect;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button1_Click(object sender, EventArgs e)
|
private void button1_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.Invalidate();
|
this.Invalidate();
|
||||||
|
//if(tbProject.Text.Trim() == "")
|
||||||
|
//{
|
||||||
|
// FCOMMON.Util.MsgE("프로젝트(아이템) 명칭이 없습니다.");
|
||||||
|
// tbProject.Focus();
|
||||||
|
// return;
|
||||||
|
//}
|
||||||
|
if(cmbType.Text != "휴가" && tbDescription.Text.Trim()=="")
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("진행 내용이 없습니다.");
|
||||||
|
tbDescription.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
float hour = Single.Parse(tbHrs.Text) + Single.Parse(tbOt.Text);
|
||||||
|
if(hour == 0)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("근무시간/초과시간이 입력되지 않았습니다.");
|
||||||
|
if (tbHrs.Enabled) tbHrs.Focus();
|
||||||
|
else tbOt.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (cmbType.Text.Trim() == "")
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("업무형태를 선택하세요");
|
||||||
|
cmbType.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (cmbProcess.Text.Trim() == "")
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("공정을 선택하세요");
|
||||||
|
cmbProcess.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(cmbUser.SelectedIndex <0)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgE("담당자가 선택되지 않았습니다.");
|
||||||
|
cmbUser.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
///휴일체크
|
||||||
|
var taQ = new dsQueryTableAdapters.QueriesTableAdapter();
|
||||||
|
var freeday = taQ.CheckHoliday(dtPdate.Value.ToShortDateString());
|
||||||
|
if(freeday != null && freeday ==true)
|
||||||
|
{
|
||||||
|
var hrs = float.Parse(tbHrs.Text);
|
||||||
|
if(hrs > 0)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgI("입력일자는 휴일로 등록되어 있습니다.\n\n근무시간은 OT에 입력하시기 바랍니다.");
|
||||||
|
//tbOt.Text = tbHrs.Text;
|
||||||
|
tbHrs.Text = "0";
|
||||||
|
tbHrs.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
this.dr.uid = this.cmbUser.SelectedValue.ToString();
|
||||||
|
this.dr.pdate = dtPdate.Value.ToShortDateString();
|
||||||
|
this.dr.status = cmbState.Text;
|
||||||
|
this.dr.projectName = tbProject.Text;
|
||||||
|
if (tbProjectIndex.Text != "") dr.pidx = int.Parse(tbProjectIndex.Text);
|
||||||
|
else dr.SetpidxNull();
|
||||||
|
this.dr.requestpart = cmbRequest.Text;
|
||||||
|
this.dr.package = cmbPackage.Text;
|
||||||
|
this.dr.type = cmbType.Text;
|
||||||
|
this.dr.process = cmbProcess.Text;
|
||||||
|
if (tbHrs.Text != "") this.dr.hrs = double.Parse(tbHrs.Text);
|
||||||
|
else this.dr.hrs = 0;
|
||||||
|
if (tbOt.Text != "") this.dr.ot = double.Parse(tbOt.Text);
|
||||||
|
else this.dr.ot = 0;
|
||||||
|
this.dr.description = tbDescription.Text.Trim();
|
||||||
this.bs.EndEdit();
|
this.bs.EndEdit();
|
||||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void cmbType_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if(cmbType.Text.Trim() != "" &&
|
||||||
|
cmbType.SelectedIndex >= 0 &&
|
||||||
|
cmbProcess.SelectedIndex < 0 &&
|
||||||
|
cmbUser.SelectedValue != null)
|
||||||
|
{
|
||||||
|
//공정을 자동선택해준다.
|
||||||
|
//마지막 데이터를 찾아서 공정등의 정보를 업데이트한다.
|
||||||
|
var uid = cmbUser.SelectedValue.ToString();
|
||||||
|
var lastDt = FCOMMON.DBM.getLastJobReportData(uid,cmbType.Text.Trim());
|
||||||
|
if (lastDt != null && lastDt.Rows.Count > 0)
|
||||||
|
{
|
||||||
|
var predr = lastDt.Rows[0];// as dsPRJ.JobReportRow;
|
||||||
|
if(predr["process"] != DBNull.Value)
|
||||||
|
cmbProcess.Text = predr["process"].ToString(); //190506
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void dtPdate_ValueChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var myCI = new System.Globalization.CultureInfo("ko-KR");
|
||||||
|
var myCal = myCI.Calendar;
|
||||||
|
var myCWR = myCI.DateTimeFormat.CalendarWeekRule;
|
||||||
|
DayOfWeek myFirstDOW = myCI.DateTimeFormat.FirstDayOfWeek;
|
||||||
|
var dat = myCal.GetWeekOfYear(dtPdate.Value, myCWR, myFirstDOW);
|
||||||
|
tbWW.Text = "ww"+dat.ToString();
|
||||||
|
UpdateWOrkTime();
|
||||||
|
|
||||||
|
//공휴일이면 시간을 초기화한다.
|
||||||
|
if (tbHrs.Text == "") tbHrs.Text = "0";
|
||||||
|
if (tbOt.Text == "") tbOt.Text = "0";
|
||||||
|
float hrs = float.Parse(tbHrs.Text);
|
||||||
|
if (dtPdate.Value.DayOfWeek == DayOfWeek.Saturday || dtPdate.Value.DayOfWeek == DayOfWeek.Sunday)
|
||||||
|
{
|
||||||
|
tbHrs.Enabled = false;
|
||||||
|
if (hrs != 0)
|
||||||
|
{
|
||||||
|
FCOMMON.Util.MsgI("공휴일에는 근무시간을 입력할 수 없습니다.\n초과시간에 입력하세요.\n\n해당 값은 삭제 됩니다.");
|
||||||
|
tbHrs.Text = "0";
|
||||||
|
if (hrs != 8) tbOt.Text = hrs.ToString();
|
||||||
|
tbOt.Focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else tbHrs.Enabled = true;
|
||||||
|
}
|
||||||
|
void UpdateWOrkTime()
|
||||||
|
{
|
||||||
|
//이번달 근무시간 및 초과시간 구하기
|
||||||
|
if (cmbUser.SelectedValue != null)
|
||||||
|
{
|
||||||
|
int work, ot, total;
|
||||||
|
FCOMMON.DBM.getWorkTime(cmbUser.SelectedValue.ToString(), dtPdate.Value.ToString("yyyy-MM"), out work, out total, out ot);
|
||||||
|
string msg = "금월 근무시간 : {0:N1}h / {1:N0}h\n금월 초과시간 : {2:N1}h";
|
||||||
|
lbSummary.Text = string.Format(msg, work, total, ot);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
lbSummary.Text = "--";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private void cmbUser_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if(cmbUser.SelectedIndex >=0)
|
||||||
|
UpdateWOrkTime();;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -117,21 +117,9 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<metadata name="groupLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
||||||
<value>False</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="uidLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
||||||
<value>False</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="memoLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
||||||
<value>False</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="hrsLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="hrsLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>False</value>
|
<value>False</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="projectLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
||||||
<value>False</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="typeLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="typeLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>False</value>
|
<value>False</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
@@ -141,19 +129,37 @@
|
|||||||
<metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>False</value>
|
<value>False</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="projectLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>17, 17</value>
|
<value>False</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="label4.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="stateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="label5.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>100, 17</value>
|
<value>100, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>100, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>299, 17</value>
|
||||||
|
</metadata>
|
||||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>164, 17</value>
|
<value>164, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>226, 17</value>
|
<value>226, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
||||||
<value>299, 17</value>
|
|
||||||
</metadata>
|
|
||||||
</root>
|
</root>
|
||||||
89
SubProject/FPJ0000/JobReport/rJobReport.Designer.cs
generated
Normal file
89
SubProject/FPJ0000/JobReport/rJobReport.Designer.cs
generated
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
namespace FPJ0000.JobReport
|
||||||
|
{
|
||||||
|
partial class rJobReport
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.components = new System.ComponentModel.Container();
|
||||||
|
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
|
||||||
|
this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer();
|
||||||
|
this.dsReport = new FPJ0000.dsReport();
|
||||||
|
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||||
|
this.ta = new FPJ0000.dsReportTableAdapters.jobReportTableAdapter();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsReport)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// reportViewer1
|
||||||
|
//
|
||||||
|
this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
reportDataSource1.Name = "DataSet1";
|
||||||
|
reportDataSource1.Value = this.bs;
|
||||||
|
this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1);
|
||||||
|
this.reportViewer1.LocalReport.ReportEmbeddedResource = "FPJ0000.JobReport.rJobReport.rdlc";
|
||||||
|
this.reportViewer1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.reportViewer1.Name = "reportViewer1";
|
||||||
|
this.reportViewer1.Size = new System.Drawing.Size(721, 586);
|
||||||
|
this.reportViewer1.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// dsReport
|
||||||
|
//
|
||||||
|
this.dsReport.DataSetName = "dsReport";
|
||||||
|
this.dsReport.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||||
|
//
|
||||||
|
// bs
|
||||||
|
//
|
||||||
|
this.bs.DataMember = "jobreport";
|
||||||
|
this.bs.DataSource = this.dsReport;
|
||||||
|
//
|
||||||
|
// ta
|
||||||
|
//
|
||||||
|
this.ta.ClearBeforeFill = true;
|
||||||
|
//
|
||||||
|
// rJobReport
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(721, 586);
|
||||||
|
this.Controls.Add(this.reportViewer1);
|
||||||
|
this.Name = "rJobReport";
|
||||||
|
this.Text = "rJobReport";
|
||||||
|
this.Load += new System.EventHandler(this.rJobReport_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsReport)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private Microsoft.Reporting.WinForms.ReportViewer reportViewer1;
|
||||||
|
private System.Windows.Forms.BindingSource bs;
|
||||||
|
private dsReport dsReport;
|
||||||
|
private dsReportTableAdapters.jobReportTableAdapter ta;
|
||||||
|
}
|
||||||
|
}
|
||||||
28
SubProject/FPJ0000/JobReport/rJobReport.cs
Normal file
28
SubProject/FPJ0000/JobReport/rJobReport.cs
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
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 rJobReport : Form
|
||||||
|
{
|
||||||
|
public rJobReport()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
this.WindowState = FormWindowState.Maximized;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void rJobReport_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.ta.Fill(this.dsReport.jobReport, DateTime.Now.Year.ToString("0000"));
|
||||||
|
this.reportViewer1.SetDisplayMode( Microsoft.Reporting.WinForms.DisplayMode.PrintLayout);
|
||||||
|
this.reportViewer1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.PageWidth;
|
||||||
|
this.reportViewer1.RefreshReport();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
129
SubProject/FPJ0000/JobReport/rJobReport.resx
Normal file
129
SubProject/FPJ0000/JobReport/rJobReport.resx
Normal file
@@ -0,0 +1,129 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>119, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dsReport.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>183, 17</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
20
SubProject/FPJ0000/Properties/Resources.Designer.cs
generated
20
SubProject/FPJ0000/Properties/Resources.Designer.cs
generated
@@ -70,6 +70,26 @@ namespace FPJ0000.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap action_save {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("action_save", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap copy {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("copy", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -118,10 +118,16 @@
|
|||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
|
<data name="copy" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\copy.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
<data name="accept" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="accept" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\accept.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\accept.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="find" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="find" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\find.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\find.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="action_save" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\action_save.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
6865
SubProject/FPJ0000/dsPRJ.Designer.cs
generated
6865
SubProject/FPJ0000/dsPRJ.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -517,7 +517,7 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
|
|||||||
FROM ProjectsPart
|
FROM ProjectsPart
|
||||||
WHERE (Project = @prj)</CommandText>
|
WHERE (Project = @prj)</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="prj" ColumnName="Project" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@prj" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="prj" ColumnName="Project" DataSourceName="GroupWare.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@prj" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
@@ -564,7 +564,7 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
|
|||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemGroup" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="true" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemGroup" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.ProjectsPart" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</UpdateCommand>
|
</UpdateCommand>
|
||||||
@@ -595,7 +595,7 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
|
|||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.JobReport" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.JobReport" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||||
<DeleteCommand>
|
<DeleteCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>DELETE FROM [JobReport] WHERE (([idx] = @Original_idx) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)))</CommandText>
|
<CommandText>DELETE FROM [JobReport] WHERE (([idx] = @Original_idx) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)) AND ((@IsNull_ot = 1 AND [ot] IS NULL) OR ([ot] = @Original_ot)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)))</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="true" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
@@ -622,13 +622,17 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I
|
|||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_projectName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_projectName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ot" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_ot" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ot" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_process" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</DeleteCommand>
|
</DeleteCommand>
|
||||||
<InsertCommand>
|
<InsertCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>INSERT INTO [JobReport] ([pidx], [pdate], [uid], [requestpart], [package], [status], [type], [description], [remark], [hrs], [import], [wuid], [wdate], [projectName]) VALUES (@pidx, @pdate, @uid, @requestpart, @package, @status, @type, @description, @remark, @hrs, @import, @wuid, @wdate, @projectName);
|
<CommandText>INSERT INTO [JobReport] ([pidx], [pdate], [uid], [requestpart], [package], [status], [type], [description], [remark], [hrs], [import], [wuid], [wdate], [projectName], [ot], [process]) VALUES (@pidx, @pdate, @uid, @requestpart, @package, @status, @type, @description, @remark, @hrs, @import, @wuid, @wdate, @projectName, @ot, @process);
|
||||||
SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName FROM JobReport WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC</CommandText>
|
SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate) AS ww, process FROM JobReport WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
@@ -644,26 +648,29 @@ SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, r
|
|||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@ot" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ot" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</InsertCommand>
|
</InsertCommand>
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName
|
<CommandText>SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate) AS ww,
|
||||||
|
process
|
||||||
FROM JobReport
|
FROM JobReport
|
||||||
WHERE (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid)
|
WHERE (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid)
|
||||||
ORDER BY pdate DESC</CommandText>
|
ORDER BY pdate DESC</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="GroupWare.dbo.JobReport" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="GroupWare.dbo.JobReport" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="uid" ColumnName="uid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="uid" ColumnName="uid" DataSourceName="GroupWare.dbo.JobReport" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
<UpdateCommand>
|
<UpdateCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||||
<CommandText>UPDATE [JobReport] SET [pidx] = @pidx, [pdate] = @pdate, [uid] = @uid, [requestpart] = @requestpart, [package] = @package, [status] = @status, [type] = @type, [description] = @description, [remark] = @remark, [hrs] = @hrs, [import] = @import, [wuid] = @wuid, [wdate] = @wdate, [projectName] = @projectName WHERE (([idx] = @Original_idx) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)));
|
<CommandText>UPDATE [JobReport] SET [pidx] = @pidx, [pdate] = @pdate, [uid] = @uid, [requestpart] = @requestpart, [package] = @package, [status] = @status, [type] = @type, [description] = @description, [remark] = @remark, [hrs] = @hrs, [import] = @import, [wuid] = @wuid, [wdate] = @wdate, [projectName] = @projectName, [ot] = @ot, [process] = @process WHERE (([idx] = @Original_idx) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)) AND ((@IsNull_ot = 1 AND [ot] IS NULL) OR ([ot] = @Original_ot)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)));
|
||||||
SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName FROM JobReport WHERE (idx = @idx) ORDER BY pdate DESC</CommandText>
|
SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate) AS ww, process FROM JobReport WHERE (idx = @idx) ORDER BY pdate DESC</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
@@ -679,6 +686,8 @@ SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, r
|
|||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@ot" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ot" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="true" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
@@ -704,7 +713,11 @@ SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, r
|
|||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_projectName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_projectName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ot" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_ot" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ot" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_process" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.JobReport" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</UpdateCommand>
|
</UpdateCommand>
|
||||||
@@ -727,15 +740,45 @@ SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, r
|
|||||||
<Mapping SourceColumn="remark" DataSetColumn="remark" />
|
<Mapping SourceColumn="remark" DataSetColumn="remark" />
|
||||||
<Mapping SourceColumn="import" DataSetColumn="import" />
|
<Mapping SourceColumn="import" DataSetColumn="import" />
|
||||||
<Mapping SourceColumn="projectName" DataSetColumn="projectName" />
|
<Mapping SourceColumn="projectName" DataSetColumn="projectName" />
|
||||||
|
<Mapping SourceColumn="ot" DataSetColumn="ot" />
|
||||||
|
<Mapping SourceColumn="ww" DataSetColumn="ww" />
|
||||||
|
<Mapping SourceColumn="process" DataSetColumn="process" />
|
||||||
</Mappings>
|
</Mappings>
|
||||||
<Sources>
|
<Sources>
|
||||||
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteImport" Modifier="Public" Name="DeleteImport" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteImport">
|
||||||
|
<DeleteCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||||
|
<CommandText>DELETE FROM [JobReport] WHERE pdate between @sd and @ed and wuid = @user</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="GroupWare.dbo.JobReport" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="GroupWare.dbo.JobReport" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="user" ColumnName="wuid" DataSourceName="GroupWare.dbo.JobReport" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@user" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</DeleteCommand>
|
||||||
|
<SelectCommand>
|
||||||
|
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||||
|
<CommandText>DELETE FROM JobReport
|
||||||
|
WHERE (pdate BETWEEN @sd AND @ed) AND (wuid = @user) AND (ISNULL(import, 0) = 1)</CommandText>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="GroupWare.dbo.JobReport" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="GroupWare.dbo.JobReport" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
<Parameter AllowDbNull="false" AutogeneratedName="user" ColumnName="wuid" DataSourceName="GroupWare.dbo.JobReport" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@user" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||||
|
</Parameters>
|
||||||
|
</DbCommand>
|
||||||
|
</SelectCommand>
|
||||||
|
</DbSource>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.JobReport" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillPrjName" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetPrjName" GeneratorSourceName="FillPrjName" GetMethodModifier="Public" GetMethodName="GetPrjName" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetPrjName" UserSourceName="FillPrjName">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.JobReport" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillPrjName" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetPrjName" GeneratorSourceName="FillPrjName" GetMethodModifier="Public" GetMethodName="GetPrjName" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetPrjName" UserSourceName="FillPrjName">
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||||
<CommandText>SELECT description, hrs, idx, import, package, pdate, pidx, projectName, remark, requestpart, status, type, uid, dbo.getUserName(uid) AS username, wdate, wuid FROM JobReport WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(dbo.getProjectName(pidx), '') LIKE @prjname) ORDER BY pdate DESC</CommandText>
|
<CommandText>SELECT description, hrs, idx, import, ot, package, pdate, pidx, process, projectName, remark, requestpart, status, type, uid, dbo.getUserName(uid) AS username, wdate, wuid, dbo.getWorkWeek(pdate)
|
||||||
|
AS ww
|
||||||
|
FROM JobReport
|
||||||
|
WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(dbo.getProjectName(pidx), '') LIKE @prjname)
|
||||||
|
ORDER BY pdate DESC</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="GroupWare.dbo.JobReport" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="GroupWare.dbo.JobReport" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="prjname" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@prjname" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="prjname" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@prjname" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
@@ -885,504 +928,6 @@ SELECT idx, pidx, pdate, div, remark, wuid, wdate, mailsend FROM ProjectsHistory
|
|||||||
<CommandText>SELECT idx, pidx, pdate, div, remark, wuid, wdate, mailsend
|
<CommandText>SELECT idx, pidx, pdate, div, remark, wuid, wdate, mailsend
|
||||||
FROM ProjectsHistory
|
FROM ProjectsHistory
|
||||||
WHERE (pidx = @project)
|
WHERE (pidx = @project)
|
||||||
ORDER BY pdate DESC</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="project" ColumnName="pidx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</SelectCommand>
|
|
||||||
<UpdateCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>UPDATE [ProjectsHistory] SET [pidx] = @pidx, [pdate] = @pdate, [div] = @div, [remark] = @remark, [wuid] = @wuid, [wdate] = @wdate, [mailsend] = @mailsend WHERE (([idx] = @Original_idx) AND ([pidx] = @Original_pidx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_div = 1 AND [div] IS NULL) OR ([div] = @Original_div)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_mailsend = 1 AND [mailsend] IS NULL) OR ([mailsend] = @Original_mailsend)));
|
|
||||||
SELECT idx, pidx, pdate, div, remark, wuid, wdate, mailsend FROM ProjectsHistory WHERE (idx = @idx) ORDER BY pdate DESC</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@div" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="div" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@mailsend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="mailsend" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_div" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="div" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_div" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="div" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mailsend" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mailsend" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_mailsend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="mailsend" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</UpdateCommand>
|
|
||||||
</DbSource>
|
|
||||||
</MainSource>
|
|
||||||
<Mappings>
|
|
||||||
<Mapping SourceColumn="idx" DataSetColumn="idx" />
|
|
||||||
<Mapping SourceColumn="pidx" DataSetColumn="pidx" />
|
|
||||||
<Mapping SourceColumn="pdate" DataSetColumn="pdate" />
|
|
||||||
<Mapping SourceColumn="div" DataSetColumn="div" />
|
|
||||||
<Mapping SourceColumn="remark" DataSetColumn="remark" />
|
|
||||||
<Mapping SourceColumn="wuid" DataSetColumn="wuid" />
|
|
||||||
<Mapping SourceColumn="wdate" DataSetColumn="wdate" />
|
|
||||||
<Mapping SourceColumn="mailsend" DataSetColumn="mailsend" />
|
|
||||||
</Mappings>
|
|
||||||
<Sources>
|
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.ProjectsHistory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBySendMail" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetbySendMail" GeneratorSourceName="FillBySendMail" GetMethodModifier="Public" GetMethodName="GetbySendMail" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbySendMail" UserSourceName="FillBySendMail">
|
|
||||||
<SelectCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>SELECT div, idx, mailsend, pdate, pidx, remark, wdate, wuid FROM ProjectsHistory WHERE (pidx = @project) AND (ISNULL(mailsend, 0) = 0) ORDER BY pdate DESC</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="project" ColumnName="pidx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</SelectCommand>
|
|
||||||
</DbSource>
|
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateMailSend" Modifier="Public" Name="UpdateMailSend" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="UpdateMailSend">
|
|
||||||
<UpdateCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>UPDATE [ProjectsHistory] SET [mailsend] = 1
|
|
||||||
WHERE (pidx = @pidx)</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="pidx" ColumnName="pidx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</UpdateCommand>
|
|
||||||
</DbSource>
|
|
||||||
</Sources>
|
|
||||||
</TableAdapter>
|
|
||||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProjectsPart1TableAdapter" GeneratorDataComponentClassName="ProjectsPart1TableAdapter" Name="ProjectsPart1" UserDataComponentName="ProjectsPart1TableAdapter">
|
|
||||||
<MainSource>
|
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.ProjectsPart" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
|
||||||
<DeleteCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>DELETE FROM [ProjectsPart] WHERE (([idx] = @Original_idx) AND ((@IsNull_Project = 1 AND [Project] IS NULL) OR ([Project] = @Original_Project)) AND ((@IsNull_Item = 1 AND [Item] IS NULL) OR ([Item] = @Original_Item)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_amt = 1 AND [amt] IS NULL) OR ([amt] = @Original_amt)) AND ((@IsNull_jago = 1 AND [jago] IS NULL) OR ([jago] = @Original_jago)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_ItemModel = 1 AND [ItemModel] IS NULL) OR ([ItemModel] = @Original_ItemModel)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_ItemGroup = 1 AND [ItemGroup] IS NULL) OR ([ItemGroup] = @Original_ItemGroup)))</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Item" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Item" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qty" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_price" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_amt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="amt" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_amt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="amt" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_jago" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="jago" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_jago" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="jago" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemModel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemGroup" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</DeleteCommand>
|
|
||||||
<InsertCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>INSERT INTO [ProjectsPart] ([Project], [Item], [qty], [price], [amt], [jago], [memo], [wuid], [wdate], [ItemName], [ItemModel], [supplyidx], [ItemGroup]) VALUES (@Project, @Item, @qty, @price, @amt, @jago, @memo, @wuid, @wdate, @ItemName, @ItemModel, @supplyidx, @ItemGroup);
|
|
||||||
SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, supplyidx, dbo.getCustName(supplyidx) AS supplyName, dbo.getItemSID(Item) AS itemSID, ItemGroup FROM ProjectsPart WHERE (idx = SCOPE_IDENTITY())</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Item" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@amt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="amt" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@jago" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="jago" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</InsertCommand>
|
|
||||||
<SelectCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, supplyidx, dbo.getCustName(supplyidx) AS supplyName, dbo.getItemSID(Item) AS itemSID, ItemGroup
|
|
||||||
FROM ProjectsPart
|
|
||||||
WHERE (Project = @prj)</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="prj" ColumnName="Project" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@prj" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</SelectCommand>
|
|
||||||
<UpdateCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>UPDATE [ProjectsPart] SET [Project] = @Project, [Item] = @Item, [qty] = @qty, [price] = @price, [amt] = @amt, [jago] = @jago, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [ItemName] = @ItemName, [ItemModel] = @ItemModel, [supplyidx] = @supplyidx, [ItemGroup] = @ItemGroup WHERE (([idx] = @Original_idx) AND ((@IsNull_Project = 1 AND [Project] IS NULL) OR ([Project] = @Original_Project)) AND ((@IsNull_Item = 1 AND [Item] IS NULL) OR ([Item] = @Original_Item)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_amt = 1 AND [amt] IS NULL) OR ([amt] = @Original_amt)) AND ((@IsNull_jago = 1 AND [jago] IS NULL) OR ([jago] = @Original_jago)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_ItemModel = 1 AND [ItemModel] IS NULL) OR ([ItemModel] = @Original_ItemModel)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_ItemGroup = 1 AND [ItemGroup] IS NULL) OR ([ItemGroup] = @Original_ItemGroup)));
|
|
||||||
SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, supplyidx, dbo.getCustName(supplyidx) AS supplyName, dbo.getItemSID(Item) AS itemSID, ItemGroup FROM ProjectsPart WHERE (idx = @idx)</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Item" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@amt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="amt" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@jago" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="jago" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Project" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Item" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Item" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Item" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qty" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_price" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_price" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_amt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="amt" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_amt" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="amt" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_jago" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="jago" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_jago" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="jago" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemModel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ItemModel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemModel" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemGroup" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ItemGroup" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ItemGroup" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</UpdateCommand>
|
|
||||||
</DbSource>
|
|
||||||
</MainSource>
|
|
||||||
<Mappings>
|
|
||||||
<Mapping SourceColumn="idx" DataSetColumn="idx" />
|
|
||||||
<Mapping SourceColumn="Project" DataSetColumn="Project" />
|
|
||||||
<Mapping SourceColumn="Item" DataSetColumn="Item" />
|
|
||||||
<Mapping SourceColumn="qty" DataSetColumn="qty" />
|
|
||||||
<Mapping SourceColumn="price" DataSetColumn="price" />
|
|
||||||
<Mapping SourceColumn="amt" DataSetColumn="amt" />
|
|
||||||
<Mapping SourceColumn="jago" DataSetColumn="jago" />
|
|
||||||
<Mapping SourceColumn="memo" DataSetColumn="memo" />
|
|
||||||
<Mapping SourceColumn="wuid" DataSetColumn="wuid" />
|
|
||||||
<Mapping SourceColumn="wdate" DataSetColumn="wdate" />
|
|
||||||
<Mapping SourceColumn="ItemName" DataSetColumn="ItemName" />
|
|
||||||
<Mapping SourceColumn="ItemModel" DataSetColumn="ItemModel" />
|
|
||||||
<Mapping SourceColumn="supplyidx" DataSetColumn="supplyidx" />
|
|
||||||
<Mapping SourceColumn="supplyName" DataSetColumn="supplyName" />
|
|
||||||
<Mapping SourceColumn="itemSID" DataSetColumn="itemSID" />
|
|
||||||
<Mapping SourceColumn="ItemGroup" DataSetColumn="ItemGroup" />
|
|
||||||
</Mappings>
|
|
||||||
<Sources />
|
|
||||||
</TableAdapter>
|
|
||||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="JobReport1TableAdapter" GeneratorDataComponentClassName="JobReport1TableAdapter" Name="JobReport1" UserDataComponentName="JobReport1TableAdapter">
|
|
||||||
<MainSource>
|
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.JobReport" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
|
||||||
<DeleteCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>DELETE FROM [JobReport] WHERE (([idx] = @Original_idx) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)))</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_requestpart" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="requestpart" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_requestpart" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="requestpart" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_package" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="package" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_package" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="package" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_remark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrs" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_hrs" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="hrs" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_import" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_projectName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</DeleteCommand>
|
|
||||||
<InsertCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>INSERT INTO [JobReport] ([pidx], [pdate], [uid], [requestpart], [package], [status], [type], [description], [remark], [hrs], [import], [wuid], [wdate], [projectName]) VALUES (@pidx, @pdate, @uid, @requestpart, @package, @status, @type, @description, @remark, @hrs, @import, @wuid, @wdate, @projectName);
|
|
||||||
SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName FROM JobReport WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@requestpart" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="requestpart" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@package" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="package" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@remark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@hrs" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="hrs" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</InsertCommand>
|
|
||||||
<SelectCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName
|
|
||||||
FROM JobReport
|
|
||||||
WHERE (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid)
|
|
||||||
ORDER BY pdate DESC</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="uid" ColumnName="uid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</SelectCommand>
|
|
||||||
<UpdateCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>UPDATE [JobReport] SET [pidx] = @pidx, [pdate] = @pdate, [uid] = @uid, [requestpart] = @requestpart, [package] = @package, [status] = @status, [type] = @type, [description] = @description, [remark] = @remark, [hrs] = @hrs, [import] = @import, [wuid] = @wuid, [wdate] = @wdate, [projectName] = @projectName WHERE (([idx] = @Original_idx) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)));
|
|
||||||
SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName FROM JobReport WHERE (idx = @idx) ORDER BY pdate DESC</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@requestpart" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="requestpart" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@package" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="package" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@remark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@hrs" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="hrs" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_requestpart" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="requestpart" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_requestpart" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="requestpart" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_package" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="package" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_package" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="package" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_remark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrs" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_hrs" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="hrs" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_import" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_projectName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_projectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="projectName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</UpdateCommand>
|
|
||||||
</DbSource>
|
|
||||||
</MainSource>
|
|
||||||
<Mappings>
|
|
||||||
<Mapping SourceColumn="idx" DataSetColumn="idx" />
|
|
||||||
<Mapping SourceColumn="pdate" DataSetColumn="pdate" />
|
|
||||||
<Mapping SourceColumn="uid" DataSetColumn="uid" />
|
|
||||||
<Mapping SourceColumn="type" DataSetColumn="type" />
|
|
||||||
<Mapping SourceColumn="hrs" DataSetColumn="hrs" />
|
|
||||||
<Mapping SourceColumn="wuid" DataSetColumn="wuid" />
|
|
||||||
<Mapping SourceColumn="wdate" DataSetColumn="wdate" />
|
|
||||||
<Mapping SourceColumn="username" DataSetColumn="username" />
|
|
||||||
<Mapping SourceColumn="pidx" DataSetColumn="pidx" />
|
|
||||||
<Mapping SourceColumn="requestpart" DataSetColumn="requestpart" />
|
|
||||||
<Mapping SourceColumn="package" DataSetColumn="package" />
|
|
||||||
<Mapping SourceColumn="status" DataSetColumn="status" />
|
|
||||||
<Mapping SourceColumn="description" DataSetColumn="description" />
|
|
||||||
<Mapping SourceColumn="remark" DataSetColumn="remark" />
|
|
||||||
<Mapping SourceColumn="import" DataSetColumn="import" />
|
|
||||||
<Mapping SourceColumn="projectName" DataSetColumn="projectName" />
|
|
||||||
</Mappings>
|
|
||||||
<Sources>
|
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.JobReport" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillPrjName" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetPrjName" GeneratorSourceName="FillPrjName" GetMethodModifier="Public" GetMethodName="GetPrjName" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetPrjName" UserSourceName="FillPrjName">
|
|
||||||
<SelectCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>SELECT description, hrs, idx, import, package, pdate, pidx, projectName, remark, requestpart, status, type, uid, dbo.getUserName(uid) AS username, wdate, wuid FROM JobReport WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(dbo.getProjectName(pidx), '') LIKE @prjname) ORDER BY pdate DESC</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="prjname" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@prjname" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</SelectCommand>
|
|
||||||
</DbSource>
|
|
||||||
</Sources>
|
|
||||||
</TableAdapter>
|
|
||||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProjectsSchedule1TableAdapter" GeneratorDataComponentClassName="ProjectsSchedule1TableAdapter" Name="ProjectsSchedule1" UserDataComponentName="ProjectsSchedule1TableAdapter">
|
|
||||||
<MainSource>
|
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.ProjectsSchedule" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
|
||||||
<DeleteCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>DELETE FROM [ProjectsSchedule] WHERE (([idx] = @Original_idx) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_sw = 1 AND [sw] IS NULL) OR ([sw] = @Original_sw)) AND ((@IsNull_ew = 1 AND [ew] IS NULL) OR ([ew] = @Original_ew)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_swa = 1 AND [swa] IS NULL) OR ([swa] = @Original_swa)) AND ((@IsNull_ewa = 1 AND [ewa] IS NULL) OR ([ewa] = @Original_ewa)))</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sw" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sw" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_sw" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sw" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ew" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ew" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ew" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ew" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_swa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="swa" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_swa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="swa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ewa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ewa" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ewa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ewa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</DeleteCommand>
|
|
||||||
<InsertCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>INSERT INTO [ProjectsSchedule] ([project], [title], [sw], [ew], [memo], [wuid], [wdate], [swa], [ewa]) VALUES (@project, @title, @sw, @ew, @memo, @wuid, @wdate, @swa, @ewa);
|
|
||||||
SELECT idx, project, title, sw, ew, memo, wuid, wdate, swa, ewa FROM ProjectsSchedule WHERE (idx = SCOPE_IDENTITY()) ORDER BY sw</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@sw" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sw" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ew" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ew" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@swa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="swa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ewa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ewa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</InsertCommand>
|
|
||||||
<SelectCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>SELECT idx, project, title, sw, ew, memo, wuid, wdate, swa, ewa
|
|
||||||
FROM ProjectsSchedule
|
|
||||||
WHERE (project = @project)
|
|
||||||
ORDER BY sw</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="project" ColumnName="project" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</SelectCommand>
|
|
||||||
<UpdateCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>UPDATE [ProjectsSchedule] SET [project] = @project, [title] = @title, [sw] = @sw, [ew] = @ew, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [swa] = @swa, [ewa] = @ewa WHERE (([idx] = @Original_idx) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_sw = 1 AND [sw] IS NULL) OR ([sw] = @Original_sw)) AND ((@IsNull_ew = 1 AND [ew] IS NULL) OR ([ew] = @Original_ew)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_swa = 1 AND [swa] IS NULL) OR ([swa] = @Original_swa)) AND ((@IsNull_ewa = 1 AND [ewa] IS NULL) OR ([ewa] = @Original_ewa)));
|
|
||||||
SELECT idx, project, title, sw, ew, memo, wuid, wdate, swa, ewa FROM ProjectsSchedule WHERE (idx = @idx) ORDER BY sw</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@sw" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sw" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ew" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ew" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@swa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="swa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ewa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ewa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sw" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sw" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_sw" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sw" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ew" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ew" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ew" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ew" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_swa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="swa" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_swa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="swa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ewa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ewa" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ewa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ewa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</UpdateCommand>
|
|
||||||
</DbSource>
|
|
||||||
</MainSource>
|
|
||||||
<Mappings>
|
|
||||||
<Mapping SourceColumn="idx" DataSetColumn="idx" />
|
|
||||||
<Mapping SourceColumn="project" DataSetColumn="project" />
|
|
||||||
<Mapping SourceColumn="title" DataSetColumn="title" />
|
|
||||||
<Mapping SourceColumn="sw" DataSetColumn="sw" />
|
|
||||||
<Mapping SourceColumn="ew" DataSetColumn="ew" />
|
|
||||||
<Mapping SourceColumn="memo" DataSetColumn="memo" />
|
|
||||||
<Mapping SourceColumn="wuid" DataSetColumn="wuid" />
|
|
||||||
<Mapping SourceColumn="wdate" DataSetColumn="wdate" />
|
|
||||||
<Mapping SourceColumn="swa" DataSetColumn="swa" />
|
|
||||||
<Mapping SourceColumn="ewa" DataSetColumn="ewa" />
|
|
||||||
</Mappings>
|
|
||||||
<Sources />
|
|
||||||
</TableAdapter>
|
|
||||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProjectsHistory1TableAdapter" GeneratorDataComponentClassName="ProjectsHistory1TableAdapter" Name="ProjectsHistory1" UserDataComponentName="ProjectsHistory1TableAdapter">
|
|
||||||
<MainSource>
|
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.ProjectsHistory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
|
||||||
<DeleteCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>DELETE FROM [ProjectsHistory] WHERE (([idx] = @Original_idx) AND ([pidx] = @Original_pidx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_div = 1 AND [div] IS NULL) OR ([div] = @Original_div)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_mailsend = 1 AND [mailsend] IS NULL) OR ([mailsend] = @Original_mailsend)))</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_div" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="div" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_div" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="div" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mailsend" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mailsend" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_mailsend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="mailsend" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</DeleteCommand>
|
|
||||||
<InsertCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>INSERT INTO [ProjectsHistory] ([pidx], [pdate], [div], [remark], [wuid], [wdate], [mailsend]) VALUES (@pidx, @pdate, @div, @remark, @wuid, @wdate, @mailsend);
|
|
||||||
SELECT idx, pidx, pdate, div, remark, wuid, wdate, mailsend FROM ProjectsHistory WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC</CommandText>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@div" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="div" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@mailsend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="mailsend" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
||||||
</Parameters>
|
|
||||||
</DbCommand>
|
|
||||||
</InsertCommand>
|
|
||||||
<SelectCommand>
|
|
||||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
||||||
<CommandText>SELECT idx, pidx, pdate, div, remark, wuid, wdate, mailsend
|
|
||||||
FROM ProjectsHistory
|
|
||||||
WHERE (pidx = @project)
|
|
||||||
ORDER BY pdate DESC</CommandText>
|
ORDER BY pdate DESC</CommandText>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter AllowDbNull="false" AutogeneratedName="project" ColumnName="pidx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="false" AutogeneratedName="project" ColumnName="pidx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
@@ -1453,7 +998,7 @@ WHERE (pidx = @pidx)</CommandText>
|
|||||||
</TableAdapter>
|
</TableAdapter>
|
||||||
</Tables>
|
</Tables>
|
||||||
<Sources>
|
<Sources>
|
||||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.CopyProjectData" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="CopyProjectData" MethodsParameterType="CLR" Modifier="Public" Name="CopyProjectData" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CopyProjectData">
|
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.CopyProjectData" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="CopyProjectData" MethodsParameterType="CLR" Modifier="Public" Name="CopyProjectData" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CopyProjectData">
|
||||||
<SelectCommand>
|
<SelectCommand>
|
||||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||||
<CommandText>dbo.CopyProjectData</CommandText>
|
<CommandText>dbo.CopyProjectData</CommandText>
|
||||||
@@ -1461,6 +1006,7 @@ WHERE (pidx = @pidx)</CommandText>
|
|||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@userno" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@userno" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="InputOutput" ParameterName="@newid" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</DbCommand>
|
</DbCommand>
|
||||||
</SelectCommand>
|
</SelectCommand>
|
||||||
@@ -1875,8 +1421,22 @@ WHERE (pidx = @pidx)</CommandText>
|
|||||||
</xs:restriction>
|
</xs:restriction>
|
||||||
</xs:simpleType>
|
</xs:simpleType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
<xs:element name="ww" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ww" msprop:Generator_ColumnVarNameInTable="columnww" msprop:Generator_ColumnPropNameInTable="wwColumn" msprop:Generator_UserColumnName="ww" type="xs:string" minOccurs="0" />
|
|
||||||
<xs:element name="week" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="week" msprop:Generator_ColumnVarNameInTable="columnweek" msprop:Generator_ColumnPropNameInTable="weekColumn" msprop:Generator_UserColumnName="week" type="xs:string" minOccurs="0" />
|
<xs:element name="week" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="week" msprop:Generator_ColumnVarNameInTable="columnweek" msprop:Generator_ColumnPropNameInTable="weekColumn" msprop:Generator_UserColumnName="week" type="xs:string" minOccurs="0" />
|
||||||
|
<xs:element name="ot" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="ot" msprop:Generator_ColumnVarNameInTable="columnot" msprop:Generator_ColumnPropNameInTable="otColumn" msprop:Generator_UserColumnName="ot" type="xs:double" minOccurs="0" />
|
||||||
|
<xs:element name="ww" msdata:ReadOnly="true" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ww" msprop:Generator_ColumnVarNameInTable="columnww" msprop:Generator_ColumnPropNameInTable="wwColumn" msprop:Generator_UserColumnName="ww" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="6" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="process" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="process" msprop:Generator_ColumnVarNameInTable="columnprocess" msprop:Generator_ColumnPropNameInTable="processColumn" msprop:Generator_UserColumnName="process" minOccurs="0">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:maxLength value="50" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:element>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
@@ -1952,232 +1512,6 @@ WHERE (pidx = @pidx)</CommandText>
|
|||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
<xs:element name="ProjectsPart1" msprop:Generator_TableClassName="ProjectsPart1DataTable" msprop:Generator_TableVarName="tableProjectsPart1" msprop:Generator_RowChangedName="ProjectsPart1RowChanged" msprop:Generator_TablePropName="ProjectsPart1" msprop:Generator_RowDeletingName="ProjectsPart1RowDeleting" msprop:Generator_RowChangingName="ProjectsPart1RowChanging" msprop:Generator_RowEvHandlerName="ProjectsPart1RowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsPart1RowDeleted" msprop:Generator_RowClassName="ProjectsPart1Row" msprop:Generator_UserTableName="ProjectsPart1" msprop:Generator_RowEvArgName="ProjectsPart1RowChangeEvent">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
|
||||||
<xs:element name="Project" msprop:Generator_ColumnVarNameInTable="columnProject" msprop:Generator_ColumnPropNameInRow="Project" msprop:Generator_ColumnPropNameInTable="ProjectColumn" msprop:Generator_UserColumnName="Project" type="xs:int" minOccurs="0" />
|
|
||||||
<xs:element name="Item" msprop:nullValue="_throw" msprop:Generator_ColumnPropNameInRow="Item" msprop:Generator_ColumnVarNameInTable="columnItem" msprop:Generator_ColumnPropNameInTable="ItemColumn" msprop:Generator_UserColumnName="Item" type="xs:int" minOccurs="0" />
|
|
||||||
<xs:element name="qty" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="qty" msprop:Generator_ColumnVarNameInTable="columnqty" msprop:Generator_ColumnPropNameInTable="qtyColumn" msprop:Generator_UserColumnName="qty" type="xs:int" minOccurs="0" />
|
|
||||||
<xs:element name="price" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="price" msprop:Generator_ColumnVarNameInTable="columnprice" msprop:Generator_ColumnPropNameInTable="priceColumn" msprop:Generator_UserColumnName="price" type="xs:decimal" minOccurs="0" />
|
|
||||||
<xs:element name="amt" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="amt" msprop:Generator_ColumnVarNameInTable="columnamt" msprop:Generator_ColumnPropNameInTable="amtColumn" msprop:Generator_UserColumnName="amt" type="xs:decimal" minOccurs="0" />
|
|
||||||
<xs:element name="jago" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="jago" msprop:Generator_ColumnVarNameInTable="columnjago" msprop:Generator_ColumnPropNameInTable="jagoColumn" msprop:Generator_UserColumnName="jago" type="xs:int" minOccurs="0" />
|
|
||||||
<xs:element name="memo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="255" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="wuid" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="20" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
|
|
||||||
<xs:element name="ItemName" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ItemName" msprop:Generator_ColumnVarNameInTable="columnItemName" msprop:Generator_ColumnPropNameInTable="ItemNameColumn" msprop:Generator_UserColumnName="ItemName" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="100" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="ItemModel" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ItemModel" msprop:Generator_ColumnVarNameInTable="columnItemModel" msprop:Generator_ColumnPropNameInTable="ItemModelColumn" msprop:Generator_UserColumnName="ItemModel" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="100" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="supplyidx" msprop:Generator_ColumnVarNameInTable="columnsupplyidx" msprop:Generator_ColumnPropNameInRow="supplyidx" msprop:Generator_ColumnPropNameInTable="supplyidxColumn" msprop:Generator_UserColumnName="supplyidx" type="xs:int" minOccurs="0" />
|
|
||||||
<xs:element name="supplyName" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="supplyName" msprop:Generator_ColumnVarNameInTable="columnsupplyName" msprop:Generator_ColumnPropNameInTable="supplyNameColumn" msprop:Generator_UserColumnName="supplyName" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="200" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="itemSID" msdata:ReadOnly="true" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="itemSID" msprop:Generator_ColumnVarNameInTable="columnitemSID" msprop:Generator_ColumnPropNameInTable="itemSIDColumn" msprop:Generator_UserColumnName="itemSID" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="200" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="ItemGroup" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ItemGroup" msprop:Generator_ColumnVarNameInTable="columnItemGroup" msprop:Generator_ColumnPropNameInTable="ItemGroupColumn" msprop:Generator_UserColumnName="ItemGroup" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="100" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="JobReport1" msprop:Generator_TableClassName="JobReport1DataTable" msprop:Generator_TableVarName="tableJobReport1" msprop:Generator_RowChangedName="JobReport1RowChanged" msprop:Generator_TablePropName="JobReport1" msprop:Generator_RowDeletingName="JobReport1RowDeleting" msprop:Generator_RowChangingName="JobReport1RowChanging" msprop:Generator_RowEvHandlerName="JobReport1RowChangeEventHandler" msprop:Generator_RowDeletedName="JobReport1RowDeleted" msprop:Generator_RowClassName="JobReport1Row" msprop:Generator_UserTableName="JobReport1" msprop:Generator_RowEvArgName="JobReport1RowChangeEvent">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
|
||||||
<xs:element name="pdate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="10" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="uid" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="20" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="type" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="type" msprop:Generator_ColumnVarNameInTable="columntype" msprop:Generator_ColumnPropNameInTable="typeColumn" msprop:Generator_UserColumnName="type" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="20" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="hrs" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="hrs" msprop:Generator_ColumnVarNameInTable="columnhrs" msprop:Generator_ColumnPropNameInTable="hrsColumn" msprop:Generator_UserColumnName="hrs" type="xs:double" minOccurs="0" />
|
|
||||||
<xs:element name="wuid" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="20" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
|
|
||||||
<xs:element name="username" msdata:ReadOnly="true" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="username" msprop:Generator_ColumnVarNameInTable="columnusername" msprop:Generator_ColumnPropNameInTable="usernameColumn" msprop:Generator_UserColumnName="username" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="200" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="pidx" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="pidx" msprop:Generator_ColumnVarNameInTable="columnpidx" msprop:Generator_ColumnPropNameInTable="pidxColumn" msprop:Generator_UserColumnName="pidx" type="xs:int" minOccurs="0" />
|
|
||||||
<xs:element name="requestpart" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="requestpart" msprop:Generator_ColumnVarNameInTable="columnrequestpart" msprop:Generator_ColumnPropNameInTable="requestpartColumn" msprop:Generator_UserColumnName="requestpart" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="50" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="package" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="package" msprop:Generator_ColumnVarNameInTable="columnpackage" msprop:Generator_ColumnPropNameInTable="packageColumn" msprop:Generator_UserColumnName="package" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="50" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="status" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="status" msprop:Generator_ColumnVarNameInTable="columnstatus" msprop:Generator_ColumnPropNameInTable="statusColumn" msprop:Generator_UserColumnName="status" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="20" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="description" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="description" msprop:Generator_ColumnVarNameInTable="columndescription" msprop:Generator_ColumnPropNameInTable="descriptionColumn" msprop:Generator_UserColumnName="description" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="2147483647" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="remark" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="remark" msprop:Generator_ColumnVarNameInTable="columnremark" msprop:Generator_ColumnPropNameInTable="remarkColumn" msprop:Generator_UserColumnName="remark" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="255" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="import" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="import" msprop:Generator_ColumnVarNameInTable="columnimport" msprop:Generator_ColumnPropNameInTable="importColumn" msprop:Generator_UserColumnName="import" type="xs:boolean" minOccurs="0" />
|
|
||||||
<xs:element name="projectName" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="projectName" msprop:Generator_ColumnVarNameInTable="columnprojectName" msprop:Generator_ColumnPropNameInTable="projectNameColumn" msprop:Generator_UserColumnName="projectName" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="255" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="ww" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ww" msprop:Generator_ColumnVarNameInTable="columnww" msprop:Generator_ColumnPropNameInTable="wwColumn" msprop:Generator_UserColumnName="ww" type="xs:string" minOccurs="0" />
|
|
||||||
<xs:element name="week" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="week" msprop:Generator_ColumnVarNameInTable="columnweek" msprop:Generator_ColumnPropNameInTable="weekColumn" msprop:Generator_UserColumnName="week" type="xs:string" minOccurs="0" />
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="ProjectsSchedule1" msprop:Generator_TableClassName="ProjectsSchedule1DataTable" msprop:Generator_TableVarName="tableProjectsSchedule1" msprop:Generator_RowChangedName="ProjectsSchedule1RowChanged" msprop:Generator_TablePropName="ProjectsSchedule1" msprop:Generator_RowDeletingName="ProjectsSchedule1RowDeleting" msprop:Generator_RowChangingName="ProjectsSchedule1RowChanging" msprop:Generator_RowEvHandlerName="ProjectsSchedule1RowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsSchedule1RowDeleted" msprop:Generator_RowClassName="ProjectsSchedule1Row" msprop:Generator_UserTableName="ProjectsSchedule1" msprop:Generator_RowEvArgName="ProjectsSchedule1RowChangeEvent">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
|
||||||
<xs:element name="project" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_UserColumnName="project" type="xs:int" minOccurs="0" />
|
|
||||||
<xs:element name="title" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="title" msprop:Generator_ColumnVarNameInTable="columntitle" msprop:Generator_ColumnPropNameInTable="titleColumn" msprop:Generator_UserColumnName="title" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="100" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="sw" msprop:Generator_ColumnVarNameInTable="columnsw" msprop:Generator_ColumnPropNameInRow="sw" msprop:Generator_ColumnPropNameInTable="swColumn" msprop:Generator_UserColumnName="sw" type="xs:int" minOccurs="0" />
|
|
||||||
<xs:element name="ew" msprop:Generator_ColumnVarNameInTable="columnew" msprop:Generator_ColumnPropNameInRow="ew" msprop:Generator_ColumnPropNameInTable="ewColumn" msprop:Generator_UserColumnName="ew" type="xs:int" minOccurs="0" />
|
|
||||||
<xs:element name="memo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="2147483647" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="20" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
|
|
||||||
<xs:element name="swa" msprop:Generator_ColumnVarNameInTable="columnswa" msprop:Generator_ColumnPropNameInRow="swa" msprop:Generator_ColumnPropNameInTable="swaColumn" msprop:Generator_UserColumnName="swa" type="xs:int" minOccurs="0" />
|
|
||||||
<xs:element name="ewa" msprop:Generator_ColumnVarNameInTable="columnewa" msprop:Generator_ColumnPropNameInRow="ewa" msprop:Generator_ColumnPropNameInTable="ewaColumn" msprop:Generator_UserColumnName="ewa" type="xs:int" minOccurs="0" />
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="ProjectsHistory1" msprop:Generator_TableClassName="ProjectsHistory1DataTable" msprop:Generator_TableVarName="tableProjectsHistory1" msprop:Generator_RowChangedName="ProjectsHistory1RowChanged" msprop:Generator_TablePropName="ProjectsHistory1" msprop:Generator_RowDeletingName="ProjectsHistory1RowDeleting" msprop:Generator_RowChangingName="ProjectsHistory1RowChanging" msprop:Generator_RowEvHandlerName="ProjectsHistory1RowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsHistory1RowDeleted" msprop:Generator_RowClassName="ProjectsHistory1Row" msprop:Generator_UserTableName="ProjectsHistory1" msprop:Generator_RowEvArgName="ProjectsHistory1RowChangeEvent">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
|
||||||
<xs:element name="pidx" msprop:Generator_ColumnVarNameInTable="columnpidx" msprop:Generator_ColumnPropNameInRow="pidx" msprop:Generator_ColumnPropNameInTable="pidxColumn" msprop:Generator_UserColumnName="pidx" type="xs:int" />
|
|
||||||
<xs:element name="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="10" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="div" msprop:Generator_ColumnVarNameInTable="columndiv" msprop:Generator_ColumnPropNameInRow="div" msprop:Generator_ColumnPropNameInTable="divColumn" msprop:Generator_UserColumnName="div" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="10" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="remark" msprop:Generator_ColumnVarNameInTable="columnremark" msprop:Generator_ColumnPropNameInRow="remark" msprop:Generator_ColumnPropNameInTable="remarkColumn" msprop:Generator_UserColumnName="remark" minOccurs="0">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="2147483647" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:maxLength value="20" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
|
|
||||||
<xs:element name="mailsend" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="mailsend" msprop:Generator_ColumnVarNameInTable="columnmailsend" msprop:Generator_ColumnPropNameInTable="mailsendColumn" msprop:Generator_UserColumnName="mailsend" type="xs:boolean" minOccurs="0" />
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:choice>
|
</xs:choice>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||||
@@ -2208,21 +1542,5 @@ WHERE (pidx = @pidx)</CommandText>
|
|||||||
<xs:selector xpath=".//mstns:ProjectsHistory" />
|
<xs:selector xpath=".//mstns:ProjectsHistory" />
|
||||||
<xs:field xpath="mstns:idx" />
|
<xs:field xpath="mstns:idx" />
|
||||||
</xs:unique>
|
</xs:unique>
|
||||||
<xs:unique name="ProjectsPart1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
||||||
<xs:selector xpath=".//mstns:ProjectsPart1" />
|
|
||||||
<xs:field xpath="mstns:idx" />
|
|
||||||
</xs:unique>
|
|
||||||
<xs:unique name="JobReport1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
||||||
<xs:selector xpath=".//mstns:JobReport1" />
|
|
||||||
<xs:field xpath="mstns:idx" />
|
|
||||||
</xs:unique>
|
|
||||||
<xs:unique name="ProjectsSchedule1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
||||||
<xs:selector xpath=".//mstns:ProjectsSchedule1" />
|
|
||||||
<xs:field xpath="mstns:idx" />
|
|
||||||
</xs:unique>
|
|
||||||
<xs:unique name="ProjectsHistory1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
||||||
<xs:selector xpath=".//mstns:ProjectsHistory1" />
|
|
||||||
<xs:field xpath="mstns:idx" />
|
|
||||||
</xs:unique>
|
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:schema>
|
</xs:schema>
|
||||||
12
SubProject/FPJ0000/fPartList.Designer.cs
generated
12
SubProject/FPJ0000/fPartList.Designer.cs
generated
@@ -213,7 +213,7 @@
|
|||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(798, 124);
|
this.panel1.Size = new System.Drawing.Size(820, 124);
|
||||||
this.panel1.TabIndex = 0;
|
this.panel1.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// idxTextBox
|
// idxTextBox
|
||||||
@@ -410,14 +410,14 @@
|
|||||||
this.toolStripSeparator1,
|
this.toolStripSeparator1,
|
||||||
this.toolStripLabel1,
|
this.toolStripLabel1,
|
||||||
this.lbSum});
|
this.lbSum});
|
||||||
this.bn.Location = new System.Drawing.Point(0, 569);
|
this.bn.Location = new System.Drawing.Point(0, 525);
|
||||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||||
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||||
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||||
this.bn.Name = "bn";
|
this.bn.Name = "bn";
|
||||||
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||||
this.bn.Size = new System.Drawing.Size(798, 25);
|
this.bn.Size = new System.Drawing.Size(820, 25);
|
||||||
this.bn.TabIndex = 3;
|
this.bn.TabIndex = 3;
|
||||||
this.bn.Text = "bindingNavigator1";
|
this.bn.Text = "bindingNavigator1";
|
||||||
//
|
//
|
||||||
@@ -563,7 +563,9 @@
|
|||||||
//
|
//
|
||||||
this.tam.BackupDataSetBeforeUpdate = false;
|
this.tam.BackupDataSetBeforeUpdate = false;
|
||||||
this.tam.JobReportTableAdapter = null;
|
this.tam.JobReportTableAdapter = null;
|
||||||
|
this.tam.ProjectsHistoryTableAdapter = null;
|
||||||
this.tam.ProjectsIOMapTableAdapter = null;
|
this.tam.ProjectsIOMapTableAdapter = null;
|
||||||
|
this.tam.ProjectsMailListTableAdapter = null;
|
||||||
this.tam.ProjectsPartTableAdapter = this.taPart;
|
this.tam.ProjectsPartTableAdapter = this.taPart;
|
||||||
this.tam.ProjectsScheduleTableAdapter = null;
|
this.tam.ProjectsScheduleTableAdapter = null;
|
||||||
this.tam.ProjectsTableAdapter = this.ta;
|
this.tam.ProjectsTableAdapter = this.ta;
|
||||||
@@ -589,7 +591,7 @@
|
|||||||
this.fpSpread1.Name = "fpSpread1";
|
this.fpSpread1.Name = "fpSpread1";
|
||||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||||
this.fpSpread1_Sheet1});
|
this.fpSpread1_Sheet1});
|
||||||
this.fpSpread1.Size = new System.Drawing.Size(798, 445);
|
this.fpSpread1.Size = new System.Drawing.Size(820, 401);
|
||||||
this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Office2013;
|
this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Office2013;
|
||||||
this.fpSpread1.TabIndex = 4;
|
this.fpSpread1.TabIndex = 4;
|
||||||
this.fpSpread1.TitleInfo.Text = "PartList";
|
this.fpSpread1.TitleInfo.Text = "PartList";
|
||||||
@@ -759,7 +761,7 @@
|
|||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(798, 594);
|
this.ClientSize = new System.Drawing.Size(820, 550);
|
||||||
this.Controls.Add(this.fpSpread1);
|
this.Controls.Add(this.fpSpread1);
|
||||||
this.Controls.Add(this.bn);
|
this.Controls.Add(this.bn);
|
||||||
this.Controls.Add(this.panel1);
|
this.Controls.Add(this.panel1);
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ namespace FPJ0000
|
|||||||
int colidx_model = -1;
|
int colidx_model = -1;
|
||||||
int colidx_supply = -1;
|
int colidx_supply = -1;
|
||||||
int colidx_supplyidx = -1;
|
int colidx_supplyidx = -1;
|
||||||
|
int colidx_sid = -1;
|
||||||
|
|
||||||
|
|
||||||
public fPartList(int idx_)
|
public fPartList(int idx_)
|
||||||
@@ -66,9 +67,12 @@ namespace FPJ0000
|
|||||||
else if (colname == "qty") colidx_qty = col.Index;
|
else if (colname == "qty") colidx_qty = col.Index;
|
||||||
else if (colname == "price") colidx_price = col.Index;
|
else if (colname == "price") colidx_price = col.Index;
|
||||||
else if (colname == "amt") colidx_amt = col.Index;
|
else if (colname == "amt") colidx_amt = col.Index;
|
||||||
else if (colname == "supplyidx") colidx_supplyidx = col.Index;
|
else if (colname == "supplyidx") colidx_supplyidx = col.Index;
|
||||||
else if (col.Label.ToLower() == "supply") colidx_supply = col.Index;
|
else if (col.Label.ToLower() == "supply") colidx_supply = col.Index;
|
||||||
|
else if (col.Label.ToLower() == "sid") colidx_sid = col.Index;
|
||||||
}
|
}
|
||||||
|
this.Show();
|
||||||
|
Application.DoEvents();
|
||||||
RefreshData();
|
RefreshData();
|
||||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||||
|
|
||||||
@@ -241,7 +245,7 @@ namespace FPJ0000
|
|||||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_item].Value = f.item;
|
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_item].Value = f.item;
|
||||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_itemname].Value = f.itemName;
|
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_itemname].Value = f.itemName;
|
||||||
|
|
||||||
//fpSpread1.ActiveSheet.Cells[Rowidx, colidx_sid].Value = f.SID;
|
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_sid].Value = f.SID;
|
||||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supplyidx].Value = f.itemSupplyidx;
|
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supplyidx].Value = f.itemSupplyidx;
|
||||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supply].Value = f.itemSupply;
|
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supply].Value = f.itemSupply;
|
||||||
|
|
||||||
|
|||||||
4
SubProject/FPJ0000/fProjectData.Designer.cs
generated
4
SubProject/FPJ0000/fProjectData.Designer.cs
generated
@@ -1425,15 +1425,11 @@
|
|||||||
// tam
|
// tam
|
||||||
//
|
//
|
||||||
this.tam.BackupDataSetBeforeUpdate = false;
|
this.tam.BackupDataSetBeforeUpdate = false;
|
||||||
this.tam.JobReport1TableAdapter = null;
|
|
||||||
this.tam.JobReportTableAdapter = null;
|
this.tam.JobReportTableAdapter = null;
|
||||||
this.tam.ProjectsHistory1TableAdapter = null;
|
|
||||||
this.tam.ProjectsHistoryTableAdapter = null;
|
this.tam.ProjectsHistoryTableAdapter = null;
|
||||||
this.tam.ProjectsIOMapTableAdapter = null;
|
this.tam.ProjectsIOMapTableAdapter = null;
|
||||||
this.tam.ProjectsMailListTableAdapter = null;
|
this.tam.ProjectsMailListTableAdapter = null;
|
||||||
this.tam.ProjectsPart1TableAdapter = null;
|
|
||||||
this.tam.ProjectsPartTableAdapter = null;
|
this.tam.ProjectsPartTableAdapter = null;
|
||||||
this.tam.ProjectsSchedule1TableAdapter = null;
|
|
||||||
this.tam.ProjectsScheduleTableAdapter = null;
|
this.tam.ProjectsScheduleTableAdapter = null;
|
||||||
this.tam.ProjectsTableAdapter = this.ta;
|
this.tam.ProjectsTableAdapter = this.ta;
|
||||||
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||||
|
|||||||
373
SubProject/FPJ0000/fProjectList.Designer.cs
generated
373
SubProject/FPJ0000/fProjectList.Designer.cs
generated
@@ -86,6 +86,7 @@
|
|||||||
this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter();
|
this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter();
|
||||||
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
|
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
|
||||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||||
|
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||||
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
|
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
|
||||||
this.cmbYearS = new System.Windows.Forms.ToolStripComboBox();
|
this.cmbYearS = new System.Windows.Forms.ToolStripComboBox();
|
||||||
@@ -134,20 +135,19 @@
|
|||||||
this.taHist = new FPJ0000.dsPRJTableAdapters.ProjectsHistoryTableAdapter();
|
this.taHist = new FPJ0000.dsPRJTableAdapters.ProjectsHistoryTableAdapter();
|
||||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||||
this.panel3 = new System.Windows.Forms.Panel();
|
this.panel3 = new System.Windows.Forms.Panel();
|
||||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||||
this.bn.SuspendLayout();
|
this.bn.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||||
this.cm.SuspendLayout();
|
this.cm.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||||
this.toolStrip1.SuspendLayout();
|
this.toolStrip1.SuspendLayout();
|
||||||
this.tableLayoutPanel1.SuspendLayout();
|
this.tableLayoutPanel1.SuspendLayout();
|
||||||
this.panel4.SuspendLayout();
|
this.panel4.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.bsHist)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.bsHist)).BeginInit();
|
||||||
this.tableLayoutPanel2.SuspendLayout();
|
this.tableLayoutPanel2.SuspendLayout();
|
||||||
this.panel3.SuspendLayout();
|
this.panel3.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// bn
|
// bn
|
||||||
@@ -343,7 +343,7 @@
|
|||||||
this.toolStripMenuItem1,
|
this.toolStripMenuItem1,
|
||||||
this.엑셀파일로저장ToolStripMenuItem});
|
this.엑셀파일로저장ToolStripMenuItem});
|
||||||
this.cm.Name = "contextMenuStrip1";
|
this.cm.Name = "contextMenuStrip1";
|
||||||
this.cm.Size = new System.Drawing.Size(305, 310);
|
this.cm.Size = new System.Drawing.Size(305, 332);
|
||||||
//
|
//
|
||||||
// columnSizeToolStripMenuItem
|
// columnSizeToolStripMenuItem
|
||||||
//
|
//
|
||||||
@@ -438,7 +438,7 @@
|
|||||||
//
|
//
|
||||||
this.makeRepeatToolStripMenuItem.Name = "makeRepeatToolStripMenuItem";
|
this.makeRepeatToolStripMenuItem.Name = "makeRepeatToolStripMenuItem";
|
||||||
this.makeRepeatToolStripMenuItem.Size = new System.Drawing.Size(304, 36);
|
this.makeRepeatToolStripMenuItem.Size = new System.Drawing.Size(304, 36);
|
||||||
this.makeRepeatToolStripMenuItem.Text = "연관 프로젝트 추가";
|
this.makeRepeatToolStripMenuItem.Text = "복사";
|
||||||
this.makeRepeatToolStripMenuItem.Click += new System.EventHandler(this.makeRepeatToolStripMenuItem_Click);
|
this.makeRepeatToolStripMenuItem.Click += new System.EventHandler(this.makeRepeatToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// toolStripMenuItem1
|
// toolStripMenuItem1
|
||||||
@@ -460,15 +460,11 @@
|
|||||||
// tam
|
// tam
|
||||||
//
|
//
|
||||||
this.tam.BackupDataSetBeforeUpdate = false;
|
this.tam.BackupDataSetBeforeUpdate = false;
|
||||||
this.tam.JobReport1TableAdapter = null;
|
|
||||||
this.tam.JobReportTableAdapter = null;
|
this.tam.JobReportTableAdapter = null;
|
||||||
this.tam.ProjectsHistory1TableAdapter = null;
|
|
||||||
this.tam.ProjectsHistoryTableAdapter = null;
|
this.tam.ProjectsHistoryTableAdapter = null;
|
||||||
this.tam.ProjectsIOMapTableAdapter = null;
|
this.tam.ProjectsIOMapTableAdapter = null;
|
||||||
this.tam.ProjectsMailListTableAdapter = null;
|
this.tam.ProjectsMailListTableAdapter = null;
|
||||||
this.tam.ProjectsPart1TableAdapter = null;
|
|
||||||
this.tam.ProjectsPartTableAdapter = null;
|
this.tam.ProjectsPartTableAdapter = null;
|
||||||
this.tam.ProjectsSchedule1TableAdapter = null;
|
|
||||||
this.tam.ProjectsScheduleTableAdapter = null;
|
this.tam.ProjectsScheduleTableAdapter = null;
|
||||||
this.tam.ProjectsTableAdapter = this.ta;
|
this.tam.ProjectsTableAdapter = this.ta;
|
||||||
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||||
@@ -490,6 +486,164 @@
|
|||||||
this.fpSpread1.StatusBarVisible = true;
|
this.fpSpread1.StatusBarVisible = true;
|
||||||
this.fpSpread1.TabIndex = 2;
|
this.fpSpread1.TabIndex = 2;
|
||||||
//
|
//
|
||||||
|
// 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 = 17;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2;
|
||||||
|
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||||
|
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||||
|
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).RowSpan = 2;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Status";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).RowSpan = 2;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Part";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).RowSpan = 2;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "Process";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).RowSpan = 2;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "Requestor";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).RowSpan = 2;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "Project\r\nChampion";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).ColumnSpan = 3;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "Co Workers";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).RowSpan = 2;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Asset No.";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).RowSpan = 2;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Project";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).RowSpan = 2;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "대수";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).RowSpan = 2;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "Original\r\n($K)";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).RowSpan = 2;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).StyleName = " ";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "Input\r\n($K)";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).RowSpan = 2;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "Effect\r\n($K)";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).RowSpan = 2;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "CR/CF#";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).RowSpan = 2;
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "Remark";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "H/W";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "전장";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "S/W";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "Asset No.";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 15).Value = "CR/CF#";
|
||||||
|
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
numberCellType1.DecimalPlaces = 0;
|
||||||
|
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||||
|
numberCellType1.MaximumValue = 2147483647D;
|
||||||
|
numberCellType1.MinimumValue = -2147483648D;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).Locked = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "status";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).Tag = "state";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(1).Width = 78F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "part";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "process";
|
||||||
|
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 = 78F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "reqstaff";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(4).Width = 78F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "userManager";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(5).Width = 78F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "usermain";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(6).Label = "H/W";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(6).Width = 78F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "userhw2";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(7).Label = "전장";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "usersub";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(8).Label = "S/W";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(8).Width = 78F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "asset";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(9).Label = "Asset No.";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(9).Width = 78F;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "name";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(10).Width = 78F;
|
||||||
|
numberCellType2.DecimalPlaces = 0;
|
||||||
|
numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||||
|
numberCellType2.MaximumValue = 2147483647D;
|
||||||
|
numberCellType2.MinimumValue = -2147483648D;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType2;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "cnt";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(11).Width = 59F;
|
||||||
|
numberCellType3.MaximumValue = 999999999999999D;
|
||||||
|
numberCellType3.MinimumValue = -999999999999999D;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType3;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "costo";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
numberCellType4.MaximumValue = 999999999999999D;
|
||||||
|
numberCellType4.MinimumValue = -999999999999999D;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType4;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "costn";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(14).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
numberCellType5.MaximumValue = 999999999999999D;
|
||||||
|
numberCellType5.MinimumValue = -999999999999999D;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType5;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "coste";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(14).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType11;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "orderno";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(15).Label = "CR/CF#";
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType12;
|
||||||
|
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "memo";
|
||||||
|
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||||
|
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||||
|
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||||
|
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||||
|
//
|
||||||
// toolStrip1
|
// toolStrip1
|
||||||
//
|
//
|
||||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
@@ -582,7 +736,9 @@
|
|||||||
//
|
//
|
||||||
// chk보류
|
// chk보류
|
||||||
//
|
//
|
||||||
|
this.chk보류.Checked = true;
|
||||||
this.chk보류.CheckOnClick = true;
|
this.chk보류.CheckOnClick = true;
|
||||||
|
this.chk보류.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
this.chk보류.Image = ((System.Drawing.Image)(resources.GetObject("chk보류.Image")));
|
this.chk보류.Image = ((System.Drawing.Image)(resources.GetObject("chk보류.Image")));
|
||||||
this.chk보류.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.chk보류.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.chk보류.Name = "chk보류";
|
this.chk보류.Name = "chk보류";
|
||||||
@@ -916,67 +1072,79 @@
|
|||||||
//
|
//
|
||||||
// label13
|
// label13
|
||||||
//
|
//
|
||||||
|
this.label13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
this.tableLayoutPanel2.SetColumnSpan(this.label13, 2);
|
this.tableLayoutPanel2.SetColumnSpan(this.label13, 2);
|
||||||
this.label13.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.label13.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.label13.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label13.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label13.Location = new System.Drawing.Point(4, 26);
|
this.label13.Location = new System.Drawing.Point(1, 26);
|
||||||
|
this.label13.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.label13.Name = "label13";
|
this.label13.Name = "label13";
|
||||||
this.label13.Size = new System.Drawing.Size(264, 20);
|
this.label13.Size = new System.Drawing.Size(270, 20);
|
||||||
this.label13.TabIndex = 0;
|
this.label13.TabIndex = 0;
|
||||||
this.label13.Text = "Cost Summary";
|
this.label13.Text = "Cost Summary";
|
||||||
this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
//
|
//
|
||||||
// label14
|
// label14
|
||||||
//
|
//
|
||||||
|
this.label14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
this.label14.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.label14.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.label14.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label14.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label14.Location = new System.Drawing.Point(275, 26);
|
this.label14.Location = new System.Drawing.Point(272, 26);
|
||||||
|
this.label14.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.label14.Name = "label14";
|
this.label14.Name = "label14";
|
||||||
this.label14.Size = new System.Drawing.Size(74, 20);
|
this.label14.Size = new System.Drawing.Size(80, 20);
|
||||||
this.label14.TabIndex = 0;
|
this.label14.TabIndex = 0;
|
||||||
this.label14.Text = "Origin";
|
this.label14.Text = "Origin";
|
||||||
this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
//
|
//
|
||||||
// label15
|
// label15
|
||||||
//
|
//
|
||||||
|
this.label15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
this.label15.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.label15.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.label15.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label15.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label15.Location = new System.Drawing.Point(546, 26);
|
this.label15.Location = new System.Drawing.Point(543, 26);
|
||||||
|
this.label15.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.label15.Name = "label15";
|
this.label15.Name = "label15";
|
||||||
this.label15.Size = new System.Drawing.Size(74, 20);
|
this.label15.Size = new System.Drawing.Size(80, 20);
|
||||||
this.label15.TabIndex = 0;
|
this.label15.TabIndex = 0;
|
||||||
this.label15.Text = "Input";
|
this.label15.Text = "Input";
|
||||||
this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
//
|
//
|
||||||
// label16
|
// label16
|
||||||
//
|
//
|
||||||
|
this.label16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
this.label16.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.label16.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.label16.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label16.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label16.Location = new System.Drawing.Point(817, 26);
|
this.label16.Location = new System.Drawing.Point(814, 26);
|
||||||
|
this.label16.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.label16.Name = "label16";
|
this.label16.Name = "label16";
|
||||||
this.label16.Size = new System.Drawing.Size(74, 20);
|
this.label16.Size = new System.Drawing.Size(80, 20);
|
||||||
this.label16.TabIndex = 0;
|
this.label16.TabIndex = 0;
|
||||||
this.label16.Text = "Effect";
|
this.label16.Text = "Effect";
|
||||||
this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
//
|
//
|
||||||
// sbSumO
|
// sbSumO
|
||||||
//
|
//
|
||||||
|
this.sbSumO.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
this.sbSumO.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.sbSumO.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.sbSumO.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold);
|
this.sbSumO.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold);
|
||||||
this.sbSumO.Location = new System.Drawing.Point(356, 26);
|
this.sbSumO.Location = new System.Drawing.Point(353, 26);
|
||||||
|
this.sbSumO.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.sbSumO.Name = "sbSumO";
|
this.sbSumO.Name = "sbSumO";
|
||||||
this.sbSumO.Size = new System.Drawing.Size(183, 20);
|
this.sbSumO.Size = new System.Drawing.Size(189, 20);
|
||||||
this.sbSumO.TabIndex = 1;
|
this.sbSumO.TabIndex = 1;
|
||||||
this.sbSumO.Text = "--";
|
this.sbSumO.Text = "--";
|
||||||
this.sbSumO.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
this.sbSumO.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
//
|
//
|
||||||
// sbSumI
|
// sbSumI
|
||||||
//
|
//
|
||||||
|
this.sbSumI.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
this.sbSumI.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.sbSumI.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.sbSumI.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold);
|
this.sbSumI.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold);
|
||||||
this.sbSumI.Location = new System.Drawing.Point(627, 26);
|
this.sbSumI.Location = new System.Drawing.Point(624, 26);
|
||||||
|
this.sbSumI.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.sbSumI.Name = "sbSumI";
|
this.sbSumI.Name = "sbSumI";
|
||||||
this.sbSumI.Size = new System.Drawing.Size(183, 20);
|
this.sbSumI.Size = new System.Drawing.Size(189, 20);
|
||||||
this.sbSumI.TabIndex = 1;
|
this.sbSumI.TabIndex = 1;
|
||||||
this.sbSumI.Text = "--";
|
this.sbSumI.Text = "--";
|
||||||
this.sbSumI.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
this.sbSumI.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
@@ -986,9 +1154,10 @@
|
|||||||
this.sbSumE.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
this.sbSumE.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||||
this.sbSumE.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.sbSumE.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.sbSumE.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.sbSumE.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.sbSumE.Location = new System.Drawing.Point(898, 26);
|
this.sbSumE.Location = new System.Drawing.Point(895, 26);
|
||||||
|
this.sbSumE.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.sbSumE.Name = "sbSumE";
|
this.sbSumE.Name = "sbSumE";
|
||||||
this.sbSumE.Size = new System.Drawing.Size(182, 20);
|
this.sbSumE.Size = new System.Drawing.Size(188, 20);
|
||||||
this.sbSumE.TabIndex = 1;
|
this.sbSumE.TabIndex = 1;
|
||||||
this.sbSumE.Text = "--";
|
this.sbSumE.Text = "--";
|
||||||
this.sbSumE.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
this.sbSumE.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
@@ -1007,164 +1176,6 @@
|
|||||||
this.panel3.Size = new System.Drawing.Size(1084, 218);
|
this.panel3.Size = new System.Drawing.Size(1084, 218);
|
||||||
this.panel3.TabIndex = 7;
|
this.panel3.TabIndex = 7;
|
||||||
//
|
//
|
||||||
// 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 = 17;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2;
|
|
||||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
|
||||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
|
||||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).RowSpan = 2;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Status";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).RowSpan = 2;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Part";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).RowSpan = 2;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "Process";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).RowSpan = 2;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "Requestor";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).RowSpan = 2;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "Project\r\nChampion";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).ColumnSpan = 3;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "Co Workers";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).RowSpan = 2;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Asset No.";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).RowSpan = 2;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Project";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).RowSpan = 2;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "대수";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).RowSpan = 2;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "Original\r\n($K)";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).RowSpan = 2;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).StyleName = " ";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "Input\r\n($K)";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).RowSpan = 2;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "Effect\r\n($K)";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).RowSpan = 2;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "CR/CF#";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).RowSpan = 2;
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "Remark";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "H/W";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "전장";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "S/W";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "Asset No.";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 15).Value = "CR/CF#";
|
|
||||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
||||||
numberCellType1.DecimalPlaces = 0;
|
|
||||||
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
|
||||||
numberCellType1.MaximumValue = 2147483647D;
|
|
||||||
numberCellType1.MinimumValue = -2147483648D;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).Locked = true;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "status";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).Tag = "state";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 78F;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "part";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "process";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 78F;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "reqstaff";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 78F;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "userManager";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 78F;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "usermain";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "H/W";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 78F;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "userhw2";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).Label = "전장";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "usersub";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "S/W";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 78F;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "asset";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).Label = "Asset No.";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(9).Width = 78F;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "name";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(10).Width = 78F;
|
|
||||||
numberCellType2.DecimalPlaces = 0;
|
|
||||||
numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
|
||||||
numberCellType2.MaximumValue = 2147483647D;
|
|
||||||
numberCellType2.MinimumValue = -2147483648D;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType2;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "cnt";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(11).Width = 59F;
|
|
||||||
numberCellType3.MaximumValue = 999999999999999D;
|
|
||||||
numberCellType3.MinimumValue = -999999999999999D;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType3;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "costo";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
numberCellType4.MaximumValue = 999999999999999D;
|
|
||||||
numberCellType4.MinimumValue = -999999999999999D;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType4;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "costn";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(14).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
||||||
numberCellType5.MaximumValue = 999999999999999D;
|
|
||||||
numberCellType5.MinimumValue = -999999999999999D;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType5;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "coste";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(14).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType11;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "orderno";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(15).Label = "CR/CF#";
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType12;
|
|
||||||
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "memo";
|
|
||||||
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;
|
|
||||||
//
|
|
||||||
// fProjectList
|
// fProjectList
|
||||||
//
|
//
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
@@ -1185,6 +1196,7 @@
|
|||||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||||
this.cm.ResumeLayout(false);
|
this.cm.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||||
this.toolStrip1.ResumeLayout(false);
|
this.toolStrip1.ResumeLayout(false);
|
||||||
this.toolStrip1.PerformLayout();
|
this.toolStrip1.PerformLayout();
|
||||||
this.tableLayoutPanel1.ResumeLayout(false);
|
this.tableLayoutPanel1.ResumeLayout(false);
|
||||||
@@ -1193,7 +1205,6 @@
|
|||||||
((System.ComponentModel.ISupportInitialize)(this.bsHist)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.bsHist)).EndInit();
|
||||||
this.tableLayoutPanel2.ResumeLayout(false);
|
this.tableLayoutPanel2.ResumeLayout(false);
|
||||||
this.panel3.ResumeLayout(false);
|
this.panel3.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
|
|||||||
@@ -141,9 +141,14 @@ namespace FPJ0000
|
|||||||
"ISNULL(reqstaff, '') LIKE @username OR " +
|
"ISNULL(reqstaff, '') LIKE @username OR " +
|
||||||
"ISNULL(usersub, '') LIKE @username) ";
|
"ISNULL(usersub, '') LIKE @username) ";
|
||||||
if (state != "") State_where += " AND " + state;
|
if (state != "") State_where += " AND " + state;
|
||||||
string State_order = "ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN " +
|
string State_order = "ORDER BY (CASE " +
|
||||||
"([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN " +
|
" WHEN ([status] = '진행') THEN '0' " +
|
||||||
"([status] = '완료') THEN '3' WHEN ([status] = '취소') THEN '9' ELSE '5' END),userManager,sdate";
|
" WHEN ([status] = '대기') THEN '1' " +
|
||||||
|
" WHEN ([status] = '검토') THEN '2' " +
|
||||||
|
" WHEN ([status] = '완료') THEN '3' " +
|
||||||
|
" WHEN ([status] = '보류') THEN '4' " +
|
||||||
|
" WHEN ([status] = '취소') THEN '9' " +
|
||||||
|
" ELSE '5' END),userManager,sdate";
|
||||||
|
|
||||||
string request = "%";
|
string request = "%";
|
||||||
if (tbRequest.Text.Trim() != "") request = "%" + this.tbRequest.Text.Trim() + "%";
|
if (tbRequest.Text.Trim() != "") request = "%" + this.tbRequest.Text.Trim() + "%";
|
||||||
@@ -258,6 +263,7 @@ namespace FPJ0000
|
|||||||
if (drv == null) return;
|
if (drv == null) return;
|
||||||
var dr = drv.Row as dsPRJ.ProjectsRow;
|
var dr = drv.Row as dsPRJ.ProjectsRow;
|
||||||
var f = new fPartList(dr.idx);
|
var f = new fPartList(dr.idx);
|
||||||
|
//f.TopMost = true;
|
||||||
f.ShowDialog();
|
f.ShowDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -322,13 +328,26 @@ namespace FPJ0000
|
|||||||
var drv = this.bs.Current as DataRowView;
|
var drv = this.bs.Current as DataRowView;
|
||||||
if (drv == null) return;
|
if (drv == null) return;
|
||||||
var dr = drv.Row as dsPRJ.ProjectsRow;
|
var dr = drv.Row as dsPRJ.ProjectsRow;
|
||||||
var dlg = FCOMMON.Util.MsgQ("하위 데이터를 복사하시겠습니까?\n\n이 작업은 취소할 수 없습니다.");
|
var dlg = FCOMMON.Util.MsgQ("하위 데이터를 복사하시겠습니까?\n\n생성된 자료는 [대기] 상태로 전환 됩니다.");
|
||||||
if (dlg == System.Windows.Forms.DialogResult.Yes)
|
if (dlg == System.Windows.Forms.DialogResult.Yes)
|
||||||
{
|
{
|
||||||
dsPRJTableAdapters.QueriesTableAdapter ta = new dsPRJTableAdapters.QueriesTableAdapter();
|
var ta = new dsPRJTableAdapters.QueriesTableAdapter();
|
||||||
int retval = (int)ta.CopyProjectData(dr.idx, FCOMMON.info.Login.no);
|
int? newidx = -1;
|
||||||
|
var retval = ta.CopyProjectData(dr.idx, FCOMMON.info.Login.no,ref newidx);
|
||||||
refreshData();
|
refreshData();
|
||||||
|
if(newidx != null)
|
||||||
|
{
|
||||||
|
var newdr = this.dsMSSQL.Projects.Where(t => t.idx == newidx).FirstOrDefault();
|
||||||
|
var f = new fProjectData(newdr);
|
||||||
|
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||||
|
{
|
||||||
|
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAutoType.project));
|
||||||
|
if (curLevel < 5)
|
||||||
|
{
|
||||||
|
saveData(false); //자동저장
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user