public void SetDoctorDetails(int msg) { DoctorID = msg; ActiveAppointment = PatientDBConverter.GetDoctorActiveAppointment(DoctorID); AppointmentTime = ActiveAppointment[2].ToString(); PatientName = PatientDBConverter.GetPatientName(int.Parse(ActiveAppointment[3].ToString())); AppointmentNotes = ActiveAppointment[4].ToString(); }