client/src/Iri.Modernisation.Controls/ViewModel/HeaderProduction/HeaderProductionVM.cs
--- a/client/src/Iri.Modernisation.Controls/ViewModel/HeaderProduction/HeaderProductionVM.cs Thu Dec 03 16:05:43 2009 +0100
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/HeaderProduction/HeaderProductionVM.cs Thu Dec 03 16:05:57 2009 +0100
@@ -30,6 +30,7 @@
{
_isChap01EditingComplete = value;
OnPropertyChanged("IsChap01EditingComplete");
+
GeneralRefresh();
}
@@ -144,15 +145,8 @@
#region Etat des Boutton
private void GeneralRefresh()
{
- OnPropertyChanged("IsChap01EditingEnable");
- OnPropertyChanged("IsChap01IndexingEnable");
- OnPropertyChanged("IsChap02EditingEnable");
- OnPropertyChanged("IsChap02IndexingEnable");
- OnPropertyChanged("IsChap03EditingEnable");
- OnPropertyChanged("IsChap03IndexingEnable");
- OnPropertyChanged("IsChap04EditingEnable");
- OnPropertyChanged("IsChap04IndexingEnable");
- OnPropertyChanged("IsVideoBookComplete");
+ OnPropertyChanged(String.Empty);
+
}
public bool IsChap01EditingEnable
{
@@ -308,6 +302,7 @@
void Chap01EditingOkClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
{
this.IsChap01EditingComplete = true;
+ GeneralRefresh();
}
}
}