AdFly icon and link label for API page

This commit is contained in:
Jaex 2014-07-13 23:10:37 +03:00
parent eb9734dc61
commit 5076db7a61
8 changed files with 262 additions and 227 deletions

View file

@ -78,7 +78,7 @@ public enum FileDestination
{ {
[Description("Dropbox")] [Description("Dropbox")]
Dropbox, Dropbox,
[Description("FTP server")] [Description("FTP")]
FTP, FTP,
[Description("Copy")] [Description("Copy")]
Copy, Copy,

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -94,16 +94,12 @@ private void InitializeComponent()
this.txtCustomUploaderArgName = new System.Windows.Forms.TextBox(); this.txtCustomUploaderArgName = new System.Windows.Forms.TextBox();
this.tpTwitter = new System.Windows.Forms.TabPage(); this.tpTwitter = new System.Windows.Forms.TabPage();
this.btnTwitterLogin = new System.Windows.Forms.Button(); this.btnTwitterLogin = new System.Windows.Forms.Button();
this.ucTwitterAccounts = new UploadersLib.AccountsControl();
this.tpURLShorteners = new System.Windows.Forms.TabPage(); this.tpURLShorteners = new System.Windows.Forms.TabPage();
this.tcURLShorteners = new System.Windows.Forms.TabControl(); this.tcURLShorteners = new System.Windows.Forms.TabControl();
this.tpBitly = new System.Windows.Forms.TabPage(); this.tpBitly = new System.Windows.Forms.TabPage();
this.txtBitlyDomain = new System.Windows.Forms.TextBox(); this.txtBitlyDomain = new System.Windows.Forms.TextBox();
this.lblBitlyDomain = new System.Windows.Forms.Label(); this.lblBitlyDomain = new System.Windows.Forms.Label();
this.oauth2Bitly = new UploadersLib.OAuthControl();
this.tpGoogleURLShortener = new System.Windows.Forms.TabPage(); this.tpGoogleURLShortener = new System.Windows.Forms.TabPage();
this.oauth2GoogleURLShortener = new UploadersLib.OAuthControl();
this.atcGoogleURLShortenerAccountType = new UploadersLib.AccountTypeControl();
this.tpYourls = new System.Windows.Forms.TabPage(); this.tpYourls = new System.Windows.Forms.TabPage();
this.txtYourlsPassword = new System.Windows.Forms.TextBox(); this.txtYourlsPassword = new System.Windows.Forms.TextBox();
this.txtYourlsUsername = new System.Windows.Forms.TextBox(); this.txtYourlsUsername = new System.Windows.Forms.TextBox();
@ -114,7 +110,7 @@ private void InitializeComponent()
this.lblYourlsSignature = new System.Windows.Forms.Label(); this.lblYourlsSignature = new System.Windows.Forms.Label();
this.txtYourlsAPIURL = new System.Windows.Forms.TextBox(); this.txtYourlsAPIURL = new System.Windows.Forms.TextBox();
this.lblYourlsAPIURL = new System.Windows.Forms.Label(); this.lblYourlsAPIURL = new System.Windows.Forms.Label();
this.tpAdfly = new System.Windows.Forms.TabPage(); this.tpAdFly = new System.Windows.Forms.TabPage();
this.txtAdflyAPIUID = new System.Windows.Forms.TextBox(); this.txtAdflyAPIUID = new System.Windows.Forms.TextBox();
this.lblAdflyAPIUID = new System.Windows.Forms.Label(); this.lblAdflyAPIUID = new System.Windows.Forms.Label();
this.txtAdflyAPIKEY = new System.Windows.Forms.TextBox(); this.txtAdflyAPIKEY = new System.Windows.Forms.TextBox();
@ -122,7 +118,6 @@ private void InitializeComponent()
this.tpFileUploaders = new System.Windows.Forms.TabPage(); this.tpFileUploaders = new System.Windows.Forms.TabPage();
this.tcFileUploaders = new System.Windows.Forms.TabControl(); this.tcFileUploaders = new System.Windows.Forms.TabControl();
this.tpDropbox = new System.Windows.Forms.TabPage(); this.tpDropbox = new System.Windows.Forms.TabPage();
this.oauth2Dropbox = new UploadersLib.OAuthControl();
this.cbDropboxURLType = new System.Windows.Forms.ComboBox(); this.cbDropboxURLType = new System.Windows.Forms.ComboBox();
this.cbDropboxAutoCreateShareableLink = new System.Windows.Forms.CheckBox(); this.cbDropboxAutoCreateShareableLink = new System.Windows.Forms.CheckBox();
this.btnDropboxShowFiles = new System.Windows.Forms.Button(); this.btnDropboxShowFiles = new System.Windows.Forms.Button();
@ -140,7 +135,6 @@ private void InitializeComponent()
this.lblCopyStatus = new System.Windows.Forms.Label(); this.lblCopyStatus = new System.Windows.Forms.Label();
this.lblCopyPath = new System.Windows.Forms.Label(); this.lblCopyPath = new System.Windows.Forms.Label();
this.txtCopyPath = new System.Windows.Forms.TextBox(); this.txtCopyPath = new System.Windows.Forms.TextBox();
this.oAuthCopy = new UploadersLib.OAuthControl();
this.tpFTP = new System.Windows.Forms.TabPage(); this.tpFTP = new System.Windows.Forms.TabPage();
this.eiFTP = new HelpersLib.ExportImportControl(); this.eiFTP = new HelpersLib.ExportImportControl();
this.btnFtpClient = new System.Windows.Forms.Button(); this.btnFtpClient = new System.Windows.Forms.Button();
@ -150,7 +144,6 @@ private void InitializeComponent()
this.cboFtpImages = new System.Windows.Forms.ComboBox(); this.cboFtpImages = new System.Windows.Forms.ComboBox();
this.cboFtpFiles = new System.Windows.Forms.ComboBox(); this.cboFtpFiles = new System.Windows.Forms.ComboBox();
this.cboFtpText = new System.Windows.Forms.ComboBox(); this.cboFtpText = new System.Windows.Forms.ComboBox();
this.ucFTPAccounts = new UploadersLib.AccountsControl();
this.tpMega = new System.Windows.Forms.TabPage(); this.tpMega = new System.Windows.Forms.TabPage();
this.btnMegaRefreshFolders = new System.Windows.Forms.Button(); this.btnMegaRefreshFolders = new System.Windows.Forms.Button();
this.lblMegaStatus = new System.Windows.Forms.Label(); this.lblMegaStatus = new System.Windows.Forms.Label();
@ -188,7 +181,6 @@ private void InitializeComponent()
this.chGoogleDriveDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.chGoogleDriveDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.btnGoogleDriveRefreshFolders = new System.Windows.Forms.Button(); this.btnGoogleDriveRefreshFolders = new System.Windows.Forms.Button();
this.cbGoogleDriveIsPublic = new System.Windows.Forms.CheckBox(); this.cbGoogleDriveIsPublic = new System.Windows.Forms.CheckBox();
this.oauth2GoogleDrive = new UploadersLib.OAuthControl();
this.tpOwnCloud = new System.Windows.Forms.TabPage(); this.tpOwnCloud = new System.Windows.Forms.TabPage();
this.cbOwnCloudDirectLink = new System.Windows.Forms.CheckBox(); this.cbOwnCloudDirectLink = new System.Windows.Forms.CheckBox();
this.cbOwnCloudCreateShare = new System.Windows.Forms.CheckBox(); this.cbOwnCloudCreateShare = new System.Windows.Forms.CheckBox();
@ -213,7 +205,6 @@ private void InitializeComponent()
this.chBoxFoldersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.chBoxFoldersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.lblBoxFolderID = new System.Windows.Forms.Label(); this.lblBoxFolderID = new System.Windows.Forms.Label();
this.btnBoxRefreshFolders = new System.Windows.Forms.Button(); this.btnBoxRefreshFolders = new System.Windows.Forms.Button();
this.oauth2Box = new UploadersLib.OAuthControl();
this.tpRapidShare = new System.Windows.Forms.TabPage(); this.tpRapidShare = new System.Windows.Forms.TabPage();
this.txtRapidShareFolderID = new System.Windows.Forms.TextBox(); this.txtRapidShareFolderID = new System.Windows.Forms.TextBox();
this.lblRapidShareFolderID = new System.Windows.Forms.Label(); this.lblRapidShareFolderID = new System.Windows.Forms.Label();
@ -229,7 +220,6 @@ private void InitializeComponent()
this.lblSendSpaceUsername = new System.Windows.Forms.Label(); this.lblSendSpaceUsername = new System.Windows.Forms.Label();
this.txtSendSpacePassword = new System.Windows.Forms.TextBox(); this.txtSendSpacePassword = new System.Windows.Forms.TextBox();
this.txtSendSpaceUserName = new System.Windows.Forms.TextBox(); this.txtSendSpaceUserName = new System.Windows.Forms.TextBox();
this.atcSendSpaceAccountType = new UploadersLib.AccountTypeControl();
this.tpGe_tt = new System.Windows.Forms.TabPage(); this.tpGe_tt = new System.Windows.Forms.TabPage();
this.lblGe_ttStatus = new System.Windows.Forms.Label(); this.lblGe_ttStatus = new System.Windows.Forms.Label();
this.lblGe_ttPassword = new System.Windows.Forms.Label(); this.lblGe_ttPassword = new System.Windows.Forms.Label();
@ -267,7 +257,6 @@ private void InitializeComponent()
this.txtJiraConfigHelp = new System.Windows.Forms.TextBox(); this.txtJiraConfigHelp = new System.Windows.Forms.TextBox();
this.txtJiraHost = new System.Windows.Forms.TextBox(); this.txtJiraHost = new System.Windows.Forms.TextBox();
this.lblJiraHost = new System.Windows.Forms.Label(); this.lblJiraHost = new System.Windows.Forms.Label();
this.oAuthJira = new UploadersLib.OAuthControl();
this.tpEmail = new System.Windows.Forms.TabPage(); this.tpEmail = new System.Windows.Forms.TabPage();
this.chkEmailConfirm = new System.Windows.Forms.CheckBox(); this.chkEmailConfirm = new System.Windows.Forms.CheckBox();
this.lblEmailSmtpServer = new System.Windows.Forms.Label(); this.lblEmailSmtpServer = new System.Windows.Forms.Label();
@ -290,7 +279,6 @@ private void InitializeComponent()
this.lblSharedFolderImages = new System.Windows.Forms.Label(); this.lblSharedFolderImages = new System.Windows.Forms.Label();
this.cboSharedFolderText = new System.Windows.Forms.ComboBox(); this.cboSharedFolderText = new System.Windows.Forms.ComboBox();
this.cboSharedFolderImages = new System.Windows.Forms.ComboBox(); this.cboSharedFolderImages = new System.Windows.Forms.ComboBox();
this.ucLocalhostAccounts = new UploadersLib.AccountsControl();
this.btnCopyShowFiles = new System.Windows.Forms.Button(); this.btnCopyShowFiles = new System.Windows.Forms.Button();
this.tpTextUploaders = new System.Windows.Forms.TabPage(); this.tpTextUploaders = new System.Windows.Forms.TabPage();
this.tcTextUploaders = new System.Windows.Forms.TabControl(); this.tcTextUploaders = new System.Windows.Forms.TabControl();
@ -302,8 +290,6 @@ private void InitializeComponent()
this.txtPaste_eeUserAPIKey = new System.Windows.Forms.TextBox(); this.txtPaste_eeUserAPIKey = new System.Windows.Forms.TextBox();
this.tpGist = new System.Windows.Forms.TabPage(); this.tpGist = new System.Windows.Forms.TabPage();
this.chkGistPublishPublic = new System.Windows.Forms.CheckBox(); this.chkGistPublishPublic = new System.Windows.Forms.CheckBox();
this.oAuth2Gist = new UploadersLib.OAuthControl();
this.atcGistAccountType = new UploadersLib.AccountTypeControl();
this.tpUpaste = new System.Windows.Forms.TabPage(); this.tpUpaste = new System.Windows.Forms.TabPage();
this.cbUpasteIsPublic = new System.Windows.Forms.CheckBox(); this.cbUpasteIsPublic = new System.Windows.Forms.CheckBox();
this.lblUpasteUserKey = new System.Windows.Forms.Label(); this.lblUpasteUserKey = new System.Windows.Forms.Label();
@ -311,8 +297,6 @@ private void InitializeComponent()
this.tpImageUploaders = new System.Windows.Forms.TabPage(); this.tpImageUploaders = new System.Windows.Forms.TabPage();
this.tcImageUploaders = new System.Windows.Forms.TabControl(); this.tcImageUploaders = new System.Windows.Forms.TabControl();
this.tpImgur = new System.Windows.Forms.TabPage(); this.tpImgur = new System.Windows.Forms.TabPage();
this.atcImgurAccountType = new UploadersLib.AccountTypeControl();
this.oauth2Imgur = new UploadersLib.OAuthControl();
this.txtImgurAlbumID = new System.Windows.Forms.TextBox(); this.txtImgurAlbumID = new System.Windows.Forms.TextBox();
this.lblImgurAlbumID = new System.Windows.Forms.Label(); this.lblImgurAlbumID = new System.Windows.Forms.Label();
this.lvImgurAlbumList = new System.Windows.Forms.ListView(); this.lvImgurAlbumList = new System.Windows.Forms.ListView();
@ -332,7 +316,6 @@ private void InitializeComponent()
this.txtImageShackPassword = new System.Windows.Forms.TextBox(); this.txtImageShackPassword = new System.Windows.Forms.TextBox();
this.lblImageShackPassword = new System.Windows.Forms.Label(); this.lblImageShackPassword = new System.Windows.Forms.Label();
this.tpTinyPic = new System.Windows.Forms.TabPage(); this.tpTinyPic = new System.Windows.Forms.TabPage();
this.atcTinyPicAccountType = new UploadersLib.AccountTypeControl();
this.btnTinyPicLogin = new System.Windows.Forms.Button(); this.btnTinyPicLogin = new System.Windows.Forms.Button();
this.txtTinyPicPassword = new System.Windows.Forms.TextBox(); this.txtTinyPicPassword = new System.Windows.Forms.TextBox();
this.lblTinyPicPassword = new System.Windows.Forms.Label(); this.lblTinyPicPassword = new System.Windows.Forms.Label();
@ -373,10 +356,28 @@ private void InitializeComponent()
this.chPicasaName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.chPicasaName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chPicasaDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.chPicasaDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.btnPicasaRefreshAlbumList = new System.Windows.Forms.Button(); this.btnPicasaRefreshAlbumList = new System.Windows.Forms.Button();
this.oauth2Picasa = new UploadersLib.OAuthControl();
this.tcUploaders = new System.Windows.Forms.TabControl(); this.tcUploaders = new System.Windows.Forms.TabControl();
this.ttlvMain = new HelpersLib.TabToListView(); this.ttlvMain = new HelpersLib.TabToListView();
this.lblWidthHint = new System.Windows.Forms.Label(); this.lblWidthHint = new System.Windows.Forms.Label();
this.llAdflyLink = new System.Windows.Forms.LinkLabel();
this.atcImgurAccountType = new UploadersLib.AccountTypeControl();
this.oauth2Imgur = new UploadersLib.OAuthControl();
this.atcTinyPicAccountType = new UploadersLib.AccountTypeControl();
this.oauth2Picasa = new UploadersLib.OAuthControl();
this.oAuth2Gist = new UploadersLib.OAuthControl();
this.atcGistAccountType = new UploadersLib.AccountTypeControl();
this.oauth2Dropbox = new UploadersLib.OAuthControl();
this.oAuthCopy = new UploadersLib.OAuthControl();
this.ucFTPAccounts = new UploadersLib.AccountsControl();
this.oauth2GoogleDrive = new UploadersLib.OAuthControl();
this.oauth2Box = new UploadersLib.OAuthControl();
this.atcSendSpaceAccountType = new UploadersLib.AccountTypeControl();
this.oAuthJira = new UploadersLib.OAuthControl();
this.ucLocalhostAccounts = new UploadersLib.AccountsControl();
this.oauth2Bitly = new UploadersLib.OAuthControl();
this.oauth2GoogleURLShortener = new UploadersLib.OAuthControl();
this.atcGoogleURLShortenerAccountType = new UploadersLib.AccountTypeControl();
this.ucTwitterAccounts = new UploadersLib.AccountsControl();
this.actRapidShareAccountType = new UploadersLib.AccountTypeControl(); this.actRapidShareAccountType = new UploadersLib.AccountTypeControl();
this.tpOtherUploaders.SuspendLayout(); this.tpOtherUploaders.SuspendLayout();
this.tcOtherUploaders.SuspendLayout(); this.tcOtherUploaders.SuspendLayout();
@ -390,7 +391,7 @@ private void InitializeComponent()
this.tpBitly.SuspendLayout(); this.tpBitly.SuspendLayout();
this.tpGoogleURLShortener.SuspendLayout(); this.tpGoogleURLShortener.SuspendLayout();
this.tpYourls.SuspendLayout(); this.tpYourls.SuspendLayout();
this.tpAdfly.SuspendLayout(); this.tpAdFly.SuspendLayout();
this.tpFileUploaders.SuspendLayout(); this.tpFileUploaders.SuspendLayout();
this.tcFileUploaders.SuspendLayout(); this.tcFileUploaders.SuspendLayout();
this.tpDropbox.SuspendLayout(); this.tpDropbox.SuspendLayout();
@ -1091,15 +1092,6 @@ private void InitializeComponent()
this.btnTwitterLogin.UseVisualStyleBackColor = true; this.btnTwitterLogin.UseVisualStyleBackColor = true;
this.btnTwitterLogin.Click += new System.EventHandler(this.btnTwitterLogin_Click); this.btnTwitterLogin.Click += new System.EventHandler(this.btnTwitterLogin_Click);
// //
// ucTwitterAccounts
//
this.ucTwitterAccounts.Dock = System.Windows.Forms.DockStyle.Fill;
this.ucTwitterAccounts.Location = new System.Drawing.Point(0, 0);
this.ucTwitterAccounts.Margin = new System.Windows.Forms.Padding(0);
this.ucTwitterAccounts.Name = "ucTwitterAccounts";
this.ucTwitterAccounts.Size = new System.Drawing.Size(972, 493);
this.ucTwitterAccounts.TabIndex = 0;
//
// tpURLShorteners // tpURLShorteners
// //
this.tpURLShorteners.Controls.Add(this.tcURLShorteners); this.tpURLShorteners.Controls.Add(this.tcURLShorteners);
@ -1116,7 +1108,7 @@ private void InitializeComponent()
this.tcURLShorteners.Controls.Add(this.tpBitly); this.tcURLShorteners.Controls.Add(this.tpBitly);
this.tcURLShorteners.Controls.Add(this.tpGoogleURLShortener); this.tcURLShorteners.Controls.Add(this.tpGoogleURLShortener);
this.tcURLShorteners.Controls.Add(this.tpYourls); this.tcURLShorteners.Controls.Add(this.tpYourls);
this.tcURLShorteners.Controls.Add(this.tpAdfly); this.tcURLShorteners.Controls.Add(this.tpAdFly);
this.tcURLShorteners.Dock = System.Windows.Forms.DockStyle.Fill; this.tcURLShorteners.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcURLShorteners.Location = new System.Drawing.Point(3, 3); this.tcURLShorteners.Location = new System.Drawing.Point(3, 3);
this.tcURLShorteners.Name = "tcURLShorteners"; this.tcURLShorteners.Name = "tcURLShorteners";
@ -1154,17 +1146,6 @@ private void InitializeComponent()
this.lblBitlyDomain.TabIndex = 1; this.lblBitlyDomain.TabIndex = 1;
this.lblBitlyDomain.Text = "Domain:"; this.lblBitlyDomain.Text = "Domain:";
// //
// oauth2Bitly
//
this.oauth2Bitly.IsRefreshable = false;
this.oauth2Bitly.Location = new System.Drawing.Point(16, 16);
this.oauth2Bitly.Name = "oauth2Bitly";
this.oauth2Bitly.Size = new System.Drawing.Size(328, 208);
this.oauth2Bitly.TabIndex = 0;
this.oauth2Bitly.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Bitly_OpenButtonClicked);
this.oauth2Bitly.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Bitly_CompleteButtonClicked);
this.oauth2Bitly.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Bitly_ClearButtonClicked);
//
// tpGoogleURLShortener // tpGoogleURLShortener
// //
this.tpGoogleURLShortener.Controls.Add(this.oauth2GoogleURLShortener); this.tpGoogleURLShortener.Controls.Add(this.oauth2GoogleURLShortener);
@ -1177,26 +1158,6 @@ private void InitializeComponent()
this.tpGoogleURLShortener.Text = "Google"; this.tpGoogleURLShortener.Text = "Google";
this.tpGoogleURLShortener.UseVisualStyleBackColor = true; this.tpGoogleURLShortener.UseVisualStyleBackColor = true;
// //
// oauth2GoogleURLShortener
//
this.oauth2GoogleURLShortener.Location = new System.Drawing.Point(16, 56);
this.oauth2GoogleURLShortener.Name = "oauth2GoogleURLShortener";
this.oauth2GoogleURLShortener.Size = new System.Drawing.Size(328, 240);
this.oauth2GoogleURLShortener.TabIndex = 1;
this.oauth2GoogleURLShortener.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleURLShortener_OpenButtonClicked);
this.oauth2GoogleURLShortener.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleURLShortener_CompleteButtonClicked);
this.oauth2GoogleURLShortener.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleURLShortener_ClearButtonClicked);
this.oauth2GoogleURLShortener.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleURLShortener_RefreshButtonClicked);
//
// atcGoogleURLShortenerAccountType
//
this.atcGoogleURLShortenerAccountType.Location = new System.Drawing.Point(8, 16);
this.atcGoogleURLShortenerAccountType.Name = "atcGoogleURLShortenerAccountType";
this.atcGoogleURLShortenerAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcGoogleURLShortenerAccountType.Size = new System.Drawing.Size(214, 29);
this.atcGoogleURLShortenerAccountType.TabIndex = 0;
this.atcGoogleURLShortenerAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGoogleURLShortenerAccountType_AccountTypeChanged);
//
// tpYourls // tpYourls
// //
this.tpYourls.Controls.Add(this.txtYourlsPassword); this.tpYourls.Controls.Add(this.txtYourlsPassword);
@ -1295,23 +1256,24 @@ private void InitializeComponent()
this.lblYourlsAPIURL.TabIndex = 0; this.lblYourlsAPIURL.TabIndex = 0;
this.lblYourlsAPIURL.Text = "API URL:"; this.lblYourlsAPIURL.Text = "API URL:";
// //
// tpAdfly // tpAdFly
// //
this.tpAdfly.Controls.Add(this.txtAdflyAPIUID); this.tpAdFly.Controls.Add(this.llAdflyLink);
this.tpAdfly.Controls.Add(this.lblAdflyAPIUID); this.tpAdFly.Controls.Add(this.txtAdflyAPIUID);
this.tpAdfly.Controls.Add(this.txtAdflyAPIKEY); this.tpAdFly.Controls.Add(this.lblAdflyAPIUID);
this.tpAdfly.Controls.Add(this.lblAdflyAPIKEY); this.tpAdFly.Controls.Add(this.txtAdflyAPIKEY);
this.tpAdfly.Location = new System.Drawing.Point(4, 22); this.tpAdFly.Controls.Add(this.lblAdflyAPIKEY);
this.tpAdfly.Name = "tpAdfly"; this.tpAdFly.Location = new System.Drawing.Point(4, 22);
this.tpAdfly.Padding = new System.Windows.Forms.Padding(3); this.tpAdFly.Name = "tpAdFly";
this.tpAdfly.Size = new System.Drawing.Size(972, 493); this.tpAdFly.Padding = new System.Windows.Forms.Padding(3);
this.tpAdfly.TabIndex = 3; this.tpAdFly.Size = new System.Drawing.Size(972, 493);
this.tpAdfly.Text = "adf.ly"; this.tpAdFly.TabIndex = 3;
this.tpAdfly.UseVisualStyleBackColor = true; this.tpAdFly.Text = "adf.ly";
this.tpAdFly.UseVisualStyleBackColor = true;
// //
// txtAdflyAPIUID // txtAdflyAPIUID
// //
this.txtAdflyAPIUID.Location = new System.Drawing.Point(70, 36); this.txtAdflyAPIUID.Location = new System.Drawing.Point(70, 60);
this.txtAdflyAPIUID.Name = "txtAdflyAPIUID"; this.txtAdflyAPIUID.Name = "txtAdflyAPIUID";
this.txtAdflyAPIUID.Size = new System.Drawing.Size(224, 20); this.txtAdflyAPIUID.Size = new System.Drawing.Size(224, 20);
this.txtAdflyAPIUID.TabIndex = 7; this.txtAdflyAPIUID.TabIndex = 7;
@ -1321,7 +1283,7 @@ private void InitializeComponent()
// lblAdflyAPIUID // lblAdflyAPIUID
// //
this.lblAdflyAPIUID.AutoSize = true; this.lblAdflyAPIUID.AutoSize = true;
this.lblAdflyAPIUID.Location = new System.Drawing.Point(16, 40); this.lblAdflyAPIUID.Location = new System.Drawing.Point(16, 64);
this.lblAdflyAPIUID.Name = "lblAdflyAPIUID"; this.lblAdflyAPIUID.Name = "lblAdflyAPIUID";
this.lblAdflyAPIUID.Size = new System.Drawing.Size(49, 13); this.lblAdflyAPIUID.Size = new System.Drawing.Size(49, 13);
this.lblAdflyAPIUID.TabIndex = 6; this.lblAdflyAPIUID.TabIndex = 6;
@ -1329,7 +1291,7 @@ private void InitializeComponent()
// //
// txtAdflyAPIKEY // txtAdflyAPIKEY
// //
this.txtAdflyAPIKEY.Location = new System.Drawing.Point(70, 12); this.txtAdflyAPIKEY.Location = new System.Drawing.Point(70, 36);
this.txtAdflyAPIKEY.Name = "txtAdflyAPIKEY"; this.txtAdflyAPIKEY.Name = "txtAdflyAPIKEY";
this.txtAdflyAPIKEY.Size = new System.Drawing.Size(224, 20); this.txtAdflyAPIKEY.Size = new System.Drawing.Size(224, 20);
this.txtAdflyAPIKEY.TabIndex = 5; this.txtAdflyAPIKEY.TabIndex = 5;
@ -1338,7 +1300,7 @@ private void InitializeComponent()
// lblAdflyAPIKEY // lblAdflyAPIKEY
// //
this.lblAdflyAPIKEY.AutoSize = true; this.lblAdflyAPIKEY.AutoSize = true;
this.lblAdflyAPIKEY.Location = new System.Drawing.Point(16, 16); this.lblAdflyAPIKEY.Location = new System.Drawing.Point(16, 40);
this.lblAdflyAPIKEY.Name = "lblAdflyAPIKEY"; this.lblAdflyAPIKEY.Name = "lblAdflyAPIKEY";
this.lblAdflyAPIKEY.Size = new System.Drawing.Size(47, 13); this.lblAdflyAPIKEY.Size = new System.Drawing.Size(47, 13);
this.lblAdflyAPIKEY.TabIndex = 4; this.lblAdflyAPIKEY.TabIndex = 4;
@ -1402,17 +1364,6 @@ private void InitializeComponent()
this.tpDropbox.Text = "Dropbox"; this.tpDropbox.Text = "Dropbox";
this.tpDropbox.UseVisualStyleBackColor = true; this.tpDropbox.UseVisualStyleBackColor = true;
// //
// oauth2Dropbox
//
this.oauth2Dropbox.IsRefreshable = false;
this.oauth2Dropbox.Location = new System.Drawing.Point(16, 88);
this.oauth2Dropbox.Name = "oauth2Dropbox";
this.oauth2Dropbox.Size = new System.Drawing.Size(328, 200);
this.oauth2Dropbox.TabIndex = 1;
this.oauth2Dropbox.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Dropbox_OpenButtonClicked);
this.oauth2Dropbox.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Dropbox_CompleteButtonClicked);
this.oauth2Dropbox.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Dropbox_ClearButtonClicked);
//
// cbDropboxURLType // cbDropboxURLType
// //
this.cbDropboxURLType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbDropboxURLType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
@ -1588,17 +1539,6 @@ private void InitializeComponent()
this.txtCopyPath.TabIndex = 3; this.txtCopyPath.TabIndex = 3;
this.txtCopyPath.TextChanged += new System.EventHandler(this.txtCopyPath_TextChanged); this.txtCopyPath.TextChanged += new System.EventHandler(this.txtCopyPath_TextChanged);
// //
// oAuthCopy
//
this.oAuthCopy.IsRefreshable = false;
this.oAuthCopy.Location = new System.Drawing.Point(16, 88);
this.oAuthCopy.Name = "oAuthCopy";
this.oAuthCopy.Size = new System.Drawing.Size(328, 208);
this.oAuthCopy.TabIndex = 1;
this.oAuthCopy.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuthCopy_OpenButtonClicked);
this.oAuthCopy.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuthCopy_CompleteButtonClicked);
this.oAuthCopy.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuthCopy_ClearButtonClicked);
//
// tpFTP // tpFTP
// //
this.tpFTP.Controls.Add(this.eiFTP); this.tpFTP.Controls.Add(this.eiFTP);
@ -1695,16 +1635,6 @@ private void InitializeComponent()
this.cboFtpText.TabIndex = 3; this.cboFtpText.TabIndex = 3;
this.cboFtpText.SelectedIndexChanged += new System.EventHandler(this.cboFtpText_SelectedIndexChanged); this.cboFtpText.SelectedIndexChanged += new System.EventHandler(this.cboFtpText_SelectedIndexChanged);
// //
// ucFTPAccounts
//
this.ucFTPAccounts.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucFTPAccounts.Location = new System.Drawing.Point(8, 40);
this.ucFTPAccounts.Margin = new System.Windows.Forms.Padding(4);
this.ucFTPAccounts.Name = "ucFTPAccounts";
this.ucFTPAccounts.Size = new System.Drawing.Size(792, 448);
this.ucFTPAccounts.TabIndex = 6;
//
// tpMega // tpMega
// //
this.tpMega.Controls.Add(this.btnMegaRefreshFolders); this.tpMega.Controls.Add(this.btnMegaRefreshFolders);
@ -2091,17 +2021,6 @@ private void InitializeComponent()
this.cbGoogleDriveIsPublic.UseVisualStyleBackColor = true; this.cbGoogleDriveIsPublic.UseVisualStyleBackColor = true;
this.cbGoogleDriveIsPublic.CheckedChanged += new System.EventHandler(this.cbGoogleDriveIsPublic_CheckedChanged); this.cbGoogleDriveIsPublic.CheckedChanged += new System.EventHandler(this.cbGoogleDriveIsPublic_CheckedChanged);
// //
// oauth2GoogleDrive
//
this.oauth2GoogleDrive.Location = new System.Drawing.Point(16, 16);
this.oauth2GoogleDrive.Name = "oauth2GoogleDrive";
this.oauth2GoogleDrive.Size = new System.Drawing.Size(328, 240);
this.oauth2GoogleDrive.TabIndex = 0;
this.oauth2GoogleDrive.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleDrive_OpenButtonClicked);
this.oauth2GoogleDrive.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleDrive_CompleteButtonClicked);
this.oauth2GoogleDrive.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleDrive_ClearButtonClicked);
this.oauth2GoogleDrive.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleDrive_RefreshButtonClicked);
//
// tpOwnCloud // tpOwnCloud
// //
this.tpOwnCloud.Controls.Add(this.cbOwnCloudDirectLink); this.tpOwnCloud.Controls.Add(this.cbOwnCloudDirectLink);
@ -2353,17 +2272,6 @@ private void InitializeComponent()
this.btnBoxRefreshFolders.UseVisualStyleBackColor = true; this.btnBoxRefreshFolders.UseVisualStyleBackColor = true;
this.btnBoxRefreshFolders.Click += new System.EventHandler(this.btnBoxRefreshFolders_Click); this.btnBoxRefreshFolders.Click += new System.EventHandler(this.btnBoxRefreshFolders_Click);
// //
// oauth2Box
//
this.oauth2Box.Location = new System.Drawing.Point(16, 16);
this.oauth2Box.Name = "oauth2Box";
this.oauth2Box.Size = new System.Drawing.Size(328, 240);
this.oauth2Box.TabIndex = 0;
this.oauth2Box.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Box_OpenButtonClicked);
this.oauth2Box.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Box_CompleteButtonClicked);
this.oauth2Box.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Box_ClearButtonClicked);
this.oauth2Box.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Box_RefreshButtonClicked);
//
// tpRapidShare // tpRapidShare
// //
this.tpRapidShare.Controls.Add(this.txtRapidShareFolderID); this.tpRapidShare.Controls.Add(this.txtRapidShareFolderID);
@ -2513,15 +2421,6 @@ private void InitializeComponent()
this.txtSendSpaceUserName.TabIndex = 2; this.txtSendSpaceUserName.TabIndex = 2;
this.txtSendSpaceUserName.TextChanged += new System.EventHandler(this.txtSendSpaceUserName_TextChanged); this.txtSendSpaceUserName.TextChanged += new System.EventHandler(this.txtSendSpaceUserName_TextChanged);
// //
// atcSendSpaceAccountType
//
this.atcSendSpaceAccountType.Location = new System.Drawing.Point(8, 16);
this.atcSendSpaceAccountType.Name = "atcSendSpaceAccountType";
this.atcSendSpaceAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcSendSpaceAccountType.Size = new System.Drawing.Size(214, 29);
this.atcSendSpaceAccountType.TabIndex = 0;
this.atcSendSpaceAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcSendSpaceAccountType_AccountTypeChanged);
//
// tpGe_tt // tpGe_tt
// //
this.tpGe_tt.Controls.Add(this.lblGe_ttStatus); this.tpGe_tt.Controls.Add(this.lblGe_ttStatus);
@ -2900,17 +2799,6 @@ private void InitializeComponent()
this.lblJiraHost.TabIndex = 0; this.lblJiraHost.TabIndex = 0;
this.lblJiraHost.Text = "Jira host: "; this.lblJiraHost.Text = "Jira host: ";
// //
// oAuthJira
//
this.oAuthJira.Location = new System.Drawing.Point(473, 13);
this.oAuthJira.Name = "oAuthJira";
this.oAuthJira.Size = new System.Drawing.Size(328, 243);
this.oAuthJira.TabIndex = 1;
this.oAuthJira.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuthJira_OpenButtonClicked);
this.oAuthJira.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuthJira_CompleteButtonClicked);
this.oAuthJira.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuthJira_ClearButtonClicked);
this.oAuthJira.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oAuthJira_RefreshButtonClicked);
//
// tpEmail // tpEmail
// //
this.tpEmail.Controls.Add(this.chkEmailConfirm); this.tpEmail.Controls.Add(this.chkEmailConfirm);
@ -3146,16 +3034,6 @@ private void InitializeComponent()
this.cboSharedFolderImages.TabIndex = 1; this.cboSharedFolderImages.TabIndex = 1;
this.cboSharedFolderImages.SelectedIndexChanged += new System.EventHandler(this.cboSharedFolderImages_SelectedIndexChanged); this.cboSharedFolderImages.SelectedIndexChanged += new System.EventHandler(this.cboSharedFolderImages_SelectedIndexChanged);
// //
// ucLocalhostAccounts
//
this.ucLocalhostAccounts.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucLocalhostAccounts.Location = new System.Drawing.Point(8, 40);
this.ucLocalhostAccounts.Margin = new System.Windows.Forms.Padding(4);
this.ucLocalhostAccounts.Name = "ucLocalhostAccounts";
this.ucLocalhostAccounts.Size = new System.Drawing.Size(792, 448);
this.ucLocalhostAccounts.TabIndex = 6;
//
// btnCopyShowFiles // btnCopyShowFiles
// //
this.btnCopyShowFiles.Location = new System.Drawing.Point(0, 0); this.btnCopyShowFiles.Location = new System.Drawing.Point(0, 0);
@ -3272,27 +3150,6 @@ private void InitializeComponent()
this.chkGistPublishPublic.UseVisualStyleBackColor = true; this.chkGistPublishPublic.UseVisualStyleBackColor = true;
this.chkGistPublishPublic.CheckedChanged += new System.EventHandler(this.chkGistPublishPublic_CheckedChanged); this.chkGistPublishPublic.CheckedChanged += new System.EventHandler(this.chkGistPublishPublic_CheckedChanged);
// //
// oAuth2Gist
//
this.oAuth2Gist.Enabled = false;
this.oAuth2Gist.IsRefreshable = false;
this.oAuth2Gist.Location = new System.Drawing.Point(16, 51);
this.oAuth2Gist.Name = "oAuth2Gist";
this.oAuth2Gist.Size = new System.Drawing.Size(328, 205);
this.oAuth2Gist.TabIndex = 2;
this.oAuth2Gist.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuth2Gist_OpenButtonClicked);
this.oAuth2Gist.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuth2Gist_CompleteButtonClicked);
this.oAuth2Gist.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2Gist_ClearButtonClicked);
//
// atcGistAccountType
//
this.atcGistAccountType.Location = new System.Drawing.Point(15, 16);
this.atcGistAccountType.Name = "atcGistAccountType";
this.atcGistAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcGistAccountType.Size = new System.Drawing.Size(214, 29);
this.atcGistAccountType.TabIndex = 0;
this.atcGistAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGistAccountType_AccountTypeChanged);
//
// tpUpaste // tpUpaste
// //
this.tpUpaste.Controls.Add(this.cbUpasteIsPublic); this.tpUpaste.Controls.Add(this.cbUpasteIsPublic);
@ -3380,26 +3237,6 @@ private void InitializeComponent()
this.tpImgur.Text = "Imgur"; this.tpImgur.Text = "Imgur";
this.tpImgur.UseVisualStyleBackColor = true; this.tpImgur.UseVisualStyleBackColor = true;
// //
// atcImgurAccountType
//
this.atcImgurAccountType.Location = new System.Drawing.Point(8, 260);
this.atcImgurAccountType.Name = "atcImgurAccountType";
this.atcImgurAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcImgurAccountType.Size = new System.Drawing.Size(208, 32);
this.atcImgurAccountType.TabIndex = 1;
this.atcImgurAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcImgurAccountType_AccountTypeChanged);
//
// oauth2Imgur
//
this.oauth2Imgur.Location = new System.Drawing.Point(16, 16);
this.oauth2Imgur.Name = "oauth2Imgur";
this.oauth2Imgur.Size = new System.Drawing.Size(328, 240);
this.oauth2Imgur.TabIndex = 0;
this.oauth2Imgur.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Imgur_OpenButtonClicked);
this.oauth2Imgur.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Imgur_CompleteButtonClicked);
this.oauth2Imgur.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Imgur_ClearButtonClicked);
this.oauth2Imgur.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Imgur_RefreshButtonClicked);
//
// txtImgurAlbumID // txtImgurAlbumID
// //
this.txtImgurAlbumID.Location = new System.Drawing.Point(592, 13); this.txtImgurAlbumID.Location = new System.Drawing.Point(592, 13);
@ -3589,15 +3426,6 @@ private void InitializeComponent()
this.tpTinyPic.Text = "TinyPic"; this.tpTinyPic.Text = "TinyPic";
this.tpTinyPic.UseVisualStyleBackColor = true; this.tpTinyPic.UseVisualStyleBackColor = true;
// //
// atcTinyPicAccountType
//
this.atcTinyPicAccountType.Location = new System.Drawing.Point(8, 8);
this.atcTinyPicAccountType.Name = "atcTinyPicAccountType";
this.atcTinyPicAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcTinyPicAccountType.Size = new System.Drawing.Size(272, 29);
this.atcTinyPicAccountType.TabIndex = 0;
this.atcTinyPicAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcTinyPicAccountType_AccountTypeChanged);
//
// btnTinyPicLogin // btnTinyPicLogin
// //
this.btnTinyPicLogin.Location = new System.Drawing.Point(296, 74); this.btnTinyPicLogin.Location = new System.Drawing.Point(296, 74);
@ -3994,17 +3822,6 @@ private void InitializeComponent()
this.btnPicasaRefreshAlbumList.UseVisualStyleBackColor = true; this.btnPicasaRefreshAlbumList.UseVisualStyleBackColor = true;
this.btnPicasaRefreshAlbumList.Click += new System.EventHandler(this.btnPicasaRefreshAlbumList_Click); this.btnPicasaRefreshAlbumList.Click += new System.EventHandler(this.btnPicasaRefreshAlbumList_Click);
// //
// oauth2Picasa
//
this.oauth2Picasa.Location = new System.Drawing.Point(16, 16);
this.oauth2Picasa.Name = "oauth2Picasa";
this.oauth2Picasa.Size = new System.Drawing.Size(328, 240);
this.oauth2Picasa.TabIndex = 0;
this.oauth2Picasa.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Picasa_OpenButtonClicked);
this.oauth2Picasa.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Picasa_CompleteButtonClicked);
this.oauth2Picasa.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Picasa_ClearButtonClicked);
this.oauth2Picasa.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Picasa_RefreshButtonClicked);
//
// tcUploaders // tcUploaders
// //
this.tcUploaders.Controls.Add(this.tpImageUploaders); this.tcUploaders.Controls.Add(this.tpImageUploaders);
@ -4041,6 +3858,202 @@ private void InitializeComponent()
this.lblWidthHint.TabIndex = 1; this.lblWidthHint.TabIndex = 1;
this.lblWidthHint.Visible = false; this.lblWidthHint.Visible = false;
// //
// llAdflyLink
//
this.llAdflyLink.AutoSize = true;
this.llAdflyLink.Location = new System.Drawing.Point(16, 15);
this.llAdflyLink.Name = "llAdflyLink";
this.llAdflyLink.Size = new System.Drawing.Size(208, 13);
this.llAdflyLink.TabIndex = 8;
this.llAdflyLink.TabStop = true;
this.llAdflyLink.Text = "You can find your API key and UID in here";
this.llAdflyLink.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llAdflyLink_LinkClicked);
//
// atcImgurAccountType
//
this.atcImgurAccountType.Location = new System.Drawing.Point(8, 260);
this.atcImgurAccountType.Name = "atcImgurAccountType";
this.atcImgurAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcImgurAccountType.Size = new System.Drawing.Size(208, 32);
this.atcImgurAccountType.TabIndex = 1;
this.atcImgurAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcImgurAccountType_AccountTypeChanged);
//
// oauth2Imgur
//
this.oauth2Imgur.Location = new System.Drawing.Point(16, 16);
this.oauth2Imgur.Name = "oauth2Imgur";
this.oauth2Imgur.Size = new System.Drawing.Size(328, 240);
this.oauth2Imgur.TabIndex = 0;
this.oauth2Imgur.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Imgur_OpenButtonClicked);
this.oauth2Imgur.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Imgur_CompleteButtonClicked);
this.oauth2Imgur.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Imgur_ClearButtonClicked);
this.oauth2Imgur.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Imgur_RefreshButtonClicked);
//
// atcTinyPicAccountType
//
this.atcTinyPicAccountType.Location = new System.Drawing.Point(8, 8);
this.atcTinyPicAccountType.Name = "atcTinyPicAccountType";
this.atcTinyPicAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcTinyPicAccountType.Size = new System.Drawing.Size(272, 29);
this.atcTinyPicAccountType.TabIndex = 0;
this.atcTinyPicAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcTinyPicAccountType_AccountTypeChanged);
//
// oauth2Picasa
//
this.oauth2Picasa.Location = new System.Drawing.Point(16, 16);
this.oauth2Picasa.Name = "oauth2Picasa";
this.oauth2Picasa.Size = new System.Drawing.Size(328, 240);
this.oauth2Picasa.TabIndex = 0;
this.oauth2Picasa.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Picasa_OpenButtonClicked);
this.oauth2Picasa.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Picasa_CompleteButtonClicked);
this.oauth2Picasa.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Picasa_ClearButtonClicked);
this.oauth2Picasa.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Picasa_RefreshButtonClicked);
//
// oAuth2Gist
//
this.oAuth2Gist.Enabled = false;
this.oAuth2Gist.IsRefreshable = false;
this.oAuth2Gist.Location = new System.Drawing.Point(16, 51);
this.oAuth2Gist.Name = "oAuth2Gist";
this.oAuth2Gist.Size = new System.Drawing.Size(328, 205);
this.oAuth2Gist.TabIndex = 2;
this.oAuth2Gist.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuth2Gist_OpenButtonClicked);
this.oAuth2Gist.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuth2Gist_CompleteButtonClicked);
this.oAuth2Gist.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2Gist_ClearButtonClicked);
//
// atcGistAccountType
//
this.atcGistAccountType.Location = new System.Drawing.Point(15, 16);
this.atcGistAccountType.Name = "atcGistAccountType";
this.atcGistAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcGistAccountType.Size = new System.Drawing.Size(214, 29);
this.atcGistAccountType.TabIndex = 0;
this.atcGistAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGistAccountType_AccountTypeChanged);
//
// oauth2Dropbox
//
this.oauth2Dropbox.IsRefreshable = false;
this.oauth2Dropbox.Location = new System.Drawing.Point(16, 88);
this.oauth2Dropbox.Name = "oauth2Dropbox";
this.oauth2Dropbox.Size = new System.Drawing.Size(328, 200);
this.oauth2Dropbox.TabIndex = 1;
this.oauth2Dropbox.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Dropbox_OpenButtonClicked);
this.oauth2Dropbox.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Dropbox_CompleteButtonClicked);
this.oauth2Dropbox.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Dropbox_ClearButtonClicked);
//
// oAuthCopy
//
this.oAuthCopy.IsRefreshable = false;
this.oAuthCopy.Location = new System.Drawing.Point(16, 88);
this.oAuthCopy.Name = "oAuthCopy";
this.oAuthCopy.Size = new System.Drawing.Size(328, 208);
this.oAuthCopy.TabIndex = 1;
this.oAuthCopy.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuthCopy_OpenButtonClicked);
this.oAuthCopy.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuthCopy_CompleteButtonClicked);
this.oAuthCopy.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuthCopy_ClearButtonClicked);
//
// ucFTPAccounts
//
this.ucFTPAccounts.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucFTPAccounts.Location = new System.Drawing.Point(8, 40);
this.ucFTPAccounts.Margin = new System.Windows.Forms.Padding(4);
this.ucFTPAccounts.Name = "ucFTPAccounts";
this.ucFTPAccounts.Size = new System.Drawing.Size(792, 448);
this.ucFTPAccounts.TabIndex = 6;
//
// oauth2GoogleDrive
//
this.oauth2GoogleDrive.Location = new System.Drawing.Point(16, 16);
this.oauth2GoogleDrive.Name = "oauth2GoogleDrive";
this.oauth2GoogleDrive.Size = new System.Drawing.Size(328, 240);
this.oauth2GoogleDrive.TabIndex = 0;
this.oauth2GoogleDrive.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleDrive_OpenButtonClicked);
this.oauth2GoogleDrive.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleDrive_CompleteButtonClicked);
this.oauth2GoogleDrive.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleDrive_ClearButtonClicked);
this.oauth2GoogleDrive.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleDrive_RefreshButtonClicked);
//
// oauth2Box
//
this.oauth2Box.Location = new System.Drawing.Point(16, 16);
this.oauth2Box.Name = "oauth2Box";
this.oauth2Box.Size = new System.Drawing.Size(328, 240);
this.oauth2Box.TabIndex = 0;
this.oauth2Box.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Box_OpenButtonClicked);
this.oauth2Box.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Box_CompleteButtonClicked);
this.oauth2Box.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Box_ClearButtonClicked);
this.oauth2Box.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Box_RefreshButtonClicked);
//
// atcSendSpaceAccountType
//
this.atcSendSpaceAccountType.Location = new System.Drawing.Point(8, 16);
this.atcSendSpaceAccountType.Name = "atcSendSpaceAccountType";
this.atcSendSpaceAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcSendSpaceAccountType.Size = new System.Drawing.Size(214, 29);
this.atcSendSpaceAccountType.TabIndex = 0;
this.atcSendSpaceAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcSendSpaceAccountType_AccountTypeChanged);
//
// oAuthJira
//
this.oAuthJira.Location = new System.Drawing.Point(473, 13);
this.oAuthJira.Name = "oAuthJira";
this.oAuthJira.Size = new System.Drawing.Size(328, 243);
this.oAuthJira.TabIndex = 1;
this.oAuthJira.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuthJira_OpenButtonClicked);
this.oAuthJira.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuthJira_CompleteButtonClicked);
this.oAuthJira.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuthJira_ClearButtonClicked);
this.oAuthJira.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oAuthJira_RefreshButtonClicked);
//
// ucLocalhostAccounts
//
this.ucLocalhostAccounts.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucLocalhostAccounts.Location = new System.Drawing.Point(8, 40);
this.ucLocalhostAccounts.Margin = new System.Windows.Forms.Padding(4);
this.ucLocalhostAccounts.Name = "ucLocalhostAccounts";
this.ucLocalhostAccounts.Size = new System.Drawing.Size(792, 448);
this.ucLocalhostAccounts.TabIndex = 6;
//
// oauth2Bitly
//
this.oauth2Bitly.IsRefreshable = false;
this.oauth2Bitly.Location = new System.Drawing.Point(16, 16);
this.oauth2Bitly.Name = "oauth2Bitly";
this.oauth2Bitly.Size = new System.Drawing.Size(328, 208);
this.oauth2Bitly.TabIndex = 0;
this.oauth2Bitly.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Bitly_OpenButtonClicked);
this.oauth2Bitly.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Bitly_CompleteButtonClicked);
this.oauth2Bitly.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Bitly_ClearButtonClicked);
//
// oauth2GoogleURLShortener
//
this.oauth2GoogleURLShortener.Location = new System.Drawing.Point(16, 56);
this.oauth2GoogleURLShortener.Name = "oauth2GoogleURLShortener";
this.oauth2GoogleURLShortener.Size = new System.Drawing.Size(328, 240);
this.oauth2GoogleURLShortener.TabIndex = 1;
this.oauth2GoogleURLShortener.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleURLShortener_OpenButtonClicked);
this.oauth2GoogleURLShortener.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleURLShortener_CompleteButtonClicked);
this.oauth2GoogleURLShortener.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleURLShortener_ClearButtonClicked);
this.oauth2GoogleURLShortener.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleURLShortener_RefreshButtonClicked);
//
// atcGoogleURLShortenerAccountType
//
this.atcGoogleURLShortenerAccountType.Location = new System.Drawing.Point(8, 16);
this.atcGoogleURLShortenerAccountType.Name = "atcGoogleURLShortenerAccountType";
this.atcGoogleURLShortenerAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcGoogleURLShortenerAccountType.Size = new System.Drawing.Size(214, 29);
this.atcGoogleURLShortenerAccountType.TabIndex = 0;
this.atcGoogleURLShortenerAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGoogleURLShortenerAccountType_AccountTypeChanged);
//
// ucTwitterAccounts
//
this.ucTwitterAccounts.Dock = System.Windows.Forms.DockStyle.Fill;
this.ucTwitterAccounts.Location = new System.Drawing.Point(0, 0);
this.ucTwitterAccounts.Margin = new System.Windows.Forms.Padding(0);
this.ucTwitterAccounts.Name = "ucTwitterAccounts";
this.ucTwitterAccounts.Size = new System.Drawing.Size(972, 493);
this.ucTwitterAccounts.TabIndex = 0;
//
// actRapidShareAccountType // actRapidShareAccountType
// //
this.actRapidShareAccountType.Location = new System.Drawing.Point(8, 16); this.actRapidShareAccountType.Location = new System.Drawing.Point(8, 16);
@ -4084,8 +4097,8 @@ private void InitializeComponent()
this.tpGoogleURLShortener.ResumeLayout(false); this.tpGoogleURLShortener.ResumeLayout(false);
this.tpYourls.ResumeLayout(false); this.tpYourls.ResumeLayout(false);
this.tpYourls.PerformLayout(); this.tpYourls.PerformLayout();
this.tpAdfly.ResumeLayout(false); this.tpAdFly.ResumeLayout(false);
this.tpAdfly.PerformLayout(); this.tpAdFly.PerformLayout();
this.tpFileUploaders.ResumeLayout(false); this.tpFileUploaders.ResumeLayout(false);
this.tcFileUploaders.ResumeLayout(false); this.tcFileUploaders.ResumeLayout(false);
this.tpDropbox.ResumeLayout(false); this.tpDropbox.ResumeLayout(false);
@ -4510,10 +4523,11 @@ private void InitializeComponent()
private System.Windows.Forms.Label lblOwnCloudHost; private System.Windows.Forms.Label lblOwnCloudHost;
private System.Windows.Forms.CheckBox cbOwnCloudCreateShare; private System.Windows.Forms.CheckBox cbOwnCloudCreateShare;
private System.Windows.Forms.CheckBox cbOwnCloudDirectLink; private System.Windows.Forms.CheckBox cbOwnCloudDirectLink;
private System.Windows.Forms.TabPage tpAdfly; private System.Windows.Forms.TabPage tpAdFly;
private System.Windows.Forms.TextBox txtAdflyAPIUID; private System.Windows.Forms.TextBox txtAdflyAPIUID;
private System.Windows.Forms.Label lblAdflyAPIUID; private System.Windows.Forms.Label lblAdflyAPIUID;
private System.Windows.Forms.TextBox txtAdflyAPIKEY; private System.Windows.Forms.TextBox txtAdflyAPIKEY;
private System.Windows.Forms.Label lblAdflyAPIKEY; private System.Windows.Forms.Label lblAdflyAPIKEY;
private System.Windows.Forms.LinkLabel llAdflyLink;
} }
} }

