Esempio n. 1
0
        public void AddLink(ImgurUploadInfo u)
        {
            if (this.InvokeRequired)
            {
                AddLinkDel d = new AddLinkDel(AddLink);
                this.Invoke(d, new object[] { u });
                return;
            }

            Uploaded.Add(u);
            AddLabelAndLink(u.file, "", false);
            AddLabelAndLink("Imgur Page:", u.imgur_page, true);
            AddLabelAndLink("Delete Link:", u.delete_hash, true);
        }
Esempio n. 2
0
        public void AddLink(ImgurUploadInfo u)
        {
            if (this.InvokeRequired)
            {
                AddLinkDel d = new AddLinkDel(AddLink);
                this.Invoke(d, new object[] { u });
                return;
            }

            Uploaded.Add(u);
            AddLabelAndLink(u.file, "", false);
            AddLabelAndLink("Imgur Page:", u.imgur_page, true);
            AddLabelAndLink("Original:", u.original_image, true);
            AddLabelAndLink("Large Thumb:", u.large_thumbnail, true);
            AddLabelAndLink("Small Thumb:", u.small_thumbnail, true);
            AddLabelAndLink("Delete Link:", u.delete_page, true);
        }
Esempio n. 3
0
 static void i_FileComplete(object source, ImgurUploadInfo s)
 {
     //show a message with a link to the imgur page
     _f.AddLink(s);
 }