public void UpdateWithData(Employee employee, UIImage imgDefaultAvatar, UIImage imgPhone, UIImage imgSMS, UIImage imgEmail)
        {
            avatar.Image = employee.getAvatar ();

            if (avatar.Image == null) {
                avatar.Image = imgDefaultAvatar;
            }

            name.Text = employee.getName ();
            title.Text = employee.title;

            szPhoneNo = employee.getPhoneNo ();

            if (szPhoneNo.Length > 0) {
                phoneImg.Image = imgPhone;
                smsImg.Image = imgSMS;
            } else {
            }

            szEmailAddress = employee.getEmailAddr ();

            if (szEmailAddress.Length > 0) {
                emailImg.Image = imgEmail;
            } else {
            }
        }
 string MakeEmployeeName(Employee employee)
 {
     return employee.firstName + " " + employee.lastName;
 }
            UIImage GetAvatar(Employee employee)
            {
                // Default avatar
                if (employee.avatarImage == null || employee.avatarImage == "")
                    return m_imgDefaultAvatar;

                // Special avatar
                byte[] byteImg = System.Convert.FromBase64String (employee.avatarImage);
                NSData data = NSData.FromArray(byteImg);

                return UIImage.LoadFromData (data);
            }
 public EmployeeDetailViewController(Employee empInfo)
     : base("EmployeeDetailViewController", null)
 {
     m_empInfo = empInfo;
 }