private void CheckAnswers(int p1, int p2, int p3, int p4, int currentScore) { int score = currentScore; if (ListofAnswers[0].Keys == ListofPossabileQuestions[p1 - 1].Keys) { score = score + 25; } if (ListofAnswers[1].Keys == ListofPossabileQuestions[p2 - 1].Keys) { score = score + 25; } if (ListofAnswers[2].Keys == ListofPossabileQuestions[p3 - 1].Keys) { score = score + 25; } if (ListofAnswers[3].Keys == ListofPossabileQuestions[p4 - 1].Keys) { score = score + 25; } MessageBox.Show("Score = " + score); XpNumNew = score; SetXpForPlayer(XpNumCurrent, XpNumNew); IdentifyAreas ia = new IdentifyAreas(); this.Close(); ia.Show(); }
private void btnIA_Click(object sender, EventArgs e) { IdentifyAreas rb = new IdentifyAreas(); rb.Show(); this.Hide(); }