|
12 | 12 | BorderBrush="Transparent" |
13 | 13 | BorderThickness="0" |
14 | 14 | Icon="/GeneralUpdate.png" |
15 | | - NoChrome="True" |
16 | 15 | ResizeMode="NoResize" |
17 | 16 | TitleBackground="{DynamicResource WD.BackgroundSolidColorBrush}" |
18 | 17 | TitleHeight="30" |
19 | 18 | WindowStartupLocation="CenterScreen" |
20 | 19 | WindowStyle="ToolWindow" |
21 | 20 | mc:Ignorable="d"> |
22 | | - <wd:Window.TitleBar> |
23 | | - <Grid Height="40" VerticalAlignment="Center"> |
24 | | - <Grid.ColumnDefinitions> |
25 | | - <ColumnDefinition Width="Auto" /> |
26 | | - <ColumnDefinition Width="*" /> |
27 | | - <ColumnDefinition Width="Auto" MinWidth="30" /> |
28 | | - </Grid.ColumnDefinitions> |
29 | | - <Image |
30 | | - Width="20" |
31 | | - Height="20" |
32 | | - Margin="4,0" |
33 | | - Source="/GeneralUpdate.png" /> |
34 | | - <TextBlock |
35 | | - Grid.Column="1" |
36 | | - VerticalAlignment="Center" |
37 | | - FontSize="14" |
38 | | - Foreground="{StaticResource WD.SecondaryTextSolidColorBrush}" |
39 | | - IsHitTestVisible="False" |
40 | | - Text="General Update 01 客户端升级" /> |
41 | | - <Button |
42 | | - x:Name="CloseButton" |
43 | | - Grid.Column="2" |
44 | | - Width="30" |
45 | | - Height="30" |
46 | | - HorizontalAlignment="Right" |
47 | | - Click="CloseButton_Click" |
48 | | - Style="{StaticResource WD.WindowButtonStyle}" |
49 | | - ToolTip="关闭"> |
50 | | - <wd:PathIcon |
51 | | - Width="10" |
52 | | - Height="10" |
53 | | - Kind="WindowClose" /> |
54 | | - </Button> |
55 | | - </Grid> |
56 | | - </wd:Window.TitleBar> |
57 | 21 | <Grid> |
58 | 22 | <Grid.RowDefinitions> |
59 | 23 | <RowDefinition Height="20" /> |
60 | 24 | <RowDefinition /> |
61 | 25 | <RowDefinition /> |
62 | 26 | </Grid.RowDefinitions> |
63 | | - <Border |
64 | | - Grid.Row="1" |
65 | | - HorizontalAlignment="Center" |
66 | | - VerticalAlignment="Center"> |
67 | | - <wd:SmallPanel> |
68 | | - <!--<Image |
69 | | - x:Name="PART_Image" |
70 | | - Width="100" |
71 | | - Height="100" |
72 | | - Source="/GeneralUpdate.png" |
73 | | - Stretch="Uniform" />--> |
74 | | - <wd:BreathLamp |
75 | | - Width="140" |
76 | | - Height="140" |
77 | | - GradientStopColor1="#FF00cec9" |
78 | | - GradientStopColor2="#2000cec9" |
79 | | - IsLampStart="True" |
80 | | - LampEffect="Streamer"> |
81 | | - <Ellipse Width="100" Height="100"> |
82 | | - <Ellipse.Fill> |
83 | | - <ImageBrush ImageSource="pack://application:,,,/GeneralUpdate.png" /> |
84 | | - </Ellipse.Fill> |
85 | | - </Ellipse> |
86 | | - </wd:BreathLamp> |
87 | | - <wd:CircularProgressBar x:Name="PART_Slider" Value="{Binding ElementName=CirularSlider, Path=Value}" /> |
88 | | - </wd:SmallPanel> |
89 | | - </Border> |
| 27 | + <Grid Grid.Row="1"> |
| 28 | + <wd:BreathLamp |
| 29 | + Width="150" |
| 30 | + Height="150" |
| 31 | + GradientStopColor1="#FF00cec9" |
| 32 | + GradientStopColor2="#2000cec9" |
| 33 | + IsLampStart="True" |
| 34 | + LampEffect="Streamer" /> |
| 35 | + <Image |
| 36 | + x:Name="PART_Image" |
| 37 | + Width="110" |
| 38 | + Height="110" |
| 39 | + Source="/GeneralUpdate.png" |
| 40 | + Stretch="Uniform" /> |
| 41 | + <wd:CircleProgressBar |
| 42 | + x:Name="PART_Slider" |
| 43 | + Width="120" |
| 44 | + Height="120" |
| 45 | + Padding="3,3,0,0" |
| 46 | + BorderThickness="20" |
| 47 | + IsRound="True" |
| 48 | + Value="{Binding ElementName=CirularSlider, Path=Value}" /> |
| 49 | + </Grid> |
| 50 | + |
90 | 51 | <Grid |
91 | 52 | Grid.Row="2" |
92 | 53 | Margin="0,0,0,30" |
|
0 commit comments