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