public VolumeDisplayModel(MainManager mainManager) : base(mainManager, SettingsProvider.Load<VolumeDisplaySettings>()) { Name = "VolumeDisplay"; Settings = (VolumeDisplaySettings) base.Settings; VolumeDisplay = new VolumeBar(MainManager.DeviceManager, Settings); }
public VolumeDisplayModel(MainManager mainManager) : base(mainManager, SettingsProvider.Load <VolumeDisplaySettings>()) { Name = "VolumeDisplay"; Settings = (VolumeDisplaySettings)base.Settings; VolumeDisplay = new VolumeBar(MainManager.DeviceManager, Settings); }
public VolumeDisplayModel(MainManager mainManager, VolumeDisplaySettings settings) : base(mainManager) { Settings = settings; Name = "VolumeDisplay"; Enabled = Settings.Enabled; VolumeDisplay = new VolumeBar(MainManager.DeviceManager, settings); }
public VolumeDisplayModel(MainManager mainManager) : base(mainManager, new VolumeDisplaySettings()) { Name = "VolumeDisplay"; VolumeDisplay = new VolumeBar(MainManager.DeviceManager, (VolumeDisplaySettings)Settings); }