示例#1
0
 private void NextBTN_Click(object sender, EventArgs e)
 {
     //Instruction Next Button
     //Start off with "Welcome Admin"
     //Move on to "Here is progress bar"
     if (Next == 0)
     {
         InstructionsTB.Text = "This is the progress bar. It shows how close you are toward recovering from the current attack.";
         Arrow1.Visible      = true;
         Next += 1;
     }
     else if (Next == 1)
     {
         Arrow1.Visible      = false;
         InstructionsTB.Text = "This is the current attack you need to recover from. You can double click on it to learn more about it.";
         Arrow2.Visible      = true;
         Next += 1;
     }
     else if (Next == 2)
     {
         Arrow2.Visible      = false;
         InstructionsTB.Text = "If you get stuck, you can ask for a hint.";
         Arrow3.Visible      = true;
         Next += 1;
     }
     else if (Next == 3)
     {
         Arrow3.Visible      = false;
         InstructionsTB.Text = "Here you can check your progress. When you complete a correct step towards recovery, it will show up here.";
         Arrow4.Visible      = true;
         Next += 1;
     }
     else if (Next == 4)
     {
         Arrow4.Visible      = false;
         InstructionsTB.Text = "You can see how many attacks you have succesfully recovered from here.";
         Arrow5.Visible      = true;
         Next += 1;
     }
     else if (Next == 5)
     {
         Arrow5.Visible      = false;
         ArrowPanel.Visible  = false;
         InstructionsTB.Text = "Good luck Admin!";
         Next += 1;
     }
     else if (Next == 6)
     {
         Class_Progress.Play();             //Begin attacks, starting with phish
         InstructionsPanel.Visible = false; //close instructions
     }
 }