VideoConcat/Video.xaml
2024-10-27 20:43:38 +08:00

23 lines
1.5 KiB
XML

<Window x:Class="VideoConcat.Video"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:local="clr-namespace:VideoConcat"
xmlns:wd="https://github.com/WPFDevelopersOrg/WPFDevelopers"
mc:Ignorable="d"
Title="视频" Height="450" Width="800" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" >
<Grid>
<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>
</Window>