Пример #1
0
 public void getSearchPatientInstance()
 {
     if (searchPatientInstance == null)
     {
         searchPatientInstance = new SearchPatient();
     }
 }
Пример #2
0
        private void cancelButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            clearForm();
            SearchPatient sp = new SearchPatient();

            sp.Closed += (s, args) => this.Close();
            sp.Show();
        }