Initial
|
@ -0,0 +1,22 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 15
|
||||||
|
VisualStudioVersion = 15.0.28307.438
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mk0.Software.ImageSorter", "Mk0.Software.ImageSorter\Mk0.Software.ImageSorter.csproj", "{1CCA2FD2-7F83-4CE6-8228-5267038D41A5}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{1CCA2FD2-7F83-4CE6-8228-5267038D41A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{1CCA2FD2-7F83-4CE6-8228-5267038D41A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{1CCA2FD2-7F83-4CE6-8228-5267038D41A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{1CCA2FD2-7F83-4CE6-8228-5267038D41A5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
|
@ -0,0 +1,36 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<configSections>
|
||||||
|
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
|
||||||
|
<section name="Mk0.Software.ImageSorter.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||||
|
</sectionGroup>
|
||||||
|
</configSections>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
|
||||||
|
</startup>
|
||||||
|
<userSettings>
|
||||||
|
<Mk0.Software.ImageSorter.Properties.Settings>
|
||||||
|
<setting name="targetPath" serializeAs="String">
|
||||||
|
<value />
|
||||||
|
</setting>
|
||||||
|
<setting name="lastPath" serializeAs="String">
|
||||||
|
<value />
|
||||||
|
</setting>
|
||||||
|
<setting name="singleInstance" serializeAs="String">
|
||||||
|
<value>True</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="lastWidth" serializeAs="String">
|
||||||
|
<value>0</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="lastHeight" serializeAs="String">
|
||||||
|
<value>0</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="lastTop" serializeAs="String">
|
||||||
|
<value>0</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="lastLeft" serializeAs="String">
|
||||||
|
<value>0</value>
|
||||||
|
</setting>
|
||||||
|
</Mk0.Software.ImageSorter.Properties.Settings>
|
||||||
|
</userSettings>
|
||||||
|
</configuration>
|
|
@ -0,0 +1,86 @@
|
||||||
|
namespace Mk0.Software.ImageSorter
|
||||||
|
{
|
||||||
|
partial class Cropper
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.rubberBand1 = new RickApps.CropImage.RubberBand();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// rubberBand1
|
||||||
|
//
|
||||||
|
this.rubberBand1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.rubberBand1.Disabled = false;
|
||||||
|
this.rubberBand1.Image = null;
|
||||||
|
this.rubberBand1.Location = new System.Drawing.Point(12, 25);
|
||||||
|
this.rubberBand1.Name = "rubberBand1";
|
||||||
|
this.rubberBand1.Size = new System.Drawing.Size(776, 527);
|
||||||
|
this.rubberBand1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||||
|
this.rubberBand1.TabIndex = 0;
|
||||||
|
this.rubberBand1.ImageCropped += new System.EventHandler(this.RubberBand1_ImageCropped);
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(776, 13);
|
||||||
|
this.label1.TabIndex = 1;
|
||||||
|
this.label1.Text = "Mit der Maus einen Rahmen ziehen. Dieser ist veränderbar. Doppelklick im Rahmen s" +
|
||||||
|
"peichert den Zuschnitt. Klick außerhalb bricht den Zuschneide-Vorgang ab.";
|
||||||
|
this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||||
|
//
|
||||||
|
// Cropper
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(800, 564);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.rubberBand1);
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.MinimizeBox = false;
|
||||||
|
this.MinimumSize = new System.Drawing.Size(816, 603);
|
||||||
|
this.Name = "Cropper";
|
||||||
|
this.ShowIcon = false;
|
||||||
|
this.ShowInTaskbar = false;
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||||
|
this.Text = "Bild zuschneiden";
|
||||||
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Cropper_FormClosing);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private RickApps.CropImage.RubberBand rubberBand1;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,55 @@
|
||||||
|
using System;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Drawing.Imaging;
|
||||||
|
using System.IO;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Mk0.Software.ImageSorter
|
||||||
|
{
|
||||||
|
public partial class Cropper : Form
|
||||||
|
{
|
||||||
|
private string imageLocation;
|
||||||
|
internal string NewFileLocation;
|
||||||
|
|
||||||
|
private Image img, cropped;
|
||||||
|
|
||||||
|
public Cropper(string imageLocation)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
this.imageLocation = imageLocation;
|
||||||
|
img = Image.FromFile(imageLocation);
|
||||||
|
rubberBand1.Image = img;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void RubberBand1_ImageCropped(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string folder = Path.GetDirectoryName(imageLocation);
|
||||||
|
string file = Path.GetFileNameWithoutExtension(imageLocation) + "_crp";
|
||||||
|
string ext = Path.GetExtension(imageLocation);
|
||||||
|
NewFileLocation = Path.Combine(folder, file + ext);
|
||||||
|
|
||||||
|
cropped = rubberBand1.SelectedImage;
|
||||||
|
|
||||||
|
if (ext == ".png")
|
||||||
|
{
|
||||||
|
cropped.Save(NewFileLocation, ImageFormat.Png);
|
||||||
|
}
|
||||||
|
else if (ext == ".gif")
|
||||||
|
{
|
||||||
|
cropped.Save(NewFileLocation, ImageFormat.Gif);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
cropped.Save(NewFileLocation, ImageFormat.Jpeg);
|
||||||
|
}
|
||||||
|
|
||||||
|
DialogResult = DialogResult.OK;
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Cropper_FormClosing(object sender, FormClosingEventArgs e)
|
||||||
|
{
|
||||||
|
img.Dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,120 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
After Width: | Height: | Size: 326 B |
After Width: | Height: | Size: 326 B |
|
@ -0,0 +1,536 @@
|
||||||
|
namespace Mk0.Software.ImageSorter
|
||||||
|
{
|
||||||
|
partial class Main
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Erforderliche Designervariable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Verwendete Ressourcen bereinigen.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Vom Windows Form-Designer generierter Code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Erforderliche Methode für die Designerunterstützung.
|
||||||
|
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.components = new System.ComponentModel.Container();
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
|
||||||
|
this.pictureBox = new System.Windows.Forms.PictureBox();
|
||||||
|
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||||
|
this.toolStripMenuItemCropImage = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.toolStripMenuItemEditImage = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.toolStripMenuItemOpenExplorer = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.toolStripMenuItemImageDetails = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.buttonPfad = new System.Windows.Forms.Button();
|
||||||
|
this.labelQuellPath = new System.Windows.Forms.Label();
|
||||||
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||||
|
this.buttonQuellPfad = new System.Windows.Forms.Button();
|
||||||
|
this.labelCounter = new System.Windows.Forms.Label();
|
||||||
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||||
|
this.labelZielPath = new System.Windows.Forms.Label();
|
||||||
|
this.panel2 = new System.Windows.Forms.Panel();
|
||||||
|
this.labelNoTargets = new System.Windows.Forms.Label();
|
||||||
|
this.buttonJumpOver = new System.Windows.Forms.Button();
|
||||||
|
this.buttonUndo = new System.Windows.Forms.Button();
|
||||||
|
this.buttonDeleteImage = new System.Windows.Forms.Button();
|
||||||
|
this.buttonRotate90 = new System.Windows.Forms.Button();
|
||||||
|
this.buttonRotate180 = new System.Windows.Forms.Button();
|
||||||
|
this.buttonRotate270 = new System.Windows.Forms.Button();
|
||||||
|
this.buttonMirrorHorizontal = 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.labelNoImages = new System.Windows.Forms.Label();
|
||||||
|
this.labelZoom = new System.Windows.Forms.Label();
|
||||||
|
this.panel3 = new System.Windows.Forms.Panel();
|
||||||
|
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
|
||||||
|
this.contextMenuStrip.SuspendLayout();
|
||||||
|
this.groupBox1.SuspendLayout();
|
||||||
|
this.groupBox2.SuspendLayout();
|
||||||
|
this.panel2.SuspendLayout();
|
||||||
|
this.panel1.SuspendLayout();
|
||||||
|
this.panel3.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// pictureBox
|
||||||
|
//
|
||||||
|
this.pictureBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.pictureBox.BackColor = System.Drawing.SystemColors.Control;
|
||||||
|
this.pictureBox.ContextMenuStrip = this.contextMenuStrip;
|
||||||
|
this.pictureBox.ImageLocation = "";
|
||||||
|
this.pictureBox.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.pictureBox.Name = "pictureBox";
|
||||||
|
this.pictureBox.Size = new System.Drawing.Size(682, 526);
|
||||||
|
this.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||||
|
this.pictureBox.TabIndex = 0;
|
||||||
|
this.pictureBox.TabStop = false;
|
||||||
|
this.pictureBox.LoadCompleted += new System.ComponentModel.AsyncCompletedEventHandler(this.PictureBox_LoadCompleted);
|
||||||
|
this.pictureBox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PictureBox_MouseDown);
|
||||||
|
this.pictureBox.MouseEnter += new System.EventHandler(this.PictureBox_MouseEnter);
|
||||||
|
this.pictureBox.MouseLeave += new System.EventHandler(this.PictureBox_MouseLeave);
|
||||||
|
this.pictureBox.MouseMove += new System.Windows.Forms.MouseEventHandler(this.PictureBox_MouseMove);
|
||||||
|
this.pictureBox.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PictureBox_MouseUp);
|
||||||
|
//
|
||||||
|
// contextMenuStrip
|
||||||
|
//
|
||||||
|
this.contextMenuStrip.ImageScalingSize = new System.Drawing.Size(32, 32);
|
||||||
|
this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.toolStripMenuItemCropImage,
|
||||||
|
this.toolStripMenuItemEditImage,
|
||||||
|
this.toolStripMenuItemOpenExplorer,
|
||||||
|
this.toolStripMenuItemImageDetails});
|
||||||
|
this.contextMenuStrip.Name = "contextMenuStrip";
|
||||||
|
this.contextMenuStrip.Size = new System.Drawing.Size(196, 92);
|
||||||
|
//
|
||||||
|
// toolStripMenuItemCropImage
|
||||||
|
//
|
||||||
|
this.toolStripMenuItemCropImage.Name = "toolStripMenuItemCropImage";
|
||||||
|
this.toolStripMenuItemCropImage.Size = new System.Drawing.Size(195, 22);
|
||||||
|
this.toolStripMenuItemCropImage.Text = "Bild zuschneiden (F2)";
|
||||||
|
this.toolStripMenuItemCropImage.Click += new System.EventHandler(this.BildZuschneidenToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// toolStripMenuItemEditImage
|
||||||
|
//
|
||||||
|
this.toolStripMenuItemEditImage.Name = "toolStripMenuItemEditImage";
|
||||||
|
this.toolStripMenuItemEditImage.Size = new System.Drawing.Size(195, 22);
|
||||||
|
this.toolStripMenuItemEditImage.Text = "Bild bearbeiten (F3)";
|
||||||
|
this.toolStripMenuItemEditImage.Click += new System.EventHandler(this.ToolStripMenuItemEditImage_Click);
|
||||||
|
//
|
||||||
|
// toolStripMenuItemOpenExplorer
|
||||||
|
//
|
||||||
|
this.toolStripMenuItemOpenExplorer.Name = "toolStripMenuItemOpenExplorer";
|
||||||
|
this.toolStripMenuItemOpenExplorer.Size = new System.Drawing.Size(195, 22);
|
||||||
|
this.toolStripMenuItemOpenExplorer.Text = "Speicherort öffnen (F4)";
|
||||||
|
this.toolStripMenuItemOpenExplorer.Click += new System.EventHandler(this.ToolStripMenuItemOpenExplorer_Click);
|
||||||
|
//
|
||||||
|
// toolStripMenuItemImageDetails
|
||||||
|
//
|
||||||
|
this.toolStripMenuItemImageDetails.Name = "toolStripMenuItemImageDetails";
|
||||||
|
this.toolStripMenuItemImageDetails.Size = new System.Drawing.Size(195, 22);
|
||||||
|
this.toolStripMenuItemImageDetails.Text = "Bildeigenschaften (F5)";
|
||||||
|
this.toolStripMenuItemImageDetails.Click += new System.EventHandler(this.ToolStripMenuItemImageDetails_Click);
|
||||||
|
//
|
||||||
|
// buttonPfad
|
||||||
|
//
|
||||||
|
this.buttonPfad.Location = new System.Drawing.Point(6, 18);
|
||||||
|
this.buttonPfad.Name = "buttonPfad";
|
||||||
|
this.buttonPfad.Size = new System.Drawing.Size(88, 22);
|
||||||
|
this.buttonPfad.TabIndex = 1;
|
||||||
|
this.buttonPfad.Text = "Einstellungen";
|
||||||
|
this.buttonPfad.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonPfad.Click += new System.EventHandler(this.ButtonSettings_Click);
|
||||||
|
//
|
||||||
|
// labelQuellPath
|
||||||
|
//
|
||||||
|
this.labelQuellPath.AutoSize = true;
|
||||||
|
this.labelQuellPath.ForeColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.labelQuellPath.Location = new System.Drawing.Point(6, 72);
|
||||||
|
this.labelQuellPath.Name = "labelQuellPath";
|
||||||
|
this.labelQuellPath.Size = new System.Drawing.Size(76, 13);
|
||||||
|
this.labelQuellPath.TabIndex = 2;
|
||||||
|
this.labelQuellPath.Text = "C:/dummypfad";
|
||||||
|
//
|
||||||
|
// groupBox1
|
||||||
|
//
|
||||||
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.groupBox1.Controls.Add(this.buttonQuellPfad);
|
||||||
|
this.groupBox1.Controls.Add(this.labelCounter);
|
||||||
|
this.groupBox1.Controls.Add(this.buttonPfad);
|
||||||
|
this.groupBox1.Controls.Add(this.labelQuellPath);
|
||||||
|
this.groupBox1.Location = new System.Drawing.Point(694, 12);
|
||||||
|
this.groupBox1.Name = "groupBox1";
|
||||||
|
this.groupBox1.Size = new System.Drawing.Size(262, 91);
|
||||||
|
this.groupBox1.TabIndex = 3;
|
||||||
|
this.groupBox1.TabStop = false;
|
||||||
|
this.groupBox1.Text = "Informationen";
|
||||||
|
//
|
||||||
|
// buttonQuellPfad
|
||||||
|
//
|
||||||
|
this.buttonQuellPfad.Location = new System.Drawing.Point(6, 46);
|
||||||
|
this.buttonQuellPfad.Name = "buttonQuellPfad";
|
||||||
|
this.buttonQuellPfad.Size = new System.Drawing.Size(250, 23);
|
||||||
|
this.buttonQuellPfad.TabIndex = 4;
|
||||||
|
this.buttonQuellPfad.Text = "Quellpfad wählen";
|
||||||
|
this.buttonQuellPfad.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonQuellPfad.Click += new System.EventHandler(this.ButtonQuellPfad_Click);
|
||||||
|
//
|
||||||
|
// labelCounter
|
||||||
|
//
|
||||||
|
this.labelCounter.AutoSize = true;
|
||||||
|
this.labelCounter.ForeColor = System.Drawing.Color.Gray;
|
||||||
|
this.labelCounter.Location = new System.Drawing.Point(102, 12);
|
||||||
|
this.labelCounter.Name = "labelCounter";
|
||||||
|
this.labelCounter.Size = new System.Drawing.Size(94, 13);
|
||||||
|
this.labelCounter.TabIndex = 3;
|
||||||
|
this.labelCounter.Text = "keine Bildaktionen";
|
||||||
|
//
|
||||||
|
// groupBox2
|
||||||
|
//
|
||||||
|
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.groupBox2.Controls.Add(this.labelZielPath);
|
||||||
|
this.groupBox2.Controls.Add(this.panel2);
|
||||||
|
this.groupBox2.Controls.Add(this.buttonJumpOver);
|
||||||
|
this.groupBox2.Controls.Add(this.buttonUndo);
|
||||||
|
this.groupBox2.Location = new System.Drawing.Point(694, 109);
|
||||||
|
this.groupBox2.Name = "groupBox2";
|
||||||
|
this.groupBox2.Size = new System.Drawing.Size(262, 423);
|
||||||
|
this.groupBox2.TabIndex = 4;
|
||||||
|
this.groupBox2.TabStop = false;
|
||||||
|
this.groupBox2.Text = "Ziele";
|
||||||
|
//
|
||||||
|
// labelZielPath
|
||||||
|
//
|
||||||
|
this.labelZielPath.AutoSize = true;
|
||||||
|
this.labelZielPath.ForeColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.labelZielPath.Location = new System.Drawing.Point(6, 16);
|
||||||
|
this.labelZielPath.Name = "labelZielPath";
|
||||||
|
this.labelZielPath.Size = new System.Drawing.Size(168, 13);
|
||||||
|
this.labelZielPath.TabIndex = 6;
|
||||||
|
this.labelZielPath.Text = "Zielpfad in Einstellungen wählen...";
|
||||||
|
//
|
||||||
|
// panel2
|
||||||
|
//
|
||||||
|
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Left)));
|
||||||
|
this.panel2.AutoScroll = true;
|
||||||
|
this.panel2.Controls.Add(this.labelNoTargets);
|
||||||
|
this.panel2.Location = new System.Drawing.Point(3, 90);
|
||||||
|
this.panel2.Name = "panel2";
|
||||||
|
this.panel2.Size = new System.Drawing.Size(258, 327);
|
||||||
|
this.panel2.TabIndex = 5;
|
||||||
|
this.panel2.MouseEnter += new System.EventHandler(this.Panel2_MouseEnter);
|
||||||
|
this.panel2.MouseLeave += new System.EventHandler(this.PictureBox_MouseLeave);
|
||||||
|
//
|
||||||
|
// labelNoTargets
|
||||||
|
//
|
||||||
|
this.labelNoTargets.AutoSize = true;
|
||||||
|
this.labelNoTargets.ForeColor = System.Drawing.Color.Maroon;
|
||||||
|
this.labelNoTargets.Location = new System.Drawing.Point(19, 10);
|
||||||
|
this.labelNoTargets.Name = "labelNoTargets";
|
||||||
|
this.labelNoTargets.Size = new System.Drawing.Size(198, 91);
|
||||||
|
this.labelNoTargets.TabIndex = 0;
|
||||||
|
this.labelNoTargets.Text = "Keine Unterordner im Zielpfad gefunden.\r\n\r\nBilder können nur in Unterordner des\r\n" +
|
||||||
|
"Zielpfades verschoben werden.\r\n\r\nWählen Sie einen anderen Zielpfad\r\nin den Einst" +
|
||||||
|
"ellungen.";
|
||||||
|
//
|
||||||
|
// buttonJumpOver
|
||||||
|
//
|
||||||
|
this.buttonJumpOver.Enabled = false;
|
||||||
|
this.buttonJumpOver.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.buttonJumpOver.Location = new System.Drawing.Point(6, 32);
|
||||||
|
this.buttonJumpOver.Name = "buttonJumpOver";
|
||||||
|
this.buttonJumpOver.Size = new System.Drawing.Size(250, 23);
|
||||||
|
this.buttonJumpOver.TabIndex = 1;
|
||||||
|
this.buttonJumpOver.Text = "Weiter-li. Maus / Zurück-re. Maus)";
|
||||||
|
this.buttonJumpOver.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonJumpOver.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ButtonJumpOver_Click);
|
||||||
|
//
|
||||||
|
// buttonUndo
|
||||||
|
//
|
||||||
|
this.buttonUndo.Enabled = false;
|
||||||
|
this.buttonUndo.Location = new System.Drawing.Point(6, 61);
|
||||||
|
this.buttonUndo.Name = "buttonUndo";
|
||||||
|
this.buttonUndo.Size = new System.Drawing.Size(250, 23);
|
||||||
|
this.buttonUndo.TabIndex = 2;
|
||||||
|
this.buttonUndo.Text = "Rückgängig (letzte Bearbeitung)";
|
||||||
|
this.buttonUndo.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonUndo.Click += new System.EventHandler(this.ButtonUndo_Click);
|
||||||
|
//
|
||||||
|
// buttonDeleteImage
|
||||||
|
//
|
||||||
|
this.buttonDeleteImage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
|
this.buttonDeleteImage.Location = new System.Drawing.Point(6, 538);
|
||||||
|
this.buttonDeleteImage.Name = "buttonDeleteImage";
|
||||||
|
this.buttonDeleteImage.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.buttonDeleteImage.TabIndex = 5;
|
||||||
|
this.buttonDeleteImage.Text = "Löschen";
|
||||||
|
this.buttonDeleteImage.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonDeleteImage.Click += new System.EventHandler(this.ImageDelete);
|
||||||
|
//
|
||||||
|
// buttonRotate90
|
||||||
|
//
|
||||||
|
this.buttonRotate90.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
|
this.buttonRotate90.Location = new System.Drawing.Point(121, 538);
|
||||||
|
this.buttonRotate90.Name = "buttonRotate90";
|
||||||
|
this.buttonRotate90.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.buttonRotate90.TabIndex = 6;
|
||||||
|
this.buttonRotate90.Tag = "90";
|
||||||
|
this.buttonRotate90.Text = "Drehen 90°";
|
||||||
|
this.buttonRotate90.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonRotate90.Click += new System.EventHandler(this.ImageRotate);
|
||||||
|
//
|
||||||
|
// buttonRotate180
|
||||||
|
//
|
||||||
|
this.buttonRotate180.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
|
this.buttonRotate180.Location = new System.Drawing.Point(227, 538);
|
||||||
|
this.buttonRotate180.Name = "buttonRotate180";
|
||||||
|
this.buttonRotate180.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.buttonRotate180.TabIndex = 7;
|
||||||
|
this.buttonRotate180.Tag = "180";
|
||||||
|
this.buttonRotate180.Text = "Drehen 180°";
|
||||||
|
this.buttonRotate180.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonRotate180.Click += new System.EventHandler(this.ImageRotate);
|
||||||
|
//
|
||||||
|
// buttonRotate270
|
||||||
|
//
|
||||||
|
this.buttonRotate270.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
|
this.buttonRotate270.Location = new System.Drawing.Point(333, 538);
|
||||||
|
this.buttonRotate270.Name = "buttonRotate270";
|
||||||
|
this.buttonRotate270.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.buttonRotate270.TabIndex = 8;
|
||||||
|
this.buttonRotate270.Tag = "270";
|
||||||
|
this.buttonRotate270.Text = "Drehen 270°";
|
||||||
|
this.buttonRotate270.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonRotate270.Click += new System.EventHandler(this.ImageRotate);
|
||||||
|
//
|
||||||
|
// buttonMirrorHorizontal
|
||||||
|
//
|
||||||
|
this.buttonMirrorHorizontal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
|
this.buttonMirrorHorizontal.Location = new System.Drawing.Point(448, 538);
|
||||||
|
this.buttonMirrorHorizontal.Name = "buttonMirrorHorizontal";
|
||||||
|
this.buttonMirrorHorizontal.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.buttonMirrorHorizontal.TabIndex = 9;
|
||||||
|
this.buttonMirrorHorizontal.Tag = "y";
|
||||||
|
this.buttonMirrorHorizontal.Text = "Spiegeln horiz.";
|
||||||
|
this.buttonMirrorHorizontal.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonMirrorHorizontal.Click += new System.EventHandler(this.ImageMirror);
|
||||||
|
//
|
||||||
|
// buttonMirrorVertikal
|
||||||
|
//
|
||||||
|
this.buttonMirrorVertikal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
|
this.buttonMirrorVertikal.Location = new System.Drawing.Point(554, 538);
|
||||||
|
this.buttonMirrorVertikal.Name = "buttonMirrorVertikal";
|
||||||
|
this.buttonMirrorVertikal.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.buttonMirrorVertikal.TabIndex = 10;
|
||||||
|
this.buttonMirrorVertikal.Tag = "x";
|
||||||
|
this.buttonMirrorVertikal.Text = "Spiegeln vertikal";
|
||||||
|
this.buttonMirrorVertikal.UseVisualStyleBackColor = true;
|
||||||
|
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
|
||||||
|
//
|
||||||
|
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.panel1.BackColor = System.Drawing.SystemColors.Control;
|
||||||
|
this.panel1.Controls.Add(this.labelNoImages);
|
||||||
|
this.panel1.Controls.Add(this.pictureBox);
|
||||||
|
this.panel1.Location = new System.Drawing.Point(6, 6);
|
||||||
|
this.panel1.Name = "panel1";
|
||||||
|
this.panel1.Size = new System.Drawing.Size(682, 526);
|
||||||
|
this.panel1.TabIndex = 3;
|
||||||
|
this.panel1.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.ZoomInOut);
|
||||||
|
//
|
||||||
|
// labelNoImages
|
||||||
|
//
|
||||||
|
this.labelNoImages.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.labelNoImages.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.875F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.labelNoImages.ForeColor = System.Drawing.Color.Maroon;
|
||||||
|
this.labelNoImages.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.labelNoImages.Name = "labelNoImages";
|
||||||
|
this.labelNoImages.Size = new System.Drawing.Size(682, 526);
|
||||||
|
this.labelNoImages.TabIndex = 1;
|
||||||
|
this.labelNoImages.Text = "Keine Bilder im aktuellen Pfad vorhanden.\r\nBitte den Pfad ändern, um Bilder zu so" +
|
||||||
|
"rtieren.\r\nErlaubte Dateiformate sind (JPG, PNG, GIF, BMP, TIF).";
|
||||||
|
this.labelNoImages.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// labelZoom
|
||||||
|
//
|
||||||
|
this.labelZoom.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.labelZoom.AutoSize = true;
|
||||||
|
this.labelZoom.Location = new System.Drawing.Point(924, 543);
|
||||||
|
this.labelZoom.Name = "labelZoom";
|
||||||
|
this.labelZoom.Size = new System.Drawing.Size(18, 13);
|
||||||
|
this.labelZoom.TabIndex = 13;
|
||||||
|
this.labelZoom.Text = "x1";
|
||||||
|
//
|
||||||
|
// panel3
|
||||||
|
//
|
||||||
|
this.panel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.panel3.BackColor = System.Drawing.SystemColors.Highlight;
|
||||||
|
this.panel3.Controls.Add(this.pictureBox2);
|
||||||
|
this.panel3.Controls.Add(this.label2);
|
||||||
|
this.panel3.Controls.Add(this.label1);
|
||||||
|
this.panel3.Controls.Add(this.pictureBox1);
|
||||||
|
this.panel3.Location = new System.Drawing.Point(0, -52);
|
||||||
|
this.panel3.Name = "panel3";
|
||||||
|
this.panel3.Size = new System.Drawing.Size(688, 52);
|
||||||
|
this.panel3.TabIndex = 2;
|
||||||
|
//
|
||||||
|
// pictureBox2
|
||||||
|
//
|
||||||
|
this.pictureBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.pictureBox2.Location = new System.Drawing.Point(634, 3);
|
||||||
|
this.pictureBox2.Name = "pictureBox2";
|
||||||
|
this.pictureBox2.Size = new System.Drawing.Size(51, 47);
|
||||||
|
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||||
|
this.pictureBox2.TabIndex = 3;
|
||||||
|
this.pictureBox2.TabStop = false;
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label2.Location = new System.Drawing.Point(56, 27);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(194, 16);
|
||||||
|
this.label2.TabIndex = 2;
|
||||||
|
this.label2.Text = "\"Pfadangabe\" verschoben.";
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label1.Location = new System.Drawing.Point(57, 7);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(241, 16);
|
||||||
|
this.label1.TabIndex = 1;
|
||||||
|
this.label1.Text = "Bild \"Dateiname\" erfolgreich nach";
|
||||||
|
//
|
||||||
|
// pictureBox1
|
||||||
|
//
|
||||||
|
this.pictureBox1.Location = new System.Drawing.Point(3, 3);
|
||||||
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
|
this.pictureBox1.Size = new System.Drawing.Size(48, 46);
|
||||||
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||||
|
this.pictureBox1.TabIndex = 0;
|
||||||
|
this.pictureBox1.TabStop = false;
|
||||||
|
//
|
||||||
|
// Main
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||||
|
this.ClientSize = new System.Drawing.Size(967, 566);
|
||||||
|
this.Controls.Add(this.panel3);
|
||||||
|
this.Controls.Add(this.labelZoom);
|
||||||
|
this.Controls.Add(this.panel1);
|
||||||
|
this.Controls.Add(this.buttonZoomAuto);
|
||||||
|
this.Controls.Add(this.buttonZoom100);
|
||||||
|
this.Controls.Add(this.buttonMirrorVertikal);
|
||||||
|
this.Controls.Add(this.buttonMirrorHorizontal);
|
||||||
|
this.Controls.Add(this.buttonRotate270);
|
||||||
|
this.Controls.Add(this.buttonRotate180);
|
||||||
|
this.Controls.Add(this.buttonRotate90);
|
||||||
|
this.Controls.Add(this.buttonDeleteImage);
|
||||||
|
this.Controls.Add(this.groupBox2);
|
||||||
|
this.Controls.Add(this.groupBox1);
|
||||||
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
|
this.KeyPreview = true;
|
||||||
|
this.MinimumSize = new System.Drawing.Size(983, 605);
|
||||||
|
this.Name = "Main";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "Image Sorter v1.26 | © 2015-2019 by manuelkamper.com";
|
||||||
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Main_FormClosing);
|
||||||
|
this.Shown += new System.EventHandler(this.Main_Shown);
|
||||||
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Main_KeyDown);
|
||||||
|
this.Resize += new System.EventHandler(this.Main_ResizeEnd);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
|
||||||
|
this.contextMenuStrip.ResumeLayout(false);
|
||||||
|
this.groupBox1.ResumeLayout(false);
|
||||||
|
this.groupBox1.PerformLayout();
|
||||||
|
this.groupBox2.ResumeLayout(false);
|
||||||
|
this.groupBox2.PerformLayout();
|
||||||
|
this.panel2.ResumeLayout(false);
|
||||||
|
this.panel2.PerformLayout();
|
||||||
|
this.panel1.ResumeLayout(false);
|
||||||
|
this.panel3.ResumeLayout(false);
|
||||||
|
this.panel3.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox;
|
||||||
|
private System.Windows.Forms.Button buttonPfad;
|
||||||
|
private System.Windows.Forms.Label labelQuellPath;
|
||||||
|
private System.Windows.Forms.GroupBox groupBox1;
|
||||||
|
private System.Windows.Forms.GroupBox groupBox2;
|
||||||
|
private System.Windows.Forms.Label labelNoTargets;
|
||||||
|
private System.Windows.Forms.Button buttonJumpOver;
|
||||||
|
private System.Windows.Forms.Label labelCounter;
|
||||||
|
private System.Windows.Forms.Button buttonUndo;
|
||||||
|
private System.Windows.Forms.Button buttonDeleteImage;
|
||||||
|
private System.Windows.Forms.Button buttonRotate90;
|
||||||
|
private System.Windows.Forms.Button buttonRotate180;
|
||||||
|
private System.Windows.Forms.Button buttonRotate270;
|
||||||
|
private System.Windows.Forms.Button buttonMirrorHorizontal;
|
||||||
|
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.Label labelZoom;
|
||||||
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemEditImage;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemOpenExplorer;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemImageDetails;
|
||||||
|
private System.Windows.Forms.Panel panel2;
|
||||||
|
private System.Windows.Forms.Label labelNoImages;
|
||||||
|
private System.Windows.Forms.Panel panel3;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox2;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemCropImage;
|
||||||
|
private System.Windows.Forms.Button buttonQuellPfad;
|
||||||
|
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog;
|
||||||
|
private System.Windows.Forms.Label labelZielPath;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,255 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{1CCA2FD2-7F83-4CE6-8228-5267038D41A5}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>Image_Sorter</RootNamespace>
|
||||||
|
<AssemblyName>Image Sorter</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
|
<SccProjectName>Svn</SccProjectName>
|
||||||
|
<SccLocalPath>Svn</SccLocalPath>
|
||||||
|
<SccAuxPath>Svn</SccAuxPath>
|
||||||
|
<SccProvider>SubversionScc</SccProvider>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
<PublishUrl>publish\</PublishUrl>
|
||||||
|
<Install>true</Install>
|
||||||
|
<InstallFrom>Disk</InstallFrom>
|
||||||
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
|
<UpdateInterval>7</UpdateInterval>
|
||||||
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
|
<UpdateRequired>false</UpdateRequired>
|
||||||
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
|
<SupportUrl>https://www.manuelkamper.com</SupportUrl>
|
||||||
|
<ErrorReportUrl>https://www.manuelkamper.com</ErrorReportUrl>
|
||||||
|
<ProductName>Image Sorter</ProductName>
|
||||||
|
<PublisherName>manuelkamper.com</PublisherName>
|
||||||
|
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
|
||||||
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
|
<ApplicationVersion>1.25.0.0</ApplicationVersion>
|
||||||
|
<UseApplicationTrust>true</UseApplicationTrust>
|
||||||
|
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||||
|
<ExcludeDeploymentUrl>true</ExcludeDeploymentUrl>
|
||||||
|
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||||
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationIcon>image.ico</ApplicationIcon>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ManifestCertificateThumbprint>7A972D3A5C0BDCC15CDE5DB29DC790248241BB58</ManifestCertificateThumbprint>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ManifestKeyFile>Image Sorter_TemporaryKey.pfx</ManifestKeyFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<GenerateManifests>true</GenerateManifests>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<SignManifests>false</SignManifests>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="Microsoft.VisualBasic" />
|
||||||
|
<Reference Include="Mk0.GUI.Banner">
|
||||||
|
<HintPath>..\Mk0.GUI.Banner.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Mk0.Tools.Calculation">
|
||||||
|
<HintPath>..\Mk0.Tools.Calculation.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Mk0.Tools.Images">
|
||||||
|
<HintPath>..\Mk0.Tools.Images.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Mk0.Tools.Randomization">
|
||||||
|
<HintPath>..\Mk0.Tools.Randomization.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Mk0.Tools.SingleInstance">
|
||||||
|
<HintPath>..\Mk0.Tools.SingleInstance.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="RubberBandControl">
|
||||||
|
<HintPath>..\RubberBandControl.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Cropper.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Cropper.Designer.cs">
|
||||||
|
<DependentUpon>Cropper.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Main.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Main.Designer.cs">
|
||||||
|
<DependentUpon>Main.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="Settings.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Settings.Designer.cs">
|
||||||
|
<DependentUpon>Settings.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Vergleicher.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Vergleicher.Designer.cs">
|
||||||
|
<DependentUpon>Vergleicher.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<EmbeddedResource Include="Cropper.resx">
|
||||||
|
<DependentUpon>Cropper.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Main.resx">
|
||||||
|
<DependentUpon>Main.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
</Compile>
|
||||||
|
<EmbeddedResource Include="Settings.resx">
|
||||||
|
<DependentUpon>Settings.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Vergleicher.resx">
|
||||||
|
<DependentUpon>Vergleicher.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<None Include="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="Resources\bmp.ico" />
|
||||||
|
<Content Include="Resources\gif.ico" />
|
||||||
|
<Content Include="image.ico" />
|
||||||
|
<Content Include="Cursors\grab.cur" />
|
||||||
|
<Content Include="Cursors\grabbing.cur" />
|
||||||
|
<Content Include="Resources\jpeg.ico" />
|
||||||
|
<Content Include="Resources\jpg.ico" />
|
||||||
|
<Content Include="Resources\png.ico" />
|
||||||
|
<Content Include="Resources\tif.ico" />
|
||||||
|
<Content Include="Resources\tiff.ico" />
|
||||||
|
<None Include="Resources\crop.png" />
|
||||||
|
<None Include="Resources\undo.png" />
|
||||||
|
<None Include="Resources\move.png" />
|
||||||
|
<None Include="Resources\delete.png" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<BootstrapperPackage Include=".NETFramework,Version=v4.5">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<FileAssociation Include=".bmp">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<Description>BMP</Description>
|
||||||
|
<Progid>3</Progid>
|
||||||
|
<DefaultIcon>Resources\bmp.ico</DefaultIcon>
|
||||||
|
</FileAssociation>
|
||||||
|
<FileAssociation Include=".gif">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<Description>GIF</Description>
|
||||||
|
<Progid>1</Progid>
|
||||||
|
<DefaultIcon>Resources\gif.ico</DefaultIcon>
|
||||||
|
</FileAssociation>
|
||||||
|
<FileAssociation Include=".jpeg">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<Description>JPEG</Description>
|
||||||
|
<Progid>5</Progid>
|
||||||
|
<DefaultIcon>Resources\jpeg.ico</DefaultIcon>
|
||||||
|
</FileAssociation>
|
||||||
|
<FileAssociation Include=".jpg">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<Description>JPG</Description>
|
||||||
|
<Progid>2</Progid>
|
||||||
|
<DefaultIcon>Resources\jpg.ico</DefaultIcon>
|
||||||
|
</FileAssociation>
|
||||||
|
<FileAssociation Include=".png">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<Description>PNG</Description>
|
||||||
|
<Progid>4</Progid>
|
||||||
|
<DefaultIcon>Resources\png.ico</DefaultIcon>
|
||||||
|
</FileAssociation>
|
||||||
|
<FileAssociation Include=".tif">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<Description>TIF</Description>
|
||||||
|
<Progid>6</Progid>
|
||||||
|
<DefaultIcon>Resources\tif.ico</DefaultIcon>
|
||||||
|
</FileAssociation>
|
||||||
|
<FileAssociation Include=".tiff">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<Description>TIFF</Description>
|
||||||
|
<Progid>7</Progid>
|
||||||
|
<DefaultIcon>Resources\tiff.ico</DefaultIcon>
|
||||||
|
</FileAssociation>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
<Target Name="BeforeBuild">
|
||||||
|
</Target>
|
||||||
|
<Target Name="AfterBuild">
|
||||||
|
</Target>
|
||||||
|
-->
|
||||||
|
</Project>
|
|
@ -0,0 +1,20 @@
|
||||||
|
using System;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using Mk0.Tools.SingleInstance;
|
||||||
|
|
||||||
|
namespace Mk0.Software.ImageSorter
|
||||||
|
{
|
||||||
|
static class Program
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Der Haupteinstiegspunkt für die Anwendung.
|
||||||
|
/// </summary>
|
||||||
|
[STAThread]
|
||||||
|
static void Main(string[] args)
|
||||||
|
{
|
||||||
|
Application.EnableVisualStyles();
|
||||||
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
|
SingleApplication.Run(args.Length == 0 ? new Main(string.Empty) : new Main(args[0]), Mk0.Software.ImageSorter.Properties.Settings.Default.singleInstance);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,36 @@
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||||
|
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||||
|
// die mit einer Assembly verknüpft sind.
|
||||||
|
[assembly: AssemblyTitle("Image Sorter")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("manuelkamper.com")]
|
||||||
|
[assembly: AssemblyProduct("ImageSorter")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2015-2019 by manuelkamper.com")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar
|
||||||
|
// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von
|
||||||
|
// COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
|
||||||
|
[assembly: Guid("01af902b-e8fb-46da-b1d2-46a4bb364546")]
|
||||||
|
|
||||||
|
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||||
|
//
|
||||||
|
// Hauptversion
|
||||||
|
// Nebenversion
|
||||||
|
// Buildnummer
|
||||||
|
// Revision
|
||||||
|
//
|
||||||
|
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
||||||
|
// übernehmen, indem Sie "*" eingeben:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.26.*")]
|
||||||
|
//[assembly: AssemblyFileVersion("1.6.0.0")]
|
|
@ -0,0 +1,123 @@
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
|
// Laufzeitversion:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
|
// der Code erneut generiert wird.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Mk0.Software.ImageSorter.Properties {
|
||||||
|
using System;
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||||
|
/// </summary>
|
||||||
|
// Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
|
||||||
|
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
|
||||||
|
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
|
||||||
|
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
internal class Resources {
|
||||||
|
|
||||||
|
private static global::System.Resources.ResourceManager resourceMan;
|
||||||
|
|
||||||
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||||
|
|
||||||
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||||
|
internal Resources() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||||
|
get {
|
||||||
|
if (object.ReferenceEquals(resourceMan, null)) {
|
||||||
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Image_Sorter.Properties.Resources", typeof(Resources).Assembly);
|
||||||
|
resourceMan = temp;
|
||||||
|
}
|
||||||
|
return resourceMan;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
|
||||||
|
/// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Globalization.CultureInfo Culture {
|
||||||
|
get {
|
||||||
|
return resourceCulture;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
resourceCulture = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap crop {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("crop", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap delete {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("delete", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
|
||||||
|
/// </summary>
|
||||||
|
internal static byte[] grab {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("grab", resourceCulture);
|
||||||
|
return ((byte[])(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
|
||||||
|
/// </summary>
|
||||||
|
internal static byte[] grabbing {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("grabbing", resourceCulture);
|
||||||
|
return ((byte[])(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap move {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("move", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap undo {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("undo", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,139 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
|
<data name="crop" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\crop.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="delete" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\delete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="grab" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Cursors\grab.cur;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name="grabbing" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Cursors\grabbing.cur;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name="move" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\move.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="undo" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\undo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
|
@ -0,0 +1,110 @@
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
|
// Laufzeitversion:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
|
// der Code erneut generiert wird.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Mk0.Software.ImageSorter.Properties {
|
||||||
|
|
||||||
|
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.8.0.0")]
|
||||||
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||||
|
|
||||||
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|
||||||
|
public static Settings Default {
|
||||||
|
get {
|
||||||
|
return defaultInstance;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||||
|
public string targetPath {
|
||||||
|
get {
|
||||||
|
return ((string)(this["targetPath"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["targetPath"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||||
|
public string lastPath {
|
||||||
|
get {
|
||||||
|
return ((string)(this["lastPath"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["lastPath"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||||
|
public bool singleInstance {
|
||||||
|
get {
|
||||||
|
return ((bool)(this["singleInstance"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["singleInstance"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
||||||
|
public int lastWidth {
|
||||||
|
get {
|
||||||
|
return ((int)(this["lastWidth"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["lastWidth"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
||||||
|
public int lastHeight {
|
||||||
|
get {
|
||||||
|
return ((int)(this["lastHeight"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["lastHeight"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
||||||
|
public int lastTop {
|
||||||
|
get {
|
||||||
|
return ((int)(this["lastTop"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["lastTop"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
||||||
|
public int lastLeft {
|
||||||
|
get {
|
||||||
|
return ((int)(this["lastLeft"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["lastLeft"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,27 @@
|
||||||
|
<?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">
|
||||||
|
<Profiles />
|
||||||
|
<Settings>
|
||||||
|
<Setting Name="targetPath" Type="System.String" Scope="User">
|
||||||
|
<Value Profile="(Default)" />
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="lastPath" Type="System.String" Scope="User">
|
||||||
|
<Value Profile="(Default)" />
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="singleInstance" Type="System.Boolean" Scope="User">
|
||||||
|
<Value Profile="(Default)">True</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="lastWidth" Type="System.Int32" Scope="User">
|
||||||
|
<Value Profile="(Default)">0</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="lastHeight" Type="System.Int32" Scope="User">
|
||||||
|
<Value Profile="(Default)">0</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="lastTop" Type="System.Int32" Scope="User">
|
||||||
|
<Value Profile="(Default)">0</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="lastLeft" Type="System.Int32" Scope="User">
|
||||||
|
<Value Profile="(Default)">0</Value>
|
||||||
|
</Setting>
|
||||||
|
</Settings>
|
||||||
|
</SettingsFile>
|
After Width: | Height: | Size: 216 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 216 KiB |
After Width: | Height: | Size: 215 KiB |
After Width: | Height: | Size: 215 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 216 KiB |
After Width: | Height: | Size: 214 KiB |
After Width: | Height: | Size: 214 KiB |
After Width: | Height: | Size: 3.0 KiB |
|
@ -0,0 +1,111 @@
|
||||||
|
namespace Mk0.Software.ImageSorter
|
||||||
|
{
|
||||||
|
partial class Settings
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.checkBoxSingleInstance = new System.Windows.Forms.CheckBox();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.labelTargetPath = new System.Windows.Forms.Label();
|
||||||
|
this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// checkBoxSingleInstance
|
||||||
|
//
|
||||||
|
this.checkBoxSingleInstance.AutoSize = true;
|
||||||
|
this.checkBoxSingleInstance.Checked = true;
|
||||||
|
this.checkBoxSingleInstance.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
|
this.checkBoxSingleInstance.Location = new System.Drawing.Point(12, 12);
|
||||||
|
this.checkBoxSingleInstance.Name = "checkBoxSingleInstance";
|
||||||
|
this.checkBoxSingleInstance.Size = new System.Drawing.Size(366, 17);
|
||||||
|
this.checkBoxSingleInstance.TabIndex = 0;
|
||||||
|
this.checkBoxSingleInstance.Text = "SingleInstance - ImageSorter kann nur ein Mal gleichzeitig geöffnet sein.";
|
||||||
|
this.checkBoxSingleInstance.UseVisualStyleBackColor = true;
|
||||||
|
this.checkBoxSingleInstance.CheckedChanged += new System.EventHandler(this.CheckBoxSingleInstance_CheckedChanged);
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(9, 40);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(52, 13);
|
||||||
|
this.label1.TabIndex = 1;
|
||||||
|
this.label1.Text = "Ziel-Pfad:";
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(12, 61);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.button1.TabIndex = 2;
|
||||||
|
this.button1.Text = "Ändern";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.Button1_Click);
|
||||||
|
//
|
||||||
|
// labelTargetPath
|
||||||
|
//
|
||||||
|
this.labelTargetPath.AutoSize = true;
|
||||||
|
this.labelTargetPath.ForeColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.labelTargetPath.Location = new System.Drawing.Point(67, 40);
|
||||||
|
this.labelTargetPath.Name = "labelTargetPath";
|
||||||
|
this.labelTargetPath.Size = new System.Drawing.Size(120, 13);
|
||||||
|
this.labelTargetPath.TabIndex = 3;
|
||||||
|
this.labelTargetPath.Text = "<kein Zielpfad gewählt>";
|
||||||
|
//
|
||||||
|
// Settings
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(412, 96);
|
||||||
|
this.Controls.Add(this.labelTargetPath);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.checkBoxSingleInstance);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.MinimizeBox = false;
|
||||||
|
this.Name = "Settings";
|
||||||
|
this.ShowIcon = false;
|
||||||
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||||
|
this.Text = "ImageSorter | Einstellungen";
|
||||||
|
this.Shown += new System.EventHandler(this.Settings_Shown);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.CheckBox checkBoxSingleInstance;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.Label labelTargetPath;
|
||||||
|
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,45 @@
|
||||||
|
using System;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Mk0.Software.ImageSorter
|
||||||
|
{
|
||||||
|
public partial class Settings : Form
|
||||||
|
{
|
||||||
|
public Settings()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Settings_Shown(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrEmpty(Properties.Settings.Default.targetPath))
|
||||||
|
{
|
||||||
|
labelTargetPath.Text = Properties.Settings.Default.targetPath;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
labelTargetPath.Text = Application.StartupPath;
|
||||||
|
Properties.Settings.Default.targetPath = Application.StartupPath;
|
||||||
|
Properties.Settings.Default.Save();
|
||||||
|
}
|
||||||
|
checkBoxSingleInstance.Checked = Properties.Settings.Default.singleInstance;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
DialogResult result = folderBrowserDialog.ShowDialog();
|
||||||
|
if (result == DialogResult.OK)
|
||||||
|
{
|
||||||
|
Properties.Settings.Default.targetPath = folderBrowserDialog.SelectedPath;
|
||||||
|
Properties.Settings.Default.Save();
|
||||||
|
}
|
||||||
|
labelTargetPath.Text = Properties.Settings.Default.targetPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CheckBoxSingleInstance_CheckedChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Properties.Settings.Default.singleInstance = checkBoxSingleInstance.Checked;
|
||||||
|
Properties.Settings.Default.Save();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,123 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="folderBrowserDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
|
@ -0,0 +1,192 @@
|
||||||
|
namespace Mk0.Software.ImageSorter
|
||||||
|
{
|
||||||
|
partial class Vergleicher
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Vergleicher));
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.button2 = new System.Windows.Forms.Button();
|
||||||
|
this.button3 = new System.Windows.Forms.Button();
|
||||||
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.labelquellinfo = new System.Windows.Forms.Label();
|
||||||
|
this.labelzielinfo = new System.Windows.Forms.Label();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
||||||
|
this.label1.MaximumSize = new System.Drawing.Size(606, 0);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(595, 52);
|
||||||
|
this.label1.TabIndex = 0;
|
||||||
|
this.label1.Text = resources.GetString("label1.Text");
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.DialogResult = System.Windows.Forms.DialogResult.Yes;
|
||||||
|
this.button1.Location = new System.Drawing.Point(15, 325);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(155, 23);
|
||||||
|
this.button1.TabIndex = 1;
|
||||||
|
this.button1.Text = "Ja, Kopie erstellen";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.Button1_Click);
|
||||||
|
//
|
||||||
|
// button2
|
||||||
|
//
|
||||||
|
this.button2.DialogResult = System.Windows.Forms.DialogResult.No;
|
||||||
|
this.button2.Location = new System.Drawing.Point(233, 325);
|
||||||
|
this.button2.Name = "button2";
|
||||||
|
this.button2.Size = new System.Drawing.Size(155, 23);
|
||||||
|
this.button2.TabIndex = 2;
|
||||||
|
this.button2.Text = "Nein, überschreiben";
|
||||||
|
this.button2.UseVisualStyleBackColor = true;
|
||||||
|
this.button2.Click += new System.EventHandler(this.Button2_Click);
|
||||||
|
//
|
||||||
|
// button3
|
||||||
|
//
|
||||||
|
this.button3.DialogResult = System.Windows.Forms.DialogResult.Abort;
|
||||||
|
this.button3.Location = new System.Drawing.Point(453, 325);
|
||||||
|
this.button3.Name = "button3";
|
||||||
|
this.button3.Size = new System.Drawing.Size(155, 23);
|
||||||
|
this.button3.TabIndex = 3;
|
||||||
|
this.button3.Text = "Abbrechen";
|
||||||
|
this.button3.UseVisualStyleBackColor = true;
|
||||||
|
this.button3.Click += new System.EventHandler(this.Button3_Click);
|
||||||
|
//
|
||||||
|
// pictureBox1
|
||||||
|
//
|
||||||
|
this.pictureBox1.Location = new System.Drawing.Point(15, 82);
|
||||||
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
|
this.pictureBox1.Size = new System.Drawing.Size(288, 237);
|
||||||
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||||
|
this.pictureBox1.TabIndex = 4;
|
||||||
|
this.pictureBox1.TabStop = false;
|
||||||
|
//
|
||||||
|
// pictureBox2
|
||||||
|
//
|
||||||
|
this.pictureBox2.Location = new System.Drawing.Point(319, 82);
|
||||||
|
this.pictureBox2.Name = "pictureBox2";
|
||||||
|
this.pictureBox2.Size = new System.Drawing.Size(288, 237);
|
||||||
|
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||||
|
this.pictureBox2.TabIndex = 5;
|
||||||
|
this.pictureBox2.TabStop = false;
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label2.Location = new System.Drawing.Point(12, 69);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(57, 13);
|
||||||
|
this.label2.TabIndex = 6;
|
||||||
|
this.label2.Text = "Quelldatei:";
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label3.Location = new System.Drawing.Point(316, 69);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(50, 13);
|
||||||
|
this.label3.TabIndex = 7;
|
||||||
|
this.label3.Text = "Zieldatei:";
|
||||||
|
//
|
||||||
|
// labelquellinfo
|
||||||
|
//
|
||||||
|
this.labelquellinfo.AutoSize = true;
|
||||||
|
this.labelquellinfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.labelquellinfo.Location = new System.Drawing.Point(75, 69);
|
||||||
|
this.labelquellinfo.Name = "labelquellinfo";
|
||||||
|
this.labelquellinfo.Size = new System.Drawing.Size(141, 13);
|
||||||
|
this.labelquellinfo.TabIndex = 8;
|
||||||
|
this.labelquellinfo.Text = "1024 KB; 31.12.2015, 15:30";
|
||||||
|
//
|
||||||
|
// labelzielinfo
|
||||||
|
//
|
||||||
|
this.labelzielinfo.AutoSize = true;
|
||||||
|
this.labelzielinfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.labelzielinfo.Location = new System.Drawing.Point(372, 69);
|
||||||
|
this.labelzielinfo.Name = "labelzielinfo";
|
||||||
|
this.labelzielinfo.Size = new System.Drawing.Size(141, 13);
|
||||||
|
this.labelzielinfo.TabIndex = 9;
|
||||||
|
this.labelzielinfo.Text = "1024 KB; 31.12.2015, 15:30";
|
||||||
|
//
|
||||||
|
// Vergleicher
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(620, 360);
|
||||||
|
this.Controls.Add(this.labelzielinfo);
|
||||||
|
this.Controls.Add(this.labelquellinfo);
|
||||||
|
this.Controls.Add(this.label3);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.pictureBox2);
|
||||||
|
this.Controls.Add(this.pictureBox1);
|
||||||
|
this.Controls.Add(this.button3);
|
||||||
|
this.Controls.Add(this.button2);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.MinimizeBox = false;
|
||||||
|
this.Name = "Vergleicher";
|
||||||
|
this.ShowIcon = false;
|
||||||
|
this.ShowInTaskbar = false;
|
||||||
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "Datei bereits vorhanden!";
|
||||||
|
this.TopMost = true;
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.Button button2;
|
||||||
|
private System.Windows.Forms.Button button3;
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox2;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.Label labelquellinfo;
|
||||||
|
private System.Windows.Forms.Label labelzielinfo;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,37 @@
|
||||||
|
using Mk0.Tools.Calculation;
|
||||||
|
using System;
|
||||||
|
using System.IO;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Mk0.Software.ImageSorter
|
||||||
|
{
|
||||||
|
public partial class Vergleicher : Form
|
||||||
|
{
|
||||||
|
public Vergleicher(string text, string img1, string img2)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
label1.Text = text;
|
||||||
|
pictureBox1.ImageLocation = img1;
|
||||||
|
pictureBox2.ImageLocation = img2;
|
||||||
|
double quellsize = new FileInfo(img1).Length;
|
||||||
|
double zielsize = new FileInfo(img2).Length;
|
||||||
|
labelquellinfo.Text = FileSize.GetFileSize(quellsize) + "; " + new FileInfo(img1).LastWriteTime;
|
||||||
|
labelzielinfo.Text = FileSize.GetFileSize(zielsize) + "; " + new FileInfo(img2).LastWriteTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Button2_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Button3_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,125 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="label1.Text" xml:space="preserve">
|
||||||
|
<value>Das zu verschiebende Bild \"" + Path.GetFileName(pictureBox.ImageLocation) + "\"" + "existiert im Zielverzeichnis \"" + btn.Text + "\" bereits."
|
||||||
|
+ Environment.NewLine
|
||||||
|
+ Environment.NewLine + "Soll eine Kopie angelegt werden? Nein überschreibt die Datei, Abbrechen bricht den Vorgang ab.</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
After Width: | Height: | Size: 204 KiB |
30
README.md
|
@ -1 +1,29 @@
|
||||||
# Mk0.Software.ImageSorter
|
# Mk0.Software.ImageSorter
|
||||||
|
(C) 2015-2019
|
||||||
|
|
||||||
|
This software allows you to choose a source folder, which should contain a bunch of unsorted images.
|
||||||
|
Then you select a target folder, which schould contain subfolders to sort your images.
|
||||||
|
|
||||||
|
This software has the following features:
|
||||||
|
|
||||||
|
+ automatic border cropping of images
|
||||||
|
+ cutting images
|
||||||
|
+ rotating images
|
||||||
|
+ mirroring images
|
||||||
|
+ edit images (with paint)
|
||||||
|
+ show image informations
|
||||||
|
+ compare images (with the same name)
|
||||||
|
+ optional single instance mode (default on)
|
||||||
|
+ optional registering in windows to open images with ImageSorter (right click -> open with...)
|
||||||
|
+ variable window size
|
||||||
|
+ zoom modes (and manual zoom)
|
||||||
|
+ change history with the possibility to undo changes (only for moving images - not for rotating, cutting, deleting...)
|
||||||
|
+ working with hotkeys
|
||||||
|
+ DEL - deletes image
|
||||||
|
+ LEFT or DOWN - previous image
|
||||||
|
+ RIGHT or UP - next image
|
||||||
|
+ F2 - cut image
|
||||||
|
+ F3 - edit image
|
||||||
|
+ F4 - open file location in file explorer
|
||||||
|
+ F5 - show image informations
|
||||||
|
+ BACKSPACE - undo last change
|