protected virtual void OnLoad() { int questionCount = m_questions.Rows.Count; DatabaseLoadEventArgs e = new DatabaseLoadEventArgs(questionCount); DatabaseLoaded(this, e); }
public void DataBase_OnLoad(object sender, DatabaseLoadEventArgs e) { // Method: DataBase_OnLoad // Quiz subscriber uses data from publisher DataBase // Stores the total number of questions m_numberOfQuestions = e.NumberOfQuestions; }