c# windows控件,在多线程软件中显示文件的下载进度状态
所以我想用 C# 开发一个软件,能够使用线程下载 YouTube 视频。
我应该使用哪个控件来显示给定时间内每个视频的下载进度?
So I whould like to develop a software in c# that will be capable of downloading youtube videos using threads.
Which control should i use in order to show the progress of each of the videos being downloaded in a given time?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您始终可以将
ProgressBar
组件与BackgroundWorker
结合使用来更新完成状态。这是一个基本示例: C# Winform ProgressBar 和 BackgroundWorker
顺便说一下,一个人写了这里的分步说明可能会有所帮助:http://fernandof.wordpress.com/2007/04/04/implementing-multi-threading-in-winforms-using-the-backgroundworker-class/
You can always use
ProgressBar
component in conjunction withBackgroundWorker
to update the completion status.Here is a basic sample: C# Winform ProgressBar and BackgroundWorker
By the way, a guy wrote a step-by-step instructions here which may be helpful: http://fernandof.wordpress.com/2007/04/04/implementing-multi-threading-in-winforms-using-the-backgroundworker-class/