コード例 #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
ファイル: VolumeDisplayModel.cs プロジェクト: jgheld/Artemis
        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);
        }