示例#1
0
        static void Main(string[] args)
        {
            /*
             * Thread listener = new Thread(Program.listen);
             * listener.Start();
             *
             * while (true) ;
             */

            InputListener il = new InputListener();

            il.Subscribe();

            Application.Run();
        }
示例#2
0
        public static void listen()
        {
            InputListener il = new InputListener();

            il.Subscribe();
        }