Exemplo n.º 1
0
        public void displayID(Object studentObj, Student.StudentEventArgs e)
        {
            Student student = (Student)studentObj;

            Console.WriteLine("student sex:{0}", e.ID);
            Console.WriteLine();
        }
Exemplo n.º 2
0
        public void displayName(Object studentObj, Student.StudentEventArgs e)
        {
            Student student = (Student)studentObj;

            Console.WriteLine("student name:{0}", e.name);
            Console.WriteLine();
        }