📜  在 c# 表单中禁用 alt + f4 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:46.702000             🧑  作者: Mango

代码示例1
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
    e.Cancel = true;
}