private void trackBar1_ValueChanged(object sender, EventArgs e) { label1.Text = trackBar1.Value.ToString(); Global.ProxyCheckerThreadsWantSet(trackBar1.Value); // Start the ProxyChecker threads while (Global.ProxyCheckerCreate()) { ProxyChecker ProxyCheckerObject = new ProxyChecker(this, Global); Thread ProxyCheckerThread = new Thread(ProxyCheckerObject.DoWork); ProxyCheckerThread.IsBackground = true; ProxyCheckerThread.Start(); } }
private void trackBar1_ValueChanged(object sender, EventArgs e) { label1.Text = trackBar1.Value.ToString(); Global.ProxyCheckerThreadsWantSet( trackBar1.Value ); // Start the ProxyChecker threads while (Global.ProxyCheckerCreate()) { ProxyChecker ProxyCheckerObject = new ProxyChecker(this, Global); Thread ProxyCheckerThread = new Thread(ProxyCheckerObject.DoWork); ProxyCheckerThread.IsBackground = true; ProxyCheckerThread.Start(); } }