private void button6_Click(object sender, EventArgs e) { using (PractitionerDialog form = new PractitionerDialog(CustomerID, "")) { DialogResult dr = form.ShowDialog(); if (dr == DialogResult.OK) { LoadPractitioner(); } } }
private void button4_Click_1(object sender, EventArgs e) { using (PractitionerDialog form = new PractitionerDialog(CustomerID, "")) { DialogResult dr = form.ShowDialog(); if (dr == DialogResult.OK) { AutoCompletePractitioner(CustomerID); } } }