如何从 ToolStripDropDownButton 中删除所有 DropDown 项,如果它的属性是只读的?
最佳答案
使用清除方法:
toolStripDropDownButton1.DropDownItems.Clear();
关于c# - ToolStripDropDownButton,如何删除所有 DropDownItems?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4351752/