mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Flickr fix, Google Drive use folder setting
This commit is contained in:
parent
ef52cd053c
commit
6f2b2399c4
5 changed files with 255 additions and 230 deletions
|
@ -805,7 +805,7 @@ public UploadResult UploadFile(Stream stream, string fileName)
|
|||
fileUploader = new GoogleDrive(Program.UploadersConfig.GoogleDriveOAuth2Info)
|
||||
{
|
||||
IsPublic = Program.UploadersConfig.GoogleDriveIsPublic,
|
||||
FolderID = Program.UploadersConfig.GoogleDriveFolderID
|
||||
FolderID = Program.UploadersConfig.GoogleDriveUseFolder ? Program.UploadersConfig.GoogleDriveFolderID : null
|
||||
};
|
||||
break;
|
||||
case FileDestination.RapidShare:
|
||||
|
|
465
UploadersLib/Forms/UploadersConfigForm.Designer.cs
generated
465
UploadersLib/Forms/UploadersConfigForm.Designer.cs
generated
|
@ -93,16 +93,12 @@ private void InitializeComponent()
|
|||
this.txtCustomUploaderArgName = new System.Windows.Forms.TextBox();
|
||||
this.tpTwitter = new System.Windows.Forms.TabPage();
|
||||
this.btnTwitterLogin = new System.Windows.Forms.Button();
|
||||
this.ucTwitterAccounts = new UploadersLib.AccountsControl();
|
||||
this.tpURLShorteners = new System.Windows.Forms.TabPage();
|
||||
this.tcURLShorteners = new System.Windows.Forms.TabControl();
|
||||
this.tpBitly = new System.Windows.Forms.TabPage();
|
||||
this.txtBitlyDomain = new System.Windows.Forms.TextBox();
|
||||
this.lblBitlyDomain = new System.Windows.Forms.Label();
|
||||
this.oauth2Bitly = new UploadersLib.OAuthControl();
|
||||
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.txtYourlsPassword = new System.Windows.Forms.TextBox();
|
||||
this.txtYourlsUsername = new System.Windows.Forms.TextBox();
|
||||
|
@ -116,7 +112,6 @@ private void InitializeComponent()
|
|||
this.tpFileUploaders = new System.Windows.Forms.TabPage();
|
||||
this.tcFileUploaders = new System.Windows.Forms.TabControl();
|
||||
this.tpDropbox = new System.Windows.Forms.TabPage();
|
||||
this.oauth2Dropbox = new UploadersLib.OAuthControl();
|
||||
this.cbDropboxURLType = new System.Windows.Forms.ComboBox();
|
||||
this.cbDropboxAutoCreateShareableLink = new System.Windows.Forms.CheckBox();
|
||||
this.btnDropboxShowFiles = new System.Windows.Forms.Button();
|
||||
|
@ -134,7 +129,6 @@ private void InitializeComponent()
|
|||
this.lblCopyStatus = new System.Windows.Forms.Label();
|
||||
this.lblCopyPath = new System.Windows.Forms.Label();
|
||||
this.txtCopyPath = new System.Windows.Forms.TextBox();
|
||||
this.oAuthCopy = new UploadersLib.OAuthControl();
|
||||
this.tpFTP = new System.Windows.Forms.TabPage();
|
||||
this.eiFTP = new HelpersLib.ExportImportControl();
|
||||
this.btnFtpClient = new System.Windows.Forms.Button();
|
||||
|
@ -144,7 +138,6 @@ private void InitializeComponent()
|
|||
this.cboFtpImages = new System.Windows.Forms.ComboBox();
|
||||
this.cboFtpFiles = 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.btnMegaRefreshFolders = new System.Windows.Forms.Button();
|
||||
this.lblMegaStatus = new System.Windows.Forms.Label();
|
||||
|
@ -174,6 +167,7 @@ private void InitializeComponent()
|
|||
this.lblAmazonS3AccessKey = new System.Windows.Forms.Label();
|
||||
this.txtAmazonS3AccessKey = new System.Windows.Forms.TextBox();
|
||||
this.tpGoogleDrive = new System.Windows.Forms.TabPage();
|
||||
this.cbGoogleDriveUseFolder = new System.Windows.Forms.CheckBox();
|
||||
this.txtGoogleDriveFolderID = new System.Windows.Forms.TextBox();
|
||||
this.lblGoogleDriveFolderID = new System.Windows.Forms.Label();
|
||||
this.lvGoogleDriveFoldersList = new HelpersLib.MyListView();
|
||||
|
@ -181,7 +175,6 @@ private void InitializeComponent()
|
|||
this.chGoogleDriveDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.btnGoogleDriveRefreshFolders = new System.Windows.Forms.Button();
|
||||
this.cbGoogleDriveIsPublic = new System.Windows.Forms.CheckBox();
|
||||
this.oauth2GoogleDrive = new UploadersLib.OAuthControl();
|
||||
this.tpPushbullet = new System.Windows.Forms.TabPage();
|
||||
this.lblPushbulletDevices = new System.Windows.Forms.Label();
|
||||
this.cboPushbulletDevices = new System.Windows.Forms.ComboBox();
|
||||
|
@ -195,7 +188,6 @@ private void InitializeComponent()
|
|||
this.chBoxFoldersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.lblBoxFolderID = new System.Windows.Forms.Label();
|
||||
this.btnBoxRefreshFolders = new System.Windows.Forms.Button();
|
||||
this.oauth2Box = new UploadersLib.OAuthControl();
|
||||
this.tpRapidShare = new System.Windows.Forms.TabPage();
|
||||
this.txtRapidShareFolderID = new System.Windows.Forms.TextBox();
|
||||
this.lblRapidShareFolderID = new System.Windows.Forms.Label();
|
||||
|
@ -211,7 +203,6 @@ private void InitializeComponent()
|
|||
this.lblSendSpaceUsername = new System.Windows.Forms.Label();
|
||||
this.txtSendSpacePassword = 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.lblGe_ttStatus = new System.Windows.Forms.Label();
|
||||
this.lblGe_ttPassword = new System.Windows.Forms.Label();
|
||||
|
@ -249,7 +240,6 @@ private void InitializeComponent()
|
|||
this.txtJiraConfigHelp = new System.Windows.Forms.TextBox();
|
||||
this.txtJiraHost = new System.Windows.Forms.TextBox();
|
||||
this.lblJiraHost = new System.Windows.Forms.Label();
|
||||
this.oAuthJira = new UploadersLib.OAuthControl();
|
||||
this.tpEmail = new System.Windows.Forms.TabPage();
|
||||
this.chkEmailConfirm = new System.Windows.Forms.CheckBox();
|
||||
this.lblEmailSmtpServer = new System.Windows.Forms.Label();
|
||||
|
@ -272,7 +262,6 @@ private void InitializeComponent()
|
|||
this.lblSharedFolderImages = new System.Windows.Forms.Label();
|
||||
this.cboSharedFolderText = 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.tpTextUploaders = new System.Windows.Forms.TabPage();
|
||||
this.tcTextUploaders = new System.Windows.Forms.TabControl();
|
||||
|
@ -284,8 +273,6 @@ private void InitializeComponent()
|
|||
this.txtPaste_eeUserAPIKey = new System.Windows.Forms.TextBox();
|
||||
this.tpGist = new System.Windows.Forms.TabPage();
|
||||
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.cbUpasteIsPublic = new System.Windows.Forms.CheckBox();
|
||||
this.lblUpasteUserKey = new System.Windows.Forms.Label();
|
||||
|
@ -293,8 +280,6 @@ private void InitializeComponent()
|
|||
this.tpImageUploaders = new System.Windows.Forms.TabPage();
|
||||
this.tcImageUploaders = new System.Windows.Forms.TabControl();
|
||||
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.lblImgurAlbumID = new System.Windows.Forms.Label();
|
||||
this.lvImgurAlbumList = new System.Windows.Forms.ListView();
|
||||
|
@ -314,7 +299,6 @@ private void InitializeComponent()
|
|||
this.txtImageShackPassword = new System.Windows.Forms.TextBox();
|
||||
this.lblImageShackPassword = new System.Windows.Forms.Label();
|
||||
this.tpTinyPic = new System.Windows.Forms.TabPage();
|
||||
this.atcTinyPicAccountType = new UploadersLib.AccountTypeControl();
|
||||
this.btnTinyPicLogin = new System.Windows.Forms.Button();
|
||||
this.txtTinyPicPassword = new System.Windows.Forms.TextBox();
|
||||
this.lblTinyPicPassword = new System.Windows.Forms.Label();
|
||||
|
@ -355,9 +339,27 @@ private void InitializeComponent()
|
|||
this.chPicasaName = ((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.oauth2Picasa = new UploadersLib.OAuthControl();
|
||||
this.tcUploaders = new System.Windows.Forms.TabControl();
|
||||
this.ttlvMain = new HelpersLib.TabToListView();
|
||||
this.lblWidthHint = new System.Windows.Forms.Label();
|
||||
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.tpOtherUploaders.SuspendLayout();
|
||||
this.tcOtherUploaders.SuspendLayout();
|
||||
|
@ -1059,15 +1061,6 @@ private void InitializeComponent()
|
|||
this.btnTwitterLogin.UseVisualStyleBackColor = true;
|
||||
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
|
||||
//
|
||||
this.tpURLShorteners.Controls.Add(this.tcURLShorteners);
|
||||
|
@ -1121,17 +1114,6 @@ private void InitializeComponent()
|
|||
this.lblBitlyDomain.TabIndex = 1;
|
||||
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
|
||||
//
|
||||
this.tpGoogleURLShortener.Controls.Add(this.oauth2GoogleURLShortener);
|
||||
|
@ -1144,26 +1126,6 @@ private void InitializeComponent()
|
|||
this.tpGoogleURLShortener.Text = "Google";
|
||||
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
|
||||
//
|
||||
this.tpYourls.Controls.Add(this.txtYourlsPassword);
|
||||
|
@ -1319,17 +1281,6 @@ private void InitializeComponent()
|
|||
this.tpDropbox.Text = "Dropbox";
|
||||
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
|
||||
//
|
||||
this.cbDropboxURLType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
|
@ -1505,17 +1456,6 @@ private void InitializeComponent()
|
|||
this.txtCopyPath.TabIndex = 3;
|
||||
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
|
||||
//
|
||||
this.tpFTP.Controls.Add(this.eiFTP);
|
||||
|
@ -1612,16 +1552,6 @@ private void InitializeComponent()
|
|||
this.cboFtpText.TabIndex = 3;
|
||||
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
|
||||
//
|
||||
this.tpMega.Controls.Add(this.btnMegaRefreshFolders);
|
||||
|
@ -1917,6 +1847,7 @@ private void InitializeComponent()
|
|||
//
|
||||
// tpGoogleDrive
|
||||
//
|
||||
this.tpGoogleDrive.Controls.Add(this.cbGoogleDriveUseFolder);
|
||||
this.tpGoogleDrive.Controls.Add(this.txtGoogleDriveFolderID);
|
||||
this.tpGoogleDrive.Controls.Add(this.lblGoogleDriveFolderID);
|
||||
this.tpGoogleDrive.Controls.Add(this.lvGoogleDriveFoldersList);
|
||||
|
@ -1931,22 +1862,33 @@ private void InitializeComponent()
|
|||
this.tpGoogleDrive.Text = "Google Drive";
|
||||
this.tpGoogleDrive.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// cbGoogleDriveUseFolder
|
||||
//
|
||||
this.cbGoogleDriveUseFolder.AutoSize = true;
|
||||
this.cbGoogleDriveUseFolder.Location = new System.Drawing.Point(352, 16);
|
||||
this.cbGoogleDriveUseFolder.Name = "cbGoogleDriveUseFolder";
|
||||
this.cbGoogleDriveUseFolder.Size = new System.Drawing.Size(165, 17);
|
||||
this.cbGoogleDriveUseFolder.TabIndex = 12;
|
||||
this.cbGoogleDriveUseFolder.Text = "Upload files to selected folder";
|
||||
this.cbGoogleDriveUseFolder.UseVisualStyleBackColor = true;
|
||||
this.cbGoogleDriveUseFolder.CheckedChanged += new System.EventHandler(this.cbGoogleDriveUseFolder_CheckedChanged);
|
||||
//
|
||||
// txtGoogleDriveFolderID
|
||||
//
|
||||
this.txtGoogleDriveFolderID.Location = new System.Drawing.Point(592, 13);
|
||||
this.txtGoogleDriveFolderID.Location = new System.Drawing.Point(528, 41);
|
||||
this.txtGoogleDriveFolderID.Name = "txtGoogleDriveFolderID";
|
||||
this.txtGoogleDriveFolderID.Size = new System.Drawing.Size(192, 20);
|
||||
this.txtGoogleDriveFolderID.Size = new System.Drawing.Size(256, 20);
|
||||
this.txtGoogleDriveFolderID.TabIndex = 9;
|
||||
this.txtGoogleDriveFolderID.TextChanged += new System.EventHandler(this.txtGoogleDriveFolderID_TextChanged);
|
||||
//
|
||||
// lblGoogleDriveFolderID
|
||||
//
|
||||
this.lblGoogleDriveFolderID.AutoSize = true;
|
||||
this.lblGoogleDriveFolderID.Location = new System.Drawing.Point(352, 16);
|
||||
this.lblGoogleDriveFolderID.Location = new System.Drawing.Point(472, 45);
|
||||
this.lblGoogleDriveFolderID.Name = "lblGoogleDriveFolderID";
|
||||
this.lblGoogleDriveFolderID.Size = new System.Drawing.Size(231, 13);
|
||||
this.lblGoogleDriveFolderID.Size = new System.Drawing.Size(53, 13);
|
||||
this.lblGoogleDriveFolderID.TabIndex = 8;
|
||||
this.lblGoogleDriveFolderID.Text = "Folder ID for upload (Empty = No folder upload):";
|
||||
this.lblGoogleDriveFolderID.Text = "Folder ID:";
|
||||
//
|
||||
// lvGoogleDriveFoldersList
|
||||
//
|
||||
|
@ -1979,7 +1921,7 @@ private void InitializeComponent()
|
|||
this.btnGoogleDriveRefreshFolders.Enabled = false;
|
||||
this.btnGoogleDriveRefreshFolders.Location = new System.Drawing.Point(352, 40);
|
||||
this.btnGoogleDriveRefreshFolders.Name = "btnGoogleDriveRefreshFolders";
|
||||
this.btnGoogleDriveRefreshFolders.Size = new System.Drawing.Size(200, 23);
|
||||
this.btnGoogleDriveRefreshFolders.Size = new System.Drawing.Size(112, 23);
|
||||
this.btnGoogleDriveRefreshFolders.TabIndex = 10;
|
||||
this.btnGoogleDriveRefreshFolders.Text = "Refresh folders list";
|
||||
this.btnGoogleDriveRefreshFolders.UseVisualStyleBackColor = true;
|
||||
|
@ -1996,17 +1938,6 @@ private void InitializeComponent()
|
|||
this.cbGoogleDriveIsPublic.UseVisualStyleBackColor = true;
|
||||
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);
|
||||
//
|
||||
// tpPushbullet
|
||||
//
|
||||
this.tpPushbullet.Controls.Add(this.lblPushbulletDevices);
|
||||
|
@ -2147,17 +2078,6 @@ private void InitializeComponent()
|
|||
this.btnBoxRefreshFolders.UseVisualStyleBackColor = true;
|
||||
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
|
||||
//
|
||||
this.tpRapidShare.Controls.Add(this.txtRapidShareFolderID);
|
||||
|
@ -2307,15 +2227,6 @@ private void InitializeComponent()
|
|||
this.txtSendSpaceUserName.TabIndex = 2;
|
||||
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
|
||||
//
|
||||
this.tpGe_tt.Controls.Add(this.lblGe_ttStatus);
|
||||
|
@ -2694,17 +2605,6 @@ private void InitializeComponent()
|
|||
this.lblJiraHost.TabIndex = 0;
|
||||
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
|
||||
//
|
||||
this.tpEmail.Controls.Add(this.chkEmailConfirm);
|
||||
|
@ -2940,16 +2840,6 @@ private void InitializeComponent()
|
|||
this.cboSharedFolderImages.TabIndex = 1;
|
||||
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
|
||||
//
|
||||
this.btnCopyShowFiles.Location = new System.Drawing.Point(0, 0);
|
||||
|
@ -3066,27 +2956,6 @@ private void InitializeComponent()
|
|||
this.chkGistPublishPublic.UseVisualStyleBackColor = true;
|
||||
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
|
||||
//
|
||||
this.tpUpaste.Controls.Add(this.cbUpasteIsPublic);
|
||||
|
@ -3174,26 +3043,6 @@ private void InitializeComponent()
|
|||
this.tpImgur.Text = "Imgur";
|
||||
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
|
||||
//
|
||||
this.txtImgurAlbumID.Location = new System.Drawing.Point(592, 13);
|
||||
|
@ -3383,15 +3232,6 @@ private void InitializeComponent()
|
|||
this.tpTinyPic.Text = "TinyPic";
|
||||
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
|
||||
//
|
||||
this.btnTinyPicLogin.Location = new System.Drawing.Point(296, 74);
|
||||
|
@ -3465,8 +3305,7 @@ private void InitializeComponent()
|
|||
//
|
||||
// btnFlickrOpenImages
|
||||
//
|
||||
this.btnFlickrOpenImages.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnFlickrOpenImages.Location = new System.Drawing.Point(661, 104);
|
||||
this.btnFlickrOpenImages.Location = new System.Drawing.Point(616, 102);
|
||||
this.btnFlickrOpenImages.Name = "btnFlickrOpenImages";
|
||||
this.btnFlickrOpenImages.Size = new System.Drawing.Size(179, 23);
|
||||
this.btnFlickrOpenImages.TabIndex = 3;
|
||||
|
@ -3476,33 +3315,27 @@ private void InitializeComponent()
|
|||
//
|
||||
// pgFlickrAuthInfo
|
||||
//
|
||||
this.pgFlickrAuthInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pgFlickrAuthInfo.CommandsVisibleIfAvailable = false;
|
||||
this.pgFlickrAuthInfo.Location = new System.Drawing.Point(16, 16);
|
||||
this.pgFlickrAuthInfo.Name = "pgFlickrAuthInfo";
|
||||
this.pgFlickrAuthInfo.PropertySort = System.Windows.Forms.PropertySort.NoSort;
|
||||
this.pgFlickrAuthInfo.Size = new System.Drawing.Size(631, 160);
|
||||
this.pgFlickrAuthInfo.Size = new System.Drawing.Size(592, 160);
|
||||
this.pgFlickrAuthInfo.TabIndex = 4;
|
||||
this.pgFlickrAuthInfo.ToolbarVisible = false;
|
||||
//
|
||||
// pgFlickrSettings
|
||||
//
|
||||
this.pgFlickrSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pgFlickrSettings.CommandsVisibleIfAvailable = false;
|
||||
this.pgFlickrSettings.Location = new System.Drawing.Point(16, 184);
|
||||
this.pgFlickrSettings.Name = "pgFlickrSettings";
|
||||
this.pgFlickrSettings.PropertySort = System.Windows.Forms.PropertySort.NoSort;
|
||||
this.pgFlickrSettings.Size = new System.Drawing.Size(631, 275);
|
||||
this.pgFlickrSettings.Size = new System.Drawing.Size(592, 275);
|
||||
this.pgFlickrSettings.TabIndex = 5;
|
||||
this.pgFlickrSettings.ToolbarVisible = false;
|
||||
//
|
||||
// btnFlickrCheckToken
|
||||
//
|
||||
this.btnFlickrCheckToken.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnFlickrCheckToken.Location = new System.Drawing.Point(661, 75);
|
||||
this.btnFlickrCheckToken.Location = new System.Drawing.Point(616, 73);
|
||||
this.btnFlickrCheckToken.Name = "btnFlickrCheckToken";
|
||||
this.btnFlickrCheckToken.Size = new System.Drawing.Size(179, 23);
|
||||
this.btnFlickrCheckToken.TabIndex = 2;
|
||||
|
@ -3512,9 +3345,8 @@ private void InitializeComponent()
|
|||
//
|
||||
// btnFlickrCompleteAuth
|
||||
//
|
||||
this.btnFlickrCompleteAuth.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnFlickrCompleteAuth.Enabled = false;
|
||||
this.btnFlickrCompleteAuth.Location = new System.Drawing.Point(661, 47);
|
||||
this.btnFlickrCompleteAuth.Location = new System.Drawing.Point(616, 45);
|
||||
this.btnFlickrCompleteAuth.Name = "btnFlickrCompleteAuth";
|
||||
this.btnFlickrCompleteAuth.Size = new System.Drawing.Size(179, 24);
|
||||
this.btnFlickrCompleteAuth.TabIndex = 1;
|
||||
|
@ -3524,8 +3356,7 @@ private void InitializeComponent()
|
|||
//
|
||||
// btnFlickrOpenAuthorize
|
||||
//
|
||||
this.btnFlickrOpenAuthorize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnFlickrOpenAuthorize.Location = new System.Drawing.Point(661, 18);
|
||||
this.btnFlickrOpenAuthorize.Location = new System.Drawing.Point(616, 16);
|
||||
this.btnFlickrOpenAuthorize.Name = "btnFlickrOpenAuthorize";
|
||||
this.btnFlickrOpenAuthorize.Size = new System.Drawing.Size(179, 23);
|
||||
this.btnFlickrOpenAuthorize.TabIndex = 0;
|
||||
|
@ -3797,17 +3628,6 @@ private void InitializeComponent()
|
|||
this.btnPicasaRefreshAlbumList.UseVisualStyleBackColor = true;
|
||||
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
|
||||
//
|
||||
this.tcUploaders.Controls.Add(this.tpImageUploaders);
|
||||
|
@ -3835,6 +3655,200 @@ private void InitializeComponent()
|
|||
this.ttlvMain.Size = new System.Drawing.Size(994, 551);
|
||||
this.ttlvMain.TabIndex = 0;
|
||||
//
|
||||
// lblWidthHint
|
||||
//
|
||||
this.lblWidthHint.BackColor = System.Drawing.Color.Black;
|
||||
this.lblWidthHint.Location = new System.Drawing.Point(820, 0);
|
||||
this.lblWidthHint.Name = "lblWidthHint";
|
||||
this.lblWidthHint.Size = new System.Drawing.Size(1, 600);
|
||||
this.lblWidthHint.TabIndex = 1;
|
||||
this.lblWidthHint.Visible = false;
|
||||
//
|
||||
// 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
|
||||
//
|
||||
this.actRapidShareAccountType.Location = new System.Drawing.Point(8, 16);
|
||||
|
@ -3849,6 +3863,7 @@ private void InitializeComponent()
|
|||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.White;
|
||||
this.ClientSize = new System.Drawing.Size(1000, 557);
|
||||
this.Controls.Add(this.lblWidthHint);
|
||||
this.Controls.Add(this.tcUploaders);
|
||||
this.Controls.Add(this.ttlvMain);
|
||||
this.MinimumSize = new System.Drawing.Size(840, 572);
|
||||
|
@ -4285,5 +4300,7 @@ private void InitializeComponent()
|
|||
private System.Windows.Forms.ColumnHeader chGoogleDriveTitle;
|
||||
private System.Windows.Forms.Button btnGoogleDriveRefreshFolders;
|
||||
private System.Windows.Forms.ColumnHeader chGoogleDriveDescription;
|
||||
private System.Windows.Forms.CheckBox cbGoogleDriveUseFolder;
|
||||
private System.Windows.Forms.Label lblWidthHint;
|
||||
}
|
||||
}
|
|
@ -300,6 +300,8 @@ public void LoadSettings(UploadersConfig uploadersConfig)
|
|||
}
|
||||
|
||||
cbGoogleDriveIsPublic.Checked = Config.GoogleDriveIsPublic;
|
||||
cbGoogleDriveUseFolder.Checked = Config.GoogleDriveUseFolder;
|
||||
txtGoogleDriveFolderID.Enabled = Config.GoogleDriveUseFolder;
|
||||
txtGoogleDriveFolderID.Text = Config.GoogleDriveFolderID;
|
||||
|
||||
// Minus
|
||||
|
@ -1003,6 +1005,12 @@ private void cbGoogleDriveIsPublic_CheckedChanged(object sender, EventArgs e)
|
|||
Config.GoogleDriveIsPublic = cbGoogleDriveIsPublic.Checked;
|
||||
}
|
||||
|
||||
private void cbGoogleDriveUseFolder_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
Config.GoogleDriveUseFolder = cbGoogleDriveUseFolder.Checked;
|
||||
txtGoogleDriveFolderID.Enabled = Config.GoogleDriveUseFolder;
|
||||
}
|
||||
|
||||
private void txtGoogleDriveFolderID_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
Config.GoogleDriveFolderID = txtGoogleDriveFolderID.Text;
|
||||
|
|
|
@ -37,9 +37,8 @@ public class FlickrUploader : ImageUploader
|
|||
{
|
||||
private string API_Key, API_Secret;
|
||||
|
||||
private const string API_URL = "http://api.flickr.com/services/rest/";
|
||||
private const string API_Auth_URL = "http://www.flickr.com/services/auth/";
|
||||
private const string API_Upload_URL = "http://api.flickr.com/services/upload/";
|
||||
private const string API_URL = "https://api.flickr.com/services/rest/";
|
||||
private const string API_Auth_URL = "https://www.flickr.com/services/auth/";
|
||||
|
||||
public FlickrAuthInfo Auth = new FlickrAuthInfo();
|
||||
public FlickrSettings Settings = new FlickrSettings();
|
||||
|
@ -177,7 +176,7 @@ public string GetAuthLink(FlickrPermission perm)
|
|||
|
||||
public string GetPhotosLink(string userID)
|
||||
{
|
||||
return URLHelpers.CombineURL("http://www.flickr.com/photos", userID);
|
||||
return URLHelpers.CombineURL("https://www.flickr.com/photos", userID);
|
||||
}
|
||||
|
||||
public string GetPhotosLink()
|
||||
|
@ -241,7 +240,7 @@ public override UploadResult Upload(Stream stream, string fileName)
|
|||
|
||||
args.Add("api_sig", GetAPISig(args));
|
||||
|
||||
UploadResult result = UploadData(stream, API_Upload_URL, fileName, "photo", args);
|
||||
UploadResult result = UploadData(stream, "https://up.flickr.com/services/upload/", fileName, "photo", args);
|
||||
|
||||
if (result.IsSuccess)
|
||||
{
|
||||
|
|
|
@ -123,6 +123,7 @@ public class UploadersConfig : SettingsBase<UploadersConfig>
|
|||
|
||||
public OAuth2Info GoogleDriveOAuth2Info = null;
|
||||
public bool GoogleDriveIsPublic = true;
|
||||
public bool GoogleDriveUseFolder = false;
|
||||
public string GoogleDriveFolderID = string.Empty;
|
||||
|
||||
// RapidShare
|
||||
|
|
Loading…
Reference in a new issue