View file

@ -99,6 +99,7 @@ private void FormSettings()
uploadersImageList.Images.Add("Yourls", Resources.Yourls); uploadersImageList.Images.Add("Yourls", Resources.Yourls);
uploadersImageList.Images.Add("Twitter", Resources.Twitter); uploadersImageList.Images.Add("Twitter", Resources.Twitter);
uploadersImageList.Images.Add("ownCloud", Resources.OwnCloud); uploadersImageList.Images.Add("ownCloud", Resources.OwnCloud);
uploadersImageList.Images.Add("AdFly", Resources.AdFly);
tpImageShack.ImageKey = "ImageShack"; tpImageShack.ImageKey = "ImageShack";
tpTinyPic.ImageKey = "TinyPic"; tpTinyPic.ImageKey = "TinyPic";
@ -132,6 +133,7 @@ private void FormSettings()
tpUpaste.ImageKey = "Upaste"; tpUpaste.ImageKey = "Upaste";
tpAmazonS3.ImageKey = "AmazonS3"; tpAmazonS3.ImageKey = "AmazonS3";
tpOwnCloud.ImageKey = "ownCloud"; tpOwnCloud.ImageKey = "ownCloud";
tpAdFly.ImageKey = "AdFly";
ttlvMain.ImageList = uploadersImageList; ttlvMain.ImageList = uploadersImageList;
ttlvMain.MainTabControl = tcUploaders; ttlvMain.MainTabControl = tcUploaders;
@ -1864,6 +1866,11 @@ private void txtAdflyAPIUID_TextChanged(object sender, EventArgs e)
Config.AdFlyAPIUID = txtAdflyAPIUID.Text; Config.AdFlyAPIUID = txtAdflyAPIUID.Text;
} }
private void llAdflyLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
URLHelpers.OpenURL("https://adf.ly/publisher/tools#tools-api");
}
#endregion adf.ly #endregion adf.ly
#endregion URL Shorteners #endregion URL Shorteners

