From aef31d7332e526fd72f8921094d589f4fe50d8df Mon Sep 17 00:00:00 2001 From: Manuel Kamper Date: Sun, 18 Aug 2024 17:37:25 +0200 Subject: [PATCH] cleanup --- Mk0.Software.ImageSorter/Main.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Mk0.Software.ImageSorter/Main.cs b/Mk0.Software.ImageSorter/Main.cs index 0b59f5d..469a571 100644 --- a/Mk0.Software.ImageSorter/Main.cs +++ b/Mk0.Software.ImageSorter/Main.cs @@ -62,7 +62,7 @@ namespace Mk0.Software.ImageSorter SetDefaultPath(); //file assoc prüfen und in einstellungen richtig setzen - if(FileAssociation.Check("Image_Sorter_JPG", Application.ExecutablePath, "JPG Bild", $@"{Application.StartupPath}\AssocIcons\jpg.ico") && + if (FileAssociation.Check("Image_Sorter_JPG", Application.ExecutablePath, "JPG Bild", $@"{Application.StartupPath}\AssocIcons\jpg.ico") && FileAssociation.Check("Image_Sorter_PNG", Application.ExecutablePath, "PNG Bild", $@"{Application.StartupPath}\AssocIcons\png.ico") && FileAssociation.Check("Image_Sorter_GIF", Application.ExecutablePath, "GIF Bild", $@"{Application.StartupPath}\AssocIcons\gif.ico") && FileAssociation.Check("Image_Sorter_JPEG", Application.ExecutablePath, "JPEG Bild", $@"{Application.StartupPath}\AssocIcons\jpeg.ico") && @@ -88,7 +88,7 @@ namespace Mk0.Software.ImageSorter ProcessParameters(null, Args); Args = null; } - + AutoUpdater.ShowSkipButton = false; AutoUpdater.Start("https://www.kmpr.at/update/imagesorter.xml"); } @@ -607,7 +607,7 @@ namespace Mk0.Software.ImageSorter } else { - if(Directory.Exists($@"{Application.StartupPath}\AssocIcons")) + if (Directory.Exists($@"{Application.StartupPath}\AssocIcons")) { Directory.Delete($@"{Application.StartupPath}\AssocIcons", true); FileAssociation.Remove("Image_Sorter_JPG"); @@ -1827,7 +1827,7 @@ namespace Mk0.Software.ImageSorter /// private void ButtonInfo_Click(object sender, EventArgs e) { - if(groupBoxInformationen.Visible) + if (groupBoxInformationen.Visible) { //ausblenden groupBoxInformationen.Visible = false; @@ -1882,7 +1882,7 @@ namespace Mk0.Software.ImageSorter /// private void ButtonHintergrund_Click(object sender, EventArgs e) { - if(panelImageBackground.BackColor==Properties.Settings.Default.darkBackgroundColour) + if (panelImageBackground.BackColor == Properties.Settings.Default.darkBackgroundColour) { panelImageBackground.BackColor = Properties.Settings.Default.lightBackgroundColour; pictureBoxImage.BackColor = Properties.Settings.Default.lightBackgroundColour;