Exemplo n.º 1
0
        private void StartFinding()
        {
            console.Controls["pPeople"].Visible = true;

            totalResults        = 0;
            lblResultCount.Text = "Searching for " + lastQuery;

            txtPersonName.Enabled = false;
            btnFind.Enabled       = false;
            btnNewIM.Enabled      = false;
            btnProfile.Enabled    = false;
            btnFriend.Enabled     = false;
            btnPrevious.Enabled   = false;
            btnNext.Enabled       = false;

            try
            {
                console.ClearResults();
                console.QueryID = client.Directory.StartPeopleSearch(lastQuery, startResult);
            }
            catch
            {
                ;
            }
        }
        private void StartFinding()
        {
            console.Controls["pPeople"].Visible = true;

            totalResults        = 0;
            lblResultCount.Text = "Searching for " + lastQuery;

            txtPersonName.Enabled = false;
            btnFind.Enabled       = false;
            btnNewIM.Enabled      = false;
            btnProfile.Enabled    = false;
            btnFriend.Enabled     = false;
            btnPrevious.Enabled   = false;
            btnNext.Enabled       = false;

            try
            {
                console.ClearResults();
                console.QueryID = client.Directory.StartPeopleSearch(
                    // DirectoryManager.DirFindFlags.NameSort |
                    // DirectoryManager.DirFindFlags.SortAsc |
                    // DirectoryManager.DirFindFlags.People,
                    lastQuery, startResult);
            }
            catch (Exception exc)
            {
                string exp = exc.Message;
            }
        }
Exemplo n.º 3
0
        private void StartFinding()
        {
            totalResults        = 0;
            lblResultCount.Text = "Searching for " + lastQuery;

            txtPersonName.Enabled = false;
            btnFind.Enabled       = false;
            btnNewIM.Enabled      = false;
            btnProfile.Enabled    = false;
            btnPrevious.Enabled   = false;
            btnNext.Enabled       = false;

            console.ClearResults();
            console.QueryID = client.Directory.StartPeopleSearch(/*
                                                                  * DirectoryManager.DirFindFlags.NameSort |
                                                                  * DirectoryManager.DirFindFlags.SortAsc |
                                                                  * DirectoryManager.DirFindFlags.People,*/
                lastQuery, startResult);
        }