-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProgram.cs
39 lines (34 loc) · 874 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
35
36
37
38
39
/*
* Created by SharpDevelop.
* User: Joe
* Date: 8/11/2009
* Time: 10:34 AM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Windows.Forms;
using CAF;
namespace ET2Solver
{
internal sealed class Program
{
public static MainForm TheMainForm = null;
/// <summary>
/// Program entry point.
/// </summary>
[STAThread]
private static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
//Application.Run(new MainForm());
// initialise CAF
CAF_Application.init();
TheMainForm = new MainForm();
CAF_Application.stats.reset();
Application.Run(TheMainForm);
// 4-Nov-2010 cannot successfully use TheMainForm.applyConfiguration() on startup! :(
}
}
}