bluelight Testversion fertiggestellt

This commit is contained in:
Damian Wessels
2023-01-20 19:13:32 +01:00
parent a306dc1e57
commit eb0f38caa0
9 changed files with 78 additions and 64 deletions

View File

@@ -24,7 +24,7 @@ namespace SanSystem
MessageBox.Show("Bitte nur 1 Instanz starten der Software!", "", MessageBoxButtons.OK, MessageBoxIcon.Hand);
Environment.Exit(1);
}
#if !DEBUG
//#if !DEBUG
try
{
using (Dongle dongle = new Dongle(60))
@@ -48,11 +48,11 @@ namespace SanSystem
MessageBox.Show("Sorry es wurde kein Dongle gefunden!\n" + ex.Message);
Application.Exit();
}
#else
/*#else
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new frmMain());
#endif
#endif*/
}
}