diff options
| author | Roy <roy.mail.net@gmail.com> | 2018-02-23 23:14:27 +0200 |
|---|---|---|
| committer | Roy <roy.mail.net@gmail.com> | 2018-02-23 23:14:27 +0200 |
| commit | 2b781099f7cb08d6a5b9363b9079fab5be108541 (patch) | |
| tree | 41cd2acfa8047cea0399bfc6f46ab851b484aaac /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/UpdateView.xaml | |
| parent | fadf83a50071ffba21db05eceff10c51c18f5fb3 (diff) | |
| download | Tango-2b781099f7cb08d6a5b9363b9079fab5be108541.tar.gz Tango-2b781099f7cb08d6a5b9363b9079fab5be108541.zip | |
Implemented machine studio periodical update checking.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/UpdateView.xaml')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/UpdateView.xaml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/UpdateView.xaml b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/UpdateView.xaml index a08bcbddb..dabbaab94 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/UpdateView.xaml +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/UpdateView.xaml @@ -17,7 +17,7 @@ <DockPanel> <Grid DockPanel.Dock="Top" HorizontalAlignment="Center"> <Grid.Effect> - <DropShadowEffect BlurRadius="100" ShadowDepth="0" Opacity="0.7" /> + <DropShadowEffect BlurRadius="200" ShadowDepth="0" Opacity="0.5" /> </Grid.Effect> <StackPanel Orientation="Horizontal"> <Image Source="/Images/update.png" Width="100" /> @@ -68,10 +68,14 @@ <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> <Image Source="/Images/new-version.png" Width="64"></Image> <StackPanel Orientation="Horizontal" HorizontalAlignment="Center"> - <TextBlock VerticalAlignment="Center" Margin="0 20 0 0">New version is available!</TextBlock> + <TextBlock VerticalAlignment="Center" Margin="0 20 0 0"> + <Run>Version</Run> + <Run Text="{Binding LatestVersion}" FontWeight="SemiBold" Foreground="{StaticResource AccentColorBrush}"></Run> + <Run>is available!</Run> + </TextBlock> </StackPanel> <TextBlock FontSize="12" TextAlignment="Center" Padding="20" Margin="0 0 0 40"> - <Run>A new version of Machine Studio is available to download</Run> + <Run>A new version of Machine Studio is available for download</Run> <LineBreak/> <Run>Click 'Update' to start the update process.</Run> </TextBlock> @@ -111,6 +115,8 @@ <Run>Updating Machine Studio, please wait...</Run> </TextBlock> <ProgressBar Height="10" Foreground="DimGray" Margin="0 20 0 0" Maximum="100" Value="{Binding UpdateProgress}"></ProgressBar> + + <TextBlock TextTrimming="CharacterEllipsis" Text="{Binding CurrentUpdateFile}" FontSize="10" Margin="0 10 0 0" TextAlignment="Center" Foreground="DimGray"></TextBlock> </StackPanel> </Grid> </Setter.Value> |
