Automatic build number. Include in application title text.
This commit is contained in:
parent
2d91474002
commit
c1b3a610c3
3 changed files with 14 additions and 6 deletions
|
|
@ -6,8 +6,8 @@
|
|||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Observatory.UI.Views.CoreView">
|
||||
<Grid RowDefinitions="30,*,Auto">
|
||||
<TextBlock Grid.Row="0" VerticalAlignment="Center" Padding="10,0,0,0">
|
||||
Elite Observatory - v1.0core
|
||||
<TextBlock Grid.Row="0" VerticalAlignment="Center" Padding="10,0,0,0" Name="Title">
|
||||
Elite Observatory - v0
|
||||
</TextBlock>
|
||||
<TabControl Name="CoreTabs"
|
||||
Grid.Row="1" Grid.Column="1"
|
||||
|
|
|
|||
|
|
@ -9,8 +9,12 @@ namespace Observatory.UI.Views
|
|||
{
|
||||
public CoreView()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
InitializeComponent();
|
||||
|
||||
var titleBlock = this.Find<TextBlock>("Title");
|
||||
titleBlock.Text = "Elite Observatory Core - v" + System.Reflection.Assembly.GetEntryAssembly().GetName().Version.ToString();
|
||||
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
|
|
|
|||
Loading…
Reference in a new issue