From 1459205ef335fc688d2d015d09635a079669d911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20=C5=A0taleker?= Date: Fri, 2 Aug 2024 11:09:49 +0200 Subject: [PATCH] verzija --- InfosysPublisher/App.xaml.cs | 5 +++++ InfosysPublisher/InfosysPublisher.csproj | 2 +- InfosysPublisher/WinLogin.xaml | 14 +++++++++----- InfosysPublisher/WinLogin.xaml.cs | 3 ++- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/InfosysPublisher/App.xaml.cs b/InfosysPublisher/App.xaml.cs index 8285c7b..2d7c2f4 100644 --- a/InfosysPublisher/App.xaml.cs +++ b/InfosysPublisher/App.xaml.cs @@ -8,6 +8,8 @@ using System.Reflection; using System.Threading.Tasks; using System.Windows; +//[assembly: AssemblyVersion("2024.08.02.0")] +//Publish location:InfosysPublisher namespace InfosysPublisher { /// @@ -19,6 +21,7 @@ namespace InfosysPublisher internal static Settings.Application? _application; internal static User User; + internal static Version CurrentVersion; protected override void OnStartup(StartupEventArgs e) { @@ -26,6 +29,8 @@ namespace InfosysPublisher //base.OnStartup(e); _application = WinSettings.GetSettings(); + CurrentVersion = typeof(App).Assembly.GetName().Version; + if (_application == null) { OpenSettings(); diff --git a/InfosysPublisher/InfosysPublisher.csproj b/InfosysPublisher/InfosysPublisher.csproj index 7a9111d..fc3ecca 100644 --- a/InfosysPublisher/InfosysPublisher.csproj +++ b/InfosysPublisher/InfosysPublisher.csproj @@ -5,7 +5,7 @@ net8.0-windows7.0 enable true - 1.0.1.0 + 2024.08.02.0 infosysPublisher.ico diff --git a/InfosysPublisher/WinLogin.xaml b/InfosysPublisher/WinLogin.xaml index b06874f..4525ac8 100644 --- a/InfosysPublisher/WinLogin.xaml +++ b/InfosysPublisher/WinLogin.xaml @@ -11,6 +11,7 @@ + @@ -22,22 +23,25 @@ Infosys-Publisher + + Version: xxxx-xx-xx-xx + - + Username: - + - + Password: - + -