📅  最后修改于: 2022-03-11 14:49:19.479000             🧑  作者: Mango
private void form1_FormClosing(object sender, FormClosingEventArgs e)
{
MessageBox.Show("Form Closing...");
e.Cancel = true;
MessageBox.Show("Form Closing Canceled.");
}