gpt4 book ai didi

c# - TreeView 节点的图像索引在选择时发生变化

转载 作者:太空狗 更新时间:2023-10-29 19:52:14 26 4
gpt4 key购买 nike

当我尝试在 TreeView 中使用图像列表时,单击树节点时图像索引会发生变化。我不知道为什么会这样。谁能帮帮我?

提前致谢

最佳答案

您需要在树节点上同时设置 ImageIndex 和 SelectedImageIndex。

关于c# - TreeView 节点的图像索引在选择时发生变化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1656567/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com