在WPF窗体中,我想为一个WebBrowser添加一个进度条,使进度条显示webbrowser加载的进度,请各位帮帮忙,谢谢

解决方案 »

  1.   

    在WPF中貌似没有呃,我找不到就来论坛问问了
      

  2.   

    wPFProcessBar1.Dispatcher.Invoke()方法
    double value = 0;
    wPFProcessBar1.Dispatcher.Invoke(new Action<System.Windows.DependencyProperty, object>(wPFProcessBar1.SetValue), System.Windows.Threading.DispatcherPriority.Background, ProgressBar.ValueProperty, value);
      

  3.   

    wPFProcessBar1.Dispatcher.Invoke()方法
    double value = 0;
    wPFProcessBar1.Dispatcher.Invoke(new Action<System.Windows.DependencyProperty, object>(wPFProcessBar1.SetValue), System.Windows.Threading.DispatcherPriority.Background, ProgressBar.ValueProperty, value);  
     
     
    对我有用[0]丢个板砖[0]引用举报管理TOP精华推荐:请大家说说Linq的缺点 
     还用加_DispatchTimer时间间隔吗?