34 lines
889 B
C#
34 lines
889 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace SanSystem
|
|
{
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// Der Haupteinstiegspunkt für die Anwendung.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main()
|
|
{
|
|
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();
|
|
}
|
|
}
|
|
}
|
|
}
|