Exemplo n.º 1
0
        /// <summary>
        /// 同步物料编码
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btn_TBWL_Click(object sender, EventArgs e)
        {
            if (DialogResult.OK != MessageBox.Show("是否确认同步?", "提示", MessageBoxButtons.OKCancel))
            {
                return;
            }
            string result_Judge = bllMain.JUDGE_MATRL();//同步物料编码

            if (result_Judge == "1")
            {
                MessageBox.Show("同步成功");
            }
            else
            {
                MessageBox.Show("同步失败");
            }
        }