예제 #1
0
파일: Test.cs 프로젝트: swssr/TakeTestUI
 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;
 }
예제 #2
0
        protected virtual void OnLoad()
        {
            int questionCount       = m_questions.Rows.Count;
            DatabaseLoadEventArgs e = new DatabaseLoadEventArgs(questionCount);

            DatabaseLoaded(this, e);
        }