private void btnAdd_Click(object sender, EventArgs e) { var patientForm = new Patient(new PatientEntity()); var result = patientForm.ShowDialog(); if (result == DialogResult.OK) { patientBLL.Create(patientForm.Entity); RefreshData(); BindData(); } }
private void btnAdd_Click(object sender, EventArgs e) { var patientForm = new Patient(new PatientEntity()); var result = patientForm.ShowDialog(); if (result == DialogResult.OK) { patientBLL.Create(patientForm.Entity); RefreshData(); BindData(); } }