/// <summary> /// Handles the Click event of the btnMoveUp control. /// </summary> /// <param name="sender"> /// The source of the event. /// </param> /// <param name="e"> /// The <see cref="System.EventArgs"/> instance containing the event data. /// </param> private void btnMoveUp_Click(object sender, EventArgs e) { MovieSetObjectModel currentRow = this.GetCurrentRow(); if (currentRow == null) { return; } MovieSetManager.GetCurrentSet.MoveMovieUp(currentRow.MovieUniqueId); this.RefreshAndReorder(); this.SwitchUpDownButtons(); MovieSetManager.SetAllMoviesChangedInCurrentSet(); }
/// <summary> /// Handles the Click event of the btnTrash control. /// </summary> /// <param name="sender"> /// The source of the event. /// </param> /// <param name="e"> /// The <see cref="System.EventArgs"/> instance containing the event data. /// </param> private void btnTrash_Click(object sender, EventArgs e) { this.RemoveMovieFromSet(); MovieSetManager.SetAllMoviesChangedInCurrentSet(); }