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