diff --git a/ShareX.UploadersLib/FileUploaders/Lithiio.cs b/ShareX.UploadersLib/FileUploaders/Lithiio.cs index d1ec43333..804f8604b 100644 --- a/ShareX.UploadersLib/FileUploaders/Lithiio.cs +++ b/ShareX.UploadersLib/FileUploaders/Lithiio.cs @@ -64,18 +64,16 @@ public Lithiio(LithiioSettings config) private const string uploadUrl = "http://api.lithi.io/v3/"; - public static string[] UploadURLs = new string[] { "https://i.lithi.io/", "https://lithi.io/i/", "https://i.mugi.io/", "https://mugi.io/i/" }; - public override UploadResult Upload(Stream stream, string fileName) { Dictionary arguments = new Dictionary(); arguments.Add("key", Config.UserAPIKey); - arguments.Add("linktype", Config.UploadURL); UploadResult result = UploadData(stream, uploadUrl, fileName, "file", arguments); if (result.IsSuccess) { LithiioResponse response = JsonConvert.DeserializeObject(result.Response); + if (response.Success) { result.URL = response.URL; @@ -100,6 +98,5 @@ public class LithiioResponse public class LithiioSettings { public string UserAPIKey { get; set; } = ""; - public string UploadURL { get; set; } = "https://i.lithi.io/"; } } \ No newline at end of file diff --git a/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs b/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs index d4fd7cb5c..d195803c6 100644 --- a/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs +++ b/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs @@ -42,6 +42,7 @@ private void InitializeComponent() this.lblTwitterDefaultMessage = new System.Windows.Forms.Label(); this.txtTwitterDefaultMessage = new System.Windows.Forms.TextBox(); this.cbTwitterSkipMessageBox = new System.Windows.Forms.CheckBox(); + this.oauthTwitter = new ShareX.UploadersLib.OAuthControl(); this.txtTwitterDescription = new System.Windows.Forms.TextBox(); this.lblTwitterDescription = new System.Windows.Forms.Label(); this.btnTwitterRemove = new System.Windows.Forms.Button(); @@ -55,6 +56,8 @@ private void InitializeComponent() this.btnCustomUploaderRegexpUpdate = new System.Windows.Forms.Button(); this.btnCustomUploaderRegexpAdd = new System.Windows.Forms.Button(); this.btnCustomUploaderRegexpRemove = new System.Windows.Forms.Button(); + this.lvCustomUploaderRegexps = new ShareX.HelpersLib.MyListView(); + this.lvRegexpsColumn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.tpCustomUploaderJsonParse = new System.Windows.Forms.TabPage(); this.btnCustomUploaderJsonAddSyntax = new System.Windows.Forms.Button(); this.btnCustomUploadJsonPathHelp = new System.Windows.Forms.Button(); @@ -74,12 +77,18 @@ private void InitializeComponent() this.txtCustomUploaderArgValue = new System.Windows.Forms.TextBox(); this.btnCustomUploaderArgAdd = new System.Windows.Forms.Button(); this.btnCustomUploaderArgRemove = new System.Windows.Forms.Button(); + this.lvCustomUploaderArguments = new ShareX.HelpersLib.MyListView(); + this.chCustomUploaderArgumentsName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.chCustomUploaderArgumentsValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.tpCustomUploaderHeaders = new System.Windows.Forms.TabPage(); this.btnCustomUploaderHeaderUpdate = new System.Windows.Forms.Button(); this.txtCustomUploaderHeaderName = new System.Windows.Forms.TextBox(); this.txtCustomUploaderHeaderValue = new System.Windows.Forms.TextBox(); this.btnCustomUploaderHeaderAdd = new System.Windows.Forms.Button(); this.btnCustomUploaderHeaderRemove = new System.Windows.Forms.Button(); + this.lvCustomUploaderHeaders = new ShareX.HelpersLib.MyListView(); + this.chCustomUploaderHeadersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.chCustomUploaderHeadersValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.btnCustomUploaderExamples = new System.Windows.Forms.Button(); this.btnCustomUploaderHelp = new System.Windows.Forms.Button(); this.btnCustomUploaderClear = new System.Windows.Forms.Button(); @@ -97,6 +106,7 @@ private void InitializeComponent() this.gbCustomUploaders = new System.Windows.Forms.GroupBox(); this.btnCustomUploadersExportAll = new System.Windows.Forms.Button(); this.btnCustomUploaderClearUploaders = new System.Windows.Forms.Button(); + this.eiCustomUploaders = new ShareX.HelpersLib.ExportImportControl(); this.lbCustomUploaderList = new System.Windows.Forms.ListBox(); this.btnCustomUploaderRemove = new System.Windows.Forms.Button(); this.btnCustomUploaderUpdate = new System.Windows.Forms.Button(); @@ -125,7 +135,10 @@ private void InitializeComponent() this.tpBitly = new System.Windows.Forms.TabPage(); this.txtBitlyDomain = new System.Windows.Forms.TextBox(); this.lblBitlyDomain = new System.Windows.Forms.Label(); + this.oauth2Bitly = new ShareX.UploadersLib.OAuthControl(); this.tpGoogleURLShortener = new System.Windows.Forms.TabPage(); + this.oauth2GoogleURLShortener = new ShareX.UploadersLib.OAuthControl(); + this.atcGoogleURLShortenerAccountType = new ShareX.UploadersLib.AccountTypeControl(); this.tpYourls = new System.Windows.Forms.TabPage(); this.txtYourlsPassword = new System.Windows.Forms.TextBox(); this.txtYourlsUsername = new System.Windows.Forms.TextBox(); @@ -153,6 +166,7 @@ private void InitializeComponent() this.tpFileUploaders = new System.Windows.Forms.TabPage(); this.tcFileUploaders = new System.Windows.Forms.TabControl(); this.tpFTP = new System.Windows.Forms.TabPage(); + this.eiFTP = new ShareX.HelpersLib.ExportImportControl(); this.btnFtpClient = new System.Windows.Forms.Button(); this.lblFtpFiles = new System.Windows.Forms.Label(); this.lblFtpText = new System.Windows.Forms.Label(); @@ -160,7 +174,9 @@ 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 ShareX.UploadersLib.AccountsControl(); this.tpDropbox = new System.Windows.Forms.TabPage(); + this.oauth2Dropbox = new ShareX.UploadersLib.OAuthControl(); this.cbDropboxURLType = new System.Windows.Forms.ComboBox(); this.cbDropboxAutoCreateShareableLink = new System.Windows.Forms.CheckBox(); this.pbDropboxLogo = new System.Windows.Forms.PictureBox(); @@ -172,13 +188,18 @@ private void InitializeComponent() this.tvOneDrive = new System.Windows.Forms.TreeView(); this.lblOneDriveFolderID = new System.Windows.Forms.Label(); this.cbOneDriveCreateShareableLink = new System.Windows.Forms.CheckBox(); + this.oAuth2OneDrive = new ShareX.UploadersLib.OAuthControl(); this.tpGoogleDrive = new System.Windows.Forms.TabPage(); this.cbGoogleDriveDirectLink = new System.Windows.Forms.CheckBox(); this.cbGoogleDriveUseFolder = new System.Windows.Forms.CheckBox(); this.txtGoogleDriveFolderID = new System.Windows.Forms.TextBox(); this.lblGoogleDriveFolderID = new System.Windows.Forms.Label(); + this.lvGoogleDriveFoldersList = new ShareX.HelpersLib.MyListView(); + this.chGoogleDriveTitle = ((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.cbGoogleDriveIsPublic = new System.Windows.Forms.CheckBox(); + this.oauth2GoogleDrive = new ShareX.UploadersLib.OAuthControl(); this.tpPuush = new System.Windows.Forms.TabPage(); this.pbPuush = new System.Windows.Forms.PictureBox(); this.lblPuushAPIKey = new System.Windows.Forms.Label(); @@ -193,8 +214,11 @@ private void InitializeComponent() this.tpBox = new System.Windows.Forms.TabPage(); this.lblBoxFolderTip = new System.Windows.Forms.Label(); this.cbBoxShare = new System.Windows.Forms.CheckBox(); + this.lvBoxFolders = new ShareX.HelpersLib.MyListView(); + 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 ShareX.UploadersLib.OAuthControl(); this.tpAmazonS3 = new System.Windows.Forms.TabPage(); this.txtAmazonS3CustomDomain = new System.Windows.Forms.TextBox(); this.lblAmazonS3PathPreviewLabel = new System.Windows.Forms.Label(); @@ -256,6 +280,7 @@ 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 ShareX.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(); @@ -293,6 +318,7 @@ 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 ShareX.UploadersLib.OAuthControl(); this.tpLambda = new System.Windows.Forms.TabPage(); this.lblLambdaInfo = new System.Windows.Forms.Label(); this.lblLambdaApiKey = new System.Windows.Forms.Label(); @@ -317,6 +343,10 @@ private void InitializeComponent() this.btnSeafileLibraryPasswordValidate = new System.Windows.Forms.Button(); this.txtSeafileLibraryPassword = new System.Windows.Forms.TextBox(); this.lblSeafileLibraryPassword = new System.Windows.Forms.Label(); + this.lvSeafileLibraries = new ShareX.HelpersLib.MyListView(); + this.colSeafileLibraryName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.colSeafileLibrarySize = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.colSeafileLibraryEncrypted = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.btnSeafilePathValidate = new System.Windows.Forms.Button(); this.txtSeafileDirectoryPath = new System.Windows.Forms.TextBox(); this.lblSeafileWritePermNotif = new System.Windows.Forms.Label(); @@ -356,8 +386,6 @@ private void InitializeComponent() this.btnLithiioGetAPIKey = new System.Windows.Forms.Button(); this.lblLithiioApiKey = new System.Windows.Forms.Label(); this.txtLithiioApiKey = new System.Windows.Forms.TextBox(); - this.lblLithiioUploadURL = new System.Windows.Forms.Label(); - this.cbLithiioUploadURL = new System.Windows.Forms.ComboBox(); this.tpSharedFolder = new System.Windows.Forms.TabPage(); this.lblSharedFolderFiles = new System.Windows.Forms.Label(); this.lblSharedFolderText = new System.Windows.Forms.Label(); @@ -365,6 +393,7 @@ 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 ShareX.UploadersLib.AccountsControl(); this.tpEmail = new System.Windows.Forms.TabPage(); this.txtEmailAutomaticSendTo = new System.Windows.Forms.TextBox(); this.cbEmailAutomaticSend = new System.Windows.Forms.CheckBox(); @@ -421,6 +450,8 @@ private void InitializeComponent() this.tpGist = new System.Windows.Forms.TabPage(); this.cbGistUseRawURL = new System.Windows.Forms.CheckBox(); this.cbGistPublishPublic = new System.Windows.Forms.CheckBox(); + this.oAuth2Gist = new ShareX.UploadersLib.OAuthControl(); + this.atcGistAccountType = new ShareX.UploadersLib.AccountTypeControl(); this.tpUpaste = new System.Windows.Forms.TabPage(); this.cbUpasteIsPublic = new System.Windows.Forms.CheckBox(); this.lblUpasteUserKey = new System.Windows.Forms.Label(); @@ -442,6 +473,8 @@ private void InitializeComponent() this.cbImgurUseGIFV = new System.Windows.Forms.CheckBox(); this.cbImgurUploadSelectedAlbum = new System.Windows.Forms.CheckBox(); this.cbImgurDirectLink = new System.Windows.Forms.CheckBox(); + this.atcImgurAccountType = new ShareX.UploadersLib.AccountTypeControl(); + this.oauth2Imgur = new ShareX.UploadersLib.OAuthControl(); this.lvImgurAlbumList = new System.Windows.Forms.ListView(); this.chImgurID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.chImgurTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); @@ -459,6 +492,7 @@ 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 ShareX.UploadersLib.AccountTypeControl(); this.btnTinyPicLogin = new System.Windows.Forms.Button(); this.txtTinyPicPassword = new System.Windows.Forms.TextBox(); this.lblTinyPicPassword = new System.Windows.Forms.Label(); @@ -499,6 +533,7 @@ 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 ShareX.UploadersLib.OAuthControl(); this.tpChevereto = new System.Windows.Forms.TabPage(); this.btnCheveretoTestAll = new System.Windows.Forms.Button(); this.lblCheveretoUploadURLExample = new System.Windows.Forms.Label(); @@ -520,43 +555,6 @@ private void InitializeComponent() this.cbSomeImageDirectURL = new System.Windows.Forms.CheckBox(); this.tcUploaders = new System.Windows.Forms.TabControl(); this.lblWidthHint = new System.Windows.Forms.Label(); - this.atcImgurAccountType = new ShareX.UploadersLib.AccountTypeControl(); - this.oauth2Imgur = new ShareX.UploadersLib.OAuthControl(); - this.atcTinyPicAccountType = new ShareX.UploadersLib.AccountTypeControl(); - this.oauth2Picasa = new ShareX.UploadersLib.OAuthControl(); - this.oAuth2Gist = new ShareX.UploadersLib.OAuthControl(); - this.atcGistAccountType = new ShareX.UploadersLib.AccountTypeControl(); - this.eiFTP = new ShareX.HelpersLib.ExportImportControl(); - this.ucFTPAccounts = new ShareX.UploadersLib.AccountsControl(); - this.oauth2Dropbox = new ShareX.UploadersLib.OAuthControl(); - this.oAuth2OneDrive = new ShareX.UploadersLib.OAuthControl(); - this.lvGoogleDriveFoldersList = new ShareX.HelpersLib.MyListView(); - this.chGoogleDriveTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.chGoogleDriveDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.oauth2GoogleDrive = new ShareX.UploadersLib.OAuthControl(); - this.lvBoxFolders = new ShareX.HelpersLib.MyListView(); - this.chBoxFoldersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.oauth2Box = new ShareX.UploadersLib.OAuthControl(); - this.atcSendSpaceAccountType = new ShareX.UploadersLib.AccountTypeControl(); - this.oAuthJira = new ShareX.UploadersLib.OAuthControl(); - this.oauthTwitter = new ShareX.UploadersLib.OAuthControl(); - this.lvCustomUploaderRegexps = new ShareX.HelpersLib.MyListView(); - this.lvRegexpsColumn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.lvCustomUploaderArguments = new ShareX.HelpersLib.MyListView(); - this.chCustomUploaderArgumentsName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.chCustomUploaderArgumentsValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.lvCustomUploaderHeaders = new ShareX.HelpersLib.MyListView(); - this.chCustomUploaderHeadersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.chCustomUploaderHeadersValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.eiCustomUploaders = new ShareX.HelpersLib.ExportImportControl(); - this.oauth2Bitly = new ShareX.UploadersLib.OAuthControl(); - this.oauth2GoogleURLShortener = new ShareX.UploadersLib.OAuthControl(); - this.atcGoogleURLShortenerAccountType = new ShareX.UploadersLib.AccountTypeControl(); - this.lvSeafileLibraries = new ShareX.HelpersLib.MyListView(); - this.colSeafileLibraryName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.colSeafileLibrarySize = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.colSeafileLibraryEncrypted = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.ucLocalhostAccounts = new ShareX.UploadersLib.AccountsControl(); this.ttlvMain = new ShareX.HelpersLib.TabToListView(); this.actRapidShareAccountType = new ShareX.UploadersLib.AccountTypeControl(); this.tpOtherUploaders.SuspendLayout(); @@ -738,6 +736,15 @@ private void InitializeComponent() this.cbTwitterSkipMessageBox.UseVisualStyleBackColor = true; this.cbTwitterSkipMessageBox.CheckedChanged += new System.EventHandler(this.cbTwitterSkipMessageBox_CheckedChanged); // + // oauthTwitter + // + resources.ApplyResources(this.oauthTwitter, "oauthTwitter"); + this.oauthTwitter.IsRefreshable = false; + this.oauthTwitter.Name = "oauthTwitter"; + this.oauthTwitter.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauthTwitter_OpenButtonClicked); + this.oauthTwitter.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauthTwitter_CompleteButtonClicked); + this.oauthTwitter.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauthTwitter_ClearButtonClicked); + // // txtTwitterDescription // resources.ApplyResources(this.txtTwitterDescription, "txtTwitterDescription"); @@ -865,6 +872,28 @@ private void InitializeComponent() this.btnCustomUploaderRegexpRemove.UseVisualStyleBackColor = true; this.btnCustomUploaderRegexpRemove.Click += new System.EventHandler(this.btnCustomUploaderRegexpRemove_Click); // + // lvCustomUploaderRegexps + // + this.lvCustomUploaderRegexps.AllowDrop = true; + this.lvCustomUploaderRegexps.AllowItemDrag = true; + this.lvCustomUploaderRegexps.AutoFillColumn = true; + this.lvCustomUploaderRegexps.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.lvRegexpsColumn}); + this.lvCustomUploaderRegexps.FullRowSelect = true; + this.lvCustomUploaderRegexps.GridLines = true; + this.lvCustomUploaderRegexps.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; + this.lvCustomUploaderRegexps.HideSelection = false; + resources.ApplyResources(this.lvCustomUploaderRegexps, "lvCustomUploaderRegexps"); + this.lvCustomUploaderRegexps.MultiSelect = false; + this.lvCustomUploaderRegexps.Name = "lvCustomUploaderRegexps"; + this.lvCustomUploaderRegexps.UseCompatibleStateImageBehavior = false; + this.lvCustomUploaderRegexps.View = System.Windows.Forms.View.Details; + this.lvCustomUploaderRegexps.SelectedIndexChanged += new System.EventHandler(this.lvCustomUploaderRegexps_SelectedIndexChanged); + // + // lvRegexpsColumn + // + resources.ApplyResources(this.lvRegexpsColumn, "lvRegexpsColumn"); + // // tpCustomUploaderJsonParse // this.tpCustomUploaderJsonParse.Controls.Add(this.btnCustomUploaderJsonAddSyntax); @@ -998,6 +1027,33 @@ private void InitializeComponent() this.btnCustomUploaderArgRemove.UseVisualStyleBackColor = true; this.btnCustomUploaderArgRemove.Click += new System.EventHandler(this.btnCustomUploaderArgRemove_Click); // + // lvCustomUploaderArguments + // + this.lvCustomUploaderArguments.AllowDrop = true; + this.lvCustomUploaderArguments.AllowItemDrag = true; + this.lvCustomUploaderArguments.AutoFillColumn = true; + this.lvCustomUploaderArguments.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.chCustomUploaderArgumentsName, + this.chCustomUploaderArgumentsValue}); + this.lvCustomUploaderArguments.FullRowSelect = true; + this.lvCustomUploaderArguments.GridLines = true; + this.lvCustomUploaderArguments.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; + this.lvCustomUploaderArguments.HideSelection = false; + resources.ApplyResources(this.lvCustomUploaderArguments, "lvCustomUploaderArguments"); + this.lvCustomUploaderArguments.MultiSelect = false; + this.lvCustomUploaderArguments.Name = "lvCustomUploaderArguments"; + this.lvCustomUploaderArguments.UseCompatibleStateImageBehavior = false; + this.lvCustomUploaderArguments.View = System.Windows.Forms.View.Details; + this.lvCustomUploaderArguments.SelectedIndexChanged += new System.EventHandler(this.lvCustomUploaderArguments_SelectedIndexChanged); + // + // chCustomUploaderArgumentsName + // + resources.ApplyResources(this.chCustomUploaderArgumentsName, "chCustomUploaderArgumentsName"); + // + // chCustomUploaderArgumentsValue + // + resources.ApplyResources(this.chCustomUploaderArgumentsValue, "chCustomUploaderArgumentsValue"); + // // tpCustomUploaderHeaders // this.tpCustomUploaderHeaders.Controls.Add(this.btnCustomUploaderHeaderUpdate); @@ -1041,6 +1097,33 @@ private void InitializeComponent() this.btnCustomUploaderHeaderRemove.UseVisualStyleBackColor = true; this.btnCustomUploaderHeaderRemove.Click += new System.EventHandler(this.btnCustomUploaderHeaderRemove_Click); // + // lvCustomUploaderHeaders + // + this.lvCustomUploaderHeaders.AllowDrop = true; + this.lvCustomUploaderHeaders.AllowItemDrag = true; + this.lvCustomUploaderHeaders.AutoFillColumn = true; + this.lvCustomUploaderHeaders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.chCustomUploaderHeadersName, + this.chCustomUploaderHeadersValue}); + this.lvCustomUploaderHeaders.FullRowSelect = true; + this.lvCustomUploaderHeaders.GridLines = true; + this.lvCustomUploaderHeaders.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; + this.lvCustomUploaderHeaders.HideSelection = false; + resources.ApplyResources(this.lvCustomUploaderHeaders, "lvCustomUploaderHeaders"); + this.lvCustomUploaderHeaders.MultiSelect = false; + this.lvCustomUploaderHeaders.Name = "lvCustomUploaderHeaders"; + this.lvCustomUploaderHeaders.UseCompatibleStateImageBehavior = false; + this.lvCustomUploaderHeaders.View = System.Windows.Forms.View.Details; + this.lvCustomUploaderHeaders.SelectedIndexChanged += new System.EventHandler(this.lvCustomUploaderHeaders_SelectedIndexChanged); + // + // chCustomUploaderHeadersName + // + resources.ApplyResources(this.chCustomUploaderHeadersName, "chCustomUploaderHeadersName"); + // + // chCustomUploaderHeadersValue + // + resources.ApplyResources(this.chCustomUploaderHeadersValue, "chCustomUploaderHeadersValue"); + // // btnCustomUploaderExamples // resources.ApplyResources(this.btnCustomUploaderExamples, "btnCustomUploaderExamples"); @@ -1158,6 +1241,15 @@ private void InitializeComponent() this.btnCustomUploaderClearUploaders.UseVisualStyleBackColor = true; this.btnCustomUploaderClearUploaders.Click += new System.EventHandler(this.btnCustomUploaderClearUploaders_Click); // + // eiCustomUploaders + // + this.eiCustomUploaders.ExportIgnoreNull = true; + resources.ApplyResources(this.eiCustomUploaders, "eiCustomUploaders"); + this.eiCustomUploaders.Name = "eiCustomUploaders"; + this.eiCustomUploaders.ObjectType = null; + this.eiCustomUploaders.ExportRequested += new ShareX.HelpersLib.ExportImportControl.ExportEventHandler(this.eiCustomUploaders_ExportRequested); + this.eiCustomUploaders.ImportRequested += new ShareX.HelpersLib.ExportImportControl.ImportEventHandler(this.eiCustomUploaders_ImportRequested); + // // lbCustomUploaderList // this.lbCustomUploaderList.FormattingEnabled = true; @@ -1338,6 +1430,15 @@ private void InitializeComponent() resources.ApplyResources(this.lblBitlyDomain, "lblBitlyDomain"); this.lblBitlyDomain.Name = "lblBitlyDomain"; // + // oauth2Bitly + // + this.oauth2Bitly.IsRefreshable = false; + resources.ApplyResources(this.oauth2Bitly, "oauth2Bitly"); + this.oauth2Bitly.Name = "oauth2Bitly"; + this.oauth2Bitly.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Bitly_OpenButtonClicked); + this.oauth2Bitly.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Bitly_CompleteButtonClicked); + this.oauth2Bitly.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Bitly_ClearButtonClicked); + // // tpGoogleURLShortener // this.tpGoogleURLShortener.Controls.Add(this.oauth2GoogleURLShortener); @@ -1346,6 +1447,22 @@ private void InitializeComponent() this.tpGoogleURLShortener.Name = "tpGoogleURLShortener"; this.tpGoogleURLShortener.UseVisualStyleBackColor = true; // + // oauth2GoogleURLShortener + // + resources.ApplyResources(this.oauth2GoogleURLShortener, "oauth2GoogleURLShortener"); + this.oauth2GoogleURLShortener.Name = "oauth2GoogleURLShortener"; + this.oauth2GoogleURLShortener.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleURLShortener_OpenButtonClicked); + this.oauth2GoogleURLShortener.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleURLShortener_CompleteButtonClicked); + this.oauth2GoogleURLShortener.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleURLShortener_ClearButtonClicked); + this.oauth2GoogleURLShortener.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleURLShortener_RefreshButtonClicked); + // + // atcGoogleURLShortenerAccountType + // + resources.ApplyResources(this.atcGoogleURLShortenerAccountType, "atcGoogleURLShortenerAccountType"); + this.atcGoogleURLShortenerAccountType.Name = "atcGoogleURLShortenerAccountType"; + this.atcGoogleURLShortenerAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; + this.atcGoogleURLShortenerAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGoogleURLShortenerAccountType_AccountTypeChanged); + // // tpYourls // this.tpYourls.Controls.Add(this.txtYourlsPassword); @@ -1559,6 +1676,14 @@ private void InitializeComponent() this.tpFTP.Name = "tpFTP"; this.tpFTP.UseVisualStyleBackColor = true; // + // eiFTP + // + resources.ApplyResources(this.eiFTP, "eiFTP"); + this.eiFTP.Name = "eiFTP"; + this.eiFTP.ObjectType = null; + this.eiFTP.ExportRequested += new ShareX.HelpersLib.ExportImportControl.ExportEventHandler(this.eiFTP_ExportRequested); + this.eiFTP.ImportRequested += new ShareX.HelpersLib.ExportImportControl.ImportEventHandler(this.eiFTP_ImportRequested); + // // btnFtpClient // resources.ApplyResources(this.btnFtpClient, "btnFtpClient"); @@ -1605,6 +1730,11 @@ private void InitializeComponent() this.cboFtpText.Name = "cboFtpText"; this.cboFtpText.SelectedIndexChanged += new System.EventHandler(this.cboFtpText_SelectedIndexChanged); // + // ucFTPAccounts + // + resources.ApplyResources(this.ucFTPAccounts, "ucFTPAccounts"); + this.ucFTPAccounts.Name = "ucFTPAccounts"; + // // tpDropbox // this.tpDropbox.Controls.Add(this.oauth2Dropbox); @@ -1619,6 +1749,15 @@ private void InitializeComponent() this.tpDropbox.Name = "tpDropbox"; this.tpDropbox.UseVisualStyleBackColor = true; // + // oauth2Dropbox + // + this.oauth2Dropbox.IsRefreshable = false; + resources.ApplyResources(this.oauth2Dropbox, "oauth2Dropbox"); + this.oauth2Dropbox.Name = "oauth2Dropbox"; + this.oauth2Dropbox.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Dropbox_OpenButtonClicked); + this.oauth2Dropbox.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Dropbox_CompleteButtonClicked); + this.oauth2Dropbox.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Dropbox_ClearButtonClicked); + // // cbDropboxURLType // this.cbDropboxURLType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; @@ -1692,6 +1831,15 @@ private void InitializeComponent() this.cbOneDriveCreateShareableLink.UseVisualStyleBackColor = true; this.cbOneDriveCreateShareableLink.CheckedChanged += new System.EventHandler(this.cbOneDriveCreateShareableLink_CheckedChanged); // + // oAuth2OneDrive + // + resources.ApplyResources(this.oAuth2OneDrive, "oAuth2OneDrive"); + this.oAuth2OneDrive.Name = "oAuth2OneDrive"; + this.oAuth2OneDrive.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuth2OneDrive_OpenButtonClicked); + this.oAuth2OneDrive.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuth2OneDrive_CompleteButtonClicked); + this.oAuth2OneDrive.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2OneDrive_ClearButtonClicked); + this.oAuth2OneDrive.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oAuth2OneDrive_RefreshButtonClicked); + // // tpGoogleDrive // this.tpGoogleDrive.Controls.Add(this.cbGoogleDriveDirectLink); @@ -1731,6 +1879,28 @@ private void InitializeComponent() resources.ApplyResources(this.lblGoogleDriveFolderID, "lblGoogleDriveFolderID"); this.lblGoogleDriveFolderID.Name = "lblGoogleDriveFolderID"; // + // lvGoogleDriveFoldersList + // + this.lvGoogleDriveFoldersList.AutoFillColumn = true; + this.lvGoogleDriveFoldersList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.chGoogleDriveTitle, + this.chGoogleDriveDescription}); + this.lvGoogleDriveFoldersList.FullRowSelect = true; + resources.ApplyResources(this.lvGoogleDriveFoldersList, "lvGoogleDriveFoldersList"); + this.lvGoogleDriveFoldersList.MultiSelect = false; + this.lvGoogleDriveFoldersList.Name = "lvGoogleDriveFoldersList"; + this.lvGoogleDriveFoldersList.UseCompatibleStateImageBehavior = false; + this.lvGoogleDriveFoldersList.View = System.Windows.Forms.View.Details; + this.lvGoogleDriveFoldersList.SelectedIndexChanged += new System.EventHandler(this.lvGoogleDriveFoldersList_SelectedIndexChanged); + // + // chGoogleDriveTitle + // + resources.ApplyResources(this.chGoogleDriveTitle, "chGoogleDriveTitle"); + // + // chGoogleDriveDescription + // + resources.ApplyResources(this.chGoogleDriveDescription, "chGoogleDriveDescription"); + // // btnGoogleDriveRefreshFolders // resources.ApplyResources(this.btnGoogleDriveRefreshFolders, "btnGoogleDriveRefreshFolders"); @@ -1745,6 +1915,15 @@ private void InitializeComponent() this.cbGoogleDriveIsPublic.UseVisualStyleBackColor = true; this.cbGoogleDriveIsPublic.CheckedChanged += new System.EventHandler(this.cbGoogleDriveIsPublic_CheckedChanged); // + // oauth2GoogleDrive + // + resources.ApplyResources(this.oauth2GoogleDrive, "oauth2GoogleDrive"); + this.oauth2GoogleDrive.Name = "oauth2GoogleDrive"; + this.oauth2GoogleDrive.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleDrive_OpenButtonClicked); + this.oauth2GoogleDrive.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleDrive_CompleteButtonClicked); + this.oauth2GoogleDrive.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleDrive_ClearButtonClicked); + this.oauth2GoogleDrive.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleDrive_RefreshButtonClicked); + // // tpPuush // this.tpPuush.Controls.Add(this.pbPuush); @@ -1848,6 +2027,23 @@ private void InitializeComponent() this.cbBoxShare.UseVisualStyleBackColor = true; this.cbBoxShare.CheckedChanged += new System.EventHandler(this.cbBoxShare_CheckedChanged); // + // lvBoxFolders + // + this.lvBoxFolders.AutoFillColumn = true; + this.lvBoxFolders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.chBoxFoldersName}); + this.lvBoxFolders.FullRowSelect = true; + resources.ApplyResources(this.lvBoxFolders, "lvBoxFolders"); + this.lvBoxFolders.Name = "lvBoxFolders"; + this.lvBoxFolders.UseCompatibleStateImageBehavior = false; + this.lvBoxFolders.View = System.Windows.Forms.View.Details; + this.lvBoxFolders.SelectedIndexChanged += new System.EventHandler(this.lvBoxFolders_SelectedIndexChanged); + this.lvBoxFolders.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lvBoxFolders_MouseDoubleClick); + // + // chBoxFoldersName + // + resources.ApplyResources(this.chBoxFoldersName, "chBoxFoldersName"); + // // lblBoxFolderID // resources.ApplyResources(this.lblBoxFolderID, "lblBoxFolderID"); @@ -1860,6 +2056,15 @@ private void InitializeComponent() this.btnBoxRefreshFolders.UseVisualStyleBackColor = true; this.btnBoxRefreshFolders.Click += new System.EventHandler(this.btnBoxRefreshFolders_Click); // + // oauth2Box + // + resources.ApplyResources(this.oauth2Box, "oauth2Box"); + this.oauth2Box.Name = "oauth2Box"; + this.oauth2Box.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Box_OpenButtonClicked); + this.oauth2Box.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Box_CompleteButtonClicked); + this.oauth2Box.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Box_ClearButtonClicked); + this.oauth2Box.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Box_RefreshButtonClicked); + // // tpAmazonS3 // this.tpAmazonS3.Controls.Add(this.txtAmazonS3CustomDomain); @@ -2283,6 +2488,13 @@ private void InitializeComponent() this.txtSendSpaceUserName.Name = "txtSendSpaceUserName"; this.txtSendSpaceUserName.TextChanged += new System.EventHandler(this.txtSendSpaceUserName_TextChanged); // + // atcSendSpaceAccountType + // + resources.ApplyResources(this.atcSendSpaceAccountType, "atcSendSpaceAccountType"); + this.atcSendSpaceAccountType.Name = "atcSendSpaceAccountType"; + this.atcSendSpaceAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; + this.atcSendSpaceAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcSendSpaceAccountType_AccountTypeChanged); + // // tpGe_tt // this.tpGe_tt.Controls.Add(this.lblGe_ttStatus); @@ -2538,6 +2750,15 @@ private void InitializeComponent() resources.ApplyResources(this.lblJiraHost, "lblJiraHost"); this.lblJiraHost.Name = "lblJiraHost"; // + // oAuthJira + // + resources.ApplyResources(this.oAuthJira, "oAuthJira"); + this.oAuthJira.Name = "oAuthJira"; + this.oAuthJira.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuthJira_OpenButtonClicked); + this.oAuthJira.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuthJira_CompleteButtonClicked); + this.oAuthJira.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuthJira_ClearButtonClicked); + this.oAuthJira.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oAuthJira_RefreshButtonClicked); + // // tpLambda // this.tpLambda.Controls.Add(this.lblLambdaInfo); @@ -2734,6 +2955,35 @@ private void InitializeComponent() resources.ApplyResources(this.lblSeafileLibraryPassword, "lblSeafileLibraryPassword"); this.lblSeafileLibraryPassword.Name = "lblSeafileLibraryPassword"; // + // lvSeafileLibraries + // + this.lvSeafileLibraries.AllowColumnSort = true; + this.lvSeafileLibraries.AutoFillColumn = true; + this.lvSeafileLibraries.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.colSeafileLibraryName, + this.colSeafileLibrarySize, + this.colSeafileLibraryEncrypted}); + this.lvSeafileLibraries.DisableDeselect = true; + this.lvSeafileLibraries.FullRowSelect = true; + this.lvSeafileLibraries.HideSelection = false; + resources.ApplyResources(this.lvSeafileLibraries, "lvSeafileLibraries"); + this.lvSeafileLibraries.Name = "lvSeafileLibraries"; + this.lvSeafileLibraries.UseCompatibleStateImageBehavior = false; + this.lvSeafileLibraries.View = System.Windows.Forms.View.Details; + this.lvSeafileLibraries.SelectedIndexChanged += new System.EventHandler(this.lvSeafileLibraries_SelectedIndexChanged); + // + // colSeafileLibraryName + // + resources.ApplyResources(this.colSeafileLibraryName, "colSeafileLibraryName"); + // + // colSeafileLibrarySize + // + resources.ApplyResources(this.colSeafileLibrarySize, "colSeafileLibrarySize"); + // + // colSeafileLibraryEncrypted + // + resources.ApplyResources(this.colSeafileLibraryEncrypted, "colSeafileLibraryEncrypted"); + // // btnSeafilePathValidate // resources.ApplyResources(this.btnSeafilePathValidate, "btnSeafilePathValidate"); @@ -2966,8 +3216,6 @@ private void InitializeComponent() this.tpLithiio.Controls.Add(this.btnLithiioGetAPIKey); this.tpLithiio.Controls.Add(this.lblLithiioApiKey); this.tpLithiio.Controls.Add(this.txtLithiioApiKey); - this.tpLithiio.Controls.Add(this.lblLithiioUploadURL); - this.tpLithiio.Controls.Add(this.cbLithiioUploadURL); resources.ApplyResources(this.tpLithiio, "tpLithiio"); this.tpLithiio.Name = "tpLithiio"; this.tpLithiio.UseVisualStyleBackColor = true; @@ -2991,19 +3239,6 @@ private void InitializeComponent() this.txtLithiioApiKey.UseSystemPasswordChar = true; this.txtLithiioApiKey.TextChanged += new System.EventHandler(this.txtLithiioApiKey_TextChanged); // - // lblLithiioUploadURL - // - resources.ApplyResources(this.lblLithiioUploadURL, "lblLithiioUploadURL"); - this.lblLithiioUploadURL.Name = "lblLithiioUploadURL"; - // - // cbLithiioUploadURL - // - this.cbLithiioUploadURL.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbLithiioUploadURL.FormattingEnabled = true; - resources.ApplyResources(this.cbLithiioUploadURL, "cbLithiioUploadURL"); - this.cbLithiioUploadURL.Name = "cbLithiioUploadURL"; - this.cbLithiioUploadURL.SelectedIndexChanged += new System.EventHandler(this.cbLithiioUploadURL_SelectedIndexChanged); - // // tpSharedFolder // this.tpSharedFolder.Controls.Add(this.lblSharedFolderFiles); @@ -3056,6 +3291,11 @@ private void InitializeComponent() this.cboSharedFolderImages.Name = "cboSharedFolderImages"; this.cboSharedFolderImages.SelectedIndexChanged += new System.EventHandler(this.cboSharedFolderImages_SelectedIndexChanged); // + // ucLocalhostAccounts + // + resources.ApplyResources(this.ucLocalhostAccounts, "ucLocalhostAccounts"); + this.ucLocalhostAccounts.Name = "ucLocalhostAccounts"; + // // tpEmail // this.tpEmail.Controls.Add(this.txtEmailAutomaticSendTo); @@ -3457,6 +3697,22 @@ private void InitializeComponent() this.cbGistPublishPublic.UseVisualStyleBackColor = true; this.cbGistPublishPublic.CheckedChanged += new System.EventHandler(this.chkGistPublishPublic_CheckedChanged); // + // oAuth2Gist + // + resources.ApplyResources(this.oAuth2Gist, "oAuth2Gist"); + this.oAuth2Gist.IsRefreshable = false; + this.oAuth2Gist.Name = "oAuth2Gist"; + this.oAuth2Gist.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuth2Gist_OpenButtonClicked); + this.oAuth2Gist.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuth2Gist_CompleteButtonClicked); + this.oAuth2Gist.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2Gist_ClearButtonClicked); + // + // atcGistAccountType + // + resources.ApplyResources(this.atcGistAccountType, "atcGistAccountType"); + this.atcGistAccountType.Name = "atcGistAccountType"; + this.atcGistAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; + this.atcGistAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGistAccountType_AccountTypeChanged); + // // tpUpaste // this.tpUpaste.Controls.Add(this.cbUpasteIsPublic); @@ -3616,6 +3872,22 @@ private void InitializeComponent() this.cbImgurDirectLink.UseVisualStyleBackColor = true; this.cbImgurDirectLink.CheckedChanged += new System.EventHandler(this.cbImgurDirectLink_CheckedChanged); // + // atcImgurAccountType + // + resources.ApplyResources(this.atcImgurAccountType, "atcImgurAccountType"); + this.atcImgurAccountType.Name = "atcImgurAccountType"; + this.atcImgurAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; + this.atcImgurAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcImgurAccountType_AccountTypeChanged); + // + // oauth2Imgur + // + resources.ApplyResources(this.oauth2Imgur, "oauth2Imgur"); + this.oauth2Imgur.Name = "oauth2Imgur"; + this.oauth2Imgur.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Imgur_OpenButtonClicked); + this.oauth2Imgur.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Imgur_CompleteButtonClicked); + this.oauth2Imgur.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Imgur_ClearButtonClicked); + this.oauth2Imgur.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Imgur_RefreshButtonClicked); + // // lvImgurAlbumList // this.lvImgurAlbumList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { @@ -3742,6 +4014,13 @@ private void InitializeComponent() this.tpTinyPic.Name = "tpTinyPic"; this.tpTinyPic.UseVisualStyleBackColor = true; // + // atcTinyPicAccountType + // + resources.ApplyResources(this.atcTinyPicAccountType, "atcTinyPicAccountType"); + this.atcTinyPicAccountType.Name = "atcTinyPicAccountType"; + this.atcTinyPicAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; + this.atcTinyPicAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcTinyPicAccountType_AccountTypeChanged); + // // btnTinyPicLogin // resources.ApplyResources(this.btnTinyPicLogin, "btnTinyPicLogin"); @@ -4022,6 +4301,15 @@ private void InitializeComponent() this.btnPicasaRefreshAlbumList.UseVisualStyleBackColor = true; this.btnPicasaRefreshAlbumList.Click += new System.EventHandler(this.btnPicasaRefreshAlbumList_Click); // + // oauth2Picasa + // + resources.ApplyResources(this.oauth2Picasa, "oauth2Picasa"); + this.oauth2Picasa.Name = "oauth2Picasa"; + this.oauth2Picasa.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Picasa_OpenButtonClicked); + this.oauth2Picasa.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Picasa_CompleteButtonClicked); + this.oauth2Picasa.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Picasa_ClearButtonClicked); + this.oauth2Picasa.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Picasa_RefreshButtonClicked); + // // tpChevereto // this.tpChevereto.Controls.Add(this.btnCheveretoTestAll); @@ -4170,311 +4458,6 @@ private void InitializeComponent() resources.ApplyResources(this.lblWidthHint, "lblWidthHint"); this.lblWidthHint.Name = "lblWidthHint"; // - // atcImgurAccountType - // - resources.ApplyResources(this.atcImgurAccountType, "atcImgurAccountType"); - this.atcImgurAccountType.Name = "atcImgurAccountType"; - this.atcImgurAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; - this.atcImgurAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcImgurAccountType_AccountTypeChanged); - // - // oauth2Imgur - // - resources.ApplyResources(this.oauth2Imgur, "oauth2Imgur"); - this.oauth2Imgur.Name = "oauth2Imgur"; - this.oauth2Imgur.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Imgur_OpenButtonClicked); - this.oauth2Imgur.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Imgur_CompleteButtonClicked); - this.oauth2Imgur.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Imgur_ClearButtonClicked); - this.oauth2Imgur.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Imgur_RefreshButtonClicked); - // - // atcTinyPicAccountType - // - resources.ApplyResources(this.atcTinyPicAccountType, "atcTinyPicAccountType"); - this.atcTinyPicAccountType.Name = "atcTinyPicAccountType"; - this.atcTinyPicAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; - this.atcTinyPicAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcTinyPicAccountType_AccountTypeChanged); - // - // oauth2Picasa - // - resources.ApplyResources(this.oauth2Picasa, "oauth2Picasa"); - this.oauth2Picasa.Name = "oauth2Picasa"; - this.oauth2Picasa.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Picasa_OpenButtonClicked); - this.oauth2Picasa.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Picasa_CompleteButtonClicked); - this.oauth2Picasa.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Picasa_ClearButtonClicked); - this.oauth2Picasa.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Picasa_RefreshButtonClicked); - // - // oAuth2Gist - // - resources.ApplyResources(this.oAuth2Gist, "oAuth2Gist"); - this.oAuth2Gist.IsRefreshable = false; - this.oAuth2Gist.Name = "oAuth2Gist"; - this.oAuth2Gist.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuth2Gist_OpenButtonClicked); - this.oAuth2Gist.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuth2Gist_CompleteButtonClicked); - this.oAuth2Gist.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2Gist_ClearButtonClicked); - // - // atcGistAccountType - // - resources.ApplyResources(this.atcGistAccountType, "atcGistAccountType"); - this.atcGistAccountType.Name = "atcGistAccountType"; - this.atcGistAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; - this.atcGistAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGistAccountType_AccountTypeChanged); - // - // eiFTP - // - resources.ApplyResources(this.eiFTP, "eiFTP"); - this.eiFTP.Name = "eiFTP"; - this.eiFTP.ObjectType = null; - this.eiFTP.ExportRequested += new ShareX.HelpersLib.ExportImportControl.ExportEventHandler(this.eiFTP_ExportRequested); - this.eiFTP.ImportRequested += new ShareX.HelpersLib.ExportImportControl.ImportEventHandler(this.eiFTP_ImportRequested); - // - // ucFTPAccounts - // - resources.ApplyResources(this.ucFTPAccounts, "ucFTPAccounts"); - this.ucFTPAccounts.Name = "ucFTPAccounts"; - // - // oauth2Dropbox - // - this.oauth2Dropbox.IsRefreshable = false; - resources.ApplyResources(this.oauth2Dropbox, "oauth2Dropbox"); - this.oauth2Dropbox.Name = "oauth2Dropbox"; - this.oauth2Dropbox.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Dropbox_OpenButtonClicked); - this.oauth2Dropbox.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Dropbox_CompleteButtonClicked); - this.oauth2Dropbox.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Dropbox_ClearButtonClicked); - // - // oAuth2OneDrive - // - resources.ApplyResources(this.oAuth2OneDrive, "oAuth2OneDrive"); - this.oAuth2OneDrive.Name = "oAuth2OneDrive"; - this.oAuth2OneDrive.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuth2OneDrive_OpenButtonClicked); - this.oAuth2OneDrive.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuth2OneDrive_CompleteButtonClicked); - this.oAuth2OneDrive.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2OneDrive_ClearButtonClicked); - this.oAuth2OneDrive.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oAuth2OneDrive_RefreshButtonClicked); - // - // lvGoogleDriveFoldersList - // - this.lvGoogleDriveFoldersList.AutoFillColumn = true; - this.lvGoogleDriveFoldersList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.chGoogleDriveTitle, - this.chGoogleDriveDescription}); - this.lvGoogleDriveFoldersList.FullRowSelect = true; - resources.ApplyResources(this.lvGoogleDriveFoldersList, "lvGoogleDriveFoldersList"); - this.lvGoogleDriveFoldersList.MultiSelect = false; - this.lvGoogleDriveFoldersList.Name = "lvGoogleDriveFoldersList"; - this.lvGoogleDriveFoldersList.UseCompatibleStateImageBehavior = false; - this.lvGoogleDriveFoldersList.View = System.Windows.Forms.View.Details; - this.lvGoogleDriveFoldersList.SelectedIndexChanged += new System.EventHandler(this.lvGoogleDriveFoldersList_SelectedIndexChanged); - // - // chGoogleDriveTitle - // - resources.ApplyResources(this.chGoogleDriveTitle, "chGoogleDriveTitle"); - // - // chGoogleDriveDescription - // - resources.ApplyResources(this.chGoogleDriveDescription, "chGoogleDriveDescription"); - // - // oauth2GoogleDrive - // - resources.ApplyResources(this.oauth2GoogleDrive, "oauth2GoogleDrive"); - this.oauth2GoogleDrive.Name = "oauth2GoogleDrive"; - this.oauth2GoogleDrive.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleDrive_OpenButtonClicked); - this.oauth2GoogleDrive.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleDrive_CompleteButtonClicked); - this.oauth2GoogleDrive.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleDrive_ClearButtonClicked); - this.oauth2GoogleDrive.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleDrive_RefreshButtonClicked); - // - // lvBoxFolders - // - this.lvBoxFolders.AutoFillColumn = true; - this.lvBoxFolders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.chBoxFoldersName}); - this.lvBoxFolders.FullRowSelect = true; - resources.ApplyResources(this.lvBoxFolders, "lvBoxFolders"); - this.lvBoxFolders.Name = "lvBoxFolders"; - this.lvBoxFolders.UseCompatibleStateImageBehavior = false; - this.lvBoxFolders.View = System.Windows.Forms.View.Details; - this.lvBoxFolders.SelectedIndexChanged += new System.EventHandler(this.lvBoxFolders_SelectedIndexChanged); - this.lvBoxFolders.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lvBoxFolders_MouseDoubleClick); - // - // chBoxFoldersName - // - resources.ApplyResources(this.chBoxFoldersName, "chBoxFoldersName"); - // - // oauth2Box - // - resources.ApplyResources(this.oauth2Box, "oauth2Box"); - this.oauth2Box.Name = "oauth2Box"; - this.oauth2Box.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Box_OpenButtonClicked); - this.oauth2Box.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Box_CompleteButtonClicked); - this.oauth2Box.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Box_ClearButtonClicked); - this.oauth2Box.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Box_RefreshButtonClicked); - // - // atcSendSpaceAccountType - // - resources.ApplyResources(this.atcSendSpaceAccountType, "atcSendSpaceAccountType"); - this.atcSendSpaceAccountType.Name = "atcSendSpaceAccountType"; - this.atcSendSpaceAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; - this.atcSendSpaceAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcSendSpaceAccountType_AccountTypeChanged); - // - // oAuthJira - // - resources.ApplyResources(this.oAuthJira, "oAuthJira"); - this.oAuthJira.Name = "oAuthJira"; - this.oAuthJira.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuthJira_OpenButtonClicked); - this.oAuthJira.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuthJira_CompleteButtonClicked); - this.oAuthJira.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuthJira_ClearButtonClicked); - this.oAuthJira.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oAuthJira_RefreshButtonClicked); - // - // oauthTwitter - // - resources.ApplyResources(this.oauthTwitter, "oauthTwitter"); - this.oauthTwitter.IsRefreshable = false; - this.oauthTwitter.Name = "oauthTwitter"; - this.oauthTwitter.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauthTwitter_OpenButtonClicked); - this.oauthTwitter.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauthTwitter_CompleteButtonClicked); - this.oauthTwitter.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauthTwitter_ClearButtonClicked); - // - // lvCustomUploaderRegexps - // - this.lvCustomUploaderRegexps.AllowDrop = true; - this.lvCustomUploaderRegexps.AllowItemDrag = true; - this.lvCustomUploaderRegexps.AutoFillColumn = true; - this.lvCustomUploaderRegexps.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.lvRegexpsColumn}); - this.lvCustomUploaderRegexps.FullRowSelect = true; - this.lvCustomUploaderRegexps.GridLines = true; - this.lvCustomUploaderRegexps.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; - this.lvCustomUploaderRegexps.HideSelection = false; - resources.ApplyResources(this.lvCustomUploaderRegexps, "lvCustomUploaderRegexps"); - this.lvCustomUploaderRegexps.MultiSelect = false; - this.lvCustomUploaderRegexps.Name = "lvCustomUploaderRegexps"; - this.lvCustomUploaderRegexps.UseCompatibleStateImageBehavior = false; - this.lvCustomUploaderRegexps.View = System.Windows.Forms.View.Details; - this.lvCustomUploaderRegexps.SelectedIndexChanged += new System.EventHandler(this.lvCustomUploaderRegexps_SelectedIndexChanged); - // - // lvRegexpsColumn - // - resources.ApplyResources(this.lvRegexpsColumn, "lvRegexpsColumn"); - // - // lvCustomUploaderArguments - // - this.lvCustomUploaderArguments.AllowDrop = true; - this.lvCustomUploaderArguments.AllowItemDrag = true; - this.lvCustomUploaderArguments.AutoFillColumn = true; - this.lvCustomUploaderArguments.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.chCustomUploaderArgumentsName, - this.chCustomUploaderArgumentsValue}); - this.lvCustomUploaderArguments.FullRowSelect = true; - this.lvCustomUploaderArguments.GridLines = true; - this.lvCustomUploaderArguments.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; - this.lvCustomUploaderArguments.HideSelection = false; - resources.ApplyResources(this.lvCustomUploaderArguments, "lvCustomUploaderArguments"); - this.lvCustomUploaderArguments.MultiSelect = false; - this.lvCustomUploaderArguments.Name = "lvCustomUploaderArguments"; - this.lvCustomUploaderArguments.UseCompatibleStateImageBehavior = false; - this.lvCustomUploaderArguments.View = System.Windows.Forms.View.Details; - this.lvCustomUploaderArguments.SelectedIndexChanged += new System.EventHandler(this.lvCustomUploaderArguments_SelectedIndexChanged); - // - // chCustomUploaderArgumentsName - // - resources.ApplyResources(this.chCustomUploaderArgumentsName, "chCustomUploaderArgumentsName"); - // - // chCustomUploaderArgumentsValue - // - resources.ApplyResources(this.chCustomUploaderArgumentsValue, "chCustomUploaderArgumentsValue"); - // - // lvCustomUploaderHeaders - // - this.lvCustomUploaderHeaders.AllowDrop = true; - this.lvCustomUploaderHeaders.AllowItemDrag = true; - this.lvCustomUploaderHeaders.AutoFillColumn = true; - this.lvCustomUploaderHeaders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.chCustomUploaderHeadersName, - this.chCustomUploaderHeadersValue}); - this.lvCustomUploaderHeaders.FullRowSelect = true; - this.lvCustomUploaderHeaders.GridLines = true; - this.lvCustomUploaderHeaders.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; - this.lvCustomUploaderHeaders.HideSelection = false; - resources.ApplyResources(this.lvCustomUploaderHeaders, "lvCustomUploaderHeaders"); - this.lvCustomUploaderHeaders.MultiSelect = false; - this.lvCustomUploaderHeaders.Name = "lvCustomUploaderHeaders"; - this.lvCustomUploaderHeaders.UseCompatibleStateImageBehavior = false; - this.lvCustomUploaderHeaders.View = System.Windows.Forms.View.Details; - this.lvCustomUploaderHeaders.SelectedIndexChanged += new System.EventHandler(this.lvCustomUploaderHeaders_SelectedIndexChanged); - // - // chCustomUploaderHeadersName - // - resources.ApplyResources(this.chCustomUploaderHeadersName, "chCustomUploaderHeadersName"); - // - // chCustomUploaderHeadersValue - // - resources.ApplyResources(this.chCustomUploaderHeadersValue, "chCustomUploaderHeadersValue"); - // - // eiCustomUploaders - // - this.eiCustomUploaders.ExportIgnoreNull = true; - resources.ApplyResources(this.eiCustomUploaders, "eiCustomUploaders"); - this.eiCustomUploaders.Name = "eiCustomUploaders"; - this.eiCustomUploaders.ObjectType = null; - this.eiCustomUploaders.ExportRequested += new ShareX.HelpersLib.ExportImportControl.ExportEventHandler(this.eiCustomUploaders_ExportRequested); - this.eiCustomUploaders.ImportRequested += new ShareX.HelpersLib.ExportImportControl.ImportEventHandler(this.eiCustomUploaders_ImportRequested); - // - // oauth2Bitly - // - this.oauth2Bitly.IsRefreshable = false; - resources.ApplyResources(this.oauth2Bitly, "oauth2Bitly"); - this.oauth2Bitly.Name = "oauth2Bitly"; - this.oauth2Bitly.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Bitly_OpenButtonClicked); - this.oauth2Bitly.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Bitly_CompleteButtonClicked); - this.oauth2Bitly.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Bitly_ClearButtonClicked); - // - // oauth2GoogleURLShortener - // - resources.ApplyResources(this.oauth2GoogleURLShortener, "oauth2GoogleURLShortener"); - this.oauth2GoogleURLShortener.Name = "oauth2GoogleURLShortener"; - this.oauth2GoogleURLShortener.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleURLShortener_OpenButtonClicked); - this.oauth2GoogleURLShortener.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleURLShortener_CompleteButtonClicked); - this.oauth2GoogleURLShortener.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleURLShortener_ClearButtonClicked); - this.oauth2GoogleURLShortener.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleURLShortener_RefreshButtonClicked); - // - // atcGoogleURLShortenerAccountType - // - resources.ApplyResources(this.atcGoogleURLShortenerAccountType, "atcGoogleURLShortenerAccountType"); - this.atcGoogleURLShortenerAccountType.Name = "atcGoogleURLShortenerAccountType"; - this.atcGoogleURLShortenerAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; - this.atcGoogleURLShortenerAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGoogleURLShortenerAccountType_AccountTypeChanged); - // - // lvSeafileLibraries - // - this.lvSeafileLibraries.AllowColumnSort = true; - this.lvSeafileLibraries.AutoFillColumn = true; - this.lvSeafileLibraries.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.colSeafileLibraryName, - this.colSeafileLibrarySize, - this.colSeafileLibraryEncrypted}); - this.lvSeafileLibraries.DisableDeselect = true; - this.lvSeafileLibraries.FullRowSelect = true; - this.lvSeafileLibraries.HideSelection = false; - resources.ApplyResources(this.lvSeafileLibraries, "lvSeafileLibraries"); - this.lvSeafileLibraries.Name = "lvSeafileLibraries"; - this.lvSeafileLibraries.UseCompatibleStateImageBehavior = false; - this.lvSeafileLibraries.View = System.Windows.Forms.View.Details; - this.lvSeafileLibraries.SelectedIndexChanged += new System.EventHandler(this.lvSeafileLibraries_SelectedIndexChanged); - // - // colSeafileLibraryName - // - resources.ApplyResources(this.colSeafileLibraryName, "colSeafileLibraryName"); - // - // colSeafileLibrarySize - // - resources.ApplyResources(this.colSeafileLibrarySize, "colSeafileLibrarySize"); - // - // colSeafileLibraryEncrypted - // - resources.ApplyResources(this.colSeafileLibraryEncrypted, "colSeafileLibraryEncrypted"); - // - // ucLocalhostAccounts - // - resources.ApplyResources(this.ucLocalhostAccounts, "ucLocalhostAccounts"); - this.ucLocalhostAccounts.Name = "ucLocalhostAccounts"; - // // ttlvMain // resources.ApplyResources(this.ttlvMain, "ttlvMain"); @@ -4984,8 +4967,6 @@ private void InitializeComponent() private System.Windows.Forms.ComboBox cbLambdaUploadURL; private System.Windows.Forms.Label lblLithiioApiKey; private System.Windows.Forms.TextBox txtLithiioApiKey; - private System.Windows.Forms.Label lblLithiioUploadURL; - private System.Windows.Forms.ComboBox cbLithiioUploadURL; private OAuthControl oauthTwitter; private System.Windows.Forms.TextBox txtTwitterDescription; private System.Windows.Forms.Label lblTwitterDescription; diff --git a/ShareX.UploadersLib/Forms/UploadersConfigForm.cs b/ShareX.UploadersLib/Forms/UploadersConfigForm.cs index 87cc45093..6bde55fd5 100644 --- a/ShareX.UploadersLib/Forms/UploadersConfigForm.cs +++ b/ShareX.UploadersLib/Forms/UploadersConfigForm.cs @@ -545,8 +545,6 @@ public void LoadSettings() // Lithiio txtLithiioApiKey.Text = Config.LithiioSettings.UserAPIKey; - cbLithiioUploadURL.Items.AddRange(Lithiio.UploadURLs); - cbLithiioUploadURL.SelectedItem = Config.LithiioSettings.UploadURL; // Pomf @@ -2203,19 +2201,6 @@ private void txtLithiioApiKey_TextChanged(object sender, EventArgs e) Config.LithiioSettings.UserAPIKey = txtLithiioApiKey.Text; } - private void cbLithiioUploadURL_SelectedIndexChanged(object sender, EventArgs e) - { - if (cbLithiioUploadURL.SelectedIndex > -1) - { - string url = cbLithiioUploadURL.SelectedItem as string; - - if (url != null) - { - Config.LithiioSettings.UploadURL = url; - } - } - } - #endregion Lithiio #region Pomf diff --git a/ShareX.UploadersLib/Forms/UploadersConfigForm.resx b/ShareX.UploadersLib/Forms/UploadersConfigForm.resx index 07c8bd7a8..f224a8488 100644 --- a/ShareX.UploadersLib/Forms/UploadersConfigForm.resx +++ b/ShareX.UploadersLib/Forms/UploadersConfigForm.resx @@ -2338,6 +2338,9 @@ store.book[0].title 30 + + + txtCustomUploaderLog @@ -9235,57 +9238,6 @@ Using an encrypted library disables sharing. 2 - - True - - - NoControl - - - 13, 64 - - - 55, 13 - - - 1 - - - Link URL: - - - lblLithiioUploadURL - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpLithiio - - - 3 - - - 16, 80 - - - 344, 21 - - - 0 - - - cbLithiioUploadURL - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpLithiio - - - 4 - 4, 40 @@ -9940,6 +9892,384 @@ Using an encrypted library disables sharing. 23 + + NoControl + + + 81, 104 + + + 75, 23 + + + 13 + + + Get API Key + + + btnUpleaLogin + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbUpleaLoginCredentials + + + 0 + + + True + + + NoControl + + + 24, 81 + + + 51, 13 + + + 12 + + + API Key: + + + lblUpleaApiKey + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbUpleaLoginCredentials + + + 1 + + + 81, 78 + + + 307, 20 + + + 11 + + + txtUpleaApiKey + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbUpleaLoginCredentials + + + 2 + + + True + + + NoControl + + + 19, 55 + + + 56, 13 + + + 10 + + + Password: + + + lblUpleaPassword + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbUpleaLoginCredentials + + + 3 + + + True + + + NoControl + + + 17, 29 + + + 58, 13 + + + 9 + + + Username: + + + lblUpleaUsername + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbUpleaLoginCredentials + + + 4 + + + 81, 52 + + + * + + + 195, 20 + + + 8 + + + txtUpleaPassword + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbUpleaLoginCredentials + + + 5 + + + 81, 26 + + + 195, 20 + + + 7 + + + txtUpleaUsername + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbUpleaLoginCredentials + + + 6 + + + 16, 14 + + + 428, 145 + + + 12 + + + Login Credentials + + + gbUpleaLoginCredentials + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpUplea + + + 0 + + + True + + + NoControl + + + 17, 22 + + + 79, 13 + + + 14 + + + Email Address: + + + lblUpleaEmailAddress + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbUpleaUserInformation + + + 0 + + + True + + + False + + + NoControl + + + 102, 68 + + + 151, 17 + + + 13 + + + Instant Download Enabled + + + cbUpleaInstantDownloadEnabled + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbUpleaUserInformation + + + 1 + + + True + + + False + + + NoControl + + + 102, 45 + + + 118, 17 + + + 12 + + + Is Premium Member + + + cbUpleaIsPremium + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbUpleaUserInformation + + + 2 + + + False + + + 102, 19 + + + 242, 20 + + + 11 + + + txtUpleaEmailAddress + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbUpleaUserInformation + + + 3 + + + 450, 14 + + + 350, 107 + + + 11 + + + User Information + + + gbUpleaUserInformation + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpUplea + + + 1 + + + 4, 40 + + + 3, 3, 3, 3 + + + 972, 475 + + + 27 + + + Uplea + + + tpUplea + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcFileUploaders + + + 24 + Fill @@ -13480,385 +13810,4 @@ Using an encrypted library disables sharing. System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - btnUpleaLogin - - - gbUpleaLoginCredentials - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 0 - - - cbUpleaInstantDownloadEnabled - - - gbUpleaUserInformation - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 1 - - - cbUpleaIsPremium - - - gbUpleaUserInformation - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 2 - - - gbUpleaLoginCredentials - - - tpUplea - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 0 - - - gbUpleaUserInformation - - - tpUplea - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 1 - - - lblUpleaApiKey - - - gbUpleaLoginCredentials - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 1 - - - lblUpleaPassword - - - gbUpleaLoginCredentials - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 3 - - - lblUpleaUsername - - - gbUpleaLoginCredentials - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 4 - - - tpUplea - - - tcFileUploaders - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 24 - - - txtUpleaApiKey - - - gbUpleaLoginCredentials - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 2 - - - txtUpleaEmailAddress - - - gbUpleaUserInformation - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 3 - - - txtUpleaPassword - - - gbUpleaLoginCredentials - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 5 - - - txtUpleaUsername - - - gbUpleaLoginCredentials - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 6 - - - NoControl - - - 81, 104 - - - 75, 23 - - - 13 - - - Get API Key - - - True - - - False - - - NoControl - - - 102, 68 - - - 151, 17 - - - 13 - - - Instant Download Enabled - - - True - - - False - - - NoControl - - - 102, 45 - - - 118, 17 - - - 12 - - - Is Premium Member - - - 16, 14 - - - 428, 145 - - - 12 - - - Login Credentials - - - 450, 14 - - - 350, 107 - - - 11 - - - User Information - - - True - - - NoControl - - - 24, 81 - - - 51, 13 - - - 12 - - - API Key: - - - True - - - NoControl - - - 19, 55 - - - 56, 13 - - - 10 - - - Password: - - - True - - - NoControl - - - 17, 29 - - - 58, 13 - - - 9 - - - Username: - - - True - - - 81, 78 - - - 307, 20 - - - 11 - - - False - - - 102, 19 - - - 242, 20 - - - 11 - - - 81, 52 - - - * - - - 195, 20 - - - 8 - - - 81, 26 - - - 195, 20 - - - 7 - - - 4, 40 - - - 3, 3, 3, 3 - - - 972, 475 - - - 27 - - - Uplea - - - True - - - NoControl - - - 17, 22 - - - 79, 13 - - - 14 - - - Email Address: - - - lblUpleaEmailAddress - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - gbUpleaUserInformation - - - 0 - \ No newline at end of file