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