protected virtual void OnSendCharacterCommandReceivedEventArgs(object sender, SendCharacterCommandEventArgs args)
        {
            EventHandler <SendCharacterCommandEventArgs> handler = SendCharacterCommandReceived;

            if (handler != null)
            {
                handler(sender, args);
            }
        }
 protected virtual void OnSendCharacterCommandReceivedEventArgs(object sender, SendCharacterCommandEventArgs args)
 {
     EventHandler<SendCharacterCommandEventArgs> handler = SendCharacterCommandReceived;
     if (handler != null)
     {
         handler(sender, args);
     }
 }
 private void commandGateway_SendCharacterCommandReceived(object sender, SendCharacterCommandEventArgs e)
 {
     UnicodeCharSender.Send(hTargetWindow, e.CharacterCode);
 }