private void DiagnosesCancelButton_Click(object sender, EventArgs e) { DiagnosesBindingSource.CancelEdit(); EnableDisplayElements(DiagnosesDataGridView, DiagnosesAddButton, DiagnosesPanel, true); }
private void DiagnosesSaveChanges() { Validate(); DiagnosesBindingSource.EndEdit(); DiagnosesTableAdapter.Update(polyDataSet); }
private void DiagnosesAddButton_Click(object sender, EventArgs e) { DiagnosesBindingSource.AddNew(); EnableDisplayElements(DiagnosesDataGridView, DiagnosesAddButton, DiagnosesPanel, false); }