public void getSearchPatientInstance()
 {
     if (searchPatientInstance == null)
     {
         searchPatientInstance = new SearchPatient();
     }
 }
        private void cancelButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            clearForm();
            SearchPatient sp = new SearchPatient();

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