/// <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, StaticAnalysisEventArgs e)
 {
     StatusBar.SetText(string.Format("{0} achievements tested in {1} milliseconds",
         e.AchievementsTested, e.ElapsedMilliseconds));
 }
 private void OnStaticAnalysisCompleted(object sender, StaticAnalysisEventArgs e)
 {
     if (StaticAnalysisCompleted != null)
     {
         StaticAnalysisCompleted(sender, e);
     }
 }
예제 #3
0
파일: Program.cs 프로젝트: cohenw/strokes
 private static void DetectionDispatcher_DetectionCompleted(object sender, StaticAnalysisEventArgs e)
 {
     System.Console.WriteLine(string.Format("{0} achievements tested in {1} milliseconds",
         e.AchievementsTested, e.ElapsedMilliseconds));
 }