10-08
This commit is contained in:
545
SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
generated
545
SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
generated
@@ -30,24 +30,23 @@
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.dsPurchase = new FEQ0000.dsPurchase();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||
this.tam = new FEQ0000.dsPurchaseTableAdapters.TableAdapterManager();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(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();
|
||||
@@ -57,14 +56,33 @@
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.btSave = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.lbSum = new System.Windows.Forms.ToolStripLabel();
|
||||
this.dv1 = new System.Windows.Forms.DataGridView();
|
||||
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.autoResizeColumnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.viewThisUserDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.copyDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.lbStt = new System.Windows.Forms.ToolStripLabel();
|
||||
this.dtSD = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.lbEnd = new System.Windows.Forms.ToolStripLabel();
|
||||
this.dtED = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.cmbState = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbRequest = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.btSearch = new System.Windows.Forms.ToolStripButton();
|
||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_statename = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_state = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -85,21 +103,10 @@
|
||||
this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.autoResizeColumnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.viewThisUserDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.lbStt = new System.Windows.Forms.ToolStripLabel();
|
||||
this.dtSD = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.lbEnd = new System.Windows.Forms.ToolStripLabel();
|
||||
this.dtED = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.cmbState = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbRequest = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.btSearch = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator4 = 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();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
@@ -151,16 +158,20 @@
|
||||
this.toolStripButton1,
|
||||
this.btSave,
|
||||
this.toolStripSeparator1,
|
||||
this.toolStripSeparator4,
|
||||
this.lbSum,
|
||||
this.toolStripLabel5,
|
||||
this.lbSum});
|
||||
this.bn.Location = new System.Drawing.Point(0, 514);
|
||||
this.toolStripLabel2,
|
||||
this.tbFind,
|
||||
this.btFind});
|
||||
this.bn.Location = new System.Drawing.Point(0, 555);
|
||||
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(811, 26);
|
||||
this.bn.Size = new System.Drawing.Size(864, 26);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
@@ -171,15 +182,6 @@
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorDeleteItem
|
||||
//
|
||||
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(78, 23);
|
||||
this.bindingNavigatorDeleteItem.Text = "Delete(&D)";
|
||||
this.bindingNavigatorDeleteItem.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click);
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
@@ -249,6 +251,15 @@
|
||||
this.bindingNavigatorAddNewItem.Text = "Add(&A)";
|
||||
this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
|
||||
//
|
||||
// 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, 23);
|
||||
this.bindingNavigatorDeleteItem.Text = "Delete(&D)";
|
||||
this.bindingNavigatorDeleteItem.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click);
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
@@ -275,12 +286,14 @@
|
||||
//
|
||||
// toolStripLabel5
|
||||
//
|
||||
this.toolStripLabel5.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripLabel5.Name = "toolStripLabel5";
|
||||
this.toolStripLabel5.Size = new System.Drawing.Size(58, 23);
|
||||
this.toolStripLabel5.Text = "Sub Total";
|
||||
//
|
||||
// lbSum
|
||||
//
|
||||
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.Name = "lbSum";
|
||||
this.lbSum.Size = new System.Drawing.Size(22, 23);
|
||||
@@ -295,7 +308,8 @@
|
||||
this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dataGridViewTextBoxColumn2,
|
||||
this.dataGridViewTextBoxColumn3,
|
||||
this.dvc_statename,
|
||||
this.dvc_state,
|
||||
this.dataGridViewTextBoxColumn4,
|
||||
this.dataGridViewTextBoxColumn7,
|
||||
this.dataGridViewTextBoxColumn6,
|
||||
@@ -325,203 +339,19 @@
|
||||
this.dv1.ReadOnly = true;
|
||||
this.dv1.RowTemplate.Height = 23;
|
||||
this.dv1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dv1.Size = new System.Drawing.Size(811, 489);
|
||||
this.dv1.Size = new System.Drawing.Size(864, 530);
|
||||
this.dv1.TabIndex = 2;
|
||||
this.dv1.DoubleClick += new System.EventHandler(this.dv1_DoubleClick);
|
||||
//
|
||||
// dataGridViewTextBoxColumn2
|
||||
//
|
||||
this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate";
|
||||
this.dataGridViewTextBoxColumn2.HeaderText = "Date";
|
||||
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn3
|
||||
//
|
||||
this.dataGridViewTextBoxColumn3.DataPropertyName = "stateName";
|
||||
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle12;
|
||||
this.dataGridViewTextBoxColumn3.HeaderText = "State";
|
||||
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||
this.dataGridViewTextBoxColumn3.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn4
|
||||
//
|
||||
this.dataGridViewTextBoxColumn4.DataPropertyName = "process";
|
||||
this.dataGridViewTextBoxColumn4.HeaderText = "process";
|
||||
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||
this.dataGridViewTextBoxColumn4.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn7
|
||||
//
|
||||
this.dataGridViewTextBoxColumn7.DataPropertyName = "request";
|
||||
dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle13;
|
||||
this.dataGridViewTextBoxColumn7.HeaderText = "request";
|
||||
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||
this.dataGridViewTextBoxColumn7.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn6
|
||||
//
|
||||
this.dataGridViewTextBoxColumn6.DataPropertyName = "sc";
|
||||
dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle14;
|
||||
this.dataGridViewTextBoxColumn6.HeaderText = "sc#";
|
||||
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||
this.dataGridViewTextBoxColumn6.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn5
|
||||
//
|
||||
this.dataGridViewTextBoxColumn5.DataPropertyName = "receive";
|
||||
dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle15;
|
||||
this.dataGridViewTextBoxColumn5.HeaderText = "receive";
|
||||
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||
this.dataGridViewTextBoxColumn5.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn8
|
||||
//
|
||||
this.dataGridViewTextBoxColumn8.DataPropertyName = "sid";
|
||||
dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle16;
|
||||
this.dataGridViewTextBoxColumn8.HeaderText = "sid#";
|
||||
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||
this.dataGridViewTextBoxColumn8.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn9
|
||||
//
|
||||
this.dataGridViewTextBoxColumn9.DataPropertyName = "pumname";
|
||||
this.dataGridViewTextBoxColumn9.HeaderText = "Item";
|
||||
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
|
||||
this.dataGridViewTextBoxColumn9.ReadOnly = true;
|
||||
//
|
||||
// pumidx
|
||||
//
|
||||
this.pumidx.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.pumidx.DataPropertyName = "pumidx";
|
||||
dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.pumidx.DefaultCellStyle = dataGridViewCellStyle17;
|
||||
this.pumidx.HeaderText = "*";
|
||||
this.pumidx.Name = "pumidx";
|
||||
this.pumidx.ReadOnly = true;
|
||||
this.pumidx.Width = 50;
|
||||
//
|
||||
// dataGridViewTextBoxColumn10
|
||||
//
|
||||
this.dataGridViewTextBoxColumn10.DataPropertyName = "pumscale";
|
||||
this.dataGridViewTextBoxColumn10.HeaderText = "Model";
|
||||
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
|
||||
this.dataGridViewTextBoxColumn10.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn11
|
||||
//
|
||||
this.dataGridViewTextBoxColumn11.DataPropertyName = "pumunit";
|
||||
this.dataGridViewTextBoxColumn11.HeaderText = "Unit";
|
||||
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
|
||||
this.dataGridViewTextBoxColumn11.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn12
|
||||
//
|
||||
this.dataGridViewTextBoxColumn12.DataPropertyName = "pumqty";
|
||||
dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle18.Format = "N0";
|
||||
this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle18;
|
||||
this.dataGridViewTextBoxColumn12.HeaderText = "Qty";
|
||||
this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
|
||||
this.dataGridViewTextBoxColumn12.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn13
|
||||
//
|
||||
this.dataGridViewTextBoxColumn13.DataPropertyName = "pumprice";
|
||||
dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle19.Format = "N0";
|
||||
this.dataGridViewTextBoxColumn13.DefaultCellStyle = dataGridViewCellStyle19;
|
||||
this.dataGridViewTextBoxColumn13.HeaderText = "Price";
|
||||
this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
|
||||
this.dataGridViewTextBoxColumn13.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn14
|
||||
//
|
||||
this.dataGridViewTextBoxColumn14.DataPropertyName = "pumamt";
|
||||
dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
||||
dataGridViewCellStyle20.Format = "N0";
|
||||
this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle20;
|
||||
this.dataGridViewTextBoxColumn14.HeaderText = "Amt";
|
||||
this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
|
||||
this.dataGridViewTextBoxColumn14.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn15
|
||||
//
|
||||
this.dataGridViewTextBoxColumn15.DataPropertyName = "supply";
|
||||
this.dataGridViewTextBoxColumn15.HeaderText = "Supply";
|
||||
this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
|
||||
this.dataGridViewTextBoxColumn15.ReadOnly = true;
|
||||
//
|
||||
// supplyidx
|
||||
//
|
||||
this.supplyidx.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.supplyidx.DataPropertyName = "supplyidx";
|
||||
dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.supplyidx.DefaultCellStyle = dataGridViewCellStyle21;
|
||||
this.supplyidx.HeaderText = "*";
|
||||
this.supplyidx.Name = "supplyidx";
|
||||
this.supplyidx.ReadOnly = true;
|
||||
this.supplyidx.Width = 50;
|
||||
//
|
||||
// dataGridViewTextBoxColumn17
|
||||
//
|
||||
this.dataGridViewTextBoxColumn17.DataPropertyName = "project";
|
||||
this.dataGridViewTextBoxColumn17.HeaderText = "Project";
|
||||
this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
|
||||
this.dataGridViewTextBoxColumn17.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn19
|
||||
//
|
||||
this.dataGridViewTextBoxColumn19.DataPropertyName = "asset";
|
||||
this.dataGridViewTextBoxColumn19.HeaderText = "Asset";
|
||||
this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
|
||||
this.dataGridViewTextBoxColumn19.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn20
|
||||
//
|
||||
this.dataGridViewTextBoxColumn20.DataPropertyName = "edate";
|
||||
this.dataGridViewTextBoxColumn20.HeaderText = "ExDate";
|
||||
this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
|
||||
this.dataGridViewTextBoxColumn20.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn21
|
||||
//
|
||||
this.dataGridViewTextBoxColumn21.DataPropertyName = "indate";
|
||||
this.dataGridViewTextBoxColumn21.HeaderText = "InDate";
|
||||
this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
|
||||
this.dataGridViewTextBoxColumn21.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn22
|
||||
//
|
||||
this.dataGridViewTextBoxColumn22.DataPropertyName = "po";
|
||||
dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn22.DefaultCellStyle = dataGridViewCellStyle22;
|
||||
this.dataGridViewTextBoxColumn22.HeaderText = "PO";
|
||||
this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
|
||||
this.dataGridViewTextBoxColumn22.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn23
|
||||
//
|
||||
this.dataGridViewTextBoxColumn23.DataPropertyName = "dept";
|
||||
this.dataGridViewTextBoxColumn23.HeaderText = "Dept";
|
||||
this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
|
||||
this.dataGridViewTextBoxColumn23.ReadOnly = true;
|
||||
//
|
||||
// cm1
|
||||
//
|
||||
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.autoResizeColumnsToolStripMenuItem,
|
||||
this.viewThisUserDataToolStripMenuItem});
|
||||
this.viewThisUserDataToolStripMenuItem,
|
||||
this.toolStripMenuItem1,
|
||||
this.copyDataToolStripMenuItem});
|
||||
this.cm1.Name = "contextMenuStrip1";
|
||||
this.cm1.Size = new System.Drawing.Size(186, 48);
|
||||
this.cm1.Size = new System.Drawing.Size(186, 76);
|
||||
//
|
||||
// autoResizeColumnsToolStripMenuItem
|
||||
//
|
||||
@@ -537,6 +367,18 @@
|
||||
this.viewThisUserDataToolStripMenuItem.Text = "View This User data";
|
||||
this.viewThisUserDataToolStripMenuItem.Click += new System.EventHandler(this.viewThisUserDataToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem1
|
||||
//
|
||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(182, 6);
|
||||
//
|
||||
// copyDataToolStripMenuItem
|
||||
//
|
||||
this.copyDataToolStripMenuItem.Name = "copyDataToolStripMenuItem";
|
||||
this.copyDataToolStripMenuItem.Size = new System.Drawing.Size(185, 22);
|
||||
this.copyDataToolStripMenuItem.Text = "Copy Data";
|
||||
this.copyDataToolStripMenuItem.Click += new System.EventHandler(this.copyDataToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
@@ -553,7 +395,7 @@
|
||||
this.btSearch});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(811, 25);
|
||||
this.toolStrip1.Size = new System.Drawing.Size(864, 25);
|
||||
this.toolStrip1.TabIndex = 3;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
@@ -568,7 +410,8 @@
|
||||
//
|
||||
this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.dtSD.Name = "dtSD";
|
||||
this.dtSD.Size = new System.Drawing.Size(100, 25);
|
||||
this.dtSD.Size = new System.Drawing.Size(90, 25);
|
||||
this.dtSD.Text = "1982-11-23";
|
||||
this.dtSD.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// lbEnd
|
||||
@@ -582,7 +425,8 @@
|
||||
//
|
||||
this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.dtED.Name = "dtED";
|
||||
this.dtED.Size = new System.Drawing.Size(100, 25);
|
||||
this.dtED.Size = new System.Drawing.Size(90, 25);
|
||||
this.dtED.Text = "1982-11-23";
|
||||
this.dtED.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// toolStripSeparator2
|
||||
@@ -631,14 +475,238 @@
|
||||
this.btSearch.Text = "Refresh(&R)";
|
||||
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
||||
//
|
||||
// dataGridViewTextBoxColumn2
|
||||
//
|
||||
this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate";
|
||||
this.dataGridViewTextBoxColumn2.HeaderText = "Date";
|
||||
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
||||
//
|
||||
// dvc_statename
|
||||
//
|
||||
this.dvc_statename.DataPropertyName = "stateName";
|
||||
dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.dvc_statename.DefaultCellStyle = dataGridViewCellStyle23;
|
||||
this.dvc_statename.HeaderText = "State";
|
||||
this.dvc_statename.Name = "dvc_statename";
|
||||
this.dvc_statename.ReadOnly = true;
|
||||
//
|
||||
// dvc_state
|
||||
//
|
||||
this.dvc_state.DataPropertyName = "state";
|
||||
this.dvc_state.HeaderText = "state";
|
||||
this.dvc_state.Name = "dvc_state";
|
||||
this.dvc_state.ReadOnly = true;
|
||||
this.dvc_state.Visible = false;
|
||||
//
|
||||
// dataGridViewTextBoxColumn4
|
||||
//
|
||||
this.dataGridViewTextBoxColumn4.DataPropertyName = "process";
|
||||
this.dataGridViewTextBoxColumn4.HeaderText = "process";
|
||||
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||
this.dataGridViewTextBoxColumn4.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn7
|
||||
//
|
||||
this.dataGridViewTextBoxColumn7.DataPropertyName = "request";
|
||||
dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle24;
|
||||
this.dataGridViewTextBoxColumn7.HeaderText = "request";
|
||||
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||
this.dataGridViewTextBoxColumn7.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn6
|
||||
//
|
||||
this.dataGridViewTextBoxColumn6.DataPropertyName = "sc";
|
||||
dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle25;
|
||||
this.dataGridViewTextBoxColumn6.HeaderText = "sc#";
|
||||
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||
this.dataGridViewTextBoxColumn6.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn5
|
||||
//
|
||||
this.dataGridViewTextBoxColumn5.DataPropertyName = "receive";
|
||||
dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle26;
|
||||
this.dataGridViewTextBoxColumn5.HeaderText = "receive";
|
||||
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||
this.dataGridViewTextBoxColumn5.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn8
|
||||
//
|
||||
this.dataGridViewTextBoxColumn8.DataPropertyName = "sid";
|
||||
dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle27;
|
||||
this.dataGridViewTextBoxColumn8.HeaderText = "sid#";
|
||||
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||
this.dataGridViewTextBoxColumn8.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn9
|
||||
//
|
||||
this.dataGridViewTextBoxColumn9.DataPropertyName = "pumname";
|
||||
this.dataGridViewTextBoxColumn9.HeaderText = "Item";
|
||||
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
|
||||
this.dataGridViewTextBoxColumn9.ReadOnly = true;
|
||||
//
|
||||
// pumidx
|
||||
//
|
||||
this.pumidx.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.pumidx.DataPropertyName = "pumidx";
|
||||
dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.pumidx.DefaultCellStyle = dataGridViewCellStyle28;
|
||||
this.pumidx.HeaderText = "*";
|
||||
this.pumidx.Name = "pumidx";
|
||||
this.pumidx.ReadOnly = true;
|
||||
this.pumidx.Width = 50;
|
||||
//
|
||||
// dataGridViewTextBoxColumn10
|
||||
//
|
||||
this.dataGridViewTextBoxColumn10.DataPropertyName = "pumscale";
|
||||
this.dataGridViewTextBoxColumn10.HeaderText = "Model";
|
||||
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
|
||||
this.dataGridViewTextBoxColumn10.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn11
|
||||
//
|
||||
this.dataGridViewTextBoxColumn11.DataPropertyName = "pumunit";
|
||||
this.dataGridViewTextBoxColumn11.HeaderText = "Unit";
|
||||
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
|
||||
this.dataGridViewTextBoxColumn11.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn12
|
||||
//
|
||||
this.dataGridViewTextBoxColumn12.DataPropertyName = "pumqty";
|
||||
dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle29.Format = "N0";
|
||||
this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle29;
|
||||
this.dataGridViewTextBoxColumn12.HeaderText = "Qty";
|
||||
this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
|
||||
this.dataGridViewTextBoxColumn12.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn13
|
||||
//
|
||||
this.dataGridViewTextBoxColumn13.DataPropertyName = "pumprice";
|
||||
dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle30.Format = "N0";
|
||||
this.dataGridViewTextBoxColumn13.DefaultCellStyle = dataGridViewCellStyle30;
|
||||
this.dataGridViewTextBoxColumn13.HeaderText = "Price";
|
||||
this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
|
||||
this.dataGridViewTextBoxColumn13.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn14
|
||||
//
|
||||
this.dataGridViewTextBoxColumn14.DataPropertyName = "pumamt";
|
||||
dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
||||
dataGridViewCellStyle31.Format = "N0";
|
||||
this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle31;
|
||||
this.dataGridViewTextBoxColumn14.HeaderText = "Amt";
|
||||
this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
|
||||
this.dataGridViewTextBoxColumn14.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn15
|
||||
//
|
||||
this.dataGridViewTextBoxColumn15.DataPropertyName = "supply";
|
||||
this.dataGridViewTextBoxColumn15.HeaderText = "Supply";
|
||||
this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
|
||||
this.dataGridViewTextBoxColumn15.ReadOnly = true;
|
||||
//
|
||||
// supplyidx
|
||||
//
|
||||
this.supplyidx.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.supplyidx.DataPropertyName = "supplyidx";
|
||||
dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle32.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.supplyidx.DefaultCellStyle = dataGridViewCellStyle32;
|
||||
this.supplyidx.HeaderText = "*";
|
||||
this.supplyidx.Name = "supplyidx";
|
||||
this.supplyidx.ReadOnly = true;
|
||||
this.supplyidx.Width = 50;
|
||||
//
|
||||
// dataGridViewTextBoxColumn17
|
||||
//
|
||||
this.dataGridViewTextBoxColumn17.DataPropertyName = "project";
|
||||
this.dataGridViewTextBoxColumn17.HeaderText = "Project";
|
||||
this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
|
||||
this.dataGridViewTextBoxColumn17.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn19
|
||||
//
|
||||
this.dataGridViewTextBoxColumn19.DataPropertyName = "asset";
|
||||
this.dataGridViewTextBoxColumn19.HeaderText = "Asset";
|
||||
this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
|
||||
this.dataGridViewTextBoxColumn19.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn20
|
||||
//
|
||||
this.dataGridViewTextBoxColumn20.DataPropertyName = "edate";
|
||||
this.dataGridViewTextBoxColumn20.HeaderText = "ExDate";
|
||||
this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
|
||||
this.dataGridViewTextBoxColumn20.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn21
|
||||
//
|
||||
this.dataGridViewTextBoxColumn21.DataPropertyName = "indate";
|
||||
this.dataGridViewTextBoxColumn21.HeaderText = "InDate";
|
||||
this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
|
||||
this.dataGridViewTextBoxColumn21.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn22
|
||||
//
|
||||
this.dataGridViewTextBoxColumn22.DataPropertyName = "po";
|
||||
dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn22.DefaultCellStyle = dataGridViewCellStyle33;
|
||||
this.dataGridViewTextBoxColumn22.HeaderText = "PO";
|
||||
this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
|
||||
this.dataGridViewTextBoxColumn22.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn23
|
||||
//
|
||||
this.dataGridViewTextBoxColumn23.DataPropertyName = "dept";
|
||||
this.dataGridViewTextBoxColumn23.HeaderText = "Dept";
|
||||
this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
|
||||
this.dataGridViewTextBoxColumn23.ReadOnly = true;
|
||||
//
|
||||
// toolStripSeparator4
|
||||
//
|
||||
this.toolStripSeparator4.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
||||
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 26);
|
||||
//
|
||||
// toolStripLabel2
|
||||
//
|
||||
this.toolStripLabel2.Name = "toolStripLabel2";
|
||||
this.toolStripLabel2.Size = new System.Drawing.Size(43, 23);
|
||||
this.toolStripLabel2.Text = "Search";
|
||||
//
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(100, 26);
|
||||
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, 23);
|
||||
this.btFind.Text = "toolStripButton2";
|
||||
this.btFind.Click += new System.EventHandler(this.btFind_Click);
|
||||
//
|
||||
// fPurchase
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(811, 540);
|
||||
this.ClientSize = new System.Drawing.Size(864, 581);
|
||||
this.Controls.Add(this.dv1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.DoubleBuffered = true;
|
||||
this.Name = "fPurchase";
|
||||
this.Text = "Purchase List";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
@@ -695,8 +763,11 @@
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
||||
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.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_statename;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_state;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||
@@ -717,5 +788,9 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn22;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn23;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
|
||||
private System.Windows.Forms.ToolStripTextBox tbFind;
|
||||
private System.Windows.Forms.ToolStripButton btFind;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,6 +27,48 @@ namespace FEQ0000
|
||||
dv1.EditMode = DataGridViewEditMode.EditProgrammatically;
|
||||
btSave.Visible = false;
|
||||
}
|
||||
this.dv1.CellFormatting += dv1_CellFormatting;
|
||||
}
|
||||
|
||||
void dv1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex < 0 || e.RowIndex < 0) return;
|
||||
var state = this.dv1.Rows[e.RowIndex].Cells["dvc_state"].Value.ToString();
|
||||
switch (state)
|
||||
{
|
||||
case "00": //입력대기(미확인)
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
|
||||
break;
|
||||
case "01": //파트장 승인 기다림
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkBlue;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
break;
|
||||
case "03": //PO (협력업체 전달)
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkMagenta;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
break;
|
||||
case "04": //자재 수령
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Green;
|
||||
break;
|
||||
case "05": //canceld (취소)
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Red;
|
||||
break;
|
||||
case "06": //cancel (취소됨)
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.HotPink;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
break;
|
||||
case "08": //문의
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.Green;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.White;
|
||||
break;
|
||||
default:
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void Purchase_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
@@ -35,7 +77,7 @@ namespace FEQ0000
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
e.Row["pumunit"] = "EA";
|
||||
e.Row["state"] = "01";
|
||||
e.Row["state"] = "00";
|
||||
e.Row["pumqty"] = 0;
|
||||
e.Row["pumprice"] = 0;
|
||||
e.Row["pumamt"] = 0;
|
||||
@@ -53,9 +95,10 @@ namespace FEQ0000
|
||||
var stList = FCOMMON.DBM.getCodeList("04");
|
||||
this.cmbState.Items.Clear();
|
||||
cmbState.Items.Add("-- All --");
|
||||
cmbState.Items.Add("-- incomplete --");
|
||||
foreach (var item in stList)
|
||||
cmbState.Items.Add(item);
|
||||
this.cmbState.SelectedIndex = 0;
|
||||
this.cmbState.SelectedIndex = 1;
|
||||
|
||||
refreshData();
|
||||
}
|
||||
@@ -73,13 +116,32 @@ namespace FEQ0000
|
||||
try
|
||||
{
|
||||
string state = "%";
|
||||
if (cmbState.SelectedIndex > 0)
|
||||
{
|
||||
state = cmbState.Text.Split(',')[0].Substring(1);
|
||||
}
|
||||
if (cmbState.SelectedIndex > 1) state = cmbState.Text.Split(',')[0].Substring(1);
|
||||
string request = "%";
|
||||
if (tbRequest.Text.Trim() != "") request = "%" + this.tbRequest.Text.Trim() + "%";
|
||||
this.ta.Fill(this.dsPurchase.Purchase, dtSD.Text, dtED.Text, request, state);
|
||||
|
||||
System.Data.SqlClient.SqlDataAdapter da = new System.Data.SqlClient.SqlDataAdapter();
|
||||
System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.SqlCommand();
|
||||
cmd.CommandText = " select *, dbo.getCodeName('04', state) AS stateName" +
|
||||
" from purchase " +
|
||||
" where pdate between @sd and @ed " +
|
||||
" and (isnull(request,'') like @req or isnull(receive,'') like @req)";
|
||||
|
||||
if (cmbState.SelectedIndex != 1) cmd.CommandText += " and state like @st";
|
||||
else cmd.CommandText += " and state < '04'";
|
||||
cmd.CommandText += " ORDER BY pdate DESC, idx DESC";
|
||||
|
||||
cmd.Parameters.Add(new System.Data.SqlClient.SqlParameter("@sd", dtSD.Text));
|
||||
cmd.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ed", dtED.Text));
|
||||
cmd.Parameters.Add(new System.Data.SqlClient.SqlParameter("@req", request));
|
||||
cmd.Parameters.Add(new System.Data.SqlClient.SqlParameter("@st", state));
|
||||
cmd.Connection = this.ta.Connection;
|
||||
da.SelectCommand = cmd;
|
||||
|
||||
this.dsPurchase.Purchase.Clear();
|
||||
da.Fill(this.dsPurchase.Purchase);
|
||||
this.dsPurchase.AcceptChanges();
|
||||
//this.ta.Fill(this.dsPurchase.Purchase, dtSD.Text, dtED.Text, request, state);
|
||||
if (!tbRequest.Text.isEmpty()) this.dv1.AutoResizeColumns();
|
||||
showSummary();
|
||||
}
|
||||
@@ -121,12 +183,30 @@ namespace FEQ0000
|
||||
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var newdr = this.dsPurchase.Purchase.NewPurchaseRow();
|
||||
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();
|
||||
}
|
||||
@@ -151,6 +231,14 @@ namespace FEQ0000
|
||||
fPurchase_Add f = new fPurchase_Add(dr);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
//존재하지 않는 sid 는 추가를 해준다.
|
||||
var newidx = AddItemInfoGetIndex(dr);
|
||||
if (newidx != -1)
|
||||
{
|
||||
dr.pumidx = newidx;
|
||||
dr.EndEdit();
|
||||
}
|
||||
|
||||
this.ta.Update(dr);
|
||||
dr.AcceptChanges();
|
||||
}
|
||||
@@ -208,7 +296,7 @@ namespace FEQ0000
|
||||
try
|
||||
{
|
||||
int cnt = ta.Update(this.dsPurchase);
|
||||
if(cnt != 1)
|
||||
if (cnt != 1)
|
||||
FCOMMON.Util.MsgE(cnt.ToString() + "건의 자료가 삭제되었습니다.");
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -216,5 +304,109 @@ namespace FEQ0000
|
||||
FCOMMON.Util.MsgE("delete error\n" + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private int AddItemInfoGetIndex(dsPurchase.PurchaseRow newdr)
|
||||
{
|
||||
//이 시드가 아이템목록에 없다면 추가 하고 idx를 조회한 후 설정해준다.
|
||||
if (newdr.sid == "신규") return -1;
|
||||
int retval = -1;
|
||||
var sid = newdr.sid;
|
||||
var iteminfo = FCOMMON.DBM.getItemInfo(sid);
|
||||
if (iteminfo.idx < 0)
|
||||
{
|
||||
FCOMMON.DBM.sItemInfo newitem = new FCOMMON.DBM.sItemInfo();
|
||||
newitem.sid = newdr.sid;
|
||||
newitem.name = newdr.pumname;
|
||||
newitem.price = newdr.pumprice.ToString();
|
||||
newitem.model = newdr.pumscale;
|
||||
newitem.unit = newdr.pumunit;
|
||||
newitem.scale = 1f;
|
||||
newitem.supply = newdr.supply;
|
||||
newitem.supplyidx = newdr.supplyidx;
|
||||
retval = FCOMMON.DBM.addItemInfo(newitem);
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
||||
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 = "00";
|
||||
newdr.request = FCOMMON.info.Login.nameK;
|
||||
newdr.receive = FCOMMON.info.Login.nameK;
|
||||
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)
|
||||
{
|
||||
var search = tbFind.Text.Trim();
|
||||
try
|
||||
{
|
||||
if(search.isEmpty())
|
||||
{
|
||||
this.bs.Filter = "";
|
||||
tbFind.BackColor = Color.White;
|
||||
}
|
||||
else
|
||||
{
|
||||
string filter = "sid like ? or process like ? or sc like ? or pumname like ? or pumscale like ? or project 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -212,6 +212,20 @@
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</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>
|
||||
<metadata name="dvc_state.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="pumidx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace FEQ0000.Purchase
|
||||
}
|
||||
void refreshData()
|
||||
{
|
||||
this.ta.Fill(this.dsPurchase.Purchase, dtSD.Text, dtED.Text, "%","%");
|
||||
this.ta.FillDate(this.dsPurchase.Purchase, dtSD.Text, dtED.Text);
|
||||
|
||||
//Set DataSource
|
||||
Microsoft.Reporting.WinForms.ReportDataSource DsEQ = new Microsoft.Reporting.WinForms.ReportDataSource();
|
||||
|
||||
Reference in New Issue
Block a user