Exemplo n.º 1
0
 private void DispatchStartMessage()
 {
     //RunToCompletion.Instance.IsHandled = true;
     RtcEvent calcEvent = new RtcEvent(RtcSignals.Start);
     //RunToCompletion.Instance.Dispatch(calcEvent);
     Dispatcher   d  = new Dispatcher(RunToCompletion.Instance.Dispatch);
     IAsyncResult ar = d.BeginInvoke(calcEvent, new AsyncCallback(Finished), d);
 }
Exemplo n.º 2
0
 private void DispatchStartMessage()
 {
     //RunToCompletion.Instance.IsHandled = true;
     RtcEvent calcEvent = new RtcEvent(RtcSignals.Start);
     //RunToCompletion.Instance.Dispatch(calcEvent);
     Dispatcher d = new Dispatcher(RunToCompletion.Instance.Dispatch);
     IAsyncResult ar = d.BeginInvoke(calcEvent, new AsyncCallback(Finished), d);
 }