Esempio n. 1
0
        private void modify_Click(object sender, EventArgs e)
        {
            FormInitMaterielEdit fime = new FormInitMaterielEdit("编辑物料初始资料", true, m_currentDataGridViedRecordPkey);

            fime.ShowDialog();

            updateDataGridView(Materiel.getInctance().getAllMaterielInfo());
        }
Esempio n. 2
0
        private void add_Click(object sender, EventArgs e)
        {
            // shengguang++ 2016-11-05 当业务启动后,增加功能:不能再直接增加物料库存信息
            if (InitSubSystemSign.getInctance().isBusinessSystemInit())
            {
                MessageBoxExtend.messageWarning("业务系统已启用,不能再直接添加物料库存信息,请通过物料入库方式完成此操作");
                return;
            }
            // ++shengguang

            FormInitMaterielEdit fime = new FormInitMaterielEdit("添加物料初始资料", false);

            fime.ShowDialog();

            updateDataGridView(Materiel.getInctance().getAllMaterielInfo());
        }