bringtofront

This commit is contained in:
Manuel Kamper 2019-10-26 14:48:15 +02:00
parent b79a9000dc
commit c6cfc5010c
4 changed files with 8 additions and 3 deletions

View File

@ -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);

View File

@ -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();
}
}
}

View File

@ -33,7 +33,7 @@
<PublisherName>manuelkamper.com</PublisherName>
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.41.0.0</ApplicationVersion>
<ApplicationVersion>1.42.0.0</ApplicationVersion>
<UseApplicationTrust>true</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
<ExcludeDeploymentUrl>true</ExcludeDeploymentUrl>

View File

@ -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")]