private void panel5_Click(object sender, EventArgs e) { if (cbProxyUpdate.Checked) { proxyTimer.Enabled = true; GlobalList.proxyUrl = tbProxy.Text; proxyTimer.Interval = Convert.ToInt32(nudProxyInterval.Value * 1000); proxyTimer.Start(); AllMechanic.RefreshProxy(); lbProxy.Text = GlobalList.ProxyList.Count.ToString(); } else { AllMechanic.RefreshProxy(); } }
private void panel10_Click(object sender, EventArgs e) { AllMechanic.StopWork(); statTimer.Enabled = false; statTimer.Stop(); }
private void panel9_Click(object sender, EventArgs e) { AllMechanic.StartWork(); statTimer.Enabled = true; statTimer.Start(); }
private void proxyTimer_Tick(object sender, EventArgs e) { AllMechanic.RefreshProxy(); }
private void panel6_Click(object sender, EventArgs e) { AllMechanic.LoadProxy(); }
private void lbSource_Click(object sender, EventArgs e) { AllMechanic.LoadSource(); }