private void RemoveBtn_Click(object sender, EventArgs e) { WishlistMovie wishlist = new WishlistMovie(); if (wishlist.Remove(userID, this.Movie.Id)) { MessageBox.Show("Successfully removed movie from wishlist.", "Wishlist"); } }
private void RemoveBtn_Click(object sender, EventArgs e) { WishlistMovie wishlist = new WishlistMovie(); if (wishlist.Remove(MainWindowForm.getUserID(), this.Movie.Id)) { MessageBox.Show("Successfully removed movie from wishlist.", "Wishlist"); } MainForm.LoadWatchlistPage(); }