Beispiel #1
0
 internal static SerializableKeyPressedEventArgs ToNew(this IRCProviders.SerializableKeyPressedEventArgs args)
 {
     return(new SerializableKeyPressedEventArgs
     {
         Handled = args.Handled, KeyChar = args.KeyChar
     });
 }
Beispiel #2
0
 void communicationWindow_InputKeyPress(object sender, IRCProviders.SerializableKeyPressedEventArgs e)
 {
     if (InputKeyPress != null)
     {
         InputKeyPress(this, e.ToNew());
     }
 }