选择一个C#WinForm的多个文件 [英] Select multiple files on a C# winform
本文介绍了选择一个C#WinForm的多个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我从.NET asp.net到C#的winform移动。
I am moving from .net asp.net to C# winform.
我要选择一个C#WinForm的多个文件,然后显示在屏幕上选定的文件用户可以删除它们......
I want to select multiple files on a C# winform then show the selected files on the screen that user can remove them...
其中控制我应该使用显示在屏幕上的winform的项目?
Which control should I use for showing the items on screen winform?
推荐答案
如果我正确地理解你的问题,你应该使用列表框。用户可以使用典型的Windows按Ctrl / Shift组合键并单击他们要选择的项目很容易地选择在一个列表框多个项目。
If I understand your question correctly, you should use Listbox. The user can easily select multiple items in a listbox using the typical Windows Ctrl/Shift keys and clicking on the items they want to select.
这篇关于选择一个C#WinForm的多个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文