public InstructionsForm(NewExam E) { InitializeComponent(); UserExam = E; Labels = UserExam.LabelsTexts; SetLabels(); }
public static NewExam PortugueseExam() { NewExam Ex = new NewExam(); Ex.LabelsTexts = PortugueseLabels(); Ex.QuestionsPath = "C:/Users/pedber/Documents/Visual Studio 2015/Projects/Questionnaire/Questionnaire/Questions/PortugueseQuestions.xml"; return(Ex); }
private void EnglishButton_Click_1(object sender, EventArgs e) { NewExam Ex = Exam.EnglishExam(); InstructionsForm InstructForm = new InstructionsForm(Ex); Hide(); InstructForm.Text = Ex.LabelsTexts.ExamHeader; InstructForm.ShowDialog(); Close(); }
public ExamForm(NewExam Ex) { InitializeComponent(); UserExam = Ex; Labels = Ex.LabelsTexts; Control.SetUser(UserExam); SetOtherLabels(); SetQuestionLabels(); SetProgressBarColor(); InitiateTimer(); CheckRadioButton(); Alt1.Checked = false; }
public void SetUser(NewExam Ex) { UserExam = Ex; }
public ResultsForm(NewExam NE) { UserExam = NE; InitializeComponent(); SetLabels(); }