摘要: privatevoidfrmCtiState_FormClosing(objectsender,FormClosingEventArgse){if(e.CloseReason==CloseReason.ApplicationExitCall)return;DialogResultresult=MessageBox.Show("是否退出系统?","消息",MessageBoxButtons.YesNo,MessageBoxIcon.Question);if(result==DialogResult.No){e.Cancel=true;return;}els 阅读全文
posted @ 2011-08-04 14:41 海乐学习 阅读(830) 评论(0) 推荐(0) 编辑