Пример #1
0
 private static void DetectionDispatcher_DetectionCompleted(object sender, DetectionCompletedEventArgs e)
 {
     System.Console.WriteLine(string.Format("{0} achievements tested in {1} milliseconds",
                                            e.AchievementsTested, e.ElapsedMilliseconds));
 }
Пример #2
0
 /// <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));
 }