Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 C# VS2008 开发 WinForms 应用程序。
如何在 Groupbox 中设置 Checkbox,以便可以在组级别引用复选框状态?例如,一周中的每一天都有 7 个复选框。然后我希望能够在通过以下方式检查时获得状态:“result = daysOfWeek.Monday;”
我可能在某个地方遗漏了明显的东西......
谢谢
您可以使用CheckedListBox并更改背景、边框和选择属性。
CheckedListBox