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