예제 #1
0
 /// <summary>
 /// Called when the achievement detection have completed.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="args">
 ///     The <see cref="DetectionCompletedEventArgs"/> instance containing the event data.
 /// </param>
 protected static void OnDetectionCompleted(object sender, DetectionCompletedEventArgs args)
 {
     if (DetectionCompleted != null)
     {
         DetectionCompleted(sender, args);
     }
 }
 /// <summary>
 /// Handles the DetectionCompleted event of the DetectionDispatcher control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">
 ///     The <see cref="DetectionCompletedEventArgs"/> instance containing the event data.
 /// </param>
 private void DetectionDispatcher_DetectionCompleted(object sender, DetectionCompletedEventArgs e)
 {
     StatusBar.SetText(string.Format("{0} achievements tested in {1} milliseconds",
         e.AchievementsTested, e.ElapsedMilliseconds));
 }
예제 #3
0
파일: Program.cs 프로젝트: timdams/strokes
 private static void DetectionDispatcher_DetectionCompleted(object sender, DetectionCompletedEventArgs e)
 {
     System.Console.WriteLine(string.Format("{0} achievements tested in {1} milliseconds",
         e.AchievementsTested, e.ElapsedMilliseconds));
 }
예제 #4
0
 /// <summary>
 /// Called when the achievement detection have completed.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="args">
 ///     The <see cref="DetectionCompletedEventArgs"/> instance containing the event data.
 /// </param>
 protected static void OnDetectionCompleted(object sender, DetectionCompletedEventArgs args)
 {
     if (DetectionCompleted != null)
     {
         DetectionCompleted(sender, args);
     }
 }