public void Exit( AdkConsoleEvent c )
 {
     if ( !fIsExiting ) {
         fIsExiting = true;
         fReceivedEvent = c;
         if ( Exiting != null ) {
             Exiting( this, new AdkConsoleEventArgs( c ) );
         }
         if ( fLifeCycle != null ) {
             fLifeCycle.Set();
         }
     }
 }
 public AdkConsoleEventArgs( AdkConsoleEvent e )
 {
     fEvent = e;
 }
 private void Handler( AdkConsoleEvent consoleEvent )
 {
     if ( ControlEvent != null ) {
         try {
             ControlEvent( this, new AdkConsoleEventArgs( consoleEvent ) );
         }
         catch {}
     }
 }