示例#1
0
        private void GetAmpurRegisterAddressAfter(string provinceId, string id)
        {
            var biz = new BLL.DataCenterBiz();
            var ls  = biz.GetAmpurById(provinceId, id);

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

            if (ls.DataResponse != null)
            {
                txtAmpher.Text = ls.DataResponse.Name;
            }
            else
            {
                txtAmpher.Text = "-";
            }
        }
示例#3
0
        private void GetAmpurRegisterAddressAfter(string provinceId, string id)
        {
            var biz = new BLL.DataCenterBiz();
            var ls  = biz.GetAmpurById(provinceId, id);

            if (ls.DataResponse != null)
            {
                txtDistrictRegisterAddressAfterReg.Text = ls.DataResponse.Name;
            }
            else
            {
                txtDistrictRegisterAddressAfterReg.Text = "-";
            }
        }
示例#4
0
        private void GetAmpurCurrentAddressBefore(string provinceId, string id)
        {
            var biz = new BLL.DataCenterBiz();
            var ls  = biz.GetAmpurById(provinceId, id);

            if (ls.DataResponse != null)
            {
                txtDistrictCurrentAddressBeforeReg.Text = ls.DataResponse.Name;
            }
            else
            {
                txtDistrictCurrentAddressBeforeReg.Text = Resources.propregApproveOfficerOIC_002;
            }
        }