private void searchPatientButton_Click(object sender, EventArgs e) { this.Hide(); getSearchPatientInstance(); searchPatientInstance.Show(); }
private void cancelButton_Click(object sender, EventArgs e) { this.Hide(); clearForm(); SearchPatient sp = new SearchPatient(); sp.Closed += (s, args) => this.Close(); sp.Show(); }