Files
CDMUtility/CivilModelCreator/ProgressMonitorView.xaml

27 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2026-02-23 14:35:54 +08:00
<Window
x:Class="CivilModelCreator.ProgressMonitorView"
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:local="clr-namespace:CivilModelCreator"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="导出进度"
ResizeMode="NoResize"
SizeToContent="WidthAndHeight"
WindowStartupLocation="CenterScreen"
mc:Ignorable="d">
<Window.Resources>
<Style TargetType="Separator">
<Setter Property="Height" Value="5" />
<Setter Property="Background" Value="Transparent" />
</Style>
</Window.Resources>
<StackPanel Margin="10">
<TextBlock Text="{Binding CurrentContext}" />
<Separator />
<ProgressBar Width="300" Height="23" Maximum="{Binding MaxValue}" Value="{Binding CurrentValue}" />
<Separator />
<Button x:Name="btnCancel" Width="50" HorizontalAlignment="Right" Content="取消" IsCancel="True" />
</StackPanel>
</Window>