Skip to content

Commit

Permalink
Update about box
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienwarin committed Nov 15, 2019
1 parent bbca5f0 commit 28c4ac2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SWYH/Windows/AboutWindow.xaml
Expand Up @@ -23,7 +23,7 @@
<Run Text="Simply stream the sound from your PC to an UPnP / DLNA device"/>
</TextBlock>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="5">
<TextBlock TextWrapping="Wrap" FontFamily="Segoe WP Semibold" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="145"><Run Text="Copyright (c) 2012 - 2015 - "/></TextBlock>
<TextBlock TextWrapping="Wrap" FontFamily="Segoe WP Semibold" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="145"><Run Text="Copyright (c) 2012 - 2019 - "/></TextBlock>
<TextBlock HorizontalAlignment="Right" Cursor="Hand" MouseLeftButtonDown="tbSwarinWebSite_Click" TextWrapping="Wrap" VerticalAlignment="Bottom" Width="113" FontFamily="Segoe WP Semibold" TextDecorations="Underline" Foreground="#FF003EFF"><Run Text="Sebastien.warin.fr"/></TextBlock>
</StackPanel>
<TextBlock Cursor="Hand" FontFamily="Segoe WP Semibold" MouseLeftButtonUp="btUpdate_MouseLeftButtonUp" Foreground="#FF003EFF" HorizontalAlignment="Right" Margin="0,75,-10,0" Name="btUpdate" TextAlignment="Center" TextDecorations="Underline" TextWrapping="Wrap" VerticalAlignment="Top" Width="113"><Run Text="Update now !" /></TextBlock>
Expand Down
2 changes: 1 addition & 1 deletion SWYH/Windows/AboutWindow.xaml.cs
Expand Up @@ -41,7 +41,7 @@ private void Window_Loaded(object sender, RoutedEventArgs e)
{
this.btUpdate.Visibility = (App.NeedUpdate) ? Visibility.Visible : System.Windows.Visibility.Collapsed;
var version = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location);
this.version.Text = string.Format("Version{3} {0}.{1} (Build {2})", version.ProductMajorPart, version.ProductMinorPart, version.ProductBuildPart, (version.ProductPrivatePart % 2) == 0 ? "" : " BETA");
this.version.Text = string.Format("Version {0}", version.ProductVersion);
}

private void btUpdate_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
Expand Down

0 comments on commit 28c4ac2

Please sign in to comment.