开发者

Double Click to open file directory from an item in listview

I hope that there is a very straightforward way to allow a user to do a Doubleclick event on either items inside a listview.

The items in my listview happens to have a filepath, so if possible, i want to draw out that filepath from the ite开发者_开发知识库m that i've selected and open up as a windows to show where the file is located. Something like that...is that complicated?


You can use the ItemActivate event on the ListView: MSDN

From there you can get the selected item and open an window.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