示例#1
0
        public virtual void Run()
        {
            startTime = System.CurrentTimeMillis();
            xcommand_t callback = new Anonymousxcommand_t(this);

            while (true)
            {
                re.UpdateScreen(callback);
                kbd.Update();
                Cbuf.Execute();
            }
        }
示例#2
0
        public virtual void Run()
        {
            startTime = System.CurrentTimeMillis();
            xcommand_t callback = new Anonymousxcommand_t(this);

            while (true)
            {
                re.UpdateScreen(callback);
                kbd.Update();
                Cbuf.Execute();
                try
                {
                    Thread.Sleep(5);
                }
                catch (Exception e)
                {
                }
            }
        }