日期:2014-05-18 浏览次数:20899 次
private void Form2_FormClosing(object sender, FormClosingEventArgs e) { if (MessageBox.Show("是否保存数据", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) { e.Cancel = true; } }