Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2fab06c
commit 3a471b9
Showing
4 changed files
with
62 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<UserControl x:Class="Octgn.Controls.NewVersionBar" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
mc:Ignorable="d" | ||
Height="30" d:DesignWidth="600" | ||
x:Name="self"> | ||
<Border Background="Khaki" BorderBrush="Olive" BorderThickness="1"> | ||
<Grid> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="Auto"/> | ||
<ColumnDefinition Width="10"/> | ||
<ColumnDefinition Width="Auto"/> | ||
<ColumnDefinition Width="100*"/> | ||
</Grid.ColumnDefinitions> | ||
<Image Source="../Resources/Icons/Reset.png"/> | ||
<StackPanel Orientation="Horizontal" Grid.Column="2"> | ||
<TextBlock VerticalAlignment="Center" Text="OCTGN v3.4 is now available. Please visit"/> | ||
<TextBlock VerticalAlignment="Center" Text=" https://www.octgn.net" Foreground="SteelBlue" Cursor="Hand" MouseLeftButtonUp="TextBlock_MouseLeftButtonUp"/> | ||
<TextBlock VerticalAlignment="Center" Text=" to install it."/> | ||
</StackPanel> | ||
</Grid> | ||
</Border> | ||
</UserControl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
|
||
namespace Octgn.Controls | ||
{ | ||
public partial class NewVersionBar | ||
{ | ||
public NewVersionBar() { | ||
InitializeComponent(); | ||
} | ||
|
||
private void TextBlock_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e) { | ||
Program.LaunchUrl(AppConfig.WebsitePath); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters