private void ApplyThreadIdSelection() { foreach (ListViewItem item in threadIdListView.Items) { ThreadObject thread = (ThreadObject)item.Tag; thread.Visible = item.Checked; } }
public static void Add(ThreadObject to) { lock (Lock) { AllThreadObjects.Add(to); if (!to.Visible) { IncrementInvisibleCount(); } } }