コード例 #1
0
        private void searchPatientButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            getSearchPatientInstance();

            searchPatientInstance.Show();
        }
コード例 #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();
        }