update
This commit is contained in:
parent
e6c09e2309
commit
b23536aa4e
1
Task.cs
1
Task.cs
@ -19,6 +19,7 @@ namespace VideoConcat
|
||||
progressBar.Dispatcher.Invoke(() =>
|
||||
{
|
||||
progressBar.Value = i;
|
||||
|
||||
});
|
||||
});
|
||||
System.Threading.Thread.Sleep(50);
|
||||
|
||||
10
Video.xaml
10
Video.xaml
@ -9,9 +9,13 @@
|
||||
mc:Ignorable="d"
|
||||
Title="视频" Height="450" Width="800" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" >
|
||||
<Grid>
|
||||
<StackPanel>
|
||||
<Button Content="开始拼接" VerticalAlignment="Top" Height="30" Click="Button_Click" x:Name="startButton" Margin="5"/>
|
||||
<TextBlock Margin="5" TextWrapping="Wrap" Text="" Height="auto" x:Name="outputTxt"/>
|
||||
<StackPanel Margin="10" >
|
||||
<StackPanel Height="30" Margin="2" Orientation="Horizontal" HorizontalAlignment="Left" >
|
||||
<Label Content="生成视频的个数:" VerticalContentAlignment="Center" Width="auto" BorderBrush="#0000EE" BorderThickness="1"></Label>
|
||||
<TextBox Width="580" AutomationProperties.HelpText="输入要生成的视频个数" Margin="10,0,10,0" InputScope="Number"></TextBox>
|
||||
<Button Content="开始拼接" Click="Button_Click" x:Name="startButton" Width="auto"/>
|
||||
</StackPanel>
|
||||
<TextBox Margin="2" TextWrapping="Wrap" Text="" Height="auto" x:Name="outputTxt"/>
|
||||
</StackPanel>
|
||||
<ProgressBar x:Name="processVideoBar" Minimum="0" Maximum="100" Value="0" VerticalAlignment="Bottom" Height="10" Margin="5"/>
|
||||
</Grid>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user