-
Notifications
You must be signed in to change notification settings - Fork 1
/
Progress.xaml
21 lines (21 loc) · 1.19 KB
/
Progress.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Window x:Class="BLHXChgPainting.Progress"
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:loca="clr-namespace:BLHXChgPainting"
mc:Ignorable="d"
Title="导出进度" Height="100" Width="400" ResizeMode="NoResize" WindowStartupLocation="CenterOwner" ShowInTaskbar="False" IsHitTestVisible="True" Closing="Progress_OnClosing">
<Window.DataContext>
<loca:ExportProgress x:Name="ExportProgress"/>
</Window.DataContext>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<ProgressBar Minimum="0" Maximum="{Binding Total}" Value="{Binding Value}" Grid.Column="0" Margin="10"/>
<TextBlock Grid.Column="0" Text="{Binding Verbose}" HorizontalAlignment="Right" Margin="20" VerticalAlignment="Center"/>
<Button Margin="10" Grid.Column="1" Click="ButtonBase_OnClick">取消操作</Button>
</Grid>
</Window>