Exemple #1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            if (ListViewPatient.SelectedItems.Count > 0)
            {
                _patient = ListViewPatient.SelectedItems[0].Tag as Patient;
            }

            AddPatientForm addform = new AddPatientForm(_patient);

            addform.Show();
        }
Exemple #2
0
        private void patientToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddPatientForm patientform = new AddPatientForm();

            ShowForm(patientform);
        }
Exemple #3
0
        private void AddButton_Click(object sender, EventArgs e)
        {
            AddPatientForm addform = new AddPatientForm();

            addform.Show();
        }