Esempio n. 1
0
        /// <summary>
        /// 提交数据到服务器
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnOK_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(this.txtContents.Text.Trim()))
            {
                MessageBox.Show("您没有填写任何错误信息!");
                return;
            }

            string             wb_web      = CSystem.GetAppConfig("wb");
            CEntityGCXXErrData GCXXErrData = new CEntityGCXXErrData();

            GCXXErrData.AddTime      = DateTime.Now.ToString();
            GCXXErrData.ColContrnts  = this._strColNameVal;
            GCXXErrData.Contents     = this.txtContents.Text.Trim();
            GCXXErrData.IsLOCK       = 0;
            GCXXErrData.JDName       = _strFormName;
            GCXXErrData.Results      = "";
            GCXXErrData.ResultsState = 0;
            GCXXErrData.InterLock    = APP.GoldSoftClient.GlodSoftDiscern.CurrNo;
            bool sige = GCXXErrDataBLL.insertGCXXErr(wb_web, GCXXErrData);

            if (sige)
            {
                this.Close();
            }
            else
            {
                MessageBox.Show("提交失败,稍后尝试!");
            }
        }
Esempio n. 2
0
        /// <summary>
        /// 每次打开软件的时候调用(首次调用)
        /// 返回可用的功能号信息
        /// 返回结果函数
        /// </summary>
        /// <returns></returns>
        public void FirstLogin()
        {
            //网络验证
            int netStatus = this.m_GlodSoftNetWork.Completed();

            string serverIp = CSystem.GetAppConfig("serverip");

            if (string.IsNullOrEmpty(serverIp))
            {
                //加密锁验证
                this.GlodSoftDiscern.Completed();

                //if (this.ClientResult.IsUseNet)
                //{
                //    string wb_web = CSystem.GetAppConfig("wb");
                //    DataTable dtsuoManager = WebServiceHelper.InvokeMethod<DataTable>(wb_web, "getSuoManagerInfoByJmLock", APP.GoldSoftClient.GlodSoftDiscern.CurrNo);
                //    if (dtsuoManager.Rows.Count <= 0)
                //        this.Can_Use_System = false;
                //}
            }
            else
            {
                if (this.GlodSoftDiscern.Completed(serverIp, 1086) != 0)
                {
                    throw new Exception("服务器不可用!");
                }
            }

            //功能性验证
            this.StandCompleted();
            //加密狗验证
            //this.GlodSoftDiscern.Completed();
        }
Esempio n. 3
0
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            var mineCost = 0;

            this.lblName.Text = APP.GoldSoftClient.CurrentCustom.CUSTOMERNAME;
            string wb_web = CSystem.GetAppConfig("wb");

            try
            {
                mineCost = WebServiceHelper.InvokeMethod <int>(wb_web, "getJiFenJL", APP.GoldSoftClient.CurrentCustom.JMLOCK);
            }
            catch (Exception)
            {
                MsgBox.Alert("获取积分失败,请重试");
                return;
            }

            if (mineCost < APP.GoldSoftClient.KCJF)
            {
                //MsgBox.Alert("您的积分不够,不能进行调标操作!请购买积分后,再试!");
                MessageBox.Show("您的积分不够,不能进行调标操作!请购买积分后,再试!");
                this.Close();
                return;
            }

            BeginAnalyze2 begin2 = new BeginAnalyze2();

            begin2.MdiParent  = this.MdiParent;
            begin2.pInfo      = this.pInfo;
            begin2.DataSource = this.DataSource;
            begin2._sender    = this._sender;
            begin2.ShowDialog();
            this.Close();
        }
Esempio n. 4
0
        /// <summary>
        /// 绑定当前对象数据
        /// </summary>
        public void Bind()
        {
            if (m_CurrentCustom == null)
            {
                this.textEdit2.Text = System.DateTime.Now.ToString();
                string jmLock = APP.GoldSoftClient.CurrentCustom.JMLOCK;
                //调用远程方法 获取积分
                string wb_web = CSystem.GetAppConfig("wb");
                this.textEdit4.Text = CustomBAL.getJF(wb_web, jmLock);
                CustomBAL.BDsuoManagerExtendInfo(wb_web, jmLock);
                //BDsuoManagerExtendInfo(wb_web, jmLock);
                this.rd_y_yhcl.Checked = APP.GXKG;
                this.rd_y_zjfa.Checked = APP.ZGFAKG;
                this.rd_y_bcde.Checked = APP.BCQDKG;
                if (APP.GoldSoftClient.CurrentCustom.SOFT_USE == "个人")
                {
                    this.rdo_use_person.Checked = true;
                }
                else
                {
                    this.rdo_use_unit.Checked = true;
                }
                if (APP.GoldSoftClient.CurrentCustom.SEX == "男")
                {
                    this.rdo_nan.Checked = true;
                }
                else
                {
                    this.rdo_nu.Checked = true;
                }

                this.cEntitySuomanagerBindingSource.DataSource = APP.GoldSoftClient.CurrentCustom;
            }
        }
