private void CheckTicketData_API_Stop_btn_Click(object sender, EventArgs e) { label13.Text = "批次已停止"; CheckTicketData_timer.Stop(); CheckTicketData_API_Start_btn.Enabled = true; CheckTicketData_API_Stop_btn.Enabled = false; }
private void CheckTicketData_API_Start_btn_Click(object sender, EventArgs e) { label13.Text = "批次執行中......"; CheckTicketData_timer.Start(); CheckTicketData_API_Start_btn.Enabled = false; CheckTicketData_API_Stop_btn.Enabled = true; CheckTicketData_timer_Tick(null, null); }