diff --git a/Mk0.Software.ImageSorter/App.config b/Mk0.Software.ImageSorter/App.config
index b993ce7..36c5073 100644
--- a/Mk0.Software.ImageSorter/App.config
+++ b/Mk0.Software.ImageSorter/App.config
@@ -55,6 +55,9 @@
Black
+
+ False
+
diff --git a/Mk0.Software.ImageSorter/Main.Designer.cs b/Mk0.Software.ImageSorter/Main.Designer.cs
index 430bc14..a8256cc 100644
--- a/Mk0.Software.ImageSorter/Main.Designer.cs
+++ b/Mk0.Software.ImageSorter/Main.Designer.cs
@@ -871,7 +871,7 @@
this.KeyPreview = true;
this.MinimumSize = new System.Drawing.Size(983, 605);
this.Name = "Main";
- this.Text = "Image Sorter v2.4 | © 2015-2023 by kmpr.at";
+ this.Text = "Image Sorter v2.5 | © 2015-2023 by kmpr.at";
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 cd9f510..784cf6e 100644
--- a/Mk0.Software.ImageSorter/Main.cs
+++ b/Mk0.Software.ImageSorter/Main.cs
@@ -199,6 +199,12 @@ namespace Mk0.Software.ImageSorter
ResetUndo();
panelImageBackground.BackColor = Properties.Settings.Default.lightBackgroundColour;
pictureBoxImage.BackColor = Properties.Settings.Default.lightBackgroundColour;
+ if (Properties.Settings.Default.preview)
+ {
+ panelImageBackground.Height -= 100;
+ ShowPreviewImages();
+ panelPreview.Visible = true;
+ }
//Christmas Easteregg
if (DateTime.Now.Month == 12 && DateTime.Now.Day >= 24 && DateTime.Now.Day <= 27)
{
@@ -1388,6 +1394,7 @@ namespace Mk0.Software.ImageSorter
Properties.Settings.Default.lastLeft = Left;
Properties.Settings.Default.showInfo = groupBoxInformationen.Visible;
Properties.Settings.Default.fullScreen = WindowState == FormWindowState.Maximized;
+ Properties.Settings.Default.preview = panelPreview.Visible;
Properties.Settings.Default.Save();
}
@@ -1987,13 +1994,10 @@ namespace Mk0.Software.ImageSorter
panelImageBackground.Height += 100;
panelPreview.Visible = false;
}
-
else
{
panelImageBackground.Height -= 100;
-
ShowPreviewImages();
-
panelPreview.Visible = true;
}
}
diff --git a/Mk0.Software.ImageSorter/Mk0.Software.ImageSorter.csproj b/Mk0.Software.ImageSorter/Mk0.Software.ImageSorter.csproj
index cc0cd3d..4143573 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
- 2.4.0.0
+ 2.5.0.0
true
true
true
diff --git a/Mk0.Software.ImageSorter/Properties/AssemblyInfo.cs b/Mk0.Software.ImageSorter/Properties/AssemblyInfo.cs
index 6fb7a0b..01a9485 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("2.4.*")]
+[assembly: AssemblyVersion("2.5.*")]
//[assembly: AssemblyFileVersion("1.6.0.0")]
diff --git a/Mk0.Software.ImageSorter/Properties/Settings.Designer.cs b/Mk0.Software.ImageSorter/Properties/Settings.Designer.cs
index a4e7972..2c55e1c 100644
--- a/Mk0.Software.ImageSorter/Properties/Settings.Designer.cs
+++ b/Mk0.Software.ImageSorter/Properties/Settings.Designer.cs
@@ -12,7 +12,7 @@ namespace Mk0.Software.ImageSorter.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.6.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -202,5 +202,17 @@ namespace Mk0.Software.ImageSorter.Properties {
this["darkBackgroundColour"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]
+ public bool preview {
+ get {
+ return ((bool)(this["preview"]));
+ }
+ set {
+ this["preview"] = value;
+ }
+ }
}
}
diff --git a/Mk0.Software.ImageSorter/Properties/Settings.settings b/Mk0.Software.ImageSorter/Properties/Settings.settings
index f625f03..7850f64 100644
--- a/Mk0.Software.ImageSorter/Properties/Settings.settings
+++ b/Mk0.Software.ImageSorter/Properties/Settings.settings
@@ -47,5 +47,8 @@
Black
+
+ False
+
\ No newline at end of file