Exemple #1
0
    void Play()
    {
        if (SelectedDB is Release)
        {
            RecentFileList.Add(SelectedDB as Release);
        }

        else if (SelectedDB is Game)
        {
            RecentFileList.Add((SelectedDB as Game).PreferredRelease);
        }

        SelectedDB.Play();
    }