DialogResult result;
result = MessageBox.Show(breakpl[0], "Move this to confige file?", MessageBoxButtons.YesNo);
我想要的只是当弹出框默认为“否”时,大约有 1000 个“否”和 10 个"is"。所以我只想能够按回车键并循环扔掉它们。
请您参考如下方法:
使用带有 MessageBoxDefaultButton 参数的 MessageBox.Show() 重载。或者只是反转问题。
