Example #1
0
        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;
        }
Example #2
0
        private void ShowMutualVotes()
        {
            mvSearch.SetActiveView(viewSearchResults);

            MutualVoteSearch mutualVoteSearch = new MutualVoteSearch();
            mutualVoteSearch.Username = CurrentUserSession.Username;

            UserSearchResults results = mutualVoteSearch.GetResults();

            Results = results;
        }
Example #3
0
        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;
        }