Exemplo n.º 1
0
        public void loadDgrid()
        {
            string lang = cbox_searchLanguage.SelectedItem != null?cbox_searchLanguage.SelectedItem.ToString() : "";

            string sub = cbox_searchSub.SelectedItem != null?cbox_searchSub.SelectedItem.ToString() : "";

            string type = cbox_searchCategory.SelectedItem != null?cbox_searchCategory.SelectedItem.ToString() : "";

            AnimeController.fill(dGrid_anime, animes.get(new Anime(tbox_searchName.Text, "", "", "", 0, 0, lang, sub, "", type, "")));
            dGrid_anime.SelectedItem = null;
            btn_addEp.IsEnabled      = btn_addSeason.IsEnabled = btn_update.IsEnabled = false;
        }
Exemplo n.º 2
0
 public void loadCboxes()
 {
     AnimeController.fill(cbox_searchCategory, AnimeController.PROP_TYPE, animes, true);
     AnimeController.fill(cbox_searchLanguage, AnimeController.PROP_LANG, animes, true);
     AnimeController.fill(cbox_searchSub, AnimeController.PROP_SUB, animes, true);
 }
Exemplo n.º 3
0
 private void loadCboxes()
 {
     AnimeController.fill(cbox_language, AnimeController.PROP_LANG, main.animes, true);
     AnimeController.fill(cbox_sub, AnimeController.PROP_SUB, main.animes, true);
 }