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