public ServiceForPlantWithEnablingPlantBoxBasedVM( [NotNull] string serviceName, [NotNull] string description, ServicePlantBoxBase plantBox) : base(serviceName, description) { this.AssignedPlantBox = plantBox; this.AssignedPlantBox.IsEnabledChanged += this.AssignedPlantBox_IsEnabledChanged; }
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(); }
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(); }
protected virtual void AssignedPlantBox_IsEnabledChanged(ServicePlantBoxBase sender, bool newValue) { this.OnPropertyChanged("IsEnabled"); }
protected virtual void StandaloneIconPlantBox_IsEnabledChanged(ServicePlantBoxBase sender, bool newvalue) { this.FixNIVisibility(); }