-
Notifications
You must be signed in to change notification settings - Fork 3
/
Program.cs
34 lines (31 loc) · 909 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
34
using Daedalus.Resources;
using Daedalus.Resources.Structures;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows.Forms;
namespace Daedalus
{
static class Program
{
public static UI DaedalusUI;
[STAThread]
static void Main()
{
//new FileInfo(@"D:\Testdir\test.txt").Directory.Create();
Directory.CreateDirectory(Path.GetDirectoryName(@"D:\Testdir\test.txt"));
//Directory.CreateDirectory(@"D:\Testdir\test.txt");
return;
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
using (UI MainForm = new UI())
{
DaedalusUI = MainForm;
Application.Run(MainForm);
}
DaedalusUI = null;
}
}
}