private void setPeriodsConditionToolStripMenuItem_Click(object sender, EventArgs e) { NP_Cls.hVendorInfo = new System.Collections.Hashtable(); NP_Cls.hVendorInfo.Add("Vendor", this.dgvView["clnVendorCode", this.dgvView.CurrentRow.Index].Value.ToString()); NP_Cls.hVendorInfo.Add("Material", this.dgvView["clnMaterialCode", this.dgvView.CurrentRow.Index].Value.ToString()); NP_Cls.hVendorInfo.Add("VendorName", this.dgvView["clnVendorName", this.dgvView.CurrentRow.Index].Value.ToString()); NP_Cls.hVendorInfo.Add("MaterialName", this.dgvView["clnMaterialName", this.dgvView.CurrentRow.Index].Value.ToString()); this.pOpcity.BringToFront(); WMS.VendorTrans.frmVendorCondition frm = new frmVendorCondition(); frm.ShowDialog(); this.pOpcity.SendToBack(); }
private void btnSetCond_Click(object sender, EventArgs e) { if (NP.ReqField(this.cbVendor, "Please enter Vendor: before Set Condition !!") == false) { return; } if (NP.ReqField(this.cbMaterial, "Please enter Material: before Set Condition !!") == false) { return; } NP_Cls.hVendorInfo = new System.Collections.Hashtable(); NP_Cls.hVendorInfo.Add("Vendor", this.cbVendor.SelectedValue); NP_Cls.hVendorInfo.Add("Material", this.cbMaterial.SelectedValue); NP_Cls.hVendorInfo.Add("VendorName", this.cbVendor.Text); NP_Cls.hVendorInfo.Add("MaterialName", this.cbMaterial.Text); this.pOpcity.BringToFront(); WMS.VendorTrans.frmVendorCondition frm = new frmVendorCondition(); frm.ShowDialog(); this.pOpcity.SendToBack(); }
private void setPeriodsConditionToolStripMenuItem_Click(object sender, EventArgs e) { NP_Cls.hVendorInfo = new System.Collections.Hashtable(); NP_Cls.hVendorInfo.Add("Vendor", this.dgvView["clnVendorCode", this.dgvView.CurrentRow.Index].Value.ToString()); NP_Cls.hVendorInfo.Add("Material", this.dgvView["clnMaterialCode", this.dgvView.CurrentRow.Index].Value.ToString()); NP_Cls.hVendorInfo.Add("VendorName", this.dgvView["clnVendorName",this.dgvView.CurrentRow.Index].Value.ToString()); NP_Cls.hVendorInfo.Add("MaterialName", this.dgvView["clnMaterialName",this.dgvView.CurrentRow.Index].Value.ToString()); this.pOpcity.BringToFront(); WMS.VendorTrans.frmVendorCondition frm = new frmVendorCondition(); frm.ShowDialog(); this.pOpcity.SendToBack(); }