Beispiel #1
0
 public static void OnAchievementClicked(object sender, AchievementClickedEventArgs args)
 {
     if (AchievementClicked != null)
     {
         AchievementClicked(sender, args);
     }
 }
Beispiel #2
0
 public static void OnAchievementClicked(object sender, AchievementClickedEventArgs args)
 {
     if (AchievementClicked != null)
     {
         AchievementClicked(sender, args);
     }
 }
 /// <summary>
 /// Handles the AchievementClicked event of the AchievementContext control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="args">
 ///     The <see cref="AchievementClickedEventArgs"/> instance containing the event data.
 /// </param>
 private void AchievementContext_AchievementClicked(object sender, AchievementClickedEventArgs args)
 {
     DTE.ItemOperations.OpenFile(args.AchievementDescriptor.CodeOrigin.FileName, EnvDTE.Constants.vsViewKindCode);
 }