Beispiel #1
0
        private void searchButton_Click(object sender, EventArgs e)
        {
            ExaminationListForm examinationList = new ExaminationListForm(ref examination);
            DialogResult        res             = examinationList.ShowDialog(this);

            if (res == DialogResult.Cancel)
            {
                codeLabel.Text                = examination.ExaminationCode;
                examinationLabel.Text         = examination.Examinations.Name;
                examination.Id                = Common.GetPhysicalExaminationsCount() + 1;
                label8.Text                   = examination.Id.ToString();
                examination.Examinations.Code = examination.ExaminationCode;
                examination.AppointmentId     = _appointment.Id;
            }
        }
Beispiel #2
0
        private void searchButton_Click(object sender, EventArgs e)
        {
            ExaminationListForm examinationList = new ExaminationListForm(ref examination);
            DialogResult        res             = examinationList.ShowDialog(this);

            if (res == DialogResult.Cancel)
            {
                examination.Id = Common.GetLaboratoryExaminationsCount() + 1;

                examinationLabel.Text         = examination.Examinations.Name;
                codeLabel.Text                = examination.ExaminationCode;
                label1.Text                   = examination.Id.ToString();
                doctorCommentTextBox.Text     = examination.Doctor_Note;
                laboratorianLabel.Text        = examination.LaboratoryPerson.Employee.Person.First_Name + " " + examination.LaboratoryPerson.Employee.Person.Last_Name;
                executionDateLlabel.Text      = examination.dt_Complete_Cancel.ToString();
                resultsTextBox.Text           = examination.Result;
                supervisorLabel.Text          = examination.LaboratorySupervisor.Employee.Person.First_Name + " " + examination.LaboratorySupervisor.Employee.Person.Last_Name;
                confirmationDateLabel.Text    = examination.dt_Confirmation.ToString();
                supervisorCommentTextBox.Text = examination.Supervisor_Note;
            }
        }