2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00
pulsar/ObservatoryCore/UI/Views/CoreView.axaml.cs

26 lines
576 B
C#

using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using System.Linq;
namespace Observatory.UI.Views
{
public class CoreView : UserControl
{
public CoreView()
{
InitializeComponent();
var titleBlock = this.Find<TextBlock>("Title");
titleBlock.Text = "Elite Observatory Core - v" + System.Reflection.Assembly.GetEntryAssembly().GetName().Version.ToString();
}
private void InitializeComponent()
{
AvaloniaXamlLoader.Load(this);
}
}
}