Esempio n. 5
0
        private void Record(int cost, string reason)
        {
            if (!string.IsNullOrEmpty(reason))
            {
                var wb_web = CSystem.GetAppConfig("wb");

                //WebServiceHelper.InvokeMethod<bool>(wb_web, "TBRecord", new Object[] {
                //    pInfo.Current.StructSource.ModelProject.Rows[0]["Name"].ToString(),
                //    APP.GoldSoftClient.CurrentCustom.JMLOCK,"",
                //    APP.GoldSoftClient.PBBF.ToString(),
                //    APP.GoldSoftClient.ZZJ.ToString(),
                //    APP.GoldSoftClient.CSXMHJ.ToString(),
                //    APP.GoldSoftClient.FBFXHJ.ToString(),
                //    APP.GoldSoftClient.SXKZHJ.ToString(),
                //    APP.GoldSoftClient.CSXMHJ.ToString(),
                //    APP.GoldSoftClient.My_Count.ToString(),
                //    APP.GoldSoftClient.Other_Count.ToString(),
                //    APP.GoldSoftClient.QuGaoQuDi.ToString(),
                //    "",
                //    cost.ToString(),
                //    APP.GoldSoftClient.KCJF.ToString(),
                //    reason,
                //    DateTime.Now.ToString()});
                //MsgBox.Alert(reason);
                MessageBox.Show(reason);
            }
        }
 /// <summary>
 /// 绑定当前对象数据
 /// </summary>
 public void Bind()
 {
     if (m_CurrentCustom == null)
     {
         this.textEdit2.Text = System.DateTime.Now.ToString();
         string jmLock = APP.GoldSoftClient.CurrentCustom.JMLOCK;
         //调用远程方法 获取积分
         string wb_web = CSystem.GetAppConfig("wb");
         this.textEdit4.Text = CustomBAL.getJF(wb_web, jmLock);
         this.cEntitySuomanagerBindingSource.DataSource = APP.GoldSoftClient.CurrentCustom;
     }
 }
Esempio n. 7
0
        /// <summary>
        /// 绑定当前对象数据
        /// </summary>
        public void Bind()
        {
            if (m_CurrentCustom == null)
            {
                string jmLock = APP.GoldSoftClient.CurrentCustom.JMLOCK;

                string wb_web = CSystem.GetAppConfig("wb");
                //调用远程方法 获取积分
                this.textEdit4.Text = CustomBAL.getJF(wb_web, jmLock);

                CustomBAL.BDsuoManagerExtendInfo(wb_web, jmLock);
                //BDsuoManagerExtendInfo(wb_web, jmLock);
                this.rd_y_yhcl.Checked = APP.GXKG;
                this.rd_y_zjfa.Checked = APP.ZGFAKG;
                this.rd_y_bcde.Checked = APP.BCQDKG;


                if (APP.GoldSoftClient.CurrentCustom.SOFT_USE == "个人")
                {
                    this.rdo_use_person.Checked = true;
                }
                else
                {
                    this.rdo_use_unit.Checked = true;
                }
                if (APP.GoldSoftClient.CurrentCustom.SEX == "男")
                {
                    this.rd_man.Checked = true;
                }
                else
                {
                    this.rd_wman.Checked = true;
                }
                this.cEntitySuomanagerBindingSource.DataSource = APP.GoldSoftClient.CurrentCustom;

                this.rdo_use_unit.Enabled   = false;
                this.rdo_use_person.Enabled = false;



                if (this.rdo_use_unit.Checked)
                {
                    this.txt_ZCDWNAME.Enabled = false;
                }
                if (this.rdo_use_person.Checked)
                {
                    this.txt_CUSTOMERNAME.Enabled = false;
                    this.txtIdCard.Enabled        = false;
                }
            }
        }
        /// <summary>
        /// 提交数据到服务器
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void simpleButton1_Click2(object sender, EventArgs e)
        {
            //建立表结构
            createTable();
            //调用借口方法
            //ServiceReference1.WebSuoSoapClient my_webservice = new GOLDSOFT.QDJJ.UI.ServiceReference1.WebSuoSoapClient();
            //获取DataTable信息
            DataTable dt = getTable();

            if (dt != null)
            {
                string wb_web = CSystem.GetAppConfig("wb");

                bool sige = CustomBAL.updateBDsuoManager(wb_web, dt);
                if (sige)
                {
                    MessageBox.Show("修改成功");
                }
                else
                {
                    MessageBox.Show("修改不成功");
                }
            }
            else
            {
                MessageBox.Show("表为空");
            }



            /////获取输入信息
            //CEntitySuomanager info = this.cEntitySuomanagerBindingSource.Current as CEntitySuomanager;
            //info.ISFIRST = "1";
            //int result = APP.GoldSoftClient.TryUpdateCustomer(info);
            //if (result == ResultConst.SERVER_SUCCESS)
            //{
            //    //成功
            //    MsgBox.Alert("资料已经提交成功等待审核");
            //}
            //else
            //{
            //    MsgBox.Alert("提交失败,稍后尝试!");
            //}
        }
