示例#1
0
 static void Main()
 {
     //_eyeHost.Start();
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(new StartPage());
     _eyeHost.Dispose();
 }
示例#2
0
        static void Main()
        {
            _eyeXHost.Start();
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Form1 form = new Form1();

            Application.Run(form);
            _eyeXHost.Dispose();
        }
示例#3
0
        static void Main()
        {
            _eyeXHost.Start();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new ActivatableButtonsForm());

            _eyeXHost.Dispose();
        }
示例#4
0
        static void Main()
        {
            _eyeXHost.Start();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new HelloGaze_Login());

            _eyeXHost.Dispose();
        }
示例#5
0
文件: Program.cs 项目: ThiagoF97/tcc
        static void Main()
        {
            _eyeXHost.Start();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            // Carrega as configurações
            if (!CConfig.Instance.LoadData())
            {
                return;
            }

            Application.Run(new FMain());

            _eyeXHost.Dispose();
        }
示例#6
0
 private void Form1_FormClosing(object sender, FormClosingEventArgs e)
 {
     //Remove KeyboardHook on closing form.
     LowLevelKeyBoardHook.UnHookKeyboard();
     eyeXHost.Dispose();
 }