private void btMedicSelect_Click(object sender, EventArgs e) { var medicListForm = new MedicListForm(true); medicListForm.MedicInsertionEvent += new MedicListForm.MedicInsertionHandler(medicListForm_MedicInsertionEvent); medicListForm.ShowDialog(); }
private void btMedicList_Click(object sender, EventArgs e) { var medicListForm = new MedicListForm(); medicListForm.ShowDialog(); }
private void btMedicSelect_Click(object sender, EventArgs e) { var medicListForm = new MedicListForm(true); medicListForm.MedicInsertionEvent +=new MedicListForm.MedicInsertionHandler(medicListForm_MedicInsertionEvent); medicListForm.ShowDialog(); }