示例#1
0
        public void displayID(Object studentObj, Student.StudentEventArgs e)
        {
            Student student = (Student)studentObj;

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

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