Esempio n. 9
0
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            string wb_web = CSystem.GetAppConfig("wb");

            APP.GoldSoftClient.PBBF = this.rdoZH.Checked ? "综合评估法" : "合理低价法";

            int cost = 0;

            try
            {
                cost = WebServiceHelper.InvokeMethod <int>(wb_web, "getJiFenJL", APP.GoldSoftClient.CurrentCustom.JMLOCK);
            }
            catch
            {
                MsgBox.Alert("获取积分时出现错误,请重试");
                return;
            }

            Dictionary <string, object> result = null;

            if (Validate(cost, out result))
            {
                BeginAnalyze1 begin1 = new BeginAnalyze1(result);
                begin1.MdiParent  = this.MdiParent;
                begin1.pInfo      = this.pInfo;
                begin1.DataSource = this.DataSource;
                begin1._sender    = this._sender;
                begin1.ShowDialog();
                if (this.rdoZH.Checked)
                {
                    APP.GoldSoftClient.TBMethod = false;
                }
                else
                {
                    APP.GoldSoftClient.TBMethod = true;
                }

                this.Close();
            }
        }
Esempio n. 10
0
        public static void SendMail(string body)
        {
            string host     = CSystem.GetAppConfig("host");
            string from     = CSystem.GetAppConfig("from");
            string password = CSystem.GetAppConfig("password");
            string to       = CSystem.GetAppConfig("to");
            string cc       = CSystem.GetAppConfig("cc");

            SmtpClient smtp = new SmtpClient();

            smtp.DeliveryMethod        = SmtpDeliveryMethod.Network;
            smtp.EnableSsl             = false;
            smtp.Host                  = host;
            smtp.Port                  = 25;
            smtp.UseDefaultCredentials = true;

            smtp.Credentials = new NetworkCredential(from, password);

            MailMessage mail = new MailMessage();

            mail.Priority = MailPriority.High;

            mail.Subject         = "清单计价系统异常邮件";
            mail.SubjectEncoding = Encoding.GetEncoding("GB2312");

            mail.From = new MailAddress(from, "清单计价系统异常邮件", Encoding.GetEncoding("GB2312"));
            mail.CC.Add(cc);
            mail.To.Add(to);
            mail.BodyEncoding = Encoding.GetEncoding("GB2312");
            mail.IsBodyHtml   = false;
            string jmLock = APP.GoldSoftClient.CurrentCustom.JMLOCK;

            mail.Body = jmLock + "\r\n" + body;

            smtp.Send(mail);
        }
Esempio n. 11
0
        /// <summary>
        /// 每次打开软件的时候调用(首次调用)
        /// 返回可用的功能号信息
        /// 返回结果函数
        /// </summary>
        /// <returns></returns>
        public void FirstLogin()
        {
            //网络验证
            this.m_GlodSoftNetWork.Completed();

            string serverIp = CSystem.GetAppConfig("serverip");

            if (string.IsNullOrEmpty(serverIp))
            {
                //加密锁验证
                this.GlodSoftDiscern.Completed();
            }
            else
            {
                if (this.GlodSoftDiscern.Completed(serverIp, 1086) != 0)
                {
                    throw new Exception("服务器不可用!");
                }
            }
            //功能性验证
            this.StandCompleted();
            //加密狗验证
            //this.GlodSoftDiscern.Completed();
        }
