Zoom-Einstellung von Buttons auf Combobox geändert und Optionen geändert
This commit is contained in:
parent
e1ed357709
commit
9fe36ea0c7
|
@ -37,27 +37,33 @@
|
||||||
</setting>
|
</setting>
|
||||||
</Image_Sorter.Properties.Settings>
|
</Image_Sorter.Properties.Settings>
|
||||||
<Mk0.Software.ImageSorter.Properties.Settings>
|
<Mk0.Software.ImageSorter.Properties.Settings>
|
||||||
<setting name="targetPath" serializeAs="String">
|
<setting name="targetPath" serializeAs="String">
|
||||||
<value />
|
<value />
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="lastPath" serializeAs="String">
|
<setting name="lastPath" serializeAs="String">
|
||||||
<value />
|
<value />
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="singleInstance" serializeAs="String">
|
<setting name="singleInstance" serializeAs="String">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="lastWidth" serializeAs="String">
|
<setting name="lastWidth" serializeAs="String">
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="lastHeight" serializeAs="String">
|
<setting name="lastHeight" serializeAs="String">
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="lastTop" serializeAs="String">
|
<setting name="lastTop" serializeAs="String">
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="lastLeft" serializeAs="String">
|
<setting name="lastLeft" serializeAs="String">
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
</setting>
|
</setting>
|
||||||
</Mk0.Software.ImageSorter.Properties.Settings>
|
<setting name="fileAssociation" serializeAs="String">
|
||||||
|
<value>False</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="zoom" serializeAs="String">
|
||||||
|
<value>0</value>
|
||||||
|
</setting>
|
||||||
|
</Mk0.Software.ImageSorter.Properties.Settings>
|
||||||
</userSettings>
|
</userSettings>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
@ -53,8 +53,6 @@
|
||||||
this.buttonRotate270 = new System.Windows.Forms.Button();
|
this.buttonRotate270 = new System.Windows.Forms.Button();
|
||||||
this.buttonMirrorHorizontal = new System.Windows.Forms.Button();
|
this.buttonMirrorHorizontal = new System.Windows.Forms.Button();
|
||||||
this.buttonMirrorVertikal = new System.Windows.Forms.Button();
|
this.buttonMirrorVertikal = new System.Windows.Forms.Button();
|
||||||
this.buttonZoom100 = new System.Windows.Forms.Button();
|
|
||||||
this.buttonZoomAuto = new System.Windows.Forms.Button();
|
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
this.labelNoImages = new System.Windows.Forms.Label();
|
this.labelNoImages = new System.Windows.Forms.Label();
|
||||||
this.labelZoom = new System.Windows.Forms.Label();
|
this.labelZoom = new System.Windows.Forms.Label();
|
||||||
|
@ -64,6 +62,8 @@
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
|
this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
|
||||||
|
this.comboBoxZoom = new System.Windows.Forms.ComboBox();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
|
||||||
this.contextMenuStrip.SuspendLayout();
|
this.contextMenuStrip.SuspendLayout();
|
||||||
this.groupBox1.SuspendLayout();
|
this.groupBox1.SuspendLayout();
|
||||||
|
@ -333,30 +333,6 @@
|
||||||
this.buttonMirrorVertikal.UseVisualStyleBackColor = true;
|
this.buttonMirrorVertikal.UseVisualStyleBackColor = true;
|
||||||
this.buttonMirrorVertikal.Click += new System.EventHandler(this.ImageMirror);
|
this.buttonMirrorVertikal.Click += new System.EventHandler(this.ImageMirror);
|
||||||
//
|
//
|
||||||
// buttonZoom100
|
|
||||||
//
|
|
||||||
this.buttonZoom100.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.buttonZoom100.Location = new System.Drawing.Point(712, 538);
|
|
||||||
this.buttonZoom100.Name = "buttonZoom100";
|
|
||||||
this.buttonZoom100.Size = new System.Drawing.Size(100, 23);
|
|
||||||
this.buttonZoom100.TabIndex = 11;
|
|
||||||
this.buttonZoom100.Tag = "100";
|
|
||||||
this.buttonZoom100.Text = "Zoom 100%";
|
|
||||||
this.buttonZoom100.UseVisualStyleBackColor = true;
|
|
||||||
this.buttonZoom100.Click += new System.EventHandler(this.Zoom);
|
|
||||||
//
|
|
||||||
// buttonZoomAuto
|
|
||||||
//
|
|
||||||
this.buttonZoomAuto.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.buttonZoomAuto.Location = new System.Drawing.Point(818, 538);
|
|
||||||
this.buttonZoomAuto.Name = "buttonZoomAuto";
|
|
||||||
this.buttonZoomAuto.Size = new System.Drawing.Size(100, 23);
|
|
||||||
this.buttonZoomAuto.TabIndex = 12;
|
|
||||||
this.buttonZoomAuto.Tag = "auto";
|
|
||||||
this.buttonZoomAuto.Text = "Zoom Auto";
|
|
||||||
this.buttonZoomAuto.UseVisualStyleBackColor = true;
|
|
||||||
this.buttonZoomAuto.Click += new System.EventHandler(this.Zoom);
|
|
||||||
//
|
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
|
@ -449,16 +425,41 @@
|
||||||
this.pictureBox1.TabIndex = 0;
|
this.pictureBox1.TabIndex = 0;
|
||||||
this.pictureBox1.TabStop = false;
|
this.pictureBox1.TabStop = false;
|
||||||
//
|
//
|
||||||
|
// comboBoxZoom
|
||||||
|
//
|
||||||
|
this.comboBoxZoom.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.comboBoxZoom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
|
this.comboBoxZoom.FormattingEnabled = true;
|
||||||
|
this.comboBoxZoom.Items.AddRange(new object[] {
|
||||||
|
"Auto",
|
||||||
|
"Vollbild",
|
||||||
|
"Original"});
|
||||||
|
this.comboBoxZoom.Location = new System.Drawing.Point(799, 538);
|
||||||
|
this.comboBoxZoom.Name = "comboBoxZoom";
|
||||||
|
this.comboBoxZoom.Size = new System.Drawing.Size(121, 21);
|
||||||
|
this.comboBoxZoom.TabIndex = 14;
|
||||||
|
this.comboBoxZoom.SelectedIndexChanged += new System.EventHandler(this.ComboBoxZoom_SelectedIndexChanged);
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Location = new System.Drawing.Point(759, 543);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(34, 13);
|
||||||
|
this.label3.TabIndex = 15;
|
||||||
|
this.label3.Text = "Zoom";
|
||||||
|
//
|
||||||
// Main
|
// Main
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||||
this.ClientSize = new System.Drawing.Size(967, 566);
|
this.ClientSize = new System.Drawing.Size(967, 566);
|
||||||
|
this.Controls.Add(this.label3);
|
||||||
|
this.Controls.Add(this.comboBoxZoom);
|
||||||
this.Controls.Add(this.panel3);
|
this.Controls.Add(this.panel3);
|
||||||
this.Controls.Add(this.labelZoom);
|
this.Controls.Add(this.labelZoom);
|
||||||
this.Controls.Add(this.panel1);
|
this.Controls.Add(this.panel1);
|
||||||
this.Controls.Add(this.buttonZoomAuto);
|
|
||||||
this.Controls.Add(this.buttonZoom100);
|
|
||||||
this.Controls.Add(this.buttonMirrorVertikal);
|
this.Controls.Add(this.buttonMirrorVertikal);
|
||||||
this.Controls.Add(this.buttonMirrorHorizontal);
|
this.Controls.Add(this.buttonMirrorHorizontal);
|
||||||
this.Controls.Add(this.buttonRotate270);
|
this.Controls.Add(this.buttonRotate270);
|
||||||
|
@ -472,7 +473,7 @@
|
||||||
this.MinimumSize = new System.Drawing.Size(983, 605);
|
this.MinimumSize = new System.Drawing.Size(983, 605);
|
||||||
this.Name = "Main";
|
this.Name = "Main";
|
||||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
this.Text = "Image Sorter v1.28 | © 2015-2019 by manuelkamper.com";
|
this.Text = "Image Sorter v1.29 | © 2015-2019 by manuelkamper.com";
|
||||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Main_FormClosing);
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Main_FormClosing);
|
||||||
this.Load += new System.EventHandler(this.Main_Load);
|
this.Load += new System.EventHandler(this.Main_Load);
|
||||||
this.Shown += new System.EventHandler(this.Main_Shown);
|
this.Shown += new System.EventHandler(this.Main_Shown);
|
||||||
|
@ -513,8 +514,6 @@
|
||||||
private System.Windows.Forms.Button buttonRotate270;
|
private System.Windows.Forms.Button buttonRotate270;
|
||||||
private System.Windows.Forms.Button buttonMirrorHorizontal;
|
private System.Windows.Forms.Button buttonMirrorHorizontal;
|
||||||
private System.Windows.Forms.Button buttonMirrorVertikal;
|
private System.Windows.Forms.Button buttonMirrorVertikal;
|
||||||
private System.Windows.Forms.Button buttonZoom100;
|
|
||||||
private System.Windows.Forms.Button buttonZoomAuto;
|
|
||||||
private System.Windows.Forms.Panel panel1;
|
private System.Windows.Forms.Panel panel1;
|
||||||
private System.Windows.Forms.Label labelZoom;
|
private System.Windows.Forms.Label labelZoom;
|
||||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
|
||||||
|
@ -532,6 +531,8 @@
|
||||||
private System.Windows.Forms.Button buttonQuellPfad;
|
private System.Windows.Forms.Button buttonQuellPfad;
|
||||||
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog;
|
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog;
|
||||||
private System.Windows.Forms.Label labelZielPath;
|
private System.Windows.Forms.Label labelZielPath;
|
||||||
|
private System.Windows.Forms.ComboBox comboBoxZoom;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ namespace Mk0.Software.ImageSorter
|
||||||
private Thread folderThread;
|
private Thread folderThread;
|
||||||
private bool threadIsRunning = false;
|
private bool threadIsRunning = false;
|
||||||
private Banner banner;
|
private Banner banner;
|
||||||
private string zoomType = "auto";
|
//private string zoomType = "auto";
|
||||||
private string startuppath;
|
private string startuppath;
|
||||||
private string startupimage;
|
private string startupimage;
|
||||||
public string[] Args;
|
public string[] Args;
|
||||||
|
@ -49,6 +49,7 @@ namespace Mk0.Software.ImageSorter
|
||||||
pictureBox.Cursor = grabCursor;
|
pictureBox.Cursor = grabCursor;
|
||||||
DoubleBuffered = true;
|
DoubleBuffered = true;
|
||||||
SetDefaultPath();
|
SetDefaultPath();
|
||||||
|
comboBoxZoom.SelectedIndex = Properties.Settings.Default.zoom;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Main_Load(object sender, EventArgs e)
|
private void Main_Load(object sender, EventArgs e)
|
||||||
|
@ -401,8 +402,7 @@ namespace Mk0.Software.ImageSorter
|
||||||
buttonRotate180.Enabled = enabled;
|
buttonRotate180.Enabled = enabled;
|
||||||
buttonRotate270.Enabled = enabled;
|
buttonRotate270.Enabled = enabled;
|
||||||
buttonRotate90.Enabled = enabled;
|
buttonRotate90.Enabled = enabled;
|
||||||
buttonZoom100.Enabled = enabled;
|
comboBoxZoom.Enabled = enabled;
|
||||||
buttonZoomAuto.Enabled = enabled;
|
|
||||||
buttonJumpOver.Enabled = enabled;
|
buttonJumpOver.Enabled = enabled;
|
||||||
labelNoImages.Visible = !enabled;
|
labelNoImages.Visible = !enabled;
|
||||||
}
|
}
|
||||||
|
@ -672,37 +672,48 @@ namespace Mk0.Software.ImageSorter
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Zoom-Optionen für Buttons
|
/// Zoom-Optionen
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="sender"></param>
|
/// <param name="sender"></param>
|
||||||
/// <param name="e"></param>
|
/// <param name="e"></param>
|
||||||
private void Zoom(object sender, EventArgs e)
|
private void Zoom()
|
||||||
{
|
{
|
||||||
Button btn = (Button)sender;
|
string zoom = comboBoxZoom.SelectedItem.ToString();
|
||||||
string zoom = btn.Tag.ToString();
|
|
||||||
|
|
||||||
if (zoom == "100")
|
if (zoom == "Original")
|
||||||
{
|
{
|
||||||
zoomType = "100";
|
|
||||||
buttonZoom100.Font = new Font(buttonZoom100.Font, FontStyle.Bold);
|
|
||||||
buttonZoomAuto.Font = new Font(buttonZoomAuto.Font, FontStyle.Regular);
|
|
||||||
pictureBox.SizeMode = PictureBoxSizeMode.Zoom;
|
pictureBox.SizeMode = PictureBoxSizeMode.Zoom;
|
||||||
pictureBox.Size = new Size(pictureBox.Image.Width, pictureBox.Image.Height);
|
pictureBox.Size = new Size(pictureBox.Image.Width, pictureBox.Image.Height);
|
||||||
if (pictureBox.Image.Width > panel1.Width) { pictureBox.Left = (panel1.Width / 2) - (pictureBox.Width / 2); } else { pictureBox.Left = (panel1.Width / 2) - (pictureBox.Image.Width / 2); }
|
if (pictureBox.Image.Width > panel1.Width) { pictureBox.Left = (panel1.Width / 2) - (pictureBox.Width / 2); } else { pictureBox.Left = (panel1.Width / 2) - (pictureBox.Image.Width / 2); }
|
||||||
if (pictureBox.Image.Height > panel1.Height) { pictureBox.Top = (panel1.Height / 2) - (pictureBox.Height / 2); } else { pictureBox.Top = (panel1.Height / 2) - (pictureBox.Image.Height / 2); }
|
if (pictureBox.Image.Height > panel1.Height) { pictureBox.Top = (panel1.Height / 2) - (pictureBox.Height / 2); } else { pictureBox.Top = (panel1.Height / 2) - (pictureBox.Image.Height / 2); }
|
||||||
moveable = true;
|
moveable = true;
|
||||||
}
|
}
|
||||||
else if (zoom == "auto")
|
else if (zoom == "Vollbild")
|
||||||
{
|
{
|
||||||
zoomType = "auto";
|
|
||||||
buttonZoom100.Font = new Font(buttonZoom100.Font, FontStyle.Regular);
|
|
||||||
buttonZoomAuto.Font = new Font(buttonZoomAuto.Font, FontStyle.Bold);
|
|
||||||
pictureBox.SizeMode = PictureBoxSizeMode.Zoom;
|
pictureBox.SizeMode = PictureBoxSizeMode.Zoom;
|
||||||
pictureBox.Size = new Size(panel1.Width, panel1.Height);
|
pictureBox.Size = new Size(panel1.Width, panel1.Height);
|
||||||
pictureBox.Top = 0;
|
pictureBox.Top = 0;
|
||||||
pictureBox.Left = 0;
|
pictureBox.Left = 0;
|
||||||
moveable = false;
|
moveable = false;
|
||||||
}
|
}
|
||||||
|
else if (zoom == "Auto")
|
||||||
|
{
|
||||||
|
pictureBox.SizeMode = PictureBoxSizeMode.Zoom;
|
||||||
|
if(pictureBox.Image.Width>panel1.Width || pictureBox.Image.Height>panel1.Height)
|
||||||
|
{
|
||||||
|
pictureBox.Size = new Size(panel1.Width, panel1.Height);
|
||||||
|
pictureBox.Top = 0;
|
||||||
|
pictureBox.Left = 0;
|
||||||
|
moveable = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
pictureBox.Size = new Size(pictureBox.Image.Width, pictureBox.Image.Height);
|
||||||
|
if (pictureBox.Image.Width > panel1.Width) { pictureBox.Left = (panel1.Width / 2) - (pictureBox.Width / 2); } else { pictureBox.Left = (panel1.Width / 2) - (pictureBox.Image.Width / 2); }
|
||||||
|
if (pictureBox.Image.Height > panel1.Height) { pictureBox.Top = (panel1.Height / 2) - (pictureBox.Height / 2); } else { pictureBox.Top = (panel1.Height / 2) - (pictureBox.Image.Height / 2); }
|
||||||
|
moveable = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
@ -855,11 +866,7 @@ namespace Mk0.Software.ImageSorter
|
||||||
/// <param name="e"></param>
|
/// <param name="e"></param>
|
||||||
private void PictureBox_LoadCompleted(object sender, AsyncCompletedEventArgs e)
|
private void PictureBox_LoadCompleted(object sender, AsyncCompletedEventArgs e)
|
||||||
{
|
{
|
||||||
Button b = new Button
|
Zoom();
|
||||||
{
|
|
||||||
Tag = zoomType
|
|
||||||
};
|
|
||||||
Zoom(b, null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -1047,11 +1054,7 @@ namespace Mk0.Software.ImageSorter
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Button b = new Button
|
Zoom();
|
||||||
{
|
|
||||||
Tag = zoomType
|
|
||||||
};
|
|
||||||
Zoom(b, null);
|
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
|
@ -1140,5 +1143,21 @@ namespace Mk0.Software.ImageSorter
|
||||||
LoadPicture(0);
|
LoadPicture(0);
|
||||||
ResetUndo();
|
ResetUndo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Zoom-Combobox geändert
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
private void ComboBoxZoom_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Properties.Settings.Default.zoom = comboBoxZoom.SelectedIndex;
|
||||||
|
Properties.Settings.Default.Save();
|
||||||
|
|
||||||
|
if(pictureBox.Image != null)
|
||||||
|
{
|
||||||
|
Zoom();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||||
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
||||||
// übernehmen, indem Sie "*" eingeben:
|
// übernehmen, indem Sie "*" eingeben:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.28.*")]
|
[assembly: AssemblyVersion("1.29.*")]
|
||||||
//[assembly: AssemblyFileVersion("1.6.0.0")]
|
//[assembly: AssemblyFileVersion("1.6.0.0")]
|
||||||
|
|
|
@ -12,7 +12,7 @@ namespace Mk0.Software.ImageSorter.Properties {
|
||||||
|
|
||||||
|
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.8.0.0")]
|
||||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||||
|
|
||||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
@ -118,5 +118,17 @@ namespace Mk0.Software.ImageSorter.Properties {
|
||||||
this["fileAssociation"] = value;
|
this["fileAssociation"] = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
||||||
|
public int zoom {
|
||||||
|
get {
|
||||||
|
return ((int)(this["zoom"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["zoom"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="Image_Sorter.Properties" GeneratedClassName="Settings">
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="Mk0.Software.ImageSorter.Properties" GeneratedClassName="Settings">
|
||||||
<Profiles />
|
<Profiles />
|
||||||
<Settings>
|
<Settings>
|
||||||
<Setting Name="targetPath" Type="System.String" Scope="User">
|
<Setting Name="targetPath" Type="System.String" Scope="User">
|
||||||
|
@ -26,5 +26,8 @@
|
||||||
<Setting Name="fileAssociation" Type="System.Boolean" Scope="User">
|
<Setting Name="fileAssociation" Type="System.Boolean" Scope="User">
|
||||||
<Value Profile="(Default)">False</Value>
|
<Value Profile="(Default)">False</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
|
<Setting Name="zoom" Type="System.Int32" Scope="User">
|
||||||
|
<Value Profile="(Default)">0</Value>
|
||||||
|
</Setting>
|
||||||
</Settings>
|
</Settings>
|
||||||
</SettingsFile>
|
</SettingsFile>
|
Loading…
Reference in New Issue