-
Notifications
You must be signed in to change notification settings - Fork 0
/
Program.cs
33 lines (29 loc) · 886 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 System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace ActivatableElements
{
static class Program
{
private static EyeXFramework.Forms.FormsEyeXHost _eyeXHost = new EyeXFramework.Forms.FormsEyeXHost();
/// <summary>
/// Gets the singleton EyeX host instance.
/// </summary>
public static EyeXFramework.Forms.FormsEyeXHost EyeXHost
{
get { return _eyeXHost; }
}
[STAThread]
static void Main()
{
_eyeXHost.Start();
//Application.EnableVisualStyles();
//Application.SetCompatibleTextRenderingDefault(false);
//Application.Run(new Form1());
_eyeXHost.Dispose(); // always dispose on exit
}
}
}