public PSearchForm(string keyWord)
        {
            this.InitializeComponent();
            SearchResult result = DataBaseInterface.Search(DataSaver.UId, DataSaver.PasswordHash, keyWord);

            XSearchResultList.Items.Add(new Separator("Вакансии: " + result.Vacancies.Count));
            foreach (Vacancy v in result.Vacancies)
            {
                XSearchResultList.Items.Add(new VacancyShower(v));
            }

            XSearchResultList.Items.Add(new Separator("Пользователи: " + result.Users.Count));
            Link t;

            foreach (User u in result.Users)
            {
                t        = new Link();
                t.Margin = new Thickness(30, 0, 0, 0);
                t.Text   = u.Login + ": " + u.FIO;
                t.Href   = "PUserInfoForm.xaml?" + u.Id;
                XSearchResultList.Items.Add(t);
            }

            XSearchResultList.Items.Add(new Separator("Компании: " + result.Companies.Count));
            foreach (Company c in result.Companies)
            {
                t        = new Link();
                t.Margin = new Thickness(30, 0, 0, 0);
                t.Text   = c.Name;
                t.Href   = "PCompanyInfoForm.xaml?" + c.Id;
                XSearchResultList.Items.Add(t);
            }
        }