private void Form1_FormClosed(object sender, FormClosedEventArgs e)
{
DialogResult dr;
dr = MessageBox.Show("确认退出系统?","登录",MessageBoxButtons.YesNo,MessageBoxIcon.Warning);
if (dr == DialogResult.Yes)
Application.Exit();
你们都是技术宅
化龙贝
相关分类