Esempio n. 1
0
        private void ViewFacultyMember(int index)
        {
            contactInfo continf = new contactInfo(); //Invokes the contact info form

            continf.EditMode = true;
            Faculty f = (Faculty)memberList[index];

            continf.FirstName  = f.FirstName;
            continf.LastName   = f.LastName;
            continf.MemberType = f.MemberType;
            continf.Department = f.Department;
            continf.Email      = f.Email;
            continf.Building   = f.Building;

            continf.ShowDialog();
        }
Esempio n. 2
0
        private void ViewStudentMember(int index)
        {
            contactInfo continf = new contactInfo(); //Invokes the contact info form

            continf.EditMode = true;
            Student s = (Student)memberList[index];

            continf.FirstName  = s.FirstName;
            continf.LastName   = s.LastName;
            continf.MemberType = s.MemberType;
            continf.Department = s.Department;
            continf.Email      = s.Email;
            continf.Address    = s.Address;
            continf.Graduation = s.Graduation;
            continf.Courses    = s.Courses;


            continf.ShowDialog();
        }