110,536
社区成员
发帖
与我相关
我的任务
分享
if (MessageBox.Show("您确认要退出吗?", "退出系统", MessageBoxButtons.OKCancel) == DialogResult.OK)
{
this.Dispose();
// Application.Exit();
}
else
e.Cancel = true;