Exemple #1
0
        /// <summary>
        /// 提交事件
        /// </summary>
        ///
        public void m_BecomeEffective()
        {
            if (m_objViewer.m_strAttachID.Trim() == "")
            {
                return;
            }
            if (!MayBecomeEffective())
            {
                return;
            }
            clsT_Opr_Bih_Transfer_VO objItem;

            SetVoForTransfer(out objItem);
            long lngRes = 0;

            lngRes = m_objManage.m_lngBecomeEffectiveOrderAttachTransfer(m_objViewer.m_strAttachID, m_strOperatorID, objItem);
            //报告操作结果
            if (lngRes > 0)
            {
                MessageBox.Show(m_objViewer, "生效成功!", "提示框!", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            else
            {
                MessageBox.Show(m_objViewer, "生效失败!", "错误!", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
            m_objViewer.Close();
        }