Complete() static private method

static private Complete ( ) : void
return void
示例#1
0
 static void PostProcessInput(object sender, ProcessInputEventArgs e)
 {
     if (CurrentListener != null)
     {
         var a = e.StagingItem.Input as KeyEventArgs;
         if (a != null && a.Key == Key.Escape)
         {
             Mouse.Capture(null);
             CurrentListener.IsDown     = false;
             CurrentListener.IsCanceled = true;
             CurrentListener.Complete();
         }
     }
 }