private void button7_Click(object sender, EventArgs e) { Timer_Cycle.Stop(); Timer_List.Stop(); Label_FL_Count.Text = "FL count: "; LabelNextCycle.Text = "Next Cycle in: "; }
private void Timer_Cycle_Tick(object sender, EventArgs e) { LabelNextCycle.Text = "Next Cycle in:" + timercycle; if (timercycle == 5) { bot.Read_Villages(); } if (timercycle == 3) { bot.SwitchToFl(FLvillnum); } if (timercycle <= 0) { Timer_List.Start(); Timer_Cycle.Stop(); FL_num_sent = ListOfFL.Count; bot.Read_Villages(); } timercycle--; }