if (MessageBox.Show("确定要退出吗?", "", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.Cancel) {} MessageBoxButtons messButton = MessageBoxButtons.OKCancel; DialogResult dialogResult = MessageBox.Show("是否确定选择Specification Configure文件?", "Configure文件", messButton); if (dialogResult == DialogResult.OK) {}
原文地址:https://www.cnblogs.com/Wonderful-Life/p/9831469.html
时间: 2024-10-15 05:40:58