示例#1
0
        private void GetProvinceRegisterAddressAfter(string id)
        {
            var biz = new BLL.DataCenterBiz();
            var ls  = biz.GetProvinceById(id);

            if (DTO.MemberType.General.GetEnumValue() == EDIT_USER_TYPE)//edit by milk
            {
                if (ls.DataResponse != null)
                {
                    txtProvinceRegisterAddressAfterReg.Text = ls.DataResponse.Name;
                }
                else
                {
                    txtProvinceRegisterAddressAfterReg.Text = "-";
                }
            }
            else
            {
                if (ls.DataResponse != null && UserProfile.MemberType == DTO.MemberType.General.GetEnumValue())
                {
                    txtProvinceRegisterAddressAfterReg.Text = ls.DataResponse.Name;
                }
                else
                {
                    txtProvinceRegisterAddressAfterReg.Text = "-";
                }
            }
        }
示例#2
0
        private void GetProvinceCurrentAddressBefore(string id)
        {
            var biz = new BLL.DataCenterBiz();
            var ls  = biz.GetProvinceById(id);

            if (ls.DataResponse != null)
            {
                txtProvince.Text = ls.DataResponse.Name;
            }
            else
            {
                txtProvince.Text = "-";
            }
        }
示例#3
0
        private void GetProvinceCurrentAddressBefore(string id)
        {
            var biz = new BLL.DataCenterBiz();
            var ls  = biz.GetProvinceById(id);

            if (ls.DataResponse != null)
            {
                txtProvinceCurrentAddressBeforeReg.Text = ls.DataResponse.Name;
            }
            else
            {
                txtProvinceCurrentAddressBeforeReg.Text = Resources.propregApproveOfficerOIC_002;
            }
        }
示例#4
0
        private void GetProvinceRegisterAddressAfter(string id)
        {
            var biz = new BLL.DataCenterBiz();
            var ls  = biz.GetProvinceById(id);


            if (ls.DataResponse != null)
            {
                txtProvinceRegisterAddressAfterReg.Text = ls.DataResponse.Name;
            }
            else
            {
                txtProvinceRegisterAddressAfterReg.Text = "-";
            }
        }