コード例 #1
0
        private void btAddPatient_Click(object sender, EventArgs e)
        {
            var addPatientForm = new AddPatientForm();

            addPatientForm.PatientAddEvent += new AddPatientForm.PatientAddHandler(addPatientForm_PatientUpdateEvent);
            addPatientForm.ShowDialog();
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: dr-dead/diplomaWork
 private void btAddPatient_Click(object sender, EventArgs e)
 {
     var addPatientForm = new AddPatientForm();
     addPatientForm.PatientAddEvent +=new AddPatientForm.PatientAddHandler(addPatientForm_PatientUpdateEvent);
     addPatientForm.ShowDialog();
 }