示例#1
0
        void getPhoto()
        {
            int    id   = link.climber_id;
            string path = ImageWorker.GetOnlineImg(cn, id, false);

            if (path.Length < 1)
            {
                photoBox.Visible = false;
            }
            else
            {
                photoBox.Visible  = true;
                photoBox.ImageUrl = path;
            }
        }