摘要:
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 阅读全文