2017-07-19 13 views
0

これはGoogleを使用して見つけるのが非常に難しいです。 Application.Current.Dispatcherはどのライブラリですか?私はClassLibraryプロジェクトでそれを見つけることができない、またはそのライブラリをインポートできません。それは基本的にWindowsBase.dllApplication.Current.Dispatcherはどこで罰金を科せられますか?

Application.CurrentあるSystem.Windows.Threading名前空間にあります

Application.Current.Dispatcher.BeginInvoke(
    DispatcherPriority.Background, 
    new Action(() => { 
     this.progressBar.Value = 50; 
    })); 
+0

'Application.Current'はSystem.Windows''です。 –

答えて

関連する問題