Esempio n. 1
0
 public InstructionsForm(NewExam E)
 {
     InitializeComponent();
     UserExam = E;
     Labels   = UserExam.LabelsTexts;
     SetLabels();
 }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
        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();
        }
Esempio n. 4
0
 public ExamForm(NewExam Ex)
 {
     InitializeComponent();
     UserExam = Ex;
     Labels   = Ex.LabelsTexts;
     Control.SetUser(UserExam);
     SetOtherLabels();
     SetQuestionLabels();
     SetProgressBarColor();
     InitiateTimer();
     CheckRadioButton();
     Alt1.Checked = false;
 }
Esempio n. 5
0
 public void SetUser(NewExam Ex)
 {
     UserExam = Ex;
 }
Esempio n. 6
0
 public ResultsForm(NewExam NE)
 {
     UserExam = NE;
     InitializeComponent();
     SetLabels();
 }