Esempio n. 1
0
        /*----------------- Challenge Tab ------------------------------------*/

        #region Challenge

        public void clearAllForChallenge()
        {
            ChallengeDescriptionBox.Clear();
            ActivityForChallengeDescriptionBox.Clear();
            ChallengesListbox.Items.Clear();
            ActivitiesForChallengeListbox.Items.Clear();
        }
Esempio n. 2
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();
 }
Esempio n. 3
0
 /// <summary>
 /// Clear the description in ChallengeDescriptionBox and puts the new description in it.
 /// </summary>
 /// <param name="description"></param>
 public void updateChallengeInfo(string description)
 {
     ChallengeDescriptionBox.Clear();
     ChallengeDescriptionBox.AppendText(description);
 }