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