Esempio n. 1
0
        public void onItemFoundEvent(ISearchEvent evt)
        {
            string id = evt.getItem();

            foreach (User user in GlobalContext.getInstance().ExcludePeople)
            {
                if (user.Id.Equals(id))
                {
                    return;
                }
            }

            id = "http://vk.com/id" + id;
            string line = "<br><br><a href=\"" + id + "\">" + id + "</a>";

            if (!_console.containsItem(line))
            {
                _console.appendLineToConsole(line);
            }

            _countLab.Text = _consoleTb.Lines.Length.ToString();
        }