コード例 #1
0
ファイル: FSXConnect.cs プロジェクト: cobolman/Flowcort
 void simconnect_OnRecvEvent(SimConnect sender, SIMCONNECT_RECV_EVENT recEvent)
 {
     FSXActionEventArgs args = new FSXActionEventArgs();
     args.Action = recEvent.uEventID;
     OnFSXAction(args);
 }
コード例 #2
0
ファイル: FSXConnect.cs プロジェクト: cobolman/Flowcort
 public void OnFSXAction(FSXActionEventArgs e)
 {
     EventHandler<FSXActionEventArgs> handler = FSXActionEventHandler;
     if (handler != null) handler(this, e);
 }