Welcome to mirror list, hosted at ThFree Co, Russian Federation.

AboutWindow.axaml.cs « Windows « UVtools.WPF - github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cfed70d03fbfc0380e2c55dc69c2c32a5956289e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using Avalonia.Markup.Xaml;
using UVtools.Core;
using UVtools.WPF.Controls;

namespace UVtools.WPF.Windows
{
    public class AboutWindow : WindowEx
    {
        public string Software => About.Software;
        public string Version => $"Version: {AppSettings.Version}";
        public string Copyright => AppSettings.AssemblyCopyright;
        public string Company => AppSettings.AssemblyCompany;
        public string Description => AppSettings.AssemblyDescription;


        public AboutWindow()
        {
            InitializeComponent();
            DataContext = this;
        }

        private void InitializeComponent()
        {
            AvaloniaXamlLoader.Load(this);
        }
    }
}