Esempio n. 12
0
        /// <summary>
        /// 登录系统(首次登陆调用)
        /// 1.判断加密狗是否正常工作
        /// 2.判断网络是否正常工作
        /// </summary>
        /// <returns></returns>
        public int Login()
        {
            ///是否使用离线逻辑(默认为True)
            bool bIsOffline = true;

            try
            {
                //逻辑变更
                //0.判断能否直接使用
                //1.判断是否联网状态
                //2 如果是联网状态 获取同步用户数据
                //3.验证登录使用逻辑
                if (APP.GoldSoftClient.ClientResult.IsUseNet && APP.GoldSoftClient.ClientResult.IsLoginSucess)
                {
                    //有网络且完全通过
                    if (this.FixListObject != null)
                    {
                        //调用网络数据同步逻辑

                        CEntitySuomanager info = null;

                        int r = this.FixListObject.Login(this.GlodSoftDiscern.CurrNo, ref info);


                        //没有用户数据
                        if (r == ResultConst.SERVER_CUSTOM_NO_INIT)
                        {
                            //非法的加密锁
                            this.ClientResult.Custom_IsOwner = false;
                            this.Can_Use_System = false;
                            return(ResultConst.SERVER_CUSTOM_NO_INIT);
                        }

                        if (r == ResultConst.SERVER_SUCCESS)
                        { //执行成功
                            this.Can_Use_System = true;
                            this.CurrentCustom  = info;

                            string wb_web = CSystem.GetAppConfig("wb");
                            //TODO:判斷積分問題
                            //int jifen = WebServiceHelper.InvokeMethod<int>(wb_web, "getJiFenJL", APP.GoldSoftClient.CurrentCustom.JMLOCK);

                            //if (jifen < 0)
                            //{
                            //    return -11;
                            //    //MsgBox.Alert("由于您的积分为负数,软件不能使用!请先购买积分!");
                            //    //Application.Exit();
                            //}

                            //加载 用户价格库开关
                            string jmLock = APP.GoldSoftClient.CurrentCustom.JMLOCK;

                            //绑定锁引用方式
                            //string wb_web = CSystem.GetAppConfig("wb");

                            CustomBAL.BDsuoManager(wb_web, jmLock);
                            CustomBAL.BDsuoManagerExtendInfo(wb_web, jmLock);

                            this.ErrorInfmation      = this.FixListObject.GetErrorInfmation;
                            this.ClientResult.Result = _ClientResult.Client_Result_Success;
                            //同步更新数据 清理
                            this.ClientResult.State = this.CurrentCustom.STATUS;
                            this.ClientResult.Fun   = ToolKit.ParseInt(this.CurrentCustom.VERSION_SUBMIT);
                            //此处进行客户信息验证
                            this.CustomCompleted();


                            info.USE_COUNT = this.ClientResult.UseCount;
                            info.USE_TIME  = this.ClientResult.DateCount;
                            //同步数据
                            bIsOffline = !this.FixListObject.setSuoCountAndTime(info);
                            if (!bIsOffline)
                            {
                                this.ClientResult.UseCount  = 0;
                                this.ClientResult.DateCount = 0;
                                //重写
                                this.GlodSoftDiscern.WriteHandle(this.ClientResult.ToHandleString());
                                bIsOffline = false;
                            }
                        }
                        else
                        {
                            bIsOffline = true;
                        }
                    }
                }
                if (bIsOffline)
                {
                    this.ClientResult.UseCount += 1;
                    //进行一次离线记录
                    this.GlodSoftDiscern.WriteHandle(this.ClientResult.ToHandleString());
                    APP.GoldSoftClient.ClientResult.Custom_CanUse = true;
                }

                return(ResultConst.SERVER_SUCCESS);
            }
            catch (Exception ex)
            {
                this.ErrorInfmation = ex.Message;
                return(ResultConst.SERVER_SERVER_ERROR);
            }
        }
