将Feature/XP.Common和Feature/XP.Hardware分支合并至Develop/XP.forHardwareAndCommon,完善XPapp注册和相关硬件类库通用类库功能。
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
<Window
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="XP.Common.GeneralForm.Views.ProgressWindow"
|
||||
Title="{Binding Title}"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
ResizeMode="NoResize"
|
||||
Width="400"
|
||||
Height="150"
|
||||
ShowInTaskbar="False"
|
||||
WindowStyle="SingleBorderWindow">
|
||||
|
||||
<!-- 主布局:从上到下依次为提示信息、进度条、百分比文本 -->
|
||||
<Grid Margin="24,20,24,20">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- 提示信息文本 -->
|
||||
<TextBlock Grid.Row="0"
|
||||
Text="{Binding Message}"
|
||||
TextWrapping="Wrap"
|
||||
FontSize="14"
|
||||
Margin="0,0,0,12" />
|
||||
|
||||
<!-- 进度条 -->
|
||||
<telerik:RadProgressBar Grid.Row="1"
|
||||
Value="{Binding Progress, Mode=OneWay}"
|
||||
Minimum="0"
|
||||
Maximum="100"
|
||||
Height="18"
|
||||
Margin="0,0,0,8" telerik:StyleManager.Theme="Crystal" />
|
||||
|
||||
<!-- 百分比文本 -->
|
||||
<TextBlock Grid.Row="2"
|
||||
Text="{Binding ProgressText}"
|
||||
HorizontalAlignment="Center"
|
||||
FontSize="12"
|
||||
Foreground="#666666" />
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user