prepare konverter

This commit is contained in:
Manuel Kamper 2024-08-18 18:00:31 +02:00
parent de744c3f74
commit e1f6290bb0
2 changed files with 29 additions and 2 deletions

View File

@ -88,6 +88,7 @@
this.buttonHeart = new System.Windows.Forms.Button(); this.buttonHeart = new System.Windows.Forms.Button();
this.buttonChristmas = new System.Windows.Forms.Button(); this.buttonChristmas = new System.Windows.Forms.Button();
this.buttonWebRemove = new System.Windows.Forms.Button(); this.buttonWebRemove = new System.Windows.Forms.Button();
this.konvertierenF7ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxImage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxImage)).BeginInit();
this.contextMenuStrip.SuspendLayout(); this.contextMenuStrip.SuspendLayout();
this.groupBoxInformationen.SuspendLayout(); this.groupBoxInformationen.SuspendLayout();
@ -130,9 +131,10 @@
this.toolStripMenuItemEditImage, this.toolStripMenuItemEditImage,
this.toolStripMenuItemOpenExplorer, this.toolStripMenuItemOpenExplorer,
this.toolStripMenuItemImageDetails, this.toolStripMenuItemImageDetails,
this.toolStripMenuItemShowEXIF}); this.toolStripMenuItemShowEXIF,
this.konvertierenF7ToolStripMenuItem});
this.contextMenuStrip.Name = "contextMenuStrip"; this.contextMenuStrip.Name = "contextMenuStrip";
this.contextMenuStrip.Size = new System.Drawing.Size(282, 164); this.contextMenuStrip.Size = new System.Drawing.Size(282, 229);
// //
// toolStripMenuItemCropImage // toolStripMenuItemCropImage
// //
@ -913,6 +915,13 @@
this.buttonWebRemove.UseVisualStyleBackColor = true; this.buttonWebRemove.UseVisualStyleBackColor = true;
this.buttonWebRemove.Click += new System.EventHandler(this.ButtonWebRemove_Click); this.buttonWebRemove.Click += new System.EventHandler(this.ButtonWebRemove_Click);
// //
// konvertierenF7ToolStripMenuItem
//
this.konvertierenF7ToolStripMenuItem.Name = "konvertierenF7ToolStripMenuItem";
this.konvertierenF7ToolStripMenuItem.Size = new System.Drawing.Size(281, 32);
this.konvertierenF7ToolStripMenuItem.Text = "Konvertieren (F7)";
this.konvertierenF7ToolStripMenuItem.Click += new System.EventHandler(this.KonvertierenF7ToolStripMenuItem_Click);
//
// Main // Main
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F); this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F);
@ -1029,5 +1038,6 @@
private System.Windows.Forms.Button buttonRandObenUnten; private System.Windows.Forms.Button buttonRandObenUnten;
private System.Windows.Forms.Button buttonRandLinksRechts; private System.Windows.Forms.Button buttonRandLinksRechts;
private System.Windows.Forms.Button buttonWebRemove; private System.Windows.Forms.Button buttonWebRemove;
private System.Windows.Forms.ToolStripMenuItem konvertierenF7ToolStripMenuItem;
} }
} }

View File

@ -1565,6 +1565,12 @@ namespace Mk0.Software.ImageSorter
e.Handled = true; e.Handled = true;
} }
if (e.KeyCode == Keys.F7)
{
konvertierenF7ToolStripMenuItem.PerformClick();
e.Handled = true;
}
if (e.KeyCode == Keys.F10) if (e.KeyCode == Keys.F10)
{ {
buttonSettings.PerformClick(); buttonSettings.PerformClick();
@ -2271,5 +2277,16 @@ namespace Mk0.Software.ImageSorter
} }
return false; return false;
} }
/// <summary>
/// Konvertierer öffnen
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void KonvertierenF7ToolStripMenuItem_Click(object sender, EventArgs e)
{
//todo bildpfad übergeben an konverter-fenster
//todo wenn konverter true zurückgibt, altes bild löschen und neues bild einfügen (auch in die bilderliste)
}
} }
} }