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.
我正在使用 BGW 组件加载数据网格视图。我试图不选择我的 DG 的第一行。我尝试使用这两行代码,但它不起作用。
DG.ClearSelection() DG.CurrentRow.Selected = False
我在表单的加载事件和 BGW 的 RunWorkerCompleted 事件中都使用。
有什么建议么?
我分配的 DG 的属性是 FullRowSelect 和 AutoGenerateColumns 到 False ..
谢谢