private void ShowMutualVotes() { pnlQuickSearch.Visible = false; pnlCustomSearch.Visible = false; pnlSearchResults.Visible = true; pnlDistanceSearch.Visible = false; pnlFilterOnline.Visible = false; MutualVoteSearch mutualVoteSearch = new MutualVoteSearch(); mutualVoteSearch.Username = CurrentUserSession.Username; UserSearchResults results = mutualVoteSearch.GetResults(); SearchResults.ShowLastOnline = true; SearchResults.ShowViewedOn = false; SearchResults.ShowDistance = true; SearchResults.Results = results; }
private void ShowMutualVotes() { mvSearch.SetActiveView(viewSearchResults); MutualVoteSearch mutualVoteSearch = new MutualVoteSearch(); mutualVoteSearch.Username = CurrentUserSession.Username; UserSearchResults results = mutualVoteSearch.GetResults(); Results = results; }
private void ShowMutualVotes() { MutualVoteSearch mutualVoteSearch = new MutualVoteSearch(); mutualVoteSearch.Username = CurrentUserSession.Username; UserSearchResults results = mutualVoteSearch.GetResults(); SearchResults.ShowLastOnline = true; SearchResults.ShowViewedOn = false; SearchResults.ShowDistance = true; SearchResults.Results = results; }