Ejemplo n.º 1
0
        private void btnCreateInfo_Click(object sender, EventArgs e)
        {
            由总成自动生成安全库存 form = new 由总成自动生成安全库存();

            form.ShowDialog();

            if (form.DtSafeGoods != null && form.DtSafeGoods.Rows.Count != 0)
            {
                if (!m_serverSaftStock.UpdateSafeStockInfo(form.DtSafeGoods, out m_strError))
                {
                    MessageDialog.ShowPromptMessage(m_strError);
                }
                else
                {
                    MessageDialog.ShowPromptMessage("生成成功");
                    RefreshData();
                }
            }
        }
Ejemplo n.º 2
0
        private void btnCreateInfo_Click(object sender, EventArgs e)
        {
            由总成自动生成安全库存 form = new 由总成自动生成安全库存();

            form.ShowDialog();

            if (form.DtSafeGoods != null && form.DtSafeGoods.Rows.Count != 0)
            {
                if (!m_safeStockServer.OperationInfo(form.DtSafeGoods, out m_error))
                {
                    MessageDialog.ShowPromptMessage(m_error);
                }
                else
                {
                    MessageDialog.ShowPromptMessage("生成成功");
                }


                RefreshDataGridView();
            }
        }