Example #1
0
        public MainPage()
        {
            InitializeComponent();

            _state             = new StopState();
            _prevState         = new StopState();
            AudioManager       = new AudioManager(MediaElement);
            _sounds            = new ObservableCollection <Sound>();
            _youtubeDownloader = new YoutubeDownloader();
            _colorOptions      = new List <SolidColorBrush>();

            LoadSounds();
            AddColorOptions();
        }
Example #2
0
 public AddDialog(YoutubeDownloader youtubeDownloader)
 {
     InitializeComponent();
     _youtubeDownloader = youtubeDownloader;
 }