分手在那个秋天
la isla bonita
timer
st_time.Text = String(Today())+" "+String(Now(), "hh:mm:ss")
time time1,time2
int hour,minute,minutesum
if cb_1.text="结束" then
time1 = time_count(time_start)
sle_1.text = string(time1)
hour=hour(time1)
minute=minute(time1)
minutesum=hour*60+minute
sle_7.text=string(Ceiling(minutesum/timerate)*rate*timerate/60)
end if
cb_1
integer Net
if cb_1.text="开始" then
Net = MessageBox("提示", '确定开始吗?', Question!,YesNoCancel!)
if Net=1 then
time_start=Now()
sle_3.text=string(time_start)
cb_1.text="结束"
log("[table 1] start the game!")
end if
else
Net = MessageBox("提示", '确定结束吗?~ 结束将无法继续开始~~', Question!,YesNoCancel!)
if Net=1 then
time_end=Now()
cb_1.text="开始"
sle_5.text=string(time_end)
cb_1.enabled=false
cb_5.enabled=true
log("[table 1] end the game!")
end if
end if