private void SpecialtyCancelButton_Click(object sender, EventArgs e) { SpecialtyBindingSource.CancelEdit(); EnableDisplayElements(SpecialtyDataGridView, SpecialtyAddButton, SpecialtyPanel, true); }
private void SpecialtySaveChanges() { Validate(); SpecialtyBindingSource.EndEdit(); SpecialtyTableAdapter.Update(polyDataSet); }
private void SpecialtyAddButton_Click(object sender, EventArgs e) { SpecialtyBindingSource.AddNew(); EnableDisplayElements(SpecialtyDataGridView, SpecialtyAddButton, SpecialtyPanel, false); }