26 lines
740 B
C#
26 lines
740 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Windows.Forms;
|
|
using BlubbFish.Utils;
|
|
|
|
namespace Dashboard {
|
|
static class Program {
|
|
/// <summary>
|
|
/// Der Haupteinstiegspunkt für die Anwendung.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main(String[] args) {
|
|
CmdArgs.Instance.SetArguments(new Dictionary<String, CmdArgs.VaildArguments> {
|
|
{ "-debug", new CmdArgs.VaildArguments(CmdArgs.ArgLength.Single) }
|
|
}, args);
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
Boolean debug = false;
|
|
if(CmdArgs.Instance.HasArgumentType("-debug")) {
|
|
debug = true;
|
|
}
|
|
Application.Run(new Dashboard(debug));
|
|
}
|
|
}
|
|
}
|