View file

@ -60,6 +60,16 @@ internal Resources() {
} }
} }
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon AdFly {
get {
object obj = ResourceManager.GetObject("AdFly", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary> /// </summary>

View file

@ -307,4 +307,7 @@
<data name="OwnCloud" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="OwnCloud" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\favicons\owncloud.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\favicons\owncloud.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="AdFly" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\favicons\adfly.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root> </root>

View file

@ -49,7 +49,7 @@ public override UploadResult ShortenURL(string url)
string response = SendRequest(HttpMethod.GET, "http://api.adf.ly/api.php", args); string response = SendRequest(HttpMethod.GET, "http://api.adf.ly/api.php", args);
if (response != "error") if (!string.IsNullOrEmpty(response) && response != "error")
{ {
result.ShortenedURL = response; result.ShortenedURL = response;
} }

View file

@ -423,6 +423,7 @@
<None Include="Favicons\Upaste.ico" /> <None Include="Favicons\Upaste.ico" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="Favicons\AdFly.ico" />
<Content Include="Favicons\AmazonS3.ico" /> <Content Include="Favicons\AmazonS3.ico" />
<None Include="Favicons\GitHub.ico" /> <None Include="Favicons\GitHub.ico" />
<Content Include="Favicons\Hostr.ico" /> <Content Include="Favicons\Hostr.ico" />