-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathProgram.cs
33 lines (31 loc) · 990 Bytes
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using NonInvasiveKeyboardHookLibrary;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows.Forms;
namespace LSTBusline
{
static class Program
{
/// <summary>
/// Point d'entrée principal de l'application.
/// </summary>
[STAThread]
static void Main()
{
if (!File.Exists("LST-Busline-Konfiguration.json"))
{
MessageBox.Show("Konfiguration LST-Busline-Konfiguration.json nicht gefunden!", "Fehler");
return;
}
if (!File.Exists("LST-Busline-Font.xml"))
{
MessageBox.Show("Zeichensatz LST-Busline-Font.xml nicht gefunden!", "Fehler");
return;
}
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new DisplayForm());
}
}
}