Files
Better-Seewo/Better-EN5/UI/ProgressDialog.xaml

28 lines
1.4 KiB
Plaintext
Raw Normal View History

<Window x:Class="BetterEN5.UI.ProgressDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="操作进度" Height="160" Width="420"
WindowStartupLocation="CenterOwner"
WindowStyle="None" ResizeMode="NoResize"
AllowsTransparency="True" Background="Transparent">
<Border CornerRadius="10" Background="#1E1E2E" BorderBrush="#30FFFFFF" BorderThickness="1">
<Border.Effect>
<DropShadowEffect BlurRadius="16" ShadowDepth="3" Opacity="0.3" Color="Black"/>
</Border.Effect>
<Grid Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" x:Name="StatusText" Text="正在操作..." FontSize="14"
Foreground="#C0C0D0" Margin="0,0,0,12"/>
<ProgressBar Grid.Row="1" x:Name="ProgressBar" Height="6"
IsIndeterminate="True" Foreground="#60B0FF"
Background="#2A2A3E" BorderThickness="0"/>
<TextBlock Grid.Row="2" x:Name="DetailText" Text="" FontSize="11"
Foreground="#707090" Margin="0,8,0,0"/>
</Grid>
</Border>
</Window>