我在 ac# windows 窗体应用程序中使用 betfair API,
当我调用 getAllMarket() 方法时,我得到一个长字符串,其中包括一个没有像这样的刺痛路径:
~\Cricket\Group C\England v South Africa\Test Series~
~\Cricket\Group C\English Domestic\Clydesdale Bank 40 2012\Group Winners~
~\Cricket\Group C\England v South Africa\Test Series\England v South Africa (2nd Test)~
所以我想根据这样的路径填充树视图控件:
step 1>Check if the path already exixts, then select the last node on the path,
step 2>else create the whole path and select the last node,
step 3> add a custom child node to he selected last node of the path,
我之前从未使用过树视图,但现在已经学习了基础知识,并且自定义子节点也已经创建,所以一个详细的答案会非常有帮助,谢谢