Example #1
0
        public async void UpdateImag()
        {
            if (updating)
            {
                return;
            }
            updating = true;
            imgsteam = await WebClass.Get(src);

            if (imgsteam == null)
            {
                updating = false;
                return;
            }
            bs       = UIImage.CreateWicBitmap(imgsteam);
            Img      = UIImage.CreateD2DBitmap(bs.Converter);
            updating = false;
            if (Parent != null)
            {
                Parent.Update         = true;
                ThreadManage.UpdateUI = true;
            }
        }