public favoriteTweet ( decimal id, string user ) : void | ||
id | decimal | |
user | string | |
Résultat | void |
private void favBtn_MouseDown(object sender, MouseButtonEventArgs e) { if (Status.IsFavorited == true) { parent.unfavoriteTweet(Status.Id, dbUser.UserDetails.ScreenName); favBtn.Source = new BitmapImage(new Uri("/o3o;component/Images/favorite_hover.png", UriKind.Relative)); Status.IsFavorited = false; } else { parent.favoriteTweet(Status.Id, dbUser.UserDetails.ScreenName); favBtn.Source = new BitmapImage(new Uri("/o3o;component/Images/favorite_on.png", UriKind.Relative)); Status.IsFavorited = true; } }