Ejemplo n.º 1
0
        public static void LoadPic(int type, JObject elementData, PictureBox picture, TextBox box = null)
        {
            var url  = BstManager.GetItemPicUrl(type, elementData);
            var path = BstManager.GetItemPicTmpPath(type, elementData);

            BstPicLoader.RunLoading(url, path, picture, box);
        }
Ejemplo n.º 2
0
        public static void LoadPic(int type, string elementId, PictureBox picture, TextBox box = null)
        {
            var data        = BstManager.Instance.GetAllDataByType(type);
            var elementData = (JObject)data[elementId];

            BstPicLoader.LoadPic(type, elementData, picture, box);
        }