client/src/Iri.Modernisation.Controls/ViewModel/HeaderProduction/HeaderProductionVM.cs
changeset 17 0e4e63f6f567
parent 0 249d70e7b32d
child 25 a9c815025a1b
equal deleted inserted replaced
16:dde0338cb539 17:0e4e63f6f567
    28             }
    28             }
    29             set
    29             set
    30             {
    30             {
    31                 _isChap01EditingComplete = value;
    31                 _isChap01EditingComplete = value;
    32                 OnPropertyChanged("IsChap01EditingComplete");
    32                 OnPropertyChanged("IsChap01EditingComplete");
       
    33 
    33                 GeneralRefresh();
    34                 GeneralRefresh();
    34                 
    35                 
    35             }
    36             }
    36         }
    37         }
    37         
    38         
   142         #endregion
   143         #endregion
   143 
   144 
   144         #region Etat des Boutton
   145         #region Etat des Boutton
   145         private void GeneralRefresh()
   146         private void GeneralRefresh()
   146         {
   147         {
   147             OnPropertyChanged("IsChap01EditingEnable");
   148             OnPropertyChanged(String.Empty);
   148             OnPropertyChanged("IsChap01IndexingEnable");
   149             
   149             OnPropertyChanged("IsChap02EditingEnable");
       
   150             OnPropertyChanged("IsChap02IndexingEnable");
       
   151             OnPropertyChanged("IsChap03EditingEnable");
       
   152             OnPropertyChanged("IsChap03IndexingEnable");
       
   153             OnPropertyChanged("IsChap04EditingEnable");
       
   154             OnPropertyChanged("IsChap04IndexingEnable");
       
   155             OnPropertyChanged("IsVideoBookComplete");
       
   156         }
   150         }
   157         public bool IsChap01EditingEnable
   151         public bool IsChap01EditingEnable
   158         {
   152         {
   159             get
   153             get
   160             {
   154             {
   306             IsChap02EditingComplete = true;
   300             IsChap02EditingComplete = true;
   307         }
   301         }
   308         void Chap01EditingOkClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
   302         void Chap01EditingOkClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
   309         {
   303         {
   310             this.IsChap01EditingComplete = true;
   304             this.IsChap01EditingComplete = true;
       
   305             GeneralRefresh();
   311         }
   306         }
   312     }
   307     }
   313 }
   308 }