推 mraaa:應該是用Form的Closing事件~ 10/31 10:33
→ lchwzu:但用closing事件的話,不是代表他一定會被關掉嗎?可以選擇 10/31 16:17
→ lchwzu:不要關掉嗎? 10/31 16:17
→ Steven0422:e.cancel = true 10/31 19:21
→ lchwzu:請問意思是說~把S大的那段寫在Closing事件裡嗎? 10/31 21:58
推 mraaa:是的~~ 11/01 00:46
→ lchwzu:thank you:) 11/01 09:00
推 neosocool:感謝,我也做成功了。 11/01 22:27
→ neosocool:A = MsgBox("確定離開?",MsgBoxStyle.OkCancel) 11/01 22:28
→ neosocool:If A = 2 Then e.cancel = True :) 11/01 22:28
→ MOONRAKER:closing在關掉同時發生。closed才是關掉以後發生。 11/02 00:15