public ExamineForm() { InitializeComponent(); queueBusiness = new QueueBusiness(); medicalRecordBusiness = new MedicalRecordBusiness(); serviceDetailBusiness = new ServiceDetailBusiness(); serviceBusiness = new ServiceBusiness(); }
public MedicalRecordForm(MedicalRecord medicalRecord) { InitializeComponent(); mediclRecordBusiness = new MedicalRecordBusiness(); patientBusiness = new PatientBusiness(); pretBusiness = new PrescriptionDetailBusiness(); _medicalRecord = medicalRecord; }
public PatientDetailForm(int id) { InitializeComponent(); medicalRecordBusines = new MedicalRecordBusiness(); patientBusiness = new PatientBusiness(); _patient = patientBusiness.GetbyId(id); textFullName.Text = _patient.FullName; textGender.Text = _patient.Gender; memoAddress.Text = _patient.Address; textDateOfBirth.Text = _patient.DateOfBirth.ToShortDateString(); textJob.Text = _patient.Job; textPhone.Text = _patient.Phone; memoNote.Text = _patient.Note; textCreateDay.Text = _patient.CreateDate.ToShortDateString(); this.Text = "BN: " + _patient.FullName; }
public PaymentForm() { InitializeComponent(); medicalRecordBusiness = new MedicalRecordBusiness(); }