Esempio n. 1
0
        public MusicPlayer(IPomodoroEngine engine, MusicPlayerPluginSettings settings, IMusicPlayer musicPlayer, PomodoroEngineSettings engineSettings)
        {
            _engine         = engine;
            _settings       = settings;
            _musicPlayer    = musicPlayer;
            _engineSettings = engineSettings;

            _engine.PropertyChanged += _engine_PropertyChanged;
        }
Esempio n. 2
0
        public MusicPlayerPluginSettingWindow(MusicPlayerPluginSettings settings)
        {
            settings.DeferChanges();

            InitializeComponent();

            DataContext = settings;

            BrowseBreakSong.Command = new BrowseSong(BreakSong);
            BrowseWorkSong.Command  = new BrowseSong(WorkSong);
        }