internal void MediaUploadCloud() { if (!Conf.Subscribed) { var ns = new NotSubscribed(); ns.ShowDialog(this); return; } string msg = ""; lock (ThreadLock) { for (int i = 0; i < flowPreview.Controls.Count; i++) { var pb = flowPreview.Controls[i] as PreviewBox; if (pb != null && pb.Selected) { msg = CloudGateway.Upload(pb.Otid, pb.Oid, pb.FileName); } } } if (msg != "") { MessageBox.Show(this, msg); } }
internal void MediaUploadYouTube() { if (!Conf.Subscribed) { var ns = new NotSubscribed(); ns.ShowDialog(this); return; } string msg = ""; lock (ThreadLock) { for (int i = 0; i < flowPreview.Controls.Count; i++) { if (flowPreview.Controls[i] is PreviewBox pb && pb.Selected) { msg = YouTubeUploader.Upload(pb.Oid, pb.FileName, out bool b); } } } if (msg != "") { MessageBox.Show(this, LocRm.GetString(msg)); } }
internal void MediaUploadYouTube() { if (!Conf.Subscribed) { var ns = new NotSubscribed(); ns.ShowDialog(this); return; } string msg = ""; lock (ThreadLock) { } if (msg != "") { MessageBox.Show(this, LocRm.GetString(msg)); } }
internal void MediaUploadCloud() { if (!Conf.Subscribed) { var ns = new NotSubscribed(); ns.ShowDialog(this); return; } string msg = ""; lock (ThreadLock) { for (int i = 0; i < flowPreview.Controls.Count; i++) { var pb = flowPreview.Controls[i] as PreviewBox; if (pb != null && pb.Selected) { msg = CloudGateway.Upload(pb.Otid, pb.Oid, pb.FileName); } } } if (msg != "") MessageBox.Show(this, msg); }