Beispiel #1
0
        public override void LoadArtPic(PicSizeType picSizeType, OnLoadListener loadListener)
        {
            String uri = "";

            switch (picSizeType)
            {
            case PicSizeType.SMALL:
                uri = new Uri(songinfo != null ? songinfo.pic_small : "").AbsolutePath;
                break;

            case PicSizeType.BIG:
                uri = new Uri(songinfo != null ? songinfo.pic_big : "").AbsolutePath;
                break;

            case PicSizeType.PREIUM:
                uri = new Uri(songinfo != null ? songinfo.pic_premium : "").AbsolutePath;
                break;

            case PicSizeType.HUGE:
                uri = new Uri(songinfo != null ? songinfo.pic_huge : "").AbsolutePath;
                break;
            }
            loadArtPic(uri, loadListener);
        }
Beispiel #2
0
        public override void LoadArtPic(PicSizeType picSizeType, IOnLoadListener loadListener)
        {
            string uri = "";

            switch (picSizeType)
            {
            case PicSizeType.Small:
                uri = new Uri(Songinfo != null ? Songinfo.PicSmall : "").AbsolutePath;
                break;

            case PicSizeType.Big:
                uri = new Uri(Songinfo != null ? Songinfo.PicBig : "").AbsolutePath;
                break;

            case PicSizeType.Preium:
                uri = new Uri(Songinfo != null ? Songinfo.PicPremium : "").AbsolutePath;
                break;

            case PicSizeType.Huge:
                uri = new Uri(Songinfo != null ? Songinfo.PicHuge : "").AbsolutePath;
                break;
            }
            loadArtPic(uri, loadListener);
        }
Beispiel #3
0
 public override void LoadArtPic(PicSizeType picSizeType, IOnLoadListener loadListener)
 {
 }
Beispiel #4
0
 public abstract void LoadArtPic(PicSizeType picSizeType, OnLoadListener loadListener);