コード例 #1
0
        private void ULabel6_DblClk()
        {
            string sMsg;
            bool   mResult;

            if (SpreadCommon.Gf_Sp_ProceExist(ss2, true))
            {
                return;
            }

            if (text_cur_inv.Text == "")
            {
                sMsg    = "请正确选择当前库";
                mResult = GeneralCommon.Gf_MessConfirm(sMsg, "I", "提示");
                return;
            }

            if (txt_t_addr.Text != "")
            {
                sMsg    = "确定对垛位(" + txt_t_addr.Text + ")进行调整吗?";
                mResult = GeneralCommon.Gf_MessConfirm(sMsg, "I", "提示");

                if (mResult)
                {
                    if (Gp_LOC_Exec(CBO_CUR_INV.Text, txt_t_addr.Text) == "")
                    {
                        GeneralCommon.Gp_MsgBoxDisplay("垛位调整完毕 !", "I", "提示");
                        Form_Ref();
                    }
                    else
                    {
                        GeneralCommon.Gp_MsgBoxDisplay(" 垛位调整失败!", "I", "提示");
                    }
                }
                return;
            }
        }