Пример #1
0
 public Person(string Surname,
               string Maiden_Name,
               string Name,
               string Patronymic,
               string Birthday,
               string Birt,
               string Place_of_birth,
               string Date_of_death,
               string Death,
               string Place_of_death,
               string Nationality,
               string Sosial,
               string Educations,
               string Proffesions,
               string Address,
               string From_ty,
               string Source,
               string Curriculum,
               string Mother,
               string Father)
 {
     this.Surname = Surname;
     if (Maiden_Name != "-")
     {
         this.Maiden_Name = Maiden_Name;
     }
     this.Name       = Name;
     this.Patronymic = Patronymic;
     this.Birthday   = Birthday;
     if (Birt == "yes")
     {
         this.Birt = true;
     }
     else
     {
         this.Birt = false;
     }
     this.Place_of_birth = Place_of_birth;
     this.Date_of_death  = Date_of_death;
     if (Death == "yes")
     {
         this.Death = true;
     }
     else
     {
         this.Death = false;
     }
     this.Place_of_death = Place_of_death;
     this.Nationality    = Nationality;
     this.Sosial         = Sosial;
     this.Educations     = Educations;
     this.Proffesions    = Proffesions;
     this.Address        = Address;
     this.From_ty        = From_ty;
     this.Source         = Source;
     this.Curriculum     = Curriculum;
     this.Mother         = Mother;
     this.Father         = Father;
     ID++;
     id  = ID;
     idF = Search.SearchAll(Father)[0];
     idM = Search.SearchAll(Mother)[0];
     PersonList[idF].idch.Add(this.id);
 }