Beispiel #1
0
        protected virtual void OnLoad()
        {
            int questionCount       = m_questions.Rows.Count;
            DatabaseLoadEventArgs e = new DatabaseLoadEventArgs(questionCount);

            DatabaseLoaded(this, e);
        }
Beispiel #2
0
 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;
 }