void receptionInfoCard_OnSaveChanges(object source, SaveChangesEventArgs <IReception> e) { if (e.Entity != null) { doNothing = true; this.DialogResult = System.Windows.Forms.DialogResult.OK; this.Close(); doNothing = false; } }
public void db_ChangesSaved(object sender, SaveChangesEventArgs e) { var interestingChanged = e .Changes .Where(arg => arg.Entity.GetType() == typeof(groups) && arg.PropertiesHasBeenChanged.Count(prop => prop.Key == nameof(ResultInDB.participations.groups.round_finished_flags)) > 0); if (ResultInDB?.participations?.groups != null && interestingChanged.Count() > 0) { if (RemoveFalsestart != null) { RemoveFalsestart.RefreshCanExecute(); } } }
void clientInfoCard_OnSaveChanges(object source, SaveChangesEventArgs <IClient> e) { DeactivateEditMode(); }
void specialistInfoCard_OnSaveChanges(object source, SaveChangesEventArgs <ISpecialist> e) { DeactivateEditMode(); }
void specializationsInfo_OnSaveChanges(object source, SaveChangesEventArgs <ISpecializationList> e) { specList = e.Entity; }
void receptionInfoCard_OnSaveChanges(object source, SaveChangesEventArgs <IReception> e) { Reception = receptionInfoCard.Reception; this.Close(); }