Пример #1
0
 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();
     }
 }
Пример #2
0
 private void panel10_Click(object sender, EventArgs e)
 {
     AllMechanic.StopWork();
     statTimer.Enabled = false;
     statTimer.Stop();
 }
Пример #3
0
 private void panel9_Click(object sender, EventArgs e)
 {
     AllMechanic.StartWork();
     statTimer.Enabled = true;
     statTimer.Start();
 }
Пример #4
0
 private void proxyTimer_Tick(object sender, EventArgs e)
 {
     AllMechanic.RefreshProxy();
 }
Пример #5
0
 private void panel6_Click(object sender, EventArgs e)
 {
     AllMechanic.LoadProxy();
 }
Пример #6
0
 private void lbSource_Click(object sender, EventArgs e)
 {
     AllMechanic.LoadSource();
 }