摘要:
关键在于 HierarchicalDataTemplate模板的使用 先看效果 xaml界面 1 <Window 2 x:Class="Xml数据展示.MainWindow" 3 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presenta 阅读全文
摘要:
先看运行效果 在WPF 中如果直接在UI线程更新进度条,会造成界面卡死,因此使用BackgroundWorker来进行更新,既简单又方便。 先看xaml 1 <Window 2 x:Class="BackgroundWorker使用方法.MainWindow" 3 xmlns="http://sch 阅读全文