Beispiel #1
0
 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;
 }
Beispiel #2
0
        protected virtual void OnLoad()
        {
            int questionCount       = m_questions.Rows.Count;
            DatabaseLoadEventArgs e = new DatabaseLoadEventArgs(questionCount);

            DatabaseLoaded(this, e);
        }