/// <summary>
    /// 填充界面
    /// </summary>
    private void SetRegistrationUI()
    {
        RegistrationViewEntity Result = m_Registration.GetRegistration(RegisterNo);

        if (Result == null)
        {
            return;
        }
        PersonID                   = Result.PersonID.Value;
        hDeptID.Value              = Result.DeptID.Value + "";
        hPackageID.Value           = Result.PackageID + "";
        txtRegisterNo.Text         = Result.RegisterNo;
        txtPackageName.Text        = Result.PackageName;
        txtRegisterDate.Text       = EnvShowFormater.GetShortDate(Result.RegisterDate);
        txtCheckDate.Text          = EnvShowFormater.GetShortDate(Result.CheckDate);
        txtDeptName.Text           = Result.DeptName;
        txtName.Text               = Result.Name;
        drpSex.SelectedValue       = Result.Sex;
        txtIDNumber.Text           = Result.IDNumber;
        txtBirthday.Text           = EnvShowFormater.GetShortDate(Result.Birthday);
        txtAge.Text                = EnvShowFormater.GetNumberString(Result.Age);
        drpMarriage.SelectedValue  = Result.Marriage;
        txtJob.Text                = Result.Job;
        drpEducation.SelectedValue = Result.Education;
        txtNation.Text             = Result.Nation;
        txtLinkTel.Text            = Result.LinkTel;
        txtAddress.Text            = Result.Address;
        txtMobile.Text             = Result.Mobile;
        txtEMail.Text              = Result.EMail;
        hPhoto.Value               = Result.Photo;
        BindCheckedGroups(RegisterNo);
    }
Example #2
0
    /// <summary>
    /// 填充界面
    /// </summary>
    private void SetRegistrationUI()
    {
        RegistrationViewEntity Result = m_Registration.GetOverall(RegisterNo);

        if (Result == null)
        {
            return;
        }
        txtRegisterNo.Text   = Result.RegisterNo;
        txtDeptName.Text     = Result.DeptName;
        txtPackageName.Text  = Result.PackageName;
        txtCheckDate.Text    = EnvShowFormater.GetShortDate(Result.CheckDate);
        txtName.Text         = Result.Name;
        drpSex.SelectedValue = Result.Sex;
        txtSummary.Text      = Result.Summary;
        txtConclusion.Text   = Result.Conclusion;
        txtRecommend.Text    = Result.Recommend;
        //BindCheckedGroups(RegisterNo);
    }
Example #3
0
    /// <summary>
    /// 填充缴费信息界面
    /// </summary>
    private void SetChargeUI()
    {
        ChargeViewEntity Result = m_Charge.GetCharge(BillNo);

        if (Result == null)
        {
            return;
        }
        hDeptID.Value                  = Result.ChargeDeptID + "";
        txtPayer.Text                  = Result.Payer;
        hPackageID.Value               = Result.PackageID + "";
        txtPackageName.Text            = Result.PackageName;
        txtCheckNum.Text               = Result.CheckNum + "";
        txtCharge.Text                 = EnvShowFormater.GetNumberString(Result.Charge);
        txtActualCharge.Text           = EnvShowFormater.GetNumberString(Result.ActualCharge);
        drpPaymentMethod.SelectedValue = Result.PaymentMethod;
        txtPaymentDate.Text            = EnvShowFormater.GetShortDate(Result.PaymentDate);
        txtChargePerson.Text           = Result.ChargePerson;
    }