Exemplo n.º 1
0
        private void updateTrackerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            lock (lstTrackerInfo.Items)
            {
                foreach (ListViewItem item in lstTrackerInfo.SelectedItems)
                {
                    TrackerClient tracker = item.Tag as TrackerClient;

                    if (tracker == null)
                    {
                        _chat.DhtUpdate();
                    }
                    else
                    {
                        tracker.ScheduleUpdateNow();
                    }
                }
            }
        }