I wonder if it is possible to add the file name of a file from windows explorer or desktop to a windows form list box in the following cases.
- On selecting a file and clicking on 'Del'/'Shift'+'Del' button开发者_开发百科 from keyboard.
- Right click on the file and select 'Delete' from context menu.
How the event will know which is the active application to add the file name to?
I need this for a project.
精彩评论