private void ShowFriendsConnection(string viewer, string viewed) { pnlQuickSearch.Visible = false; pnlCustomSearch.Visible = false; pnlSearchResults.Visible = true; pnlDistanceSearch.Visible = false; pnlFilterOnline.Visible = false; var search = new FriendsConnectionSearch { Viewer = viewer, Viewed = viewed }; UserSearchResults results = search.GetResults(); SearchResults.ShowFriendsPath = true; SearchResults.ShowLastOnline = true; SearchResults.ShowViewedOn = false; SearchResults.ShowDistance = true; SearchResults.Results = results; }
private void ShowFriendsConnection(string viewer, string viewed) { var search = new FriendsConnectionSearch { Viewer = viewer, Viewed = viewed }; UserSearchResults results = search.GetResults(); SearchResults.ShowFriendsPath = true; SearchResults.ShowLastOnline = true; SearchResults.ShowViewedOn = false; SearchResults.ShowDistance = true; SearchResults.GridMode = false; SearchResults.Results = results; }