コード例 #1
0
        private void MainBasicInfo_Click(object sender, EventArgs e)
        {
            //基础信息/基础配置
            //配置所有基本的信息界面
            //如配置型号/配置产线/配置物料信息等
            if (!IsLoginAuthon())
            {
                return;
            }
            BasicConfig basicConfig = new BasicConfig();

            basicConfig.ShowDialog();
        }
コード例 #2
0
        private void RadGridView1_CellEndEdit(object sender, GridViewCellEventArgs e)
        {
            var key        = this.radGridView1.CurrentRow.Cells[1].Value;
            var keyName    = this.radGridView1.CurrentRow.Cells[2].Value;
            var kdescrible = this.radGridView1.CurrentRow.Cells[5].Value;

            if (key == null || kdescrible == null || keyName == null)//行不存在
            {
                return;
            }
            if (keyOldTypeNo != key.ToString().Trim() || keyDescrible != kdescrible.ToString().Trim() || keyProductStorage != keyName.ToString().Trim())
            {
                modifyTypeNoTemp.Add(this.keyOldTypeNo);
                if (keyOldTypeNo != key.ToString().Trim())
                {
                    BasicConfig basicConfig = new BasicConfig();
                    basicConfig.keyOldTypeNo = keyOldTypeNo;
                    basicConfig.keyNewTypeNo = key.ToString().Trim();
                    modifyProductTypeNoList.Add(basicConfig);
                }
            }
        }