摘要: WPF下载远程文件,并显示进度条和百分比 1、xaml 2、CS程序 阅读全文
posted @ 2016-03-23 12:01 microsoftzhcn 阅读(4149) 评论(0) 推荐(0) 编辑
摘要: 通过System.Threaing.Timer控件来实现“初始加载页面时为DataGrid的模版列赋初始值” System.Threaing.Timer的用法: 步骤1: //声明定时器 System.Threading.Timer timer; delegate void UpdateTimer( 阅读全文
posted @ 2016-03-23 09:02 microsoftzhcn 阅读(3950) 评论(0) 推荐(0) 编辑
摘要: 一、注意事项 引用命名空间:System.Windows.Threading.DispatcherTimer。 二、使用方法 var _timer = new DispatcherTimer(); _timer.Interval = new TimeSpan(0, 0, 1); //间隔1秒 _ti 阅读全文
posted @ 2016-03-23 08:54 microsoftzhcn 阅读(3356) 评论(0) 推荐(0) 编辑