private void DoctorCancelButton_Click(object sender, EventArgs e) { DoctorBindingSource.CancelEdit(); EnableDisplayElements(DoctorDataGridView, DoctorAddButton, DoctorPanel, true); }
private void DoctorSaveChanges() { Validate(); DoctorBindingSource.EndEdit(); DoctorTableAdapter.Update(polyDataSet); }
private void DoctorAddButton_Click(object sender, EventArgs e) { DoctorBindingSource.AddNew(); EnableDisplayElements(DoctorDataGridView, DoctorAddButton, DoctorPanel, false); }