From 9a58ecc3c2935c8f779ccf2ae5ba3bd5198fca95 Mon Sep 17 00:00:00 2001 From: HuskyTeufel Date: Thu, 15 Apr 2021 14:26:06 +0200 Subject: [PATCH] Code cleanup --- SanSystem/frmMain.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/SanSystem/frmMain.cs b/SanSystem/frmMain.cs index d6142ac..4026c3a 100644 --- a/SanSystem/frmMain.cs +++ b/SanSystem/frmMain.cs @@ -30,7 +30,9 @@ namespace SanSystem public frmMain() { InitializeComponent(); +#if !DEBUG update.CheckForUpdates(); +#endif string sx = Properties.Settings.Default.DATABASEMAIN; @@ -115,11 +117,6 @@ namespace SanSystem strassenList.Location = new Point(0, 0); strassenList.StartPosition = FormStartPosition.Manual; strassenList.Show(); - - - - //frmObjektEdit frmObjektEdit = new frmObjektEdit(); - //frmObjektEdit.Show(); } private void frm_main_FormClosing(object sender, FormClosingEventArgs e)