diff --git a/Task.cs b/Task.cs index 9e1f0ff..a3b0f17 100644 --- a/Task.cs +++ b/Task.cs @@ -19,6 +19,7 @@ namespace VideoConcat progressBar.Dispatcher.Invoke(() => { progressBar.Value = i; + }); }); System.Threading.Thread.Sleep(50); diff --git a/Video.xaml b/Video.xaml index f8a05f4..7536aa6 100644 --- a/Video.xaml +++ b/Video.xaml @@ -9,10 +9,14 @@ mc:Ignorable="d" Title="视频" Height="450" Width="800" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" > - -