|
3 | 3 | xmlns:mahapps="http://metro.mahapps.com/winfx/xaml/controls" |
4 | 4 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
5 | 5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
6 | | - Width="500" Height="200" ResizeMode="NoResize" ShowInTaskbar="False" WindowStyle="None" ShowTitleBar="False" GlowBrush="{DynamicResource AccentColorBrush}" |
7 | | - ShowCloseButton="False" WindowStartupLocation="CenterOwner" > |
| 6 | + Width="500" Height="200" ResizeMode="NoResize" TitleCaps="False" ShowInTaskbar="False" WindowStyle="None" GlowBrush="{DynamicResource AccentColorBrush}" WindowStartupLocation="CenterOwner" > |
8 | 7 | <mahapps:MetroWindow.Resources> |
9 | 8 | <ResourceDictionary> |
10 | 9 | <ResourceDictionary.MergedDictionaries> |
|
17 | 16 | </ResourceDictionary> |
18 | 17 | </mahapps:MetroWindow.Resources> |
19 | 18 | <Grid> |
| 19 | + <Image Name="Icon" Source="/SPCode;component/Resources/Icon.ico" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,5,5,5" Width="40" Height="40"/> |
20 | 20 | <mahapps:ProgressRing Name="Progress" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,5,5,5" Width="40" Height="40" IsActive="False" IsLarge="False" IsHitTestVisible="False" /> |
21 | | - <TextBlock Name="MainLine" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="50,0,0,0" FontSize="16" Foreground="{StaticResource AccentColorBrush}" Text="An update is available. Do you want to update?" IsHitTestVisible="False" /> |
| 21 | + <TextBlock Name="MainLine" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="50,0,0,0" FontSize="16" Foreground="{StaticResource AccentColorBrush}" Text="Update now?" IsHitTestVisible="False" /> |
22 | 22 | <TextBlock Name="SubLine" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="50,25,0,0" FontSize="14" IsHitTestVisible="False" /> |
23 | 23 | <Button Name="ActionYesButton" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="50,25,0,0" Content="Yes" Width="50" Click="ActionYesButton_Click" /> |
24 | 24 | <Button Name="ActionNoButton" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="110,25,0,0" Content="No" Width="50" Click="ActionNoButton_Click" /> |
|
0 commit comments