none
winform Treeview刷新后怎么恢复上次选中的节点 RRS feed

全部回复

  • Hi,

    感谢你在MSDN论坛发帖。

    你可以在刷新之前把记录都做好备份,在刷新之后,在用下面的方式得到焦点,再设置之前做好的数据备份。

    Control.FromHandle Method

    如果遇到什么问题,欢迎随时来发帖,讨论。

    Best Regards,

    Hart


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2017年2月7日 6:14
    版主