Esempio n. 1
0
 private static extern int navigator_set_badge(NavigatorBadge badge);
Esempio n. 2
0
 public static bool SetBadge(NavigatorBadge badge)
 {
     if (!badge.IsValidValue())
     {
         throw new ArgumentException("not a valid application badge.", "badge");
     }
     Util.GetBPSOrException();
     return navigator_set_badge(badge) == BPS.BPS_SUCCESS;
 }