RandomAnime() public method

Retrieves a random anime from a certian criteria.
public RandomAnime ( int type ) : void
type int type: 0=from db, 1=watched, 2=unwatched, 3=all mylist
return void
示例#1
0
        private void randomAnimeLabelContextMenuItem_Click(object sender, RoutedEventArgs e)
        {
            MenuItem mi = (MenuItem)sender;

            m_aniDBAPI.RandomAnime(int.Parse(mi.Tag.ToString()));
        }