예제 #1
0
파일: Program.cs 프로젝트: mparsin/Elements
 private static void FormOnKeyPressed(object sender, DataReceivedEvenArgs dataReceivedEvenArgs)
 {
     Console.WriteLine(dataReceivedEvenArgs.Message);
 }
예제 #2
0
 protected virtual void OnThresholdRead(DataReceivedEvenArgs e)
 {
     var handler = this.HookKeyPressed;
     if (handler != null)
     {
         handler(this, e);
     }
 }