Ejemplo n.º 1
0
 private void Handler(AdkConsoleEvent consoleEvent)
 {
     if (ControlEvent != null)
     {
         try {
             ControlEvent(this, new AdkConsoleEventArgs(consoleEvent));
         }
         catch {}
     }
 }
Ejemplo n.º 2
0
 public void Exit(AdkConsoleEvent c)
 {
     if (!fIsExiting)
     {
         fIsExiting     = true;
         fReceivedEvent = c;
         if (Exiting != null)
         {
             Exiting(this, new AdkConsoleEventArgs(c));
         }
         if (fLifeCycle != null)
         {
             fLifeCycle.Set();
         }
     }
 }
Ejemplo n.º 3
0
 public AdkConsoleEventArgs( AdkConsoleEvent e )
 {
     fEvent = e;
 }
Ejemplo n.º 4
0
 public void Exit( AdkConsoleEvent c )
 {
     if ( !fIsExiting ) {
         fIsExiting = true;
         fReceivedEvent = c;
         if ( Exiting != null ) {
             Exiting( this, new AdkConsoleEventArgs( c ) );
         }
         if ( fLifeCycle != null ) {
             fLifeCycle.Set();
         }
     }
 }
Ejemplo n.º 5
0
 private void Handler( AdkConsoleEvent consoleEvent )
 {
     if ( ControlEvent != null ) {
         try {
             ControlEvent( this, new AdkConsoleEventArgs( consoleEvent ) );
         }
         catch {}
     }
 }
Ejemplo n.º 6
0
 public AdkConsoleEventArgs(AdkConsoleEvent e)
 {
     fEvent = e;
 }