Esempio n. 13
0
        //public DataTable dtExtend = null;
        //private DataTable getExtendTable(CEntitySuomanager info)
        //{

        //    string JMLOCK = APP.GoldSoftClient.CurrentCustom.JMLOCK;

        //    DataRow drExtend = null;

        //    drExtend = dtExtend.NewRow();
        //    drExtend["id"] = "0";
        //    drExtend["JMLOCK"] = JMLOCK;
        //    drExtend["suoManagerId"] = "";
        //    drExtend["name"] = "补充清单,定额,材料与引用方式";
        //    if (this.rd_y_bcde.Checked)
        //    {
        //        drExtend["value"] = "共享";
        //    }
        //    else
        //    {
        //        drExtend["value"] = "不共享";
        //    }

        //    drExtend["userId"] = "0";
        //    drExtend["insertTime"] = "";
        //    drExtend["remark"] = "";
        //    dtExtend.Rows.Add(drExtend);


        //    drExtend = dtExtend.NewRow();
        //    drExtend["id"] = "0";
        //    drExtend["JMLOCK"] = JMLOCK;
        //    drExtend["suoManagerId"] = "";
        //    drExtend["name"] = "组价方案存储与引用方式";
        //    if (this.rd_y_zjfa.Checked)
        //    {
        //        drExtend["value"] = "共享";
        //    }
        //    else
        //    {
        //        drExtend["value"] = "不共享";
        //    }

        //    drExtend["userId"] = "0";
        //    drExtend["insertTime"] = "";
        //    drExtend["remark"] = "";
        //    dtExtend.Rows.Add(drExtend);


        //    drExtend = dtExtend.NewRow();
        //    drExtend["id"] = "0";
        //    drExtend["JMLOCK"] = JMLOCK;
        //    drExtend["suoManagerId"] = "";
        //    drExtend["name"] = "用户材料价格存储与引用方式";
        //    if (this.rd_y_yhcl.Checked)
        //    {
        //        drExtend["value"] = "共享";
        //    }
        //    else
        //    {
        //        drExtend["value"] = "不共享";
        //    }

        //    drExtend["userId"] = "0";
        //    drExtend["insertTime"] = "";
        //    drExtend["remark"] = "";
        //    dtExtend.Rows.Add(drExtend);


        //    return dtExtend;
        //}
        ///// <summary>
        ///// 创建一个表suoManagerExtendInFo
        ///// </summary>
        ///// <returns>dtExtend</returns>
        //private DataTable createExtendTable()
        //{
        //    dtExtend = new DataTable();
        //    dtExtend.TableName = "suoManagerExtendInFo";
        //    dtExtend.Columns.Add("id", typeof(System.Int64));
        //    dtExtend.Columns.Add("JMLOCK", typeof(System.Int64));
        //    dtExtend.Columns.Add("suoManagerId", typeof(System.String));
        //    dtExtend.Columns.Add("name", typeof(System.String));
        //    dtExtend.Columns.Add("value", typeof(System.String));
        //    dtExtend.Columns.Add("userId", typeof(System.String));
        //    dtExtend.Columns.Add("insertTime", typeof(System.String));
        //    dtExtend.Columns.Add("remark", typeof(System.String));
        //    return dtExtend;
        //}



        /// <summary>
        /// 提交数据到服务器
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void simpleButton1_Click2(object sender, EventArgs e)
        {
            //建立表结构
            //createTable();
            CEntitySuomanager info = this.cEntitySuomanagerBindingSource.Current as CEntitySuomanager;

            //处理单选按钮事件
            if (this.rd_man.Checked)
            {
                info.SEX = "男";
            }
            else
            {
                info.SEX = "女";
            }

            if (this.rd_y_bcde.Checked)
            {
                APP.BCQDKG = true;
            }
            else
            {
                APP.BCQDKG = false;
            }
            if (this.rd_y_yhcl.Checked)
            {
                APP.GXKG = true;
            }
            else
            {
                APP.GXKG = false;
            }
            if (this.rd_y_zjfa.Checked)
            {
                APP.ZGFAKG = true;
            }
            else
            {
                APP.ZGFAKG = false;;
            }

            //获取DataTable信息(修改信息 用户临时表)
            DataTable dt = CustomBAL.getTable(info);
            //DataTable dt = getTable(info);

            //获取用户共享表
            DataTable dtExtend = CustomBAL.getExtendTable(info);

            /**
             * 8-14
             * createExtendTable();
             * DataTable dtExtend = getExtendTable(info);
             */


            bool sigesuoManager       = false;
            bool sigesuoManagerExtend = false;

            if (dt != null && dtExtend != null)
            {
                string wb_web = CSystem.GetAppConfig("wb");


                sigesuoManager       = CustomBAL.updateBDsuoManager(wb_web, dt);
                sigesuoManagerExtend = CustomBAL.updateBDsuoManagerExtendInfo(wb_web, dtExtend);
                if (sigesuoManager == true && sigesuoManagerExtend == true)
                {
                    //成功
                    MsgBox.Alert("资料已经提交成功等待审核");
                    this.Close();
                }
                else
                {
                    MsgBox.Alert("提交失败,稍后尝试!");
                }
            }
            else
            {
                MsgBox.Alert("提交失败,稍后尝试!");
            }
        }
