public MainWindow()
 {
     InitializeComponent();
     _dataSaverClass = new DataSaver(this);
     _dataSaverClass.LoadQuestionFiles();
     _testClass = new Test(_dataSaverClass);
     wpfMain_NumberOfQuestionFiles.Text = _dataSaverClass.QuestionFiles.Count.ToString();
     DataContext = _dataSaverClass;
 }
Example #2
0
 public TestWindow(DataSaver _dataSaver)
 {
     InitializeComponent();
     DataSaverClass = _dataSaver;
     PrepareWindowForNewQuestion();
 }
Example #3
0
 public Test(DataSaver _dataSaver)
 {
     DataSaverClass = _dataSaver;
 }