private void TestForm_Load(object sender, EventArgs e) { msglabel.Location = new Point(300, 200); DifficultyGroup.Location = new Point(this.Size.Width / 2 - DifficultyGroup.Size.Width / 2, this.Size.Height / 2 - DifficultyGroup.Size.Height / 2); keys = new NumKeyboard(picture_r1, picture_r2, picture_res1, picture_res2, picture_res3, RightNum, ResultNum); QuestionGroup.Visible = false; if (CultureInfo.CurrentCulture.Name.Equals("en-EN")) { lbl = "Correct!"; lbl2 = "Wrong!"; } else { lbl = "Σωστό!"; lbl2 = "Λάθος!"; } }
private void LearningTest_Load(object sender, EventArgs e) { keys = new NumKeyboard(picture_r1, picture_r2, picture_res1, picture_res2, picture_res3, RightNum, ResultNum); CreateQuestionaire(); }