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