Exemple #1
0
 /// <summary>
 /// Notifys the presenter that the CancelButton for challenge has been pressed.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ChallengesCancelButton_Click(object sender, EventArgs e)
 {
     HideActivitiesForChallenge();
     presenter.DropChallenge();
     ChallengesListbox.ClearSelected();
     ShowChallengesDisplayed();
     ActivitiesForChallengeListbox.ClearSelected();
     ChallengeDescriptionBox.Clear();
 }
Exemple #2
0
 /// <summary>
 /// Notifys the presenter that the UpdateButton for challenge has been pressed.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ChallengeUpdateButton_Click(object sender, EventArgs e)
 {
     updateChallengeInfo("");
     presenter.GetAndShowChallenges();
     ActivitiesForChallengeListbox.ClearSelected();
 }