コード例 #1
0
        static void Main()
        {
            Application.ApplicationExit += new EventHandler(Program.OnApplicationExit);

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

            // Show the system tray icon.
            using (ProcessIcon pi = new ProcessIcon())
            {
                pi.Display();

                leapMotionGestureControl = new LeapMotionGestureControl();

                // Make sure the application runs!
                Application.Run();
            }
        }
コード例 #2
0
        static void Main()
        {
            Application.ApplicationExit += new EventHandler(Program.OnApplicationExit);

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

            // Show the system tray icon.
            using (ProcessIcon pi = new ProcessIcon())
            {
                pi.Display();

                leapMotionGestureControl = new LeapMotionGestureControl();

                // Make sure the application runs!
                Application.Run();

            }
        }