private void buttonPrintIdCard_Click(object sender, EventArgs e)
        {
            if (currentPatient == null)
            {
                return;
            }

            SPDPrint print = new SPDPrint(this.patComp);
            IList<PatientData> patients = new List<PatientData>();
            patients.Add(currentPatient);
            print.PrintIdCard(patients);
        }
        private void buttonIdCardPrint_Click(object sender, EventArgs e)
        {
            if (!PatientSelected()) {
                MessageBox.Show("Please select a patient");
                return;
            }

            SPDPrint print = new SPDPrint(this.patComp);
            IList<PatientData> patients = new List<PatientData>();
            patients.Add(getSelectedPatient());
            print.PrintIdCard(patients);
        }