Exemplo n.º 1
0
        void f_callbackProcessMessage(IAsyncResult asyncRes)
        {
            AsyncResult    ares   = (AsyncResult)asyncRes;
            ProcessMessage delg   = (ProcessMessage)ares.AsyncDelegate;
            Message        result = delg.EndInvoke(asyncRes);

            this.f_PROCESS_MESSAGE_CALLBACK_RESULT(result);
            //Thread.Sleep(1000);
            f_runLoop(this.Handle);
        }
Exemplo n.º 2
0
        void f_callbackProcessMessage(IAsyncResult asyncRes)
        {
            AsyncResult    ares   = (AsyncResult)asyncRes;
            ProcessMessage delg   = (ProcessMessage)ares.AsyncDelegate;
            Message        result = delg.EndInvoke(asyncRes);

            this.f_processMessageCallbackResult(result);
            //Thread.Sleep(1000);
            f_runLoop(this.Handle);
        }