111,126
社区成员
发帖
与我相关
我的任务
分享
private void CombinationCheckService_Load(object sender, EventArgs e)
{
this.timer.Interval = Convert.ToInt32(ConfigurationManager.AppSettings["timerSeconds"]) * 60;
this.timer.Start();
}
private void timer_Tick(object sender, EventArgs e)
{
CheckCombinationService();
}
private void btnCloseOrOpen_Click(object sender, EventArgs e)
{
if (btnCloseOrOpen.Text == "全部暂停")
{
this.timer.Stop();
btnCloseOrOpen.Text = "全部开启";
}
else
{
this.timer.Start();
btnCloseOrOpen.Text = "全部暂停";
}
}
private void CombinationCheckService_Load(object sender, EventArgs e)