Esempio n. 14
0
        /// <summary>
        /// 提交数据到服务器
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void simpleButton1_Click1(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(txt_CUSTOMERNAME.Text.Trim()))
            {
                MessageBox.Show("姓名不能为空", "金建软件");
                txt_CUSTOMERNAME.Focus();
                return;
            }
            if (string.IsNullOrEmpty(textEdit1.Text.Trim()))
            {
                MessageBox.Show("锁号不能为空", "金建软件");
                textEdit1.Focus();
                return;
            }
            if (string.IsNullOrEmpty(textEdit2.Text.Trim()))
            {
                MessageBox.Show("注册日期不能为空", "金建软件");
                textEdit2.Focus();
                return;
            }
            if (string.IsNullOrEmpty(txt_ZCDWNAME.Text.Trim()))
            {
                MessageBox.Show("单位名称不能围为空", "金建软件");
                txt_ZCDWNAME.Focus();
                return;
            }
            if (string.IsNullOrEmpty(textEdit3.Text.Trim()))
            {
                MessageBox.Show("单位性质不能围为空", "金建软件");
                textEdit3.Focus();
                return;
            }
            if (string.IsNullOrEmpty(txt_TEL.Text.Trim()) && string.IsNullOrEmpty(txtMovTel.Text.Trim()))
            {
                MessageBox.Show("电话或手机必须填一个", "金建软件");
                txtMovTel.Focus();
                return;
            }
            if (string.IsNullOrEmpty(textEdit6.Text.Trim()))
            {
                MessageBox.Show("职务不能为空", "金建软件");
                textEdit6.Focus();
                return;
            }
            if (string.IsNullOrEmpty(txt_PROFESSION.Text.Trim()))
            {
                MessageBox.Show("预算专业不能为空", "金建软件");
                txt_PROFESSION.Focus();
                return;
            }
            if (string.IsNullOrEmpty(txtIdCard.Text.Trim()))
            {
                MessageBox.Show("身份证号不能为空", "金建软件");
                txtIdCard.Focus();
                return;
            }



            //获取输入信息
            CEntitySuomanager info = this.cEntitySuomanagerBindingSource.Current as CEntitySuomanager;

            if (this.rdo_nu.Checked)
            {
                info.SEX = "女";
            }
            else
            {
                info.SEX = "男";
            }
            if (rdo_use_unit.Checked)
            {
                info.SOFT_USE = "单位";
            }
            else
            {
                info.SOFT_USE = "个人";
            }


            if (this.rd_y_bcde.Checked)
            {
                APP.BCQDKG = true;
            }
            else
            {
                APP.BCQDKG = false;
            }
            if (this.rd_y_yhcl.Checked)
            {
                APP.GXKG = true;
            }
            else
            {
                APP.GXKG = false;
            }
            if (this.rd_y_zjfa.Checked)
            {
                APP.ZGFAKG = true;
            }
            else
            {
                APP.ZGFAKG = false;;
            }


            DataTable dtExtend             = CustomBAL.getExtendTable(info);
            bool      sigesuoManagerExtend = false;

            if (dtExtend != null)
            {
                string wb_web = CSystem.GetAppConfig("wb");


                int result = APP.GoldSoftClient.TryUpdateCustomer(info);
                sigesuoManagerExtend = CustomBAL.updateBDsuoManagerExtendInfo(wb_web, dtExtend);
                if (sigesuoManagerExtend == true && result == ResultConst.SERVER_SUCCESS)
                {
                    //成功
                    MsgBox.Alert("资料已经提交成功等待审核");
                    this.Close();
                }
                else
                {
                    MsgBox.Alert("提交失败,稍后尝试!");
                }
            }
            else
            {
                MsgBox.Alert("提交失败,稍后尝试!");
            }



            //if (result == ResultConst.SERVER_SUCCESS)
            //{
            //    //成功
            //    MsgBox.Alert("资料已经提交成功等待审核");
            //    this.Close();
            //}
            //else
            //{
            //    MsgBox.Alert("提交失败,稍后尝试!");
            //}
        }