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.
我有一个 DrawMode = OwnerDraw 的列表框。
我注意到在调用我的自定义 DrawItem 之前绘制列表框背景导致的闪烁。因此,即使我使用单个 e.Graphics.FillRectangle 调用它仍然会导致闪烁。
有什么办法可以防止这种闪烁,可能会阻止绘制列表框背景色?