示例#1
0
        private void tlsbAdd_Click(object sender, EventArgs e)
        {
            if (!CheckDate())
            {
                return;
            }

            GetMessage();

            if (!m_serverSellIn.AddOutStockInfo(m_lnqOutStock, out m_strErr))
            {
                MessageDialog.ShowPromptMessage(m_strErr);
            }
            else
            {
                MessageDialog.ShowPromptMessage("添加成功");
            }

            ClearDate();
            dataGridView1.DataSource = m_serverSellIn.GetOutStockInfo();
        }