mirror of
https://github.com/ShareX/ShareX.git
synced 2024-08-19 12:11:52 +12:00
Enable/disable custom uploader controls automatically
This commit is contained in:
parent
0460fbc7be
commit
155860578f
4 changed files with 8643 additions and 2191 deletions
|
@ -44,6 +44,7 @@ private void InitializeComponent()
|
||||||
this.lblTwitterDefaultMessage = new System.Windows.Forms.Label();
|
this.lblTwitterDefaultMessage = new System.Windows.Forms.Label();
|
||||||
this.txtTwitterDefaultMessage = new System.Windows.Forms.TextBox();
|
this.txtTwitterDefaultMessage = new System.Windows.Forms.TextBox();
|
||||||
this.cbTwitterSkipMessageBox = new System.Windows.Forms.CheckBox();
|
this.cbTwitterSkipMessageBox = new System.Windows.Forms.CheckBox();
|
||||||
|
this.oauthTwitter = new ShareX.UploadersLib.OAuthControl();
|
||||||
this.txtTwitterDescription = new System.Windows.Forms.TextBox();
|
this.txtTwitterDescription = new System.Windows.Forms.TextBox();
|
||||||
this.lblTwitterDescription = new System.Windows.Forms.Label();
|
this.lblTwitterDescription = new System.Windows.Forms.Label();
|
||||||
this.btnTwitterRemove = new System.Windows.Forms.Button();
|
this.btnTwitterRemove = new System.Windows.Forms.Button();
|
||||||
|
@ -135,7 +136,10 @@ private void InitializeComponent()
|
||||||
this.tpBitly = new System.Windows.Forms.TabPage();
|
this.tpBitly = new System.Windows.Forms.TabPage();
|
||||||
this.txtBitlyDomain = new System.Windows.Forms.TextBox();
|
this.txtBitlyDomain = new System.Windows.Forms.TextBox();
|
||||||
this.lblBitlyDomain = new System.Windows.Forms.Label();
|
this.lblBitlyDomain = new System.Windows.Forms.Label();
|
||||||
|
this.oauth2Bitly = new ShareX.UploadersLib.OAuthControl();
|
||||||
this.tpGoogleURLShortener = new System.Windows.Forms.TabPage();
|
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.tpYourls = new System.Windows.Forms.TabPage();
|
||||||
this.txtYourlsPassword = new System.Windows.Forms.TextBox();
|
this.txtYourlsPassword = new System.Windows.Forms.TextBox();
|
||||||
this.txtYourlsUsername = new System.Windows.Forms.TextBox();
|
this.txtYourlsUsername = new System.Windows.Forms.TextBox();
|
||||||
|
@ -226,10 +230,12 @@ private void InitializeComponent()
|
||||||
this.pbDropboxLogo = new System.Windows.Forms.PictureBox();
|
this.pbDropboxLogo = new System.Windows.Forms.PictureBox();
|
||||||
this.lblDropboxPath = new System.Windows.Forms.Label();
|
this.lblDropboxPath = new System.Windows.Forms.Label();
|
||||||
this.txtDropboxPath = new System.Windows.Forms.TextBox();
|
this.txtDropboxPath = new System.Windows.Forms.TextBox();
|
||||||
|
this.oauth2Dropbox = new ShareX.UploadersLib.OAuthControl();
|
||||||
this.tpOneDrive = new System.Windows.Forms.TabPage();
|
this.tpOneDrive = new System.Windows.Forms.TabPage();
|
||||||
this.tvOneDrive = new System.Windows.Forms.TreeView();
|
this.tvOneDrive = new System.Windows.Forms.TreeView();
|
||||||
this.lblOneDriveFolderID = new System.Windows.Forms.Label();
|
this.lblOneDriveFolderID = new System.Windows.Forms.Label();
|
||||||
this.cbOneDriveCreateShareableLink = new System.Windows.Forms.CheckBox();
|
this.cbOneDriveCreateShareableLink = new System.Windows.Forms.CheckBox();
|
||||||
|
this.oAuth2OneDrive = new ShareX.UploadersLib.OAuthControl();
|
||||||
this.tpGoogleDrive = new System.Windows.Forms.TabPage();
|
this.tpGoogleDrive = new System.Windows.Forms.TabPage();
|
||||||
this.cbGoogleDriveDirectLink = new System.Windows.Forms.CheckBox();
|
this.cbGoogleDriveDirectLink = new System.Windows.Forms.CheckBox();
|
||||||
this.cbGoogleDriveUseFolder = new System.Windows.Forms.CheckBox();
|
this.cbGoogleDriveUseFolder = new System.Windows.Forms.CheckBox();
|
||||||
|
@ -240,6 +246,7 @@ private void InitializeComponent()
|
||||||
this.chGoogleDriveDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.chGoogleDriveDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.btnGoogleDriveRefreshFolders = new System.Windows.Forms.Button();
|
this.btnGoogleDriveRefreshFolders = new System.Windows.Forms.Button();
|
||||||
this.cbGoogleDriveIsPublic = new System.Windows.Forms.CheckBox();
|
this.cbGoogleDriveIsPublic = new System.Windows.Forms.CheckBox();
|
||||||
|
this.oauth2GoogleDrive = new ShareX.UploadersLib.OAuthControl();
|
||||||
this.tpPuush = new System.Windows.Forms.TabPage();
|
this.tpPuush = new System.Windows.Forms.TabPage();
|
||||||
this.pbPuush = new System.Windows.Forms.PictureBox();
|
this.pbPuush = new System.Windows.Forms.PictureBox();
|
||||||
this.lblPuushAPIKey = new System.Windows.Forms.Label();
|
this.lblPuushAPIKey = new System.Windows.Forms.Label();
|
||||||
|
@ -257,6 +264,7 @@ private void InitializeComponent()
|
||||||
this.chBoxFoldersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.chBoxFoldersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.lblBoxFolderID = new System.Windows.Forms.Label();
|
this.lblBoxFolderID = new System.Windows.Forms.Label();
|
||||||
this.btnBoxRefreshFolders = new System.Windows.Forms.Button();
|
this.btnBoxRefreshFolders = new System.Windows.Forms.Button();
|
||||||
|
this.oauth2Box = new ShareX.UploadersLib.OAuthControl();
|
||||||
this.tpAmazonS3 = new System.Windows.Forms.TabPage();
|
this.tpAmazonS3 = new System.Windows.Forms.TabPage();
|
||||||
this.cbAmazonS3UsePathStyle = new System.Windows.Forms.CheckBox();
|
this.cbAmazonS3UsePathStyle = new System.Windows.Forms.CheckBox();
|
||||||
this.lblAmazonS3Endpoint = new System.Windows.Forms.Label();
|
this.lblAmazonS3Endpoint = new System.Windows.Forms.Label();
|
||||||
|
@ -292,6 +300,8 @@ private void InitializeComponent()
|
||||||
this.lblAzureStorageCustomDomain = new System.Windows.Forms.Label();
|
this.lblAzureStorageCustomDomain = new System.Windows.Forms.Label();
|
||||||
this.tpGfycat = new System.Windows.Forms.TabPage();
|
this.tpGfycat = new System.Windows.Forms.TabPage();
|
||||||
this.cbGfycatIsPublic = new System.Windows.Forms.CheckBox();
|
this.cbGfycatIsPublic = new System.Windows.Forms.CheckBox();
|
||||||
|
this.atcGfycatAccountType = new ShareX.UploadersLib.AccountTypeControl();
|
||||||
|
this.oauth2Gfycat = new ShareX.UploadersLib.OAuthControl();
|
||||||
this.tpMega = new System.Windows.Forms.TabPage();
|
this.tpMega = new System.Windows.Forms.TabPage();
|
||||||
this.btnMegaRefreshFolders = new System.Windows.Forms.Button();
|
this.btnMegaRefreshFolders = new System.Windows.Forms.Button();
|
||||||
this.lblMegaStatus = new System.Windows.Forms.Label();
|
this.lblMegaStatus = new System.Windows.Forms.Label();
|
||||||
|
@ -337,6 +347,7 @@ private void InitializeComponent()
|
||||||
this.lblSendSpaceUsername = new System.Windows.Forms.Label();
|
this.lblSendSpaceUsername = new System.Windows.Forms.Label();
|
||||||
this.txtSendSpacePassword = new System.Windows.Forms.TextBox();
|
this.txtSendSpacePassword = new System.Windows.Forms.TextBox();
|
||||||
this.txtSendSpaceUserName = new System.Windows.Forms.TextBox();
|
this.txtSendSpaceUserName = new System.Windows.Forms.TextBox();
|
||||||
|
this.atcSendSpaceAccountType = new ShareX.UploadersLib.AccountTypeControl();
|
||||||
this.tpGe_tt = new System.Windows.Forms.TabPage();
|
this.tpGe_tt = new System.Windows.Forms.TabPage();
|
||||||
this.lblGe_ttStatus = new System.Windows.Forms.Label();
|
this.lblGe_ttStatus = new System.Windows.Forms.Label();
|
||||||
this.lblGe_ttPassword = new System.Windows.Forms.Label();
|
this.lblGe_ttPassword = new System.Windows.Forms.Label();
|
||||||
|
@ -374,6 +385,7 @@ private void InitializeComponent()
|
||||||
this.txtJiraConfigHelp = new System.Windows.Forms.TextBox();
|
this.txtJiraConfigHelp = new System.Windows.Forms.TextBox();
|
||||||
this.txtJiraHost = new System.Windows.Forms.TextBox();
|
this.txtJiraHost = new System.Windows.Forms.TextBox();
|
||||||
this.lblJiraHost = new System.Windows.Forms.Label();
|
this.lblJiraHost = new System.Windows.Forms.Label();
|
||||||
|
this.oAuthJira = new ShareX.UploadersLib.OAuthControl();
|
||||||
this.tpLambda = new System.Windows.Forms.TabPage();
|
this.tpLambda = new System.Windows.Forms.TabPage();
|
||||||
this.lblLambdaInfo = new System.Windows.Forms.Label();
|
this.lblLambdaInfo = new System.Windows.Forms.Label();
|
||||||
this.lblLambdaApiKey = new System.Windows.Forms.Label();
|
this.lblLambdaApiKey = new System.Windows.Forms.Label();
|
||||||
|
@ -482,6 +494,7 @@ private void InitializeComponent()
|
||||||
this.lblSharedFolderImages = new System.Windows.Forms.Label();
|
this.lblSharedFolderImages = new System.Windows.Forms.Label();
|
||||||
this.cboSharedFolderText = new System.Windows.Forms.ComboBox();
|
this.cboSharedFolderText = new System.Windows.Forms.ComboBox();
|
||||||
this.cboSharedFolderImages = new System.Windows.Forms.ComboBox();
|
this.cboSharedFolderImages = new System.Windows.Forms.ComboBox();
|
||||||
|
this.ucLocalhostAccounts = new ShareX.UploadersLib.AccountsControl();
|
||||||
this.tpEmail = new System.Windows.Forms.TabPage();
|
this.tpEmail = new System.Windows.Forms.TabPage();
|
||||||
this.txtEmailAutomaticSendTo = new System.Windows.Forms.TextBox();
|
this.txtEmailAutomaticSendTo = new System.Windows.Forms.TextBox();
|
||||||
this.cbEmailAutomaticSend = new System.Windows.Forms.CheckBox();
|
this.cbEmailAutomaticSend = new System.Windows.Forms.CheckBox();
|
||||||
|
@ -528,6 +541,8 @@ private void InitializeComponent()
|
||||||
this.txtGistCustomURL = new System.Windows.Forms.TextBox();
|
this.txtGistCustomURL = new System.Windows.Forms.TextBox();
|
||||||
this.cbGistUseRawURL = new System.Windows.Forms.CheckBox();
|
this.cbGistUseRawURL = new System.Windows.Forms.CheckBox();
|
||||||
this.cbGistPublishPublic = 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.tpUpaste = new System.Windows.Forms.TabPage();
|
||||||
this.cbUpasteIsPublic = new System.Windows.Forms.CheckBox();
|
this.cbUpasteIsPublic = new System.Windows.Forms.CheckBox();
|
||||||
this.lblUpasteUserKey = new System.Windows.Forms.Label();
|
this.lblUpasteUserKey = new System.Windows.Forms.Label();
|
||||||
|
@ -552,6 +567,8 @@ private void InitializeComponent()
|
||||||
this.cbImgurUseGIFV = new System.Windows.Forms.CheckBox();
|
this.cbImgurUseGIFV = new System.Windows.Forms.CheckBox();
|
||||||
this.cbImgurUploadSelectedAlbum = new System.Windows.Forms.CheckBox();
|
this.cbImgurUploadSelectedAlbum = new System.Windows.Forms.CheckBox();
|
||||||
this.cbImgurDirectLink = 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.lvImgurAlbumList = new System.Windows.Forms.ListView();
|
||||||
this.chImgurID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.chImgurID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.chImgurTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.chImgurTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
|
@ -569,6 +586,7 @@ private void InitializeComponent()
|
||||||
this.txtImageShackPassword = new System.Windows.Forms.TextBox();
|
this.txtImageShackPassword = new System.Windows.Forms.TextBox();
|
||||||
this.lblImageShackPassword = new System.Windows.Forms.Label();
|
this.lblImageShackPassword = new System.Windows.Forms.Label();
|
||||||
this.tpTinyPic = new System.Windows.Forms.TabPage();
|
this.tpTinyPic = new System.Windows.Forms.TabPage();
|
||||||
|
this.atcTinyPicAccountType = new ShareX.UploadersLib.AccountTypeControl();
|
||||||
this.btnTinyPicLogin = new System.Windows.Forms.Button();
|
this.btnTinyPicLogin = new System.Windows.Forms.Button();
|
||||||
this.txtTinyPicPassword = new System.Windows.Forms.TextBox();
|
this.txtTinyPicPassword = new System.Windows.Forms.TextBox();
|
||||||
this.lblTinyPicPassword = new System.Windows.Forms.Label();
|
this.lblTinyPicPassword = new System.Windows.Forms.Label();
|
||||||
|
@ -609,6 +627,7 @@ private void InitializeComponent()
|
||||||
this.chPicasaName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.chPicasaName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.chPicasaDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.chPicasaDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.btnPicasaRefreshAlbumList = new System.Windows.Forms.Button();
|
this.btnPicasaRefreshAlbumList = new System.Windows.Forms.Button();
|
||||||
|
this.oauth2Picasa = new ShareX.UploadersLib.OAuthControl();
|
||||||
this.tpChevereto = new System.Windows.Forms.TabPage();
|
this.tpChevereto = new System.Windows.Forms.TabPage();
|
||||||
this.btnCheveretoTestAll = new System.Windows.Forms.Button();
|
this.btnCheveretoTestAll = new System.Windows.Forms.Button();
|
||||||
this.lblCheveretoUploadURLExample = new System.Windows.Forms.Label();
|
this.lblCheveretoUploadURLExample = new System.Windows.Forms.Label();
|
||||||
|
@ -626,25 +645,6 @@ private void InitializeComponent()
|
||||||
this.tcUploaders = new System.Windows.Forms.TabControl();
|
this.tcUploaders = new System.Windows.Forms.TabControl();
|
||||||
this.lblWidthHint = new System.Windows.Forms.Label();
|
this.lblWidthHint = new System.Windows.Forms.Label();
|
||||||
this.ttlvMain = new ShareX.HelpersLib.TabToListView();
|
this.ttlvMain = new ShareX.HelpersLib.TabToListView();
|
||||||
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.oauth2Dropbox = new ShareX.UploadersLib.OAuthControl();
|
|
||||||
this.oAuth2OneDrive = new ShareX.UploadersLib.OAuthControl();
|
|
||||||
this.oauth2GoogleDrive = new ShareX.UploadersLib.OAuthControl();
|
|
||||||
this.oauth2Box = new ShareX.UploadersLib.OAuthControl();
|
|
||||||
this.oauthTwitter = new ShareX.UploadersLib.OAuthControl();
|
|
||||||
this.oauth2Bitly = new ShareX.UploadersLib.OAuthControl();
|
|
||||||
this.oauth2GoogleURLShortener = new ShareX.UploadersLib.OAuthControl();
|
|
||||||
this.atcGoogleURLShortenerAccountType = new ShareX.UploadersLib.AccountTypeControl();
|
|
||||||
this.atcGfycatAccountType = new ShareX.UploadersLib.AccountTypeControl();
|
|
||||||
this.oauth2Gfycat = new ShareX.UploadersLib.OAuthControl();
|
|
||||||
this.atcSendSpaceAccountType = new ShareX.UploadersLib.AccountTypeControl();
|
|
||||||
this.oAuthJira = new ShareX.UploadersLib.OAuthControl();
|
|
||||||
this.ucLocalhostAccounts = new ShareX.UploadersLib.AccountsControl();
|
|
||||||
this.actRapidShareAccountType = new ShareX.UploadersLib.AccountTypeControl();
|
this.actRapidShareAccountType = new ShareX.UploadersLib.AccountTypeControl();
|
||||||
this.tpOtherUploaders.SuspendLayout();
|
this.tpOtherUploaders.SuspendLayout();
|
||||||
this.tcOtherUploaders.SuspendLayout();
|
this.tcOtherUploaders.SuspendLayout();
|
||||||
|
@ -851,6 +851,15 @@ private void InitializeComponent()
|
||||||
this.cbTwitterSkipMessageBox.UseVisualStyleBackColor = true;
|
this.cbTwitterSkipMessageBox.UseVisualStyleBackColor = true;
|
||||||
this.cbTwitterSkipMessageBox.CheckedChanged += new System.EventHandler(this.cbTwitterSkipMessageBox_CheckedChanged);
|
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
|
// txtTwitterDescription
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.txtTwitterDescription, "txtTwitterDescription");
|
resources.ApplyResources(this.txtTwitterDescription, "txtTwitterDescription");
|
||||||
|
@ -1037,6 +1046,7 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.txtCustomUploaderRegexp, "txtCustomUploaderRegexp");
|
resources.ApplyResources(this.txtCustomUploaderRegexp, "txtCustomUploaderRegexp");
|
||||||
this.txtCustomUploaderRegexp.Name = "txtCustomUploaderRegexp";
|
this.txtCustomUploaderRegexp.Name = "txtCustomUploaderRegexp";
|
||||||
|
this.txtCustomUploaderRegexp.TextChanged += new System.EventHandler(this.txtCustomUploaderRegexp_TextChanged);
|
||||||
//
|
//
|
||||||
// btnCustomUploaderRegexpUpdate
|
// btnCustomUploaderRegexpUpdate
|
||||||
//
|
//
|
||||||
|
@ -1112,6 +1122,7 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.txtCustomUploaderArgName, "txtCustomUploaderArgName");
|
resources.ApplyResources(this.txtCustomUploaderArgName, "txtCustomUploaderArgName");
|
||||||
this.txtCustomUploaderArgName.Name = "txtCustomUploaderArgName";
|
this.txtCustomUploaderArgName.Name = "txtCustomUploaderArgName";
|
||||||
|
this.txtCustomUploaderArgName.TextChanged += new System.EventHandler(this.txtCustomUploaderArgName_TextChanged);
|
||||||
//
|
//
|
||||||
// txtCustomUploaderArgValue
|
// txtCustomUploaderArgValue
|
||||||
//
|
//
|
||||||
|
@ -1182,6 +1193,7 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.txtCustomUploaderHeaderName, "txtCustomUploaderHeaderName");
|
resources.ApplyResources(this.txtCustomUploaderHeaderName, "txtCustomUploaderHeaderName");
|
||||||
this.txtCustomUploaderHeaderName.Name = "txtCustomUploaderHeaderName";
|
this.txtCustomUploaderHeaderName.Name = "txtCustomUploaderHeaderName";
|
||||||
|
this.txtCustomUploaderHeaderName.TextChanged += new System.EventHandler(this.txtCustomUploaderHeaderName_TextChanged);
|
||||||
//
|
//
|
||||||
// txtCustomUploaderHeaderValue
|
// txtCustomUploaderHeaderValue
|
||||||
//
|
//
|
||||||
|
@ -1537,6 +1549,15 @@ private void InitializeComponent()
|
||||||
resources.ApplyResources(this.lblBitlyDomain, "lblBitlyDomain");
|
resources.ApplyResources(this.lblBitlyDomain, "lblBitlyDomain");
|
||||||
this.lblBitlyDomain.Name = "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
|
// tpGoogleURLShortener
|
||||||
//
|
//
|
||||||
this.tpGoogleURLShortener.Controls.Add(this.oauth2GoogleURLShortener);
|
this.tpGoogleURLShortener.Controls.Add(this.oauth2GoogleURLShortener);
|
||||||
|
@ -1545,6 +1566,22 @@ private void InitializeComponent()
|
||||||
this.tpGoogleURLShortener.Name = "tpGoogleURLShortener";
|
this.tpGoogleURLShortener.Name = "tpGoogleURLShortener";
|
||||||
this.tpGoogleURLShortener.UseVisualStyleBackColor = true;
|
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
|
// tpYourls
|
||||||
//
|
//
|
||||||
this.tpYourls.Controls.Add(this.txtYourlsPassword);
|
this.tpYourls.Controls.Add(this.txtYourlsPassword);
|
||||||
|
@ -2227,6 +2264,15 @@ private void InitializeComponent()
|
||||||
this.txtDropboxPath.Name = "txtDropboxPath";
|
this.txtDropboxPath.Name = "txtDropboxPath";
|
||||||
this.txtDropboxPath.TextChanged += new System.EventHandler(this.txtDropboxPath_TextChanged);
|
this.txtDropboxPath.TextChanged += new System.EventHandler(this.txtDropboxPath_TextChanged);
|
||||||
//
|
//
|
||||||
|
// 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);
|
||||||
|
//
|
||||||
// tpOneDrive
|
// tpOneDrive
|
||||||
//
|
//
|
||||||
this.tpOneDrive.Controls.Add(this.tvOneDrive);
|
this.tpOneDrive.Controls.Add(this.tvOneDrive);
|
||||||
|
@ -2256,6 +2302,15 @@ private void InitializeComponent()
|
||||||
this.cbOneDriveCreateShareableLink.UseVisualStyleBackColor = true;
|
this.cbOneDriveCreateShareableLink.UseVisualStyleBackColor = true;
|
||||||
this.cbOneDriveCreateShareableLink.CheckedChanged += new System.EventHandler(this.cbOneDriveCreateShareableLink_CheckedChanged);
|
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
|
// tpGoogleDrive
|
||||||
//
|
//
|
||||||
this.tpGoogleDrive.Controls.Add(this.cbGoogleDriveDirectLink);
|
this.tpGoogleDrive.Controls.Add(this.cbGoogleDriveDirectLink);
|
||||||
|
@ -2331,6 +2386,15 @@ private void InitializeComponent()
|
||||||
this.cbGoogleDriveIsPublic.UseVisualStyleBackColor = true;
|
this.cbGoogleDriveIsPublic.UseVisualStyleBackColor = true;
|
||||||
this.cbGoogleDriveIsPublic.CheckedChanged += new System.EventHandler(this.cbGoogleDriveIsPublic_CheckedChanged);
|
this.cbGoogleDriveIsPublic.CheckedChanged += new System.EventHandler(this.cbGoogleDriveIsPublic_CheckedChanged);
|
||||||
//
|
//
|
||||||
|
// oauth2GoogleDrive
|
||||||
|
//
|
||||||
|
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
|
// tpPuush
|
||||||
//
|
//
|
||||||
this.tpPuush.Controls.Add(this.pbPuush);
|
this.tpPuush.Controls.Add(this.pbPuush);
|
||||||
|
@ -2455,6 +2519,15 @@ private void InitializeComponent()
|
||||||
this.btnBoxRefreshFolders.UseVisualStyleBackColor = true;
|
this.btnBoxRefreshFolders.UseVisualStyleBackColor = true;
|
||||||
this.btnBoxRefreshFolders.Click += new System.EventHandler(this.btnBoxRefreshFolders_Click);
|
this.btnBoxRefreshFolders.Click += new System.EventHandler(this.btnBoxRefreshFolders_Click);
|
||||||
//
|
//
|
||||||
|
// oauth2Box
|
||||||
|
//
|
||||||
|
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
|
// tpAmazonS3
|
||||||
//
|
//
|
||||||
this.tpAmazonS3.Controls.Add(this.cbAmazonS3UsePathStyle);
|
this.tpAmazonS3.Controls.Add(this.cbAmazonS3UsePathStyle);
|
||||||
|
@ -2702,6 +2775,22 @@ private void InitializeComponent()
|
||||||
this.cbGfycatIsPublic.UseVisualStyleBackColor = true;
|
this.cbGfycatIsPublic.UseVisualStyleBackColor = true;
|
||||||
this.cbGfycatIsPublic.CheckedChanged += new System.EventHandler(this.cbGfycatIsPublic_CheckedChanged);
|
this.cbGfycatIsPublic.CheckedChanged += new System.EventHandler(this.cbGfycatIsPublic_CheckedChanged);
|
||||||
//
|
//
|
||||||
|
// atcGfycatAccountType
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.atcGfycatAccountType, "atcGfycatAccountType");
|
||||||
|
this.atcGfycatAccountType.Name = "atcGfycatAccountType";
|
||||||
|
this.atcGfycatAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous;
|
||||||
|
this.atcGfycatAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGfycatAccountType_AccountTypeChanged);
|
||||||
|
//
|
||||||
|
// oauth2Gfycat
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.oauth2Gfycat, "oauth2Gfycat");
|
||||||
|
this.oauth2Gfycat.Name = "oauth2Gfycat";
|
||||||
|
this.oauth2Gfycat.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Gfycat_OpenButtonClicked);
|
||||||
|
this.oauth2Gfycat.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Gfycat_CompleteButtonClicked);
|
||||||
|
this.oauth2Gfycat.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Gfycat_ClearButtonClicked);
|
||||||
|
this.oauth2Gfycat.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Gfycat_RefreshButtonClicked);
|
||||||
|
//
|
||||||
// tpMega
|
// tpMega
|
||||||
//
|
//
|
||||||
this.tpMega.Controls.Add(this.btnMegaRefreshFolders);
|
this.tpMega.Controls.Add(this.btnMegaRefreshFolders);
|
||||||
|
@ -3015,6 +3104,13 @@ private void InitializeComponent()
|
||||||
this.txtSendSpaceUserName.Name = "txtSendSpaceUserName";
|
this.txtSendSpaceUserName.Name = "txtSendSpaceUserName";
|
||||||
this.txtSendSpaceUserName.TextChanged += new System.EventHandler(this.txtSendSpaceUserName_TextChanged);
|
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
|
// tpGe_tt
|
||||||
//
|
//
|
||||||
this.tpGe_tt.Controls.Add(this.lblGe_ttStatus);
|
this.tpGe_tt.Controls.Add(this.lblGe_ttStatus);
|
||||||
|
@ -3270,6 +3366,15 @@ private void InitializeComponent()
|
||||||
resources.ApplyResources(this.lblJiraHost, "lblJiraHost");
|
resources.ApplyResources(this.lblJiraHost, "lblJiraHost");
|
||||||
this.lblJiraHost.Name = "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
|
// tpLambda
|
||||||
//
|
//
|
||||||
this.tpLambda.Controls.Add(this.lblLambdaInfo);
|
this.tpLambda.Controls.Add(this.lblLambdaInfo);
|
||||||
|
@ -4064,6 +4169,11 @@ private void InitializeComponent()
|
||||||
this.cboSharedFolderImages.Name = "cboSharedFolderImages";
|
this.cboSharedFolderImages.Name = "cboSharedFolderImages";
|
||||||
this.cboSharedFolderImages.SelectedIndexChanged += new System.EventHandler(this.cboSharedFolderImages_SelectedIndexChanged);
|
this.cboSharedFolderImages.SelectedIndexChanged += new System.EventHandler(this.cboSharedFolderImages_SelectedIndexChanged);
|
||||||
//
|
//
|
||||||
|
// ucLocalhostAccounts
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.ucLocalhostAccounts, "ucLocalhostAccounts");
|
||||||
|
this.ucLocalhostAccounts.Name = "ucLocalhostAccounts";
|
||||||
|
//
|
||||||
// tpEmail
|
// tpEmail
|
||||||
//
|
//
|
||||||
this.tpEmail.Controls.Add(this.txtEmailAutomaticSendTo);
|
this.tpEmail.Controls.Add(this.txtEmailAutomaticSendTo);
|
||||||
|
@ -4397,6 +4507,22 @@ private void InitializeComponent()
|
||||||
this.cbGistPublishPublic.UseVisualStyleBackColor = true;
|
this.cbGistPublishPublic.UseVisualStyleBackColor = true;
|
||||||
this.cbGistPublishPublic.CheckedChanged += new System.EventHandler(this.chkGistPublishPublic_CheckedChanged);
|
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
|
// tpUpaste
|
||||||
//
|
//
|
||||||
this.tpUpaste.Controls.Add(this.cbUpasteIsPublic);
|
this.tpUpaste.Controls.Add(this.cbUpasteIsPublic);
|
||||||
|
@ -4577,6 +4703,22 @@ private void InitializeComponent()
|
||||||
this.cbImgurDirectLink.UseVisualStyleBackColor = true;
|
this.cbImgurDirectLink.UseVisualStyleBackColor = true;
|
||||||
this.cbImgurDirectLink.CheckedChanged += new System.EventHandler(this.cbImgurDirectLink_CheckedChanged);
|
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
|
// lvImgurAlbumList
|
||||||
//
|
//
|
||||||
this.lvImgurAlbumList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
this.lvImgurAlbumList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||||
|
@ -4703,6 +4845,13 @@ private void InitializeComponent()
|
||||||
this.tpTinyPic.Name = "tpTinyPic";
|
this.tpTinyPic.Name = "tpTinyPic";
|
||||||
this.tpTinyPic.UseVisualStyleBackColor = true;
|
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
|
// btnTinyPicLogin
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnTinyPicLogin, "btnTinyPicLogin");
|
resources.ApplyResources(this.btnTinyPicLogin, "btnTinyPicLogin");
|
||||||
|
@ -4985,6 +5134,15 @@ private void InitializeComponent()
|
||||||
this.btnPicasaRefreshAlbumList.UseVisualStyleBackColor = true;
|
this.btnPicasaRefreshAlbumList.UseVisualStyleBackColor = true;
|
||||||
this.btnPicasaRefreshAlbumList.Click += new System.EventHandler(this.btnPicasaRefreshAlbumList_Click);
|
this.btnPicasaRefreshAlbumList.Click += new System.EventHandler(this.btnPicasaRefreshAlbumList_Click);
|
||||||
//
|
//
|
||||||
|
// oauth2Picasa
|
||||||
|
//
|
||||||
|
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
|
// tpChevereto
|
||||||
//
|
//
|
||||||
this.tpChevereto.Controls.Add(this.btnCheveretoTestAll);
|
this.tpChevereto.Controls.Add(this.btnCheveretoTestAll);
|
||||||
|
@ -5108,161 +5266,6 @@ private void InitializeComponent()
|
||||||
this.ttlvMain.MainTabControl = null;
|
this.ttlvMain.MainTabControl = null;
|
||||||
this.ttlvMain.Name = "ttlvMain";
|
this.ttlvMain.Name = "ttlvMain";
|
||||||
//
|
//
|
||||||
// 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);
|
|
||||||
//
|
|
||||||
// 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);
|
|
||||||
//
|
|
||||||
// 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);
|
|
||||||
//
|
|
||||||
// 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);
|
|
||||||
//
|
|
||||||
// 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);
|
|
||||||
//
|
|
||||||
// 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);
|
|
||||||
//
|
|
||||||
// atcGfycatAccountType
|
|
||||||
//
|
|
||||||
resources.ApplyResources(this.atcGfycatAccountType, "atcGfycatAccountType");
|
|
||||||
this.atcGfycatAccountType.Name = "atcGfycatAccountType";
|
|
||||||
this.atcGfycatAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous;
|
|
||||||
this.atcGfycatAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGfycatAccountType_AccountTypeChanged);
|
|
||||||
//
|
|
||||||
// oauth2Gfycat
|
|
||||||
//
|
|
||||||
resources.ApplyResources(this.oauth2Gfycat, "oauth2Gfycat");
|
|
||||||
this.oauth2Gfycat.Name = "oauth2Gfycat";
|
|
||||||
this.oauth2Gfycat.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Gfycat_OpenButtonClicked);
|
|
||||||
this.oauth2Gfycat.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Gfycat_CompleteButtonClicked);
|
|
||||||
this.oauth2Gfycat.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Gfycat_ClearButtonClicked);
|
|
||||||
this.oauth2Gfycat.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Gfycat_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);
|
|
||||||
//
|
|
||||||
// ucLocalhostAccounts
|
|
||||||
//
|
|
||||||
resources.ApplyResources(this.ucLocalhostAccounts, "ucLocalhostAccounts");
|
|
||||||
this.ucLocalhostAccounts.Name = "ucLocalhostAccounts";
|
|
||||||
//
|
|
||||||
// actRapidShareAccountType
|
// actRapidShareAccountType
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.actRapidShareAccountType, "actRapidShareAccountType");
|
resources.ApplyResources(this.actRapidShareAccountType, "actRapidShareAccountType");
|
||||||
|
|
|
@ -3301,7 +3301,8 @@ private void cbCustomUploaderRequestType_SelectedIndexChanged(object sender, Eve
|
||||||
{
|
{
|
||||||
CustomUploaderItem uploader = CustomUploaderGetSelected();
|
CustomUploaderItem uploader = CustomUploaderGetSelected();
|
||||||
if (uploader != null) uploader.RequestType = (CustomUploaderRequestType)cbCustomUploaderRequestType.SelectedIndex;
|
if (uploader != null) uploader.RequestType = (CustomUploaderRequestType)cbCustomUploaderRequestType.SelectedIndex;
|
||||||
txtCustomUploaderFileForm.Enabled = (CustomUploaderRequestType)cbCustomUploaderRequestType.SelectedIndex == CustomUploaderRequestType.POST;
|
|
||||||
|
CustomUploaderUpdateRequestState();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void txtCustomUploaderRequestURL_TextChanged(object sender, EventArgs e)
|
private void txtCustomUploaderRequestURL_TextChanged(object sender, EventArgs e)
|
||||||
|
@ -3316,6 +3317,11 @@ private void txtCustomUploaderFileForm_TextChanged(object sender, EventArgs e)
|
||||||
if (uploader != null) uploader.FileFormName = txtCustomUploaderFileForm.Text;
|
if (uploader != null) uploader.FileFormName = txtCustomUploaderFileForm.Text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void txtCustomUploaderArgName_TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
CustomUploaderUpdateArgumentsState();
|
||||||
|
}
|
||||||
|
|
||||||
private void btnCustomUploaderArgAdd_Click(object sender, EventArgs e)
|
private void btnCustomUploaderArgAdd_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
string name = txtCustomUploaderArgName.Text;
|
string name = txtCustomUploaderArgName.Text;
|
||||||
|
@ -3394,6 +3400,13 @@ private void lvCustomUploaderArguments_SelectedIndexChanged(object sender, Event
|
||||||
|
|
||||||
txtCustomUploaderArgName.Text = name;
|
txtCustomUploaderArgName.Text = name;
|
||||||
txtCustomUploaderArgValue.Text = value;
|
txtCustomUploaderArgValue.Text = value;
|
||||||
|
|
||||||
|
CustomUploaderUpdateArgumentsState();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void txtCustomUploaderHeaderName_TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
CustomUploaderUpdateHeadersState();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnCustomUploaderHeaderAdd_Click(object sender, EventArgs e)
|
private void btnCustomUploaderHeaderAdd_Click(object sender, EventArgs e)
|
||||||
|
@ -3474,6 +3487,8 @@ private void lvCustomUploaderHeaders_SelectedIndexChanged(object sender, EventAr
|
||||||
|
|
||||||
txtCustomUploaderHeaderName.Text = name;
|
txtCustomUploaderHeaderName.Text = name;
|
||||||
txtCustomUploaderHeaderValue.Text = value;
|
txtCustomUploaderHeaderValue.Text = value;
|
||||||
|
|
||||||
|
CustomUploaderUpdateHeadersState();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void cbCustomUploaderResponseType_SelectedIndexChanged(object sender, EventArgs e)
|
private void cbCustomUploaderResponseType_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
@ -3484,7 +3499,7 @@ private void cbCustomUploaderResponseType_SelectedIndexChanged(object sender, Ev
|
||||||
|
|
||||||
private void txtCustomUploaderJsonPath_TextChanged(object sender, EventArgs e)
|
private void txtCustomUploaderJsonPath_TextChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
btnCustomUploaderJsonAddSyntax.Enabled = !string.IsNullOrEmpty(txtCustomUploaderJsonPath.Text);
|
CustomUploaderUpdateResponseState();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnCustomUploadJsonPathHelp_Click(object sender, EventArgs e)
|
private void btnCustomUploadJsonPathHelp_Click(object sender, EventArgs e)
|
||||||
|
@ -3509,7 +3524,7 @@ private void btnCustomUploaderJsonAddSyntax_Click(object sender, EventArgs e)
|
||||||
|
|
||||||
private void txtCustomUploaderXPath_TextChanged(object sender, EventArgs e)
|
private void txtCustomUploaderXPath_TextChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
btnCustomUploaderXmlSyntaxAdd.Enabled = !string.IsNullOrEmpty(txtCustomUploaderXPath.Text);
|
CustomUploaderUpdateResponseState();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnCustomUploaderXPathHelp_Click(object sender, EventArgs e)
|
private void btnCustomUploaderXPathHelp_Click(object sender, EventArgs e)
|
||||||
|
@ -3527,6 +3542,11 @@ private void btnCustomUploaderXmlSyntaxAdd_Click(object sender, EventArgs e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void txtCustomUploaderRegexp_TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
CustomUploaderUpdateResponseState();
|
||||||
|
}
|
||||||
|
|
||||||
private void btnCustomUploaderRegexpAdd_Click(object sender, EventArgs e)
|
private void btnCustomUploaderRegexpAdd_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
string regexp = txtCustomUploaderRegexp.Text;
|
string regexp = txtCustomUploaderRegexp.Text;
|
||||||
|
@ -3590,7 +3610,7 @@ private void lvCustomUploaderRegexps_SelectedIndexChanged(object sender, EventAr
|
||||||
|
|
||||||
txtCustomUploaderRegexp.Text = regex;
|
txtCustomUploaderRegexp.Text = regex;
|
||||||
|
|
||||||
btnCustomUploaderRegexAddSyntax.Enabled = lvCustomUploaderRegexps.SelectedItems.Count > 0;
|
CustomUploaderUpdateResponseState();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnCustomUploaderRegexAddSyntax_Click(object sender, EventArgs e)
|
private void btnCustomUploaderRegexAddSyntax_Click(object sender, EventArgs e)
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1676,6 +1676,48 @@ private void CustomUploaderLoad(CustomUploaderItem uploader)
|
||||||
txtCustomUploaderURL.Text = uploader.URL ?? "";
|
txtCustomUploaderURL.Text = uploader.URL ?? "";
|
||||||
txtCustomUploaderThumbnailURL.Text = uploader.ThumbnailURL ?? "";
|
txtCustomUploaderThumbnailURL.Text = uploader.ThumbnailURL ?? "";
|
||||||
txtCustomUploaderDeletionURL.Text = uploader.DeletionURL ?? "";
|
txtCustomUploaderDeletionURL.Text = uploader.DeletionURL ?? "";
|
||||||
|
|
||||||
|
CustomUploaderUpdateStates();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CustomUploaderUpdateStates()
|
||||||
|
{
|
||||||
|
CustomUploaderUpdateUploadersState();
|
||||||
|
CustomUploaderUpdateRequestState();
|
||||||
|
CustomUploaderUpdateArgumentsState();
|
||||||
|
CustomUploaderUpdateHeadersState();
|
||||||
|
CustomUploaderUpdateResponseState();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CustomUploaderUpdateUploadersState()
|
||||||
|
{
|
||||||
|
btnCustomUploaderRemove.Enabled = btnCustomUploaderDuplicate.Enabled = lbCustomUploaderList.SelectedIndex > -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CustomUploaderUpdateRequestState()
|
||||||
|
{
|
||||||
|
txtCustomUploaderFileForm.Enabled = (CustomUploaderRequestType)cbCustomUploaderRequestType.SelectedIndex == CustomUploaderRequestType.POST;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CustomUploaderUpdateArgumentsState()
|
||||||
|
{
|
||||||
|
btnCustomUploaderArgAdd.Enabled = !string.IsNullOrEmpty(txtCustomUploaderArgName.Text);
|
||||||
|
btnCustomUploaderArgRemove.Enabled = btnCustomUploaderArgUpdate.Enabled = lvCustomUploaderArguments.SelectedItems.Count > 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CustomUploaderUpdateHeadersState()
|
||||||
|
{
|
||||||
|
btnCustomUploaderHeaderAdd.Enabled = !string.IsNullOrEmpty(txtCustomUploaderHeaderName.Text);
|
||||||
|
btnCustomUploaderHeaderRemove.Enabled = btnCustomUploaderHeaderUpdate.Enabled = lvCustomUploaderHeaders.SelectedItems.Count > 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CustomUploaderUpdateResponseState()
|
||||||
|
{
|
||||||
|
btnCustomUploaderJsonAddSyntax.Enabled = !string.IsNullOrEmpty(txtCustomUploaderJsonPath.Text);
|
||||||
|
btnCustomUploaderXmlSyntaxAdd.Enabled = !string.IsNullOrEmpty(txtCustomUploaderXPath.Text);
|
||||||
|
btnCustomUploaderRegexpAdd.Enabled = !string.IsNullOrEmpty(txtCustomUploaderRegexp.Text);
|
||||||
|
btnCustomUploaderRegexpRemove.Enabled = btnCustomUploaderRegexpUpdate.Enabled = btnCustomUploaderRegexAddSyntax.Enabled =
|
||||||
|
lvCustomUploaderRegexps.SelectedItems.Count > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void CustomUploaderClearUploaders()
|
private void CustomUploaderClearUploaders()
|
||||||
|
@ -1685,6 +1727,7 @@ private void CustomUploaderClearUploaders()
|
||||||
CustomUploaderClearFields();
|
CustomUploaderClearFields();
|
||||||
Config.CustomImageUploaderSelected = Config.CustomTextUploaderSelected = Config.CustomFileUploaderSelected = Config.CustomURLShortenerSelected = 0;
|
Config.CustomImageUploaderSelected = Config.CustomTextUploaderSelected = Config.CustomFileUploaderSelected = Config.CustomURLShortenerSelected = 0;
|
||||||
CustomUploaderUpdateList();
|
CustomUploaderUpdateList();
|
||||||
|
CustomUploaderUpdateUploadersState();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void CustomUploaderClearFields()
|
private void CustomUploaderClearFields()
|
||||||
|
@ -1739,6 +1782,8 @@ private void CustomUploaderLoadTab(bool selectLastItem = false)
|
||||||
{
|
{
|
||||||
lbCustomUploaderList.SelectedIndex = lbCustomUploaderList.Items.Count - 1;
|
lbCustomUploaderList.SelectedIndex = lbCustomUploaderList.Items.Count - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CustomUploaderUpdateStates();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void CustomUploaderUpdateTab()
|
public static void CustomUploaderUpdateTab()
|
||||||
|
|
Loading…
Reference in a new issue