// Method for the InjuredParty whose certificate is from overseas (or just isn't listed).
        public void SetInjuredParty(string firstNameText, string lastNameText,
            string ageText, int genderIndex, string weightText, string certificateValue, string certifcateCodeText,
            string prevJumpDate, string jumpsLastMonth, string jumpsLastSixMonths, string totalJumps)
        {
            if (_reportVersion.InjuredParty == null)
            {
                _injuredParty = new Person();
                _injuredPartyCertificateHolder = new Certificate_Holder();
                _injuredPartyCertificateHolder.Person = (Person)_injuredParty;
            }
            else
            {
                _injuredParty = _reportVersion.InjuredParty;
                _injuredPartyCertificateHolder = APF.Searcher.Find_Certificate_Holder(_injuredParty.ID);
            }

            SetPersonAPF(_injuredParty);
            SetPersonFirstName(firstNameText, _injuredParty);
            SetPersonLastname(lastNameText, _injuredParty);
            SetPersonAge(ageText, _injuredParty);
            SetPersonGender(genderIndex, _injuredParty);
            SetPersonWeight(weightText, _injuredParty);

            SetPersonCertificate(int.Parse(certificateValue), _injuredParty);
            SetPersonOverseasCertificate(certifcateCodeText);
            SetPersonPrevJumpDate(prevJumpDate);
            SetPersonJumpsLastMonth(jumpsLastMonth);
            SetPersonJumpsLastSixMonths(jumpsLastSixMonths);
            SetPersonTotalJumps(totalJumps);
        }
 public void SetPersonDetails(string firstNameText, string lastNameText,
     string ageText, string genderValue, string weightText)
 {
     if (_certHolder == null)
     {
         _certHolder = new Certificate_Holder();
         _certHolder.Person = new Person();
     }
     SetPersonAPF(_certHolder.Person);
     _certHolder.Person.First_Name = firstNameText;
     _certHolder.Person.Last_Name = lastNameText;
     SetPersonLastname(lastNameText, _certHolder.Person);
     SetPersonAge(ageText, _certHolder.Person);
     SetPersonGender(genderValue, _certHolder.Person);
     SetPersonWeight(weightText, _certHolder.Person);
 }
 protected void SelectUser(string user_id)
 {
     _userPerson = APF.Searcher.Find_User_Person_Link(user_id);
     _person = GetReporter(user_id);
     _certHolder = APF.Searcher.Find_Certificate_Holder(_person.ID);
 }
 public void SelectPersonToBeUpdated(string personID)
 {
     if (personID != null && personID != "")
     {
         _certHolder = APF.Searcher.Find_Certificate_Holder(int.Parse(personID));
         _user_person = APF.Searcher.Find_User_Person_Link(int.Parse(personID));
     }
 }