Example #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();
        }
Example #2
0
        private void AddButton_Click(object sender, EventArgs e)
        {
            AddPatientForm addform = new AddPatientForm();

            addform.Show();
        }