示例#1
0
        public PlaylistPage()
        {
            InitializeComponent();
            _SourceSongGrouped = new ObservableCollection<ArrSongGrouped>();
            _Songs = _MediaLibrary.Songs;

            record2 = new Record2(this, 3);
        }
示例#2
0
        public SettingPage()
        {
            InitializeComponent();
            _SettingManager.FileReader();
            SetDefaultRadioButton();

            record2 = new Record2(this, 4);
            Record2.isAvailable = true;
        }
示例#3
0
 public MainPage()
 {
     InitializeComponent();
     st.FileReader();
     record2 = new Record2(this, 1);
     SetProperties();
     LoadSettingProperties();
     CheckAvailable();
     playTimer = new DispatcherTimer();
     playTimer.Interval = TimeSpan.FromSeconds(1); //one second
     playTimer.Tick += new EventHandler(playTimer_Tick);
     playTimer.Start();
 }
示例#4
0
        public ListSongPage()
        {
            InitializeComponent();
            _SourceSong = new ObservableCollection<ArrSong>();
            _SourceArtist = new ObservableCollection<ArrSong>();
            _Song = _MediaLibrary.Songs;
            GroupSong();
            GroupAlbum();
            GroupArtist();

            record2 = new Record2(this, 2);
            Record2.isAvailable = true;
        }