public ListDoctorExaminationRequestForm(UserModel user) { this.user = user; medicalExaminationRequestService = new MedicalExaminationRequestService(); this.examinationRequestList = medicalExaminationRequestService.GetAllPendingRequestByDoctor(user.Id); InitializeComponent(); }
public ShowExaminationRequestDetailsForm(int id) { this.examinationRequestId = id; this.medicalExaminationRequestService = new MedicalExaminationRequestService(); this.requestExaminationModel = this.medicalExaminationRequestService.GetMedicalExaminationRequestById(examinationRequestId); InitializeComponent(); }
public MakeExaminationRequestForm(string doctorId) { this.doctorId = int.Parse(doctorId); this.examinationRequestService = new MedicalExaminationRequestService(); this.controls = new List <Control>(); InitializeComponent(); }