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