Esempio n. 1
0
 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;
     }
 }
Esempio n. 2
0
        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();
                }
            }
        }
Esempio n. 3
0
 void clientInfoCard_OnSaveChanges(object source, SaveChangesEventArgs <IClient> e)
 {
     DeactivateEditMode();
 }
Esempio n. 4
0
 void specialistInfoCard_OnSaveChanges(object source, SaveChangesEventArgs <ISpecialist> e)
 {
     DeactivateEditMode();
 }
Esempio n. 5
0
 void specializationsInfo_OnSaveChanges(object source, SaveChangesEventArgs <ISpecializationList> e)
 {
     specList = e.Entity;
 }
Esempio n. 6
0
 void receptionInfoCard_OnSaveChanges(object source, SaveChangesEventArgs <IReception> e)
 {
     Reception = receptionInfoCard.Reception;
     this.Close();
 }