Пример #1
0
 public VolumeDisplayModel(MainManager mainManager)
     : base(mainManager, SettingsProvider.Load<VolumeDisplaySettings>())
 {
     Name = "VolumeDisplay";
     Settings = (VolumeDisplaySettings) base.Settings;
     VolumeDisplay = new VolumeBar(MainManager.DeviceManager, Settings);
 }
Пример #2
0
 public VolumeDisplayModel(MainManager mainManager)
     : base(mainManager, SettingsProvider.Load <VolumeDisplaySettings>())
 {
     Name          = "VolumeDisplay";
     Settings      = (VolumeDisplaySettings)base.Settings;
     VolumeDisplay = new VolumeBar(MainManager.DeviceManager, Settings);
 }
Пример #3
0
        public VolumeDisplayModel(MainManager mainManager, VolumeDisplaySettings settings) : base(mainManager)
        {
            Settings = settings;
            Name     = "VolumeDisplay";
            Enabled  = Settings.Enabled;

            VolumeDisplay = new VolumeBar(MainManager.DeviceManager, settings);
        }
Пример #4
0
        public VolumeDisplayModel(MainManager mainManager) : base(mainManager, new VolumeDisplaySettings())
        {
            Name = "VolumeDisplay";

            VolumeDisplay = new VolumeBar(MainManager.DeviceManager, (VolumeDisplaySettings)Settings);
        }