Umgeschrieben auf Dongle System
This commit is contained in:
@@ -14,10 +14,20 @@ namespace SanSystem
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Global.Instance.LoadLanguage();
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new frmMain());
|
||||
Dongle dongle = new Dongle(10, 60);
|
||||
if (dongle.CheckDongleVorhanden())
|
||||
{
|
||||
dongle.CleanDongle();
|
||||
Global.Instance.LoadLanguage();
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new frmMain());
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("Sorry es wurde kein Dongle gefunden!");
|
||||
Application.Exit();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user