コード例 #1
0
        private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {
            string nowitemNum  = this.ly_sales_matingBomDataGridView.CurrentRow.Cells["备件编码"].Value.ToString();
            string nowitemname = this.ly_sales_matingBomDataGridView.CurrentRow.Cells["备件名称"].Value.ToString();

            LY_Material_PriceQuery queryForm = new LY_Material_PriceQuery();


            queryForm.ItemNum       = nowitemNum;
            queryForm.Itemname      = nowitemname;
            queryForm.StartPosition = FormStartPosition.CenterParent;
            queryForm.ShowDialog();
        }
コード例 #2
0
        private void 查看加工费用ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string nowitemNum  = this.treeView1.SelectedNode.Tag.ToString();
            string nowitemname = this.treeView1.SelectedNode.Text;

            LY_Material_PriceQuery queryForm = new LY_Material_PriceQuery();


            queryForm.ItemNum       = nowitemNum;
            queryForm.Itemname      = nowitemname;
            queryForm.StartPosition = FormStartPosition.CenterParent;
            queryForm.ShowDialog();
        }