Esempio n. 1
0
        public void LoadData()
        {
            FetchSongBook fetch = new FetchSongBook();

            //ListBox1.ItemsSource = fetch.GetAllSongs("Songs of Worship");
            //this.Songs.Add(fetch.GetAllSongs("Songs of Worship"));
            //this.Items.Add(new SettingsModel() { SettTitle = "Application Version", SettDescri = "1.1.8.593" });

            this.IsDataLoaded = true;
        }
Esempio n. 2
0
        private void CcSongBook_Loaded(object sender, RoutedEventArgs e)
        {
            this.NavigationService.RemoveBackEntry();

            if (!App.ViewSong.IsDataLoaded)
            {
                App.ViewSong.LoadData();
            }

            FetchSongBook fetch = new FetchSongBook();

            ListBox1.ItemsSource = fetch.getSongBook("Songs of Worship");
            ListBox2.ItemsSource = fetch.getSongBook("Nyimbo zaInjili");
            ListBox3.ItemsSource = fetch.getSongBook("Believers Songs");
            ListBox4.ItemsSource = fetch.getSongBook("Nyimbo za Wokovu");
            ListBox5.ItemsSource = fetch.getSongBook("Redemption Songs");
            ListBox6.ItemsSource = fetch.getSongBook("Tenzi za Rohoni");
            ListBox7.ItemsSource = fetch.getSongBook("Kuinira Ngai");
            ListBox8.ItemsSource = fetch.getSongBook("Kumutaiia Ngai");
            ListBox9.ItemsSource = fetch.getSongBook("Kilosune Jehovah");

            pSongBook.Visibility     = Visibility.Visible;
            ApplicationBar.IsVisible = true;
        }