[問題] Form1_FormClosing 沒有作用
如題
我寫的程式 Form1_FormClosing 很像沒有作用
例如
private void Form1_Closing(object sender,
System.ComponentModel.CancelEventArgs e)
{
e.Cancel = true;
}
或是
private void Form1_FormClosing(Object sender, FormClosingEventArgs e)
{
e.Cancel = true;
}
想讓關閉鈕失效 就沒辦法使用
不知道問題在哪..@@
感謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.166.73.9
推
09/30 23:27, , 1F
09/30 23:27, 1F
→
10/01 00:01, , 2F
10/01 00:01, 2F
→
10/01 00:02, , 3F
10/01 00:02, 3F
→
10/01 00:03, , 4F
10/01 00:03, 4F
推
10/01 09:26, , 5F
10/01 09:26, 5F
→
10/01 09:27, , 6F
10/01 09:27, 6F
→
10/01 09:27, , 7F
10/01 09:27, 7F
→
10/01 09:27, , 8F
10/01 09:27, 8F
→
10/01 09:27, , 9F
10/01 09:27, 9F
→
10/01 12:09, , 10F
10/01 12:09, 10F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):