Exemple #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);
 }
 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);
 }