DiscordMediaLoader/Discord Media Loader/Program.cs

30 lines
720 B
C#
Raw Normal View History

2017-01-28 16:51:55 +01:00
using System;
2017-03-09 20:08:35 +01:00
using System.Collections.Generic;
using System.Linq;
2017-03-09 20:56:48 +01:00
using System.Runtime;
2017-03-09 20:08:35 +01:00
using System.Threading.Tasks;
2017-01-28 16:51:55 +01:00
using System.Windows.Forms;
2017-04-16 17:57:27 +02:00
using Discord_Media_Loader.Helper;
using DML.Application;
using DML.Application.Classes;
2017-04-16 22:46:29 +02:00
using Nito.AsyncEx;
2017-01-28 16:51:55 +01:00
namespace Discord_Media_Loader
{
static class Program
{
[STAThread]
2017-04-16 22:46:29 +02:00
static void Main(string[] paramStrings)
2017-03-09 20:08:35 +01:00
{
2017-01-28 16:51:55 +01:00
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
2017-03-09 20:56:48 +01:00
2017-04-16 17:57:27 +02:00
var splashScreen = new FrmSplash();
splashScreen.ShowDialog();
2017-04-16 22:46:29 +02:00
AsyncContext.Run(() => Core.Run(paramStrings));
Console.WriteLine("Ende");
2017-01-28 16:51:55 +01:00
}
}
}