예제 #1
0
 public ExamineForm()
 {
     InitializeComponent();
     queueBusiness         = new QueueBusiness();
     medicalRecordBusiness = new MedicalRecordBusiness();
     serviceDetailBusiness = new ServiceDetailBusiness();
     serviceBusiness       = new ServiceBusiness();
 }
예제 #2
0
        public MedicalRecordForm(MedicalRecord medicalRecord)
        {
            InitializeComponent();
            mediclRecordBusiness = new MedicalRecordBusiness();
            patientBusiness      = new PatientBusiness();

            pretBusiness   = new PrescriptionDetailBusiness();
            _medicalRecord = medicalRecord;
        }
예제 #3
0
 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;
 }
예제 #4
0
 public PaymentForm()
 {
     InitializeComponent();
     medicalRecordBusiness = new MedicalRecordBusiness();
 }