コード例 #1
0
        private void myWrittenPrescriptionsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ViewPrescriptionForm viewPrescriptionForm = new ViewPrescriptionForm();

            viewPrescriptionForm.Tag = this;
            viewPrescriptionForm.ViewPrescriptionOfDoctor();
            viewPrescriptionForm.ShowDialog(this);
        }
コード例 #2
0
        private void MyPrescriptionMenuItem_Click(object sender, EventArgs e)
        {
            ViewPrescriptionForm viewPrescriptionForm = new ViewPrescriptionForm();

            viewPrescriptionForm.ViewPrescriptionOfPatient();
            viewPrescriptionForm.Tag = this;
            viewPrescriptionForm.ShowDialog(this);
        }
コード例 #3
0
        private void prescriptionSearchButton_Click(object sender, EventArgs e)
        {
            string patientID = ForPatientTextBox.Text.ToString().Split('(', ')')[1];
            ViewPrescriptionForm viewPrescriptionForm = new ViewPrescriptionForm();

            viewPrescriptionForm.ViewPatientPrescriptionForDoctor(patientID);
            viewPrescriptionForm.Tag = this;
            viewPrescriptionForm.ShowDialog(this);
        }