public RegisterPage(Person p) : this()
        {
            this.p = p;
            PasswordBox.Password = p.Password;
            STypeList l = host.SelectAllTypes();

            p.SType            = l.Find(item => item.ID == p.SType.ID);
            this.DataContext   = p;
            this.XX.Visibility = Visibility.Visible;
        }
        public static STypes SelectByID(int id)
        {
            if (Stypes == null)
            {
                STypeDB db = new STypeDB();
                Stypes = db.SelectAll();
            }
            STypes STypes = Stypes.Find(c => c.ID == id);

            return(STypes);
        }