コード例 #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
ファイル: Form1.cs プロジェクト: poobalan-arumugam/stateproto
 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);
 }