private void openToolStripMenuItem_Click(object sender, EventArgs e) { if (openFileDialog1.ShowDialog(this) == DialogResult.OK) { quiz = Quiz.ParseFromFile(openFileDialog1.FileName); } }
public QuizPresenter(Quiz quiz) { InitializeComponent(); this.quiz = quiz; }
public QuizPresenter() { InitializeComponent(); this.quiz = new Quiz(); }