C#停止窗口关闭事件的发生 十分简单。比如窗体FormClosing事件。 private void button4_Click(object sender, EventArgs e) { e.Cancel = true; }