public TestForm(PresentationModel presentationModel) { InitializeComponent(); _presentationModel = presentationModel; _vocabularyNumber = _presentationModel.CreateDictionary(); _presentationModel._testCompleted += EndTest; }
public IncorrectQuestionShowForm(PresentationModel presentationModel) { InitializeComponent(); _model = presentationModel.GetModel(); _incorrectQuestionList.DataSource = _model.GetIncorrectQuestionList(); _resultLabel.Text = string.Format("You pass {0} of {1} questions!!", _model.GetCorrectNumber(), presentationModel.GetClickTimes()); //MessageBox.Show(string.Format("You pass {0} of {1} questions!!", 1, 10)); _model.ResetIncorrectQuestionList(); }