fixed #7
This commit is contained in:
parent
94f551e039
commit
9c8e252cba
|
@ -55,6 +55,9 @@
|
|||
<setting name="darkBackgroundColour" serializeAs="String">
|
||||
<value>Black</value>
|
||||
</setting>
|
||||
<setting name="preview" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
</Mk0.Software.ImageSorter.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<PublisherName>manuelkamper.com</PublisherName>
|
||||
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>2.4.0.0</ApplicationVersion>
|
||||
<ApplicationVersion>2.5.0.0</ApplicationVersion>
|
||||
<UseApplicationTrust>true</UseApplicationTrust>
|
||||
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||
<ExcludeDeploymentUrl>true</ExcludeDeploymentUrl>
|
||||
|
|
|
@ -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")]
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,5 +47,8 @@
|
|||
<Setting Name="darkBackgroundColour" Type="System.Drawing.Color" Scope="User">
|
||||
<Value Profile="(Default)">Black</Value>
|
||||
</Setting>
|
||||
<Setting Name="preview" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
Loading…
Reference in New Issue