public ServiceForPlantWithEnablingPlantBoxBasedVM(
 [NotNull] string serviceName,
 [NotNull] string description,
 ServicePlantBoxBase plantBox)
       : base(serviceName, description)
   {
       this.AssignedPlantBox = plantBox;
         this.AssignedPlantBox.IsEnabledChanged += this.AssignedPlantBox_IsEnabledChanged;
   }
Example #2
0
 public ServiceForPlantWithEnablingPlantBoxBasedVM(
     [NotNull] string serviceName,
     [NotNull] string description,
     ServicePlantBoxBase plantBox)
     : base(serviceName, description)
 {
     this.AssignedPlantBox = plantBox;
     this.AssignedPlantBox.IsEnabledChanged += this.AssignedPlantBox_IsEnabledChanged;
 }
 protected virtual void StandaloneIconPlantBox_IsEnabledChanged(ServicePlantBoxBase sender, bool newvalue)
 {
     this.FixNIVisibility();
 }
Example #4
0
 private void GlobalMenuPlantBox_IsEnabledChanged(ServicePlantBoxBase sender, bool newValue)
 {
     this.FixVisibility();
 }
 protected virtual void AssignedPlantBox_IsEnabledChanged(ServicePlantBoxBase sender, bool newValue)
 {
     this.OnPropertyChanged("IsEnabled");
 }
 private void GlobalMenuPlantBox_IsEnabledChanged(ServicePlantBoxBase sender, bool newValue)
 {
     this.FixVisibility();
 }
Example #7
0
 protected virtual void AssignedPlantBox_IsEnabledChanged(ServicePlantBoxBase sender, bool newValue)
 {
     this.OnPropertyChanged("IsEnabled");
 }
 protected virtual void StandaloneIconPlantBox_IsEnabledChanged(ServicePlantBoxBase sender, bool newvalue)
 {
     this.FixNIVisibility();
 }