Esempio n. 1
0
 /// <summary>
 /// Creates the pop-up window for a challenge from the other form Pop-up_Form
 /// and shows it as a dialog to make it impossible for the user to interact with the main form
 /// </summary>
 public void createChallengePopUp()
 {
     Pop_up pop_up = new Pop_up();
     pop_up.Text = "Congratulations you have finished the chosen challenge!";
     pop_up.ShowDialog();
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a pop-up for a challenge
 /// </summary>
 public void createChallengePopUp()
 {
     Pop_up pop_up = new Pop_up(presenter);
     pop_up.Text = "Finished challenge!";
     pop_up.textBox1.Text = "Give this challenge a rating!";
     pop_up.ShowDialog();
 }
Esempio n. 3
0
 /// <summary>
 /// Creates the pop-up window for a activity from the other form Pop-up_Form
 /// and shows it as a dialog to make it impossible for the user to interact with the main form
 /// </summary>
 public void createActivityPopUp()
 {
     Pop_up pop_up = new Pop_up();
     pop_up.Text = "Congratulations you have finished the chosen activity!";
     pop_up.ShowDialog();
 }
Esempio n. 4
0
 /// <summary>
 /// Creates an pop-up for activity.
 /// </summary>
 public void createActivityPopUp()
 {
     Pop_up pop_up = new Pop_up(presenter);
     pop_up.Text = "Finished activity!";
     pop_up.ShowDialog();
 }