From c6cfc5010c8c237ae9c4a65d9215ced696a43361 Mon Sep 17 00:00:00 2001 From: Manuel Kamper Date: Sat, 26 Oct 2019 14:48:15 +0200 Subject: [PATCH] bringtofront --- Mk0.Software.ImageSorter/Main.Designer.cs | 2 +- Mk0.Software.ImageSorter/Main.cs | 5 +++++ Mk0.Software.ImageSorter/Mk0.Software.ImageSorter.csproj | 2 +- Mk0.Software.ImageSorter/Properties/AssemblyInfo.cs | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Mk0.Software.ImageSorter/Main.Designer.cs b/Mk0.Software.ImageSorter/Main.Designer.cs index 6fa2225..9fcdae5 100644 --- a/Mk0.Software.ImageSorter/Main.Designer.cs +++ b/Mk0.Software.ImageSorter/Main.Designer.cs @@ -684,7 +684,7 @@ this.MinimumSize = new System.Drawing.Size(983, 605); this.Name = "Main"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "Image Sorter v1.41 | © 2015-2019 by manuelkamper.com"; + this.Text = "Image Sorter v1.42 | © 2015-2019 by manuelkamper.com"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Main_FormClosing); this.Load += new System.EventHandler(this.Main_Load); this.Shown += new System.EventHandler(this.Main_Shown); diff --git a/Mk0.Software.ImageSorter/Main.cs b/Mk0.Software.ImageSorter/Main.cs index ac56da6..dae8ef0 100644 --- a/Mk0.Software.ImageSorter/Main.cs +++ b/Mk0.Software.ImageSorter/Main.cs @@ -83,6 +83,11 @@ namespace Mk0.Software.ImageSorter SearchImages(); CountPicsInPath(); LoadPicture(GetImageIndex(Path.Combine(startuppath, startupimage))); + if (WindowState != FormWindowState.Normal || WindowState != FormWindowState.Maximized) + { + WindowState = FormWindowState.Normal; + } + BringToFront(); } } } diff --git a/Mk0.Software.ImageSorter/Mk0.Software.ImageSorter.csproj b/Mk0.Software.ImageSorter/Mk0.Software.ImageSorter.csproj index 504f9a7..aec1afd 100644 --- a/Mk0.Software.ImageSorter/Mk0.Software.ImageSorter.csproj +++ b/Mk0.Software.ImageSorter/Mk0.Software.ImageSorter.csproj @@ -33,7 +33,7 @@ manuelkamper.com false 0 - 1.41.0.0 + 1.42.0.0 true true true diff --git a/Mk0.Software.ImageSorter/Properties/AssemblyInfo.cs b/Mk0.Software.ImageSorter/Properties/AssemblyInfo.cs index 1aa05c2..09d4cf4 100644 --- a/Mk0.Software.ImageSorter/Properties/AssemblyInfo.cs +++ b/Mk0.Software.ImageSorter/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern // übernehmen, indem Sie "*" eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.41.*")] +[assembly: AssemblyVersion("1.42.*")] //[assembly: AssemblyFileVersion("1.6.0.0")]