mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Removed TwitPic, TwitSnaps, YFrog because of Twitter image uploader support
Twitter is inheriting ImageUploader now
This commit is contained in:
parent
18fe663f02
commit
41623649ed
18 changed files with 343 additions and 688 deletions
|
@ -97,7 +97,6 @@ public UploadTestForm()
|
|||
{
|
||||
switch (uploader)
|
||||
{
|
||||
case ImageDestination.Twitsnaps: // Not possible to upload without post Twitter
|
||||
case ImageDestination.FileUploader: // We are going to test this in File Uploader tests
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -678,34 +678,7 @@ public UploadResult UploadImage(Stream stream, string fileName)
|
|||
break;
|
||||
case ImageDestination.Twitter:
|
||||
OAuthInfo twitterOAuth = Program.UploadersConfig.TwitterOAuthInfoList.ReturnIfValidIndex(Program.UploadersConfig.TwitterSelectedAccount);
|
||||
imageUploader = new TwitterUploader(twitterOAuth);
|
||||
break;
|
||||
case ImageDestination.Twitpic:
|
||||
int indexTwitpic = Program.UploadersConfig.TwitterSelectedAccount;
|
||||
|
||||
if (Program.UploadersConfig.TwitterOAuthInfoList != null && Program.UploadersConfig.TwitterOAuthInfoList.IsValidIndex(indexTwitpic))
|
||||
{
|
||||
imageUploader = new TwitPicUploader(APIKeys.TwitPicKey, Program.UploadersConfig.TwitterOAuthInfoList[indexTwitpic])
|
||||
{
|
||||
TwitPicThumbnailMode = Program.UploadersConfig.TwitPicThumbnailMode,
|
||||
ShowFull = Program.UploadersConfig.TwitPicShowFull
|
||||
};
|
||||
}
|
||||
break;
|
||||
case ImageDestination.Twitsnaps:
|
||||
int indexTwitsnaps = Program.UploadersConfig.TwitterSelectedAccount;
|
||||
|
||||
if (Program.UploadersConfig.TwitterOAuthInfoList.IsValidIndex(indexTwitsnaps))
|
||||
{
|
||||
imageUploader = new TwitSnapsUploader(APIKeys.TwitsnapsKey, Program.UploadersConfig.TwitterOAuthInfoList[indexTwitsnaps]);
|
||||
}
|
||||
break;
|
||||
case ImageDestination.yFrog:
|
||||
YfrogOptions yFrogOptions = new YfrogOptions(APIKeys.ImageShackKey);
|
||||
yFrogOptions.Username = Program.UploadersConfig.YFrogUsername;
|
||||
yFrogOptions.Password = Program.UploadersConfig.YFrogPassword;
|
||||
yFrogOptions.Source = Application.ProductName;
|
||||
imageUploader = new YfrogUploader(yFrogOptions);
|
||||
imageUploader = new Twitter(twitterOAuth);
|
||||
break;
|
||||
case ImageDestination.CustomImageUploader:
|
||||
if (Program.UploadersConfig.CustomUploadersList.IsValidIndex(Program.UploadersConfig.CustomImageUploaderSelected))
|
||||
|
|
|
@ -44,12 +44,6 @@ public enum ImageDestination
|
|||
Picasa,
|
||||
[Description("twitter.com")]
|
||||
Twitter,
|
||||
[Description("twitpic.com")]
|
||||
Twitpic,
|
||||
[Description("twitsnaps.com")]
|
||||
Twitsnaps,
|
||||
[Description("yfrog.com")]
|
||||
yFrog,
|
||||
[Description("Custom image uploader")]
|
||||
CustomImageUploader,
|
||||
[Description("File uploader")]
|
||||
|
|
BIN
UploadersLib/Favicons/Hostr.ico
Normal file
BIN
UploadersLib/Favicons/Hostr.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB |
|
@ -28,8 +28,8 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using UploadersLib.HelperClasses;
|
||||
using UploadersLib.ImageUploaders;
|
||||
using UploadersLib.Properties;
|
||||
using UploadersLib.SocialServices;
|
||||
|
||||
namespace UploadersLib
|
||||
{
|
||||
|
|
598
UploadersLib/GUI/UploadersConfigForm.Designer.cs
generated
598
UploadersLib/GUI/UploadersConfigForm.Designer.cs
generated
|
@ -93,10 +93,14 @@ private void InitializeComponent()
|
|||
this.txtCustomUploaderArgName = new System.Windows.Forms.TextBox();
|
||||
this.tpTwitter = new System.Windows.Forms.TabPage();
|
||||
this.btnTwitterLogin = new System.Windows.Forms.Button();
|
||||
this.ucTwitterAccounts = new UploadersLib.AccountsControl();
|
||||
this.tpURLShorteners = new System.Windows.Forms.TabPage();
|
||||
this.tcURLShorteners = new System.Windows.Forms.TabControl();
|
||||
this.tpBitly = new System.Windows.Forms.TabPage();
|
||||
this.oauth2Bitly = new UploadersLib.GUI.OAuth2Control();
|
||||
this.tpGoogleURLShortener = new System.Windows.Forms.TabPage();
|
||||
this.oauth2GoogleURLShortener = new UploadersLib.GUI.OAuth2Control();
|
||||
this.atcGoogleURLShortenerAccountType = new UploadersLib.GUI.AccountTypeControl();
|
||||
this.tpYourls = new System.Windows.Forms.TabPage();
|
||||
this.txtYourlsPassword = new System.Windows.Forms.TextBox();
|
||||
this.txtYourlsUsername = new System.Windows.Forms.TextBox();
|
||||
|
@ -110,6 +114,7 @@ private void InitializeComponent()
|
|||
this.tpFileUploaders = new System.Windows.Forms.TabPage();
|
||||
this.tcFileUploaders = new System.Windows.Forms.TabControl();
|
||||
this.tpDropbox = new System.Windows.Forms.TabPage();
|
||||
this.oauth2Dropbox = new UploadersLib.GUI.OAuth2Control();
|
||||
this.cbDropboxURLType = new System.Windows.Forms.ComboBox();
|
||||
this.cbDropboxAutoCreateShareableLink = new System.Windows.Forms.CheckBox();
|
||||
this.btnDropboxShowFiles = new System.Windows.Forms.Button();
|
||||
|
@ -127,6 +132,7 @@ private void InitializeComponent()
|
|||
this.lblCopyStatus = new System.Windows.Forms.Label();
|
||||
this.lblCopyPath = new System.Windows.Forms.Label();
|
||||
this.txtCopyPath = new System.Windows.Forms.TextBox();
|
||||
this.oAuthCopy = new UploadersLib.GUI.OAuth2Control();
|
||||
this.tpFTP = new System.Windows.Forms.TabPage();
|
||||
this.eiFTP = new HelpersLib.UserControls.ExportImportControl();
|
||||
this.btnFtpClient = new System.Windows.Forms.Button();
|
||||
|
@ -136,6 +142,7 @@ private void InitializeComponent()
|
|||
this.cboFtpImages = new System.Windows.Forms.ComboBox();
|
||||
this.cboFtpFiles = new System.Windows.Forms.ComboBox();
|
||||
this.cboFtpText = new System.Windows.Forms.ComboBox();
|
||||
this.ucFTPAccounts = new UploadersLib.AccountsControl();
|
||||
this.tpMega = new System.Windows.Forms.TabPage();
|
||||
this.btnMegaRefreshFolders = new System.Windows.Forms.Button();
|
||||
this.lblMegaStatus = new System.Windows.Forms.Label();
|
||||
|
@ -172,6 +179,7 @@ private void InitializeComponent()
|
|||
this.txtPushbulletUserKey = new System.Windows.Forms.TextBox();
|
||||
this.tpGoogleDrive = new System.Windows.Forms.TabPage();
|
||||
this.cbGoogleDriveIsPublic = new System.Windows.Forms.CheckBox();
|
||||
this.oauth2GoogleDrive = new UploadersLib.GUI.OAuth2Control();
|
||||
this.tpBox = new System.Windows.Forms.TabPage();
|
||||
this.lblBoxFolderTip = new System.Windows.Forms.Label();
|
||||
this.cbBoxShare = new System.Windows.Forms.CheckBox();
|
||||
|
@ -179,6 +187,7 @@ private void InitializeComponent()
|
|||
this.chBoxFoldersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.lblBoxFolderID = new System.Windows.Forms.Label();
|
||||
this.btnBoxRefreshFolders = new System.Windows.Forms.Button();
|
||||
this.oauth2Box = new UploadersLib.GUI.OAuth2Control();
|
||||
this.tpRapidShare = new System.Windows.Forms.TabPage();
|
||||
this.txtRapidShareFolderID = new System.Windows.Forms.TextBox();
|
||||
this.lblRapidShareFolderID = new System.Windows.Forms.Label();
|
||||
|
@ -194,6 +203,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 UploadersLib.GUI.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();
|
||||
|
@ -231,6 +241,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 UploadersLib.GUI.OAuth2Control();
|
||||
this.tpEmail = new System.Windows.Forms.TabPage();
|
||||
this.chkEmailConfirm = new System.Windows.Forms.CheckBox();
|
||||
this.lblEmailSmtpServer = new System.Windows.Forms.Label();
|
||||
|
@ -248,6 +259,7 @@ private void InitializeComponent()
|
|||
this.txtEmailDefaultSubject = new System.Windows.Forms.TextBox();
|
||||
this.tpSharedFolder = new System.Windows.Forms.TabPage();
|
||||
this.tlpSharedFolders = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.ucLocalhostAccounts = new UploadersLib.AccountsControl();
|
||||
this.gbSharedFolder = new System.Windows.Forms.GroupBox();
|
||||
this.lblSharedFolderFiles = new System.Windows.Forms.Label();
|
||||
this.lblSharedFolderText = new System.Windows.Forms.Label();
|
||||
|
@ -266,6 +278,8 @@ private void InitializeComponent()
|
|||
this.txtPaste_eeUserAPIKey = new System.Windows.Forms.TextBox();
|
||||
this.tpGist = new System.Windows.Forms.TabPage();
|
||||
this.chkGistPublishPublic = new System.Windows.Forms.CheckBox();
|
||||
this.oAuth2Gist = new UploadersLib.GUI.OAuth2Control();
|
||||
this.atcGistAccountType = new UploadersLib.GUI.AccountTypeControl();
|
||||
this.tpUpaste = new System.Windows.Forms.TabPage();
|
||||
this.cbUpasteIsPublic = new System.Windows.Forms.CheckBox();
|
||||
this.lblUpasteUserKey = new System.Windows.Forms.Label();
|
||||
|
@ -273,6 +287,7 @@ private void InitializeComponent()
|
|||
this.tpImageUploaders = new System.Windows.Forms.TabPage();
|
||||
this.tcImageUploaders = new System.Windows.Forms.TabControl();
|
||||
this.tpImgur = new System.Windows.Forms.TabPage();
|
||||
this.oauth2Imgur = new UploadersLib.GUI.OAuth2Control();
|
||||
this.txtImgurAlbumID = new System.Windows.Forms.TextBox();
|
||||
this.lblImgurAlbumID = new System.Windows.Forms.Label();
|
||||
this.lvImgurAlbumList = new System.Windows.Forms.ListView();
|
||||
|
@ -282,7 +297,9 @@ private void InitializeComponent()
|
|||
this.btnImgurRefreshAlbumList = new System.Windows.Forms.Button();
|
||||
this.cbImgurThumbnailType = new System.Windows.Forms.ComboBox();
|
||||
this.lblImgurThumbnailType = new System.Windows.Forms.Label();
|
||||
this.atcImgurAccountType = new UploadersLib.GUI.AccountTypeControl();
|
||||
this.tpImageShack = new System.Windows.Forms.TabPage();
|
||||
this.atcImageShackAccountType = new UploadersLib.GUI.AccountTypeControl();
|
||||
this.btnImageShackLogin = new System.Windows.Forms.Button();
|
||||
this.btnImageShackOpenPublicProfile = new System.Windows.Forms.Button();
|
||||
this.cbImageShackIsPublic = new System.Windows.Forms.CheckBox();
|
||||
|
@ -292,6 +309,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 UploadersLib.GUI.AccountTypeControl();
|
||||
this.btnTinyPicLogin = new System.Windows.Forms.Button();
|
||||
this.txtTinyPicPassword = new System.Windows.Forms.TextBox();
|
||||
this.lblTinyPicPassword = new System.Windows.Forms.Label();
|
||||
|
@ -332,39 +350,9 @@ private void InitializeComponent()
|
|||
this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.btnPicasaRefreshAlbumList = new System.Windows.Forms.Button();
|
||||
this.tpTwitPic = new System.Windows.Forms.TabPage();
|
||||
this.lblTwitPicTip = new System.Windows.Forms.Label();
|
||||
this.chkTwitPicShowFull = new System.Windows.Forms.CheckBox();
|
||||
this.cboTwitPicThumbnailMode = new System.Windows.Forms.ComboBox();
|
||||
this.lblTwitPicThumbnailMode = new System.Windows.Forms.Label();
|
||||
this.tpTwitSnaps = new System.Windows.Forms.TabPage();
|
||||
this.lblTwitSnapsTip = new System.Windows.Forms.Label();
|
||||
this.tpYFrog = new System.Windows.Forms.TabPage();
|
||||
this.lblYFrogPassword = new System.Windows.Forms.Label();
|
||||
this.lblYFrogUsername = new System.Windows.Forms.Label();
|
||||
this.txtYFrogPassword = new System.Windows.Forms.TextBox();
|
||||
this.txtYFrogUsername = new System.Windows.Forms.TextBox();
|
||||
this.oauth2Picasa = new UploadersLib.GUI.OAuth2Control();
|
||||
this.tcUploaders = new System.Windows.Forms.TabControl();
|
||||
this.ttlvMain = new HelpersLib.TabToListView();
|
||||
this.oauth2Imgur = new UploadersLib.GUI.OAuth2Control();
|
||||
this.atcImgurAccountType = new UploadersLib.GUI.AccountTypeControl();
|
||||
this.atcImageShackAccountType = new UploadersLib.GUI.AccountTypeControl();
|
||||
this.atcTinyPicAccountType = new UploadersLib.GUI.AccountTypeControl();
|
||||
this.oauth2Picasa = new UploadersLib.GUI.OAuth2Control();
|
||||
this.oAuth2Gist = new UploadersLib.GUI.OAuth2Control();
|
||||
this.atcGistAccountType = new UploadersLib.GUI.AccountTypeControl();
|
||||
this.oauth2Dropbox = new UploadersLib.GUI.OAuth2Control();
|
||||
this.oAuthCopy = new UploadersLib.GUI.OAuth2Control();
|
||||
this.ucFTPAccounts = new UploadersLib.AccountsControl();
|
||||
this.oauth2GoogleDrive = new UploadersLib.GUI.OAuth2Control();
|
||||
this.oauth2Box = new UploadersLib.GUI.OAuth2Control();
|
||||
this.atcSendSpaceAccountType = new UploadersLib.GUI.AccountTypeControl();
|
||||
this.oAuthJira = new UploadersLib.GUI.OAuth2Control();
|
||||
this.ucLocalhostAccounts = new UploadersLib.AccountsControl();
|
||||
this.oauth2Bitly = new UploadersLib.GUI.OAuth2Control();
|
||||
this.oauth2GoogleURLShortener = new UploadersLib.GUI.OAuth2Control();
|
||||
this.atcGoogleURLShortenerAccountType = new UploadersLib.GUI.AccountTypeControl();
|
||||
this.ucTwitterAccounts = new UploadersLib.AccountsControl();
|
||||
this.actRapidShareAccountType = new UploadersLib.GUI.AccountTypeControl();
|
||||
this.tpOtherUploaders.SuspendLayout();
|
||||
this.tcOtherUploaders.SuspendLayout();
|
||||
|
@ -421,9 +409,6 @@ private void InitializeComponent()
|
|||
this.gbPhotobucketAlbums.SuspendLayout();
|
||||
this.gbPhotobucketUserAccount.SuspendLayout();
|
||||
this.tpPicasa.SuspendLayout();
|
||||
this.tpTwitPic.SuspendLayout();
|
||||
this.tpTwitSnaps.SuspendLayout();
|
||||
this.tpYFrog.SuspendLayout();
|
||||
this.tcUploaders.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
|
@ -1071,6 +1056,15 @@ private void InitializeComponent()
|
|||
this.btnTwitterLogin.UseVisualStyleBackColor = true;
|
||||
this.btnTwitterLogin.Click += new System.EventHandler(this.btnTwitterLogin_Click);
|
||||
//
|
||||
// ucTwitterAccounts
|
||||
//
|
||||
this.ucTwitterAccounts.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ucTwitterAccounts.Location = new System.Drawing.Point(0, 0);
|
||||
this.ucTwitterAccounts.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.ucTwitterAccounts.Name = "ucTwitterAccounts";
|
||||
this.ucTwitterAccounts.Size = new System.Drawing.Size(972, 493);
|
||||
this.ucTwitterAccounts.TabIndex = 0;
|
||||
//
|
||||
// tpURLShorteners
|
||||
//
|
||||
this.tpURLShorteners.Controls.Add(this.tcURLShorteners);
|
||||
|
@ -1105,6 +1099,18 @@ private void InitializeComponent()
|
|||
this.tpBitly.Text = "bit.ly";
|
||||
this.tpBitly.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// oauth2Bitly
|
||||
//
|
||||
this.oauth2Bitly.IsRefreshable = false;
|
||||
this.oauth2Bitly.Location = new System.Drawing.Point(16, 16);
|
||||
this.oauth2Bitly.LoginStatus = false;
|
||||
this.oauth2Bitly.Name = "oauth2Bitly";
|
||||
this.oauth2Bitly.Size = new System.Drawing.Size(328, 168);
|
||||
this.oauth2Bitly.Status = "Login required.";
|
||||
this.oauth2Bitly.TabIndex = 0;
|
||||
this.oauth2Bitly.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oauth2Bitly_OpenButtonClicked);
|
||||
this.oauth2Bitly.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oauth2Bitly_CompleteButtonClicked);
|
||||
//
|
||||
// tpGoogleURLShortener
|
||||
//
|
||||
this.tpGoogleURLShortener.Controls.Add(this.oauth2GoogleURLShortener);
|
||||
|
@ -1117,6 +1123,27 @@ private void InitializeComponent()
|
|||
this.tpGoogleURLShortener.Text = "Google";
|
||||
this.tpGoogleURLShortener.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// oauth2GoogleURLShortener
|
||||
//
|
||||
this.oauth2GoogleURLShortener.Location = new System.Drawing.Point(16, 56);
|
||||
this.oauth2GoogleURLShortener.LoginStatus = false;
|
||||
this.oauth2GoogleURLShortener.Name = "oauth2GoogleURLShortener";
|
||||
this.oauth2GoogleURLShortener.Size = new System.Drawing.Size(328, 207);
|
||||
this.oauth2GoogleURLShortener.Status = "Status: Login required.";
|
||||
this.oauth2GoogleURLShortener.TabIndex = 1;
|
||||
this.oauth2GoogleURLShortener.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oauth2GoogleURLShortener_OpenButtonClicked);
|
||||
this.oauth2GoogleURLShortener.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oauth2GoogleURLShortener_CompleteButtonClicked);
|
||||
this.oauth2GoogleURLShortener.RefreshButtonClicked += new UploadersLib.GUI.OAuth2Control.RefreshButtonClickedEventHandler(this.oauth2GoogleURLShortener_RefreshButtonClicked);
|
||||
//
|
||||
// atcGoogleURLShortenerAccountType
|
||||
//
|
||||
this.atcGoogleURLShortenerAccountType.Location = new System.Drawing.Point(8, 16);
|
||||
this.atcGoogleURLShortenerAccountType.Name = "atcGoogleURLShortenerAccountType";
|
||||
this.atcGoogleURLShortenerAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
|
||||
this.atcGoogleURLShortenerAccountType.Size = new System.Drawing.Size(214, 29);
|
||||
this.atcGoogleURLShortenerAccountType.TabIndex = 0;
|
||||
this.atcGoogleURLShortenerAccountType.AccountTypeChanged += new UploadersLib.GUI.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGoogleURLShortenerAccountType_AccountTypeChanged);
|
||||
//
|
||||
// tpYourls
|
||||
//
|
||||
this.tpYourls.Controls.Add(this.txtYourlsPassword);
|
||||
|
@ -1272,6 +1299,18 @@ private void InitializeComponent()
|
|||
this.tpDropbox.Text = "Dropbox";
|
||||
this.tpDropbox.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// oauth2Dropbox
|
||||
//
|
||||
this.oauth2Dropbox.IsRefreshable = false;
|
||||
this.oauth2Dropbox.Location = new System.Drawing.Point(16, 88);
|
||||
this.oauth2Dropbox.LoginStatus = false;
|
||||
this.oauth2Dropbox.Name = "oauth2Dropbox";
|
||||
this.oauth2Dropbox.Size = new System.Drawing.Size(328, 168);
|
||||
this.oauth2Dropbox.Status = "Login required.";
|
||||
this.oauth2Dropbox.TabIndex = 20;
|
||||
this.oauth2Dropbox.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oauth2Dropbox_OpenButtonClicked);
|
||||
this.oauth2Dropbox.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oauth2Dropbox_CompleteButtonClicked);
|
||||
//
|
||||
// cbDropboxURLType
|
||||
//
|
||||
this.cbDropboxURLType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
|
@ -1447,6 +1486,18 @@ private void InitializeComponent()
|
|||
this.txtCopyPath.TabIndex = 4;
|
||||
this.txtCopyPath.TextChanged += new System.EventHandler(this.txtCopyPath_TextChanged);
|
||||
//
|
||||
// oAuthCopy
|
||||
//
|
||||
this.oAuthCopy.IsRefreshable = false;
|
||||
this.oAuthCopy.Location = new System.Drawing.Point(16, 88);
|
||||
this.oAuthCopy.LoginStatus = false;
|
||||
this.oAuthCopy.Name = "oAuthCopy";
|
||||
this.oAuthCopy.Size = new System.Drawing.Size(328, 173);
|
||||
this.oAuthCopy.Status = "Login required.";
|
||||
this.oAuthCopy.TabIndex = 2;
|
||||
this.oAuthCopy.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oAuthCopy_OpenButtonClicked);
|
||||
this.oAuthCopy.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oAuthCopy_CompleteButtonClicked);
|
||||
//
|
||||
// tpFTP
|
||||
//
|
||||
this.tpFTP.Controls.Add(this.eiFTP);
|
||||
|
@ -1543,6 +1594,16 @@ private void InitializeComponent()
|
|||
this.cboFtpText.TabIndex = 3;
|
||||
this.cboFtpText.SelectedIndexChanged += new System.EventHandler(this.cboFtpText_SelectedIndexChanged);
|
||||
//
|
||||
// ucFTPAccounts
|
||||
//
|
||||
this.ucFTPAccounts.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.ucFTPAccounts.Location = new System.Drawing.Point(8, 40);
|
||||
this.ucFTPAccounts.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.ucFTPAccounts.Name = "ucFTPAccounts";
|
||||
this.ucFTPAccounts.Size = new System.Drawing.Size(792, 448);
|
||||
this.ucFTPAccounts.TabIndex = 6;
|
||||
//
|
||||
// tpMega
|
||||
//
|
||||
this.tpMega.Controls.Add(this.btnMegaRefreshFolders);
|
||||
|
@ -1923,6 +1984,18 @@ private void InitializeComponent()
|
|||
this.cbGoogleDriveIsPublic.UseVisualStyleBackColor = true;
|
||||
this.cbGoogleDriveIsPublic.CheckedChanged += new System.EventHandler(this.cbGoogleDriveIsPublic_CheckedChanged);
|
||||
//
|
||||
// oauth2GoogleDrive
|
||||
//
|
||||
this.oauth2GoogleDrive.Location = new System.Drawing.Point(16, 16);
|
||||
this.oauth2GoogleDrive.LoginStatus = false;
|
||||
this.oauth2GoogleDrive.Name = "oauth2GoogleDrive";
|
||||
this.oauth2GoogleDrive.Size = new System.Drawing.Size(328, 207);
|
||||
this.oauth2GoogleDrive.Status = "Status: Login required.";
|
||||
this.oauth2GoogleDrive.TabIndex = 0;
|
||||
this.oauth2GoogleDrive.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oauth2GoogleDrive_OpenButtonClicked);
|
||||
this.oauth2GoogleDrive.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oauth2GoogleDrive_CompleteButtonClicked);
|
||||
this.oauth2GoogleDrive.RefreshButtonClicked += new UploadersLib.GUI.OAuth2Control.RefreshButtonClickedEventHandler(this.oauth2GoogleDrive_RefreshButtonClicked);
|
||||
//
|
||||
// tpBox
|
||||
//
|
||||
this.tpBox.Controls.Add(this.lblBoxFolderTip);
|
||||
|
@ -1999,6 +2072,18 @@ private void InitializeComponent()
|
|||
this.btnBoxRefreshFolders.UseVisualStyleBackColor = true;
|
||||
this.btnBoxRefreshFolders.Click += new System.EventHandler(this.btnBoxRefreshFolders_Click);
|
||||
//
|
||||
// oauth2Box
|
||||
//
|
||||
this.oauth2Box.Location = new System.Drawing.Point(16, 16);
|
||||
this.oauth2Box.LoginStatus = false;
|
||||
this.oauth2Box.Name = "oauth2Box";
|
||||
this.oauth2Box.Size = new System.Drawing.Size(328, 207);
|
||||
this.oauth2Box.Status = "Status: Login required.";
|
||||
this.oauth2Box.TabIndex = 0;
|
||||
this.oauth2Box.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oauth2Box_OpenButtonClicked);
|
||||
this.oauth2Box.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oauth2Box_CompleteButtonClicked);
|
||||
this.oauth2Box.RefreshButtonClicked += new UploadersLib.GUI.OAuth2Control.RefreshButtonClickedEventHandler(this.oauth2Box_RefreshButtonClicked);
|
||||
//
|
||||
// tpRapidShare
|
||||
//
|
||||
this.tpRapidShare.Controls.Add(this.txtRapidShareFolderID);
|
||||
|
@ -2148,6 +2233,15 @@ private void InitializeComponent()
|
|||
this.txtSendSpaceUserName.TabIndex = 3;
|
||||
this.txtSendSpaceUserName.TextChanged += new System.EventHandler(this.txtSendSpaceUserName_TextChanged);
|
||||
//
|
||||
// atcSendSpaceAccountType
|
||||
//
|
||||
this.atcSendSpaceAccountType.Location = new System.Drawing.Point(8, 16);
|
||||
this.atcSendSpaceAccountType.Name = "atcSendSpaceAccountType";
|
||||
this.atcSendSpaceAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
|
||||
this.atcSendSpaceAccountType.Size = new System.Drawing.Size(214, 29);
|
||||
this.atcSendSpaceAccountType.TabIndex = 0;
|
||||
this.atcSendSpaceAccountType.AccountTypeChanged += new UploadersLib.GUI.AccountTypeControl.AccountTypeChangedEventHandler(this.atcSendSpaceAccountType_AccountTypeChanged);
|
||||
//
|
||||
// tpGe_tt
|
||||
//
|
||||
this.tpGe_tt.Controls.Add(this.lblGe_ttStatus);
|
||||
|
@ -2526,6 +2620,18 @@ private void InitializeComponent()
|
|||
this.lblJiraHost.TabIndex = 0;
|
||||
this.lblJiraHost.Text = "Jira host: ";
|
||||
//
|
||||
// oAuthJira
|
||||
//
|
||||
this.oAuthJira.Location = new System.Drawing.Point(473, 13);
|
||||
this.oAuthJira.LoginStatus = false;
|
||||
this.oAuthJira.Name = "oAuthJira";
|
||||
this.oAuthJira.Size = new System.Drawing.Size(328, 207);
|
||||
this.oAuthJira.Status = "Status: Login required.";
|
||||
this.oAuthJira.TabIndex = 1;
|
||||
this.oAuthJira.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oAuthJira_OpenButtonClicked);
|
||||
this.oAuthJira.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oAuthJira_CompleteButtonClicked);
|
||||
this.oAuthJira.RefreshButtonClicked += new UploadersLib.GUI.OAuth2Control.RefreshButtonClickedEventHandler(this.oAuthJira_RefreshButtonClicked);
|
||||
//
|
||||
// tpEmail
|
||||
//
|
||||
this.tpEmail.Controls.Add(this.chkEmailConfirm);
|
||||
|
@ -2718,6 +2824,14 @@ private void InitializeComponent()
|
|||
this.tlpSharedFolders.Size = new System.Drawing.Size(966, 487);
|
||||
this.tlpSharedFolders.TabIndex = 0;
|
||||
//
|
||||
// ucLocalhostAccounts
|
||||
//
|
||||
this.ucLocalhostAccounts.Location = new System.Drawing.Point(4, 4);
|
||||
this.ucLocalhostAccounts.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.ucLocalhostAccounts.Name = "ucLocalhostAccounts";
|
||||
this.ucLocalhostAccounts.Size = new System.Drawing.Size(828, 357);
|
||||
this.ucLocalhostAccounts.TabIndex = 0;
|
||||
//
|
||||
// gbSharedFolder
|
||||
//
|
||||
this.gbSharedFolder.Controls.Add(this.lblSharedFolderFiles);
|
||||
|
@ -2907,6 +3021,28 @@ private void InitializeComponent()
|
|||
this.chkGistPublishPublic.UseVisualStyleBackColor = true;
|
||||
this.chkGistPublishPublic.CheckedChanged += new System.EventHandler(this.chkGistPublishPublic_CheckedChanged);
|
||||
//
|
||||
// oAuth2Gist
|
||||
//
|
||||
this.oAuth2Gist.Enabled = false;
|
||||
this.oAuth2Gist.IsRefreshable = false;
|
||||
this.oAuth2Gist.Location = new System.Drawing.Point(16, 51);
|
||||
this.oAuth2Gist.LoginStatus = false;
|
||||
this.oAuth2Gist.Name = "oAuth2Gist";
|
||||
this.oAuth2Gist.Size = new System.Drawing.Size(328, 173);
|
||||
this.oAuth2Gist.Status = "Status: Login required.";
|
||||
this.oAuth2Gist.TabIndex = 2;
|
||||
this.oAuth2Gist.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oAuth2Gist_OpenButtonClicked);
|
||||
this.oAuth2Gist.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oAuth2Gist_CompleteButtonClicked);
|
||||
//
|
||||
// atcGistAccountType
|
||||
//
|
||||
this.atcGistAccountType.Location = new System.Drawing.Point(15, 16);
|
||||
this.atcGistAccountType.Name = "atcGistAccountType";
|
||||
this.atcGistAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
|
||||
this.atcGistAccountType.Size = new System.Drawing.Size(214, 29);
|
||||
this.atcGistAccountType.TabIndex = 0;
|
||||
this.atcGistAccountType.AccountTypeChanged += new UploadersLib.GUI.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGistAccountType_AccountTypeChanged);
|
||||
//
|
||||
// tpUpaste
|
||||
//
|
||||
this.tpUpaste.Controls.Add(this.cbUpasteIsPublic);
|
||||
|
@ -2968,9 +3104,6 @@ private void InitializeComponent()
|
|||
this.tcImageUploaders.Controls.Add(this.tpFlickr);
|
||||
this.tcImageUploaders.Controls.Add(this.tpPhotobucket);
|
||||
this.tcImageUploaders.Controls.Add(this.tpPicasa);
|
||||
this.tcImageUploaders.Controls.Add(this.tpTwitPic);
|
||||
this.tcImageUploaders.Controls.Add(this.tpTwitSnaps);
|
||||
this.tcImageUploaders.Controls.Add(this.tpYFrog);
|
||||
this.tcImageUploaders.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tcImageUploaders.Location = new System.Drawing.Point(3, 3);
|
||||
this.tcImageUploaders.MinimumSize = new System.Drawing.Size(780, 480);
|
||||
|
@ -2997,6 +3130,18 @@ private void InitializeComponent()
|
|||
this.tpImgur.Text = "Imgur";
|
||||
this.tpImgur.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// oauth2Imgur
|
||||
//
|
||||
this.oauth2Imgur.Location = new System.Drawing.Point(16, 16);
|
||||
this.oauth2Imgur.LoginStatus = false;
|
||||
this.oauth2Imgur.Name = "oauth2Imgur";
|
||||
this.oauth2Imgur.Size = new System.Drawing.Size(328, 207);
|
||||
this.oauth2Imgur.Status = "Status: Login required.";
|
||||
this.oauth2Imgur.TabIndex = 0;
|
||||
this.oauth2Imgur.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oauth2Imgur_OpenButtonClicked);
|
||||
this.oauth2Imgur.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oauth2Imgur_CompleteButtonClicked);
|
||||
this.oauth2Imgur.RefreshButtonClicked += new UploadersLib.GUI.OAuth2Control.RefreshButtonClickedEventHandler(this.oauth2Imgur_RefreshButtonClicked);
|
||||
//
|
||||
// txtImgurAlbumID
|
||||
//
|
||||
this.txtImgurAlbumID.Location = new System.Drawing.Point(592, 28);
|
||||
|
@ -3075,6 +3220,15 @@ private void InitializeComponent()
|
|||
this.lblImgurThumbnailType.TabIndex = 5;
|
||||
this.lblImgurThumbnailType.Text = "Thumbnail type:";
|
||||
//
|
||||
// atcImgurAccountType
|
||||
//
|
||||
this.atcImgurAccountType.Location = new System.Drawing.Point(8, 232);
|
||||
this.atcImgurAccountType.Name = "atcImgurAccountType";
|
||||
this.atcImgurAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
|
||||
this.atcImgurAccountType.Size = new System.Drawing.Size(208, 32);
|
||||
this.atcImgurAccountType.TabIndex = 4;
|
||||
this.atcImgurAccountType.AccountTypeChanged += new UploadersLib.GUI.AccountTypeControl.AccountTypeChangedEventHandler(this.atcImgurAccountType_AccountTypeChanged);
|
||||
//
|
||||
// tpImageShack
|
||||
//
|
||||
this.tpImageShack.Controls.Add(this.atcImageShackAccountType);
|
||||
|
@ -3094,6 +3248,15 @@ private void InitializeComponent()
|
|||
this.tpImageShack.Text = "ImageShack";
|
||||
this.tpImageShack.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// atcImageShackAccountType
|
||||
//
|
||||
this.atcImageShackAccountType.Location = new System.Drawing.Point(8, 16);
|
||||
this.atcImageShackAccountType.Name = "atcImageShackAccountType";
|
||||
this.atcImageShackAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
|
||||
this.atcImageShackAccountType.Size = new System.Drawing.Size(272, 29);
|
||||
this.atcImageShackAccountType.TabIndex = 0;
|
||||
this.atcImageShackAccountType.AccountTypeChanged += new UploadersLib.GUI.AccountTypeControl.AccountTypeChangedEventHandler(this.atcImageShackAccountType_AccountTypeChanged);
|
||||
//
|
||||
// btnImageShackLogin
|
||||
//
|
||||
this.btnImageShackLogin.Location = new System.Drawing.Point(296, 82);
|
||||
|
@ -3187,6 +3350,15 @@ private void InitializeComponent()
|
|||
this.tpTinyPic.Text = "TinyPic";
|
||||
this.tpTinyPic.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// atcTinyPicAccountType
|
||||
//
|
||||
this.atcTinyPicAccountType.Location = new System.Drawing.Point(8, 16);
|
||||
this.atcTinyPicAccountType.Name = "atcTinyPicAccountType";
|
||||
this.atcTinyPicAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
|
||||
this.atcTinyPicAccountType.Size = new System.Drawing.Size(272, 29);
|
||||
this.atcTinyPicAccountType.TabIndex = 0;
|
||||
this.atcTinyPicAccountType.AccountTypeChanged += new UploadersLib.GUI.AccountTypeControl.AccountTypeChangedEventHandler(this.atcTinyPicAccountType_AccountTypeChanged);
|
||||
//
|
||||
// btnTinyPicLogin
|
||||
//
|
||||
this.btnTinyPicLogin.Location = new System.Drawing.Point(296, 82);
|
||||
|
@ -3594,129 +3766,17 @@ private void InitializeComponent()
|
|||
this.btnPicasaRefreshAlbumList.UseVisualStyleBackColor = true;
|
||||
this.btnPicasaRefreshAlbumList.Click += new System.EventHandler(this.btnPicasaRefreshAlbumList_Click);
|
||||
//
|
||||
// tpTwitPic
|
||||
// oauth2Picasa
|
||||
//
|
||||
this.tpTwitPic.Controls.Add(this.lblTwitPicTip);
|
||||
this.tpTwitPic.Controls.Add(this.chkTwitPicShowFull);
|
||||
this.tpTwitPic.Controls.Add(this.cboTwitPicThumbnailMode);
|
||||
this.tpTwitPic.Controls.Add(this.lblTwitPicThumbnailMode);
|
||||
this.tpTwitPic.Location = new System.Drawing.Point(4, 22);
|
||||
this.tpTwitPic.Name = "tpTwitPic";
|
||||
this.tpTwitPic.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tpTwitPic.Size = new System.Drawing.Size(972, 493);
|
||||
this.tpTwitPic.TabIndex = 5;
|
||||
this.tpTwitPic.Text = "TwitPic";
|
||||
this.tpTwitPic.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lblTwitPicTip
|
||||
//
|
||||
this.lblTwitPicTip.AutoSize = true;
|
||||
this.lblTwitPicTip.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
|
||||
this.lblTwitPicTip.Location = new System.Drawing.Point(16, 16);
|
||||
this.lblTwitPicTip.Name = "lblTwitPicTip";
|
||||
this.lblTwitPicTip.Size = new System.Drawing.Size(343, 40);
|
||||
this.lblTwitPicTip.TabIndex = 0;
|
||||
this.lblTwitPicTip.Text = "TwitPic using Twitter settings for authentication.\r\nOther Services -> Twitter";
|
||||
//
|
||||
// chkTwitPicShowFull
|
||||
//
|
||||
this.chkTwitPicShowFull.AutoSize = true;
|
||||
this.chkTwitPicShowFull.Location = new System.Drawing.Point(24, 104);
|
||||
this.chkTwitPicShowFull.Name = "chkTwitPicShowFull";
|
||||
this.chkTwitPicShowFull.Size = new System.Drawing.Size(94, 17);
|
||||
this.chkTwitPicShowFull.TabIndex = 3;
|
||||
this.chkTwitPicShowFull.Text = "Show full URL";
|
||||
this.chkTwitPicShowFull.UseVisualStyleBackColor = true;
|
||||
this.chkTwitPicShowFull.CheckedChanged += new System.EventHandler(this.chkTwitPicShowFull_CheckedChanged);
|
||||
//
|
||||
// cboTwitPicThumbnailMode
|
||||
//
|
||||
this.cboTwitPicThumbnailMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cboTwitPicThumbnailMode.FormattingEnabled = true;
|
||||
this.cboTwitPicThumbnailMode.Location = new System.Drawing.Point(112, 68);
|
||||
this.cboTwitPicThumbnailMode.Name = "cboTwitPicThumbnailMode";
|
||||
this.cboTwitPicThumbnailMode.Size = new System.Drawing.Size(144, 21);
|
||||
this.cboTwitPicThumbnailMode.TabIndex = 2;
|
||||
this.cboTwitPicThumbnailMode.SelectedIndexChanged += new System.EventHandler(this.cboTwitPicThumbnailMode_SelectedIndexChanged);
|
||||
//
|
||||
// lblTwitPicThumbnailMode
|
||||
//
|
||||
this.lblTwitPicThumbnailMode.AutoSize = true;
|
||||
this.lblTwitPicThumbnailMode.Location = new System.Drawing.Point(24, 72);
|
||||
this.lblTwitPicThumbnailMode.Name = "lblTwitPicThumbnailMode";
|
||||
this.lblTwitPicThumbnailMode.Size = new System.Drawing.Size(82, 13);
|
||||
this.lblTwitPicThumbnailMode.TabIndex = 1;
|
||||
this.lblTwitPicThumbnailMode.Text = "Thumbnail type:";
|
||||
//
|
||||
// tpTwitSnaps
|
||||
//
|
||||
this.tpTwitSnaps.Controls.Add(this.lblTwitSnapsTip);
|
||||
this.tpTwitSnaps.Location = new System.Drawing.Point(4, 22);
|
||||
this.tpTwitSnaps.Name = "tpTwitSnaps";
|
||||
this.tpTwitSnaps.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tpTwitSnaps.Size = new System.Drawing.Size(972, 493);
|
||||
this.tpTwitSnaps.TabIndex = 6;
|
||||
this.tpTwitSnaps.Text = "TwitSnaps";
|
||||
this.tpTwitSnaps.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lblTwitSnapsTip
|
||||
//
|
||||
this.lblTwitSnapsTip.AutoSize = true;
|
||||
this.lblTwitSnapsTip.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
|
||||
this.lblTwitSnapsTip.Location = new System.Drawing.Point(16, 16);
|
||||
this.lblTwitSnapsTip.Name = "lblTwitSnapsTip";
|
||||
this.lblTwitSnapsTip.Size = new System.Drawing.Size(368, 40);
|
||||
this.lblTwitSnapsTip.TabIndex = 0;
|
||||
this.lblTwitSnapsTip.Text = "TwitSnaps using Twitter settings for authentication.\r\nOther Services -> Twitter";
|
||||
//
|
||||
// tpYFrog
|
||||
//
|
||||
this.tpYFrog.Controls.Add(this.lblYFrogPassword);
|
||||
this.tpYFrog.Controls.Add(this.lblYFrogUsername);
|
||||
this.tpYFrog.Controls.Add(this.txtYFrogPassword);
|
||||
this.tpYFrog.Controls.Add(this.txtYFrogUsername);
|
||||
this.tpYFrog.Location = new System.Drawing.Point(4, 22);
|
||||
this.tpYFrog.Name = "tpYFrog";
|
||||
this.tpYFrog.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tpYFrog.Size = new System.Drawing.Size(972, 493);
|
||||
this.tpYFrog.TabIndex = 7;
|
||||
this.tpYFrog.Text = "YFrog";
|
||||
this.tpYFrog.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lblYFrogPassword
|
||||
//
|
||||
this.lblYFrogPassword.AutoSize = true;
|
||||
this.lblYFrogPassword.Location = new System.Drawing.Point(24, 56);
|
||||
this.lblYFrogPassword.Name = "lblYFrogPassword";
|
||||
this.lblYFrogPassword.Size = new System.Drawing.Size(56, 13);
|
||||
this.lblYFrogPassword.TabIndex = 2;
|
||||
this.lblYFrogPassword.Text = "Password:";
|
||||
//
|
||||
// lblYFrogUsername
|
||||
//
|
||||
this.lblYFrogUsername.AutoSize = true;
|
||||
this.lblYFrogUsername.Location = new System.Drawing.Point(24, 24);
|
||||
this.lblYFrogUsername.Name = "lblYFrogUsername";
|
||||
this.lblYFrogUsername.Size = new System.Drawing.Size(58, 13);
|
||||
this.lblYFrogUsername.TabIndex = 0;
|
||||
this.lblYFrogUsername.Text = "Username:";
|
||||
//
|
||||
// txtYFrogPassword
|
||||
//
|
||||
this.txtYFrogPassword.Location = new System.Drawing.Point(88, 52);
|
||||
this.txtYFrogPassword.Name = "txtYFrogPassword";
|
||||
this.txtYFrogPassword.Size = new System.Drawing.Size(160, 20);
|
||||
this.txtYFrogPassword.TabIndex = 3;
|
||||
this.txtYFrogPassword.UseSystemPasswordChar = true;
|
||||
this.txtYFrogPassword.TextChanged += new System.EventHandler(this.txtYFrogPassword_TextChanged);
|
||||
//
|
||||
// txtYFrogUsername
|
||||
//
|
||||
this.txtYFrogUsername.Location = new System.Drawing.Point(88, 20);
|
||||
this.txtYFrogUsername.Name = "txtYFrogUsername";
|
||||
this.txtYFrogUsername.Size = new System.Drawing.Size(160, 20);
|
||||
this.txtYFrogUsername.TabIndex = 1;
|
||||
this.txtYFrogUsername.TextChanged += new System.EventHandler(this.txtYFrogUsername_TextChanged);
|
||||
this.oauth2Picasa.Location = new System.Drawing.Point(16, 16);
|
||||
this.oauth2Picasa.LoginStatus = false;
|
||||
this.oauth2Picasa.Name = "oauth2Picasa";
|
||||
this.oauth2Picasa.Size = new System.Drawing.Size(328, 207);
|
||||
this.oauth2Picasa.Status = "Login required.";
|
||||
this.oauth2Picasa.TabIndex = 0;
|
||||
this.oauth2Picasa.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oauth2Picasa_OpenButtonClicked);
|
||||
this.oauth2Picasa.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oauth2Picasa_CompleteButtonClicked);
|
||||
this.oauth2Picasa.RefreshButtonClicked += new UploadersLib.GUI.OAuth2Control.RefreshButtonClickedEventHandler(this.oauth2Picasa_RefreshButtonClicked);
|
||||
//
|
||||
// tcUploaders
|
||||
//
|
||||
|
@ -3745,208 +3805,6 @@ private void InitializeComponent()
|
|||
this.ttlvMain.Size = new System.Drawing.Size(994, 551);
|
||||
this.ttlvMain.TabIndex = 0;
|
||||
//
|
||||
// oauth2Imgur
|
||||
//
|
||||
this.oauth2Imgur.Location = new System.Drawing.Point(16, 16);
|
||||
this.oauth2Imgur.LoginStatus = false;
|
||||
this.oauth2Imgur.Name = "oauth2Imgur";
|
||||
this.oauth2Imgur.Size = new System.Drawing.Size(328, 207);
|
||||
this.oauth2Imgur.Status = "Status: Login required.";
|
||||
this.oauth2Imgur.TabIndex = 0;
|
||||
this.oauth2Imgur.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oauth2Imgur_OpenButtonClicked);
|
||||
this.oauth2Imgur.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oauth2Imgur_CompleteButtonClicked);
|
||||
this.oauth2Imgur.RefreshButtonClicked += new UploadersLib.GUI.OAuth2Control.RefreshButtonClickedEventHandler(this.oauth2Imgur_RefreshButtonClicked);
|
||||
//
|
||||
// atcImgurAccountType
|
||||
//
|
||||
this.atcImgurAccountType.Location = new System.Drawing.Point(8, 232);
|
||||
this.atcImgurAccountType.Name = "atcImgurAccountType";
|
||||
this.atcImgurAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
|
||||
this.atcImgurAccountType.Size = new System.Drawing.Size(208, 32);
|
||||
this.atcImgurAccountType.TabIndex = 4;
|
||||
this.atcImgurAccountType.AccountTypeChanged += new UploadersLib.GUI.AccountTypeControl.AccountTypeChangedEventHandler(this.atcImgurAccountType_AccountTypeChanged);
|
||||
//
|
||||
// atcImageShackAccountType
|
||||
//
|
||||
this.atcImageShackAccountType.Location = new System.Drawing.Point(8, 16);
|
||||
this.atcImageShackAccountType.Name = "atcImageShackAccountType";
|
||||
this.atcImageShackAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
|
||||
this.atcImageShackAccountType.Size = new System.Drawing.Size(272, 29);
|
||||
this.atcImageShackAccountType.TabIndex = 0;
|
||||
this.atcImageShackAccountType.AccountTypeChanged += new UploadersLib.GUI.AccountTypeControl.AccountTypeChangedEventHandler(this.atcImageShackAccountType_AccountTypeChanged);
|
||||
//
|
||||
// atcTinyPicAccountType
|
||||
//
|
||||
this.atcTinyPicAccountType.Location = new System.Drawing.Point(8, 16);
|
||||
this.atcTinyPicAccountType.Name = "atcTinyPicAccountType";
|
||||
this.atcTinyPicAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
|
||||
this.atcTinyPicAccountType.Size = new System.Drawing.Size(272, 29);
|
||||
this.atcTinyPicAccountType.TabIndex = 0;
|
||||
this.atcTinyPicAccountType.AccountTypeChanged += new UploadersLib.GUI.AccountTypeControl.AccountTypeChangedEventHandler(this.atcTinyPicAccountType_AccountTypeChanged);
|
||||
//
|
||||
// oauth2Picasa
|
||||
//
|
||||
this.oauth2Picasa.Location = new System.Drawing.Point(16, 16);
|
||||
this.oauth2Picasa.LoginStatus = false;
|
||||
this.oauth2Picasa.Name = "oauth2Picasa";
|
||||
this.oauth2Picasa.Size = new System.Drawing.Size(328, 207);
|
||||
this.oauth2Picasa.Status = "Login required.";
|
||||
this.oauth2Picasa.TabIndex = 0;
|
||||
this.oauth2Picasa.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oauth2Picasa_OpenButtonClicked);
|
||||
this.oauth2Picasa.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oauth2Picasa_CompleteButtonClicked);
|
||||
this.oauth2Picasa.RefreshButtonClicked += new UploadersLib.GUI.OAuth2Control.RefreshButtonClickedEventHandler(this.oauth2Picasa_RefreshButtonClicked);
|
||||
//
|
||||
// oAuth2Gist
|
||||
//
|
||||
this.oAuth2Gist.Enabled = false;
|
||||
this.oAuth2Gist.IsRefreshable = false;
|
||||
this.oAuth2Gist.Location = new System.Drawing.Point(16, 51);
|
||||
this.oAuth2Gist.LoginStatus = false;
|
||||
this.oAuth2Gist.Name = "oAuth2Gist";
|
||||
this.oAuth2Gist.Size = new System.Drawing.Size(328, 173);
|
||||
this.oAuth2Gist.Status = "Status: Login required.";
|
||||
this.oAuth2Gist.TabIndex = 2;
|
||||
this.oAuth2Gist.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oAuth2Gist_OpenButtonClicked);
|
||||
this.oAuth2Gist.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oAuth2Gist_CompleteButtonClicked);
|
||||
//
|
||||
// atcGistAccountType
|
||||
//
|
||||
this.atcGistAccountType.Location = new System.Drawing.Point(15, 16);
|
||||
this.atcGistAccountType.Name = "atcGistAccountType";
|
||||
this.atcGistAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
|
||||
this.atcGistAccountType.Size = new System.Drawing.Size(214, 29);
|
||||
this.atcGistAccountType.TabIndex = 0;
|
||||
this.atcGistAccountType.AccountTypeChanged += new UploadersLib.GUI.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGistAccountType_AccountTypeChanged);
|
||||
//
|
||||
// oauth2Dropbox
|
||||
//
|
||||
this.oauth2Dropbox.IsRefreshable = false;
|
||||
this.oauth2Dropbox.Location = new System.Drawing.Point(16, 88);
|
||||
this.oauth2Dropbox.LoginStatus = false;
|
||||
this.oauth2Dropbox.Name = "oauth2Dropbox";
|
||||
this.oauth2Dropbox.Size = new System.Drawing.Size(328, 168);
|
||||
this.oauth2Dropbox.Status = "Login required.";
|
||||
this.oauth2Dropbox.TabIndex = 20;
|
||||
this.oauth2Dropbox.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oauth2Dropbox_OpenButtonClicked);
|
||||
this.oauth2Dropbox.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oauth2Dropbox_CompleteButtonClicked);
|
||||
//
|
||||
// oAuthCopy
|
||||
//
|
||||
this.oAuthCopy.IsRefreshable = false;
|
||||
this.oAuthCopy.Location = new System.Drawing.Point(16, 88);
|
||||
this.oAuthCopy.LoginStatus = false;
|
||||
this.oAuthCopy.Name = "oAuthCopy";
|
||||
this.oAuthCopy.Size = new System.Drawing.Size(328, 173);
|
||||
this.oAuthCopy.Status = "Login required.";
|
||||
this.oAuthCopy.TabIndex = 2;
|
||||
this.oAuthCopy.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oAuthCopy_OpenButtonClicked);
|
||||
this.oAuthCopy.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oAuthCopy_CompleteButtonClicked);
|
||||
//
|
||||
// ucFTPAccounts
|
||||
//
|
||||
this.ucFTPAccounts.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.ucFTPAccounts.Location = new System.Drawing.Point(8, 40);
|
||||
this.ucFTPAccounts.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.ucFTPAccounts.Name = "ucFTPAccounts";
|
||||
this.ucFTPAccounts.Size = new System.Drawing.Size(792, 448);
|
||||
this.ucFTPAccounts.TabIndex = 6;
|
||||
//
|
||||
// oauth2GoogleDrive
|
||||
//
|
||||
this.oauth2GoogleDrive.Location = new System.Drawing.Point(16, 16);
|
||||
this.oauth2GoogleDrive.LoginStatus = false;
|
||||
this.oauth2GoogleDrive.Name = "oauth2GoogleDrive";
|
||||
this.oauth2GoogleDrive.Size = new System.Drawing.Size(328, 207);
|
||||
this.oauth2GoogleDrive.Status = "Status: Login required.";
|
||||
this.oauth2GoogleDrive.TabIndex = 0;
|
||||
this.oauth2GoogleDrive.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oauth2GoogleDrive_OpenButtonClicked);
|
||||
this.oauth2GoogleDrive.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oauth2GoogleDrive_CompleteButtonClicked);
|
||||
this.oauth2GoogleDrive.RefreshButtonClicked += new UploadersLib.GUI.OAuth2Control.RefreshButtonClickedEventHandler(this.oauth2GoogleDrive_RefreshButtonClicked);
|
||||
//
|
||||
// oauth2Box
|
||||
//
|
||||
this.oauth2Box.Location = new System.Drawing.Point(16, 16);
|
||||
this.oauth2Box.LoginStatus = false;
|
||||
this.oauth2Box.Name = "oauth2Box";
|
||||
this.oauth2Box.Size = new System.Drawing.Size(328, 207);
|
||||
this.oauth2Box.Status = "Status: Login required.";
|
||||
this.oauth2Box.TabIndex = 0;
|
||||
this.oauth2Box.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oauth2Box_OpenButtonClicked);
|
||||
this.oauth2Box.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oauth2Box_CompleteButtonClicked);
|
||||
this.oauth2Box.RefreshButtonClicked += new UploadersLib.GUI.OAuth2Control.RefreshButtonClickedEventHandler(this.oauth2Box_RefreshButtonClicked);
|
||||
//
|
||||
// atcSendSpaceAccountType
|
||||
//
|
||||
this.atcSendSpaceAccountType.Location = new System.Drawing.Point(8, 16);
|
||||
this.atcSendSpaceAccountType.Name = "atcSendSpaceAccountType";
|
||||
this.atcSendSpaceAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
|
||||
this.atcSendSpaceAccountType.Size = new System.Drawing.Size(214, 29);
|
||||
this.atcSendSpaceAccountType.TabIndex = 0;
|
||||
this.atcSendSpaceAccountType.AccountTypeChanged += new UploadersLib.GUI.AccountTypeControl.AccountTypeChangedEventHandler(this.atcSendSpaceAccountType_AccountTypeChanged);
|
||||
//
|
||||
// oAuthJira
|
||||
//
|
||||
this.oAuthJira.Location = new System.Drawing.Point(473, 13);
|
||||
this.oAuthJira.LoginStatus = false;
|
||||
this.oAuthJira.Name = "oAuthJira";
|
||||
this.oAuthJira.Size = new System.Drawing.Size(328, 207);
|
||||
this.oAuthJira.Status = "Status: Login required.";
|
||||
this.oAuthJira.TabIndex = 1;
|
||||
this.oAuthJira.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oAuthJira_OpenButtonClicked);
|
||||
this.oAuthJira.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oAuthJira_CompleteButtonClicked);
|
||||
this.oAuthJira.RefreshButtonClicked += new UploadersLib.GUI.OAuth2Control.RefreshButtonClickedEventHandler(this.oAuthJira_RefreshButtonClicked);
|
||||
//
|
||||
// ucLocalhostAccounts
|
||||
//
|
||||
this.ucLocalhostAccounts.Location = new System.Drawing.Point(4, 4);
|
||||
this.ucLocalhostAccounts.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.ucLocalhostAccounts.Name = "ucLocalhostAccounts";
|
||||
this.ucLocalhostAccounts.Size = new System.Drawing.Size(828, 357);
|
||||
this.ucLocalhostAccounts.TabIndex = 0;
|
||||
//
|
||||
// oauth2Bitly
|
||||
//
|
||||
this.oauth2Bitly.IsRefreshable = false;
|
||||
this.oauth2Bitly.Location = new System.Drawing.Point(16, 16);
|
||||
this.oauth2Bitly.LoginStatus = false;
|
||||
this.oauth2Bitly.Name = "oauth2Bitly";
|
||||
this.oauth2Bitly.Size = new System.Drawing.Size(328, 168);
|
||||
this.oauth2Bitly.Status = "Login required.";
|
||||
this.oauth2Bitly.TabIndex = 0;
|
||||
this.oauth2Bitly.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oauth2Bitly_OpenButtonClicked);
|
||||
this.oauth2Bitly.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oauth2Bitly_CompleteButtonClicked);
|
||||
//
|
||||
// oauth2GoogleURLShortener
|
||||
//
|
||||
this.oauth2GoogleURLShortener.Location = new System.Drawing.Point(16, 56);
|
||||
this.oauth2GoogleURLShortener.LoginStatus = false;
|
||||
this.oauth2GoogleURLShortener.Name = "oauth2GoogleURLShortener";
|
||||
this.oauth2GoogleURLShortener.Size = new System.Drawing.Size(328, 207);
|
||||
this.oauth2GoogleURLShortener.Status = "Status: Login required.";
|
||||
this.oauth2GoogleURLShortener.TabIndex = 1;
|
||||
this.oauth2GoogleURLShortener.OpenButtonClicked += new UploadersLib.GUI.OAuth2Control.OpenButtonClickedEventHandler(this.oauth2GoogleURLShortener_OpenButtonClicked);
|
||||
this.oauth2GoogleURLShortener.CompleteButtonClicked += new UploadersLib.GUI.OAuth2Control.CompleteButtonClickedEventHandler(this.oauth2GoogleURLShortener_CompleteButtonClicked);
|
||||
this.oauth2GoogleURLShortener.RefreshButtonClicked += new UploadersLib.GUI.OAuth2Control.RefreshButtonClickedEventHandler(this.oauth2GoogleURLShortener_RefreshButtonClicked);
|
||||
//
|
||||
// atcGoogleURLShortenerAccountType
|
||||
//
|
||||
this.atcGoogleURLShortenerAccountType.Location = new System.Drawing.Point(8, 16);
|
||||
this.atcGoogleURLShortenerAccountType.Name = "atcGoogleURLShortenerAccountType";
|
||||
this.atcGoogleURLShortenerAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
|
||||
this.atcGoogleURLShortenerAccountType.Size = new System.Drawing.Size(214, 29);
|
||||
this.atcGoogleURLShortenerAccountType.TabIndex = 0;
|
||||
this.atcGoogleURLShortenerAccountType.AccountTypeChanged += new UploadersLib.GUI.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGoogleURLShortenerAccountType_AccountTypeChanged);
|
||||
//
|
||||
// ucTwitterAccounts
|
||||
//
|
||||
this.ucTwitterAccounts.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ucTwitterAccounts.Location = new System.Drawing.Point(0, 0);
|
||||
this.ucTwitterAccounts.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.ucTwitterAccounts.Name = "ucTwitterAccounts";
|
||||
this.ucTwitterAccounts.Size = new System.Drawing.Size(972, 493);
|
||||
this.ucTwitterAccounts.TabIndex = 0;
|
||||
//
|
||||
// actRapidShareAccountType
|
||||
//
|
||||
this.actRapidShareAccountType.Location = new System.Drawing.Point(8, 16);
|
||||
|
@ -4060,12 +3918,6 @@ private void InitializeComponent()
|
|||
this.gbPhotobucketUserAccount.PerformLayout();
|
||||
this.tpPicasa.ResumeLayout(false);
|
||||
this.tpPicasa.PerformLayout();
|
||||
this.tpTwitPic.ResumeLayout(false);
|
||||
this.tpTwitPic.PerformLayout();
|
||||
this.tpTwitSnaps.ResumeLayout(false);
|
||||
this.tpTwitSnaps.PerformLayout();
|
||||
this.tpYFrog.ResumeLayout(false);
|
||||
this.tpYFrog.PerformLayout();
|
||||
this.tcUploaders.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
|
@ -4386,18 +4238,6 @@ private void InitializeComponent()
|
|||
private System.Windows.Forms.Button btnPhotobucketAuthComplete;
|
||||
private System.Windows.Forms.TextBox txtPhotobucketVerificationCode;
|
||||
private System.Windows.Forms.Label lblPhotobucketAccountStatus;
|
||||
private System.Windows.Forms.TabPage tpTwitPic;
|
||||
private System.Windows.Forms.Label lblTwitPicTip;
|
||||
private System.Windows.Forms.CheckBox chkTwitPicShowFull;
|
||||
private System.Windows.Forms.ComboBox cboTwitPicThumbnailMode;
|
||||
private System.Windows.Forms.Label lblTwitPicThumbnailMode;
|
||||
private System.Windows.Forms.TabPage tpTwitSnaps;
|
||||
private System.Windows.Forms.Label lblTwitSnapsTip;
|
||||
private System.Windows.Forms.TabPage tpYFrog;
|
||||
private System.Windows.Forms.Label lblYFrogPassword;
|
||||
private System.Windows.Forms.Label lblYFrogUsername;
|
||||
private System.Windows.Forms.TextBox txtYFrogPassword;
|
||||
private System.Windows.Forms.TextBox txtYFrogUsername;
|
||||
private System.Windows.Forms.TabPage tpPicasa;
|
||||
private System.Windows.Forms.TextBox txtPicasaAlbumID;
|
||||
private System.Windows.Forms.Label lblPicasaAlbumID;
|
||||
|
|
|
@ -75,9 +75,6 @@ private void FormSettings()
|
|||
uploadersImageList.Images.Add("Flickr", Resources.Flickr);
|
||||
uploadersImageList.Images.Add("Photobucket", Resources.Photobucket);
|
||||
uploadersImageList.Images.Add("Picasa", Resources.Picasa);
|
||||
uploadersImageList.Images.Add("TwitPic", Resources.TwitPic);
|
||||
uploadersImageList.Images.Add("TwitSnaps", Resources.TwitSnaps);
|
||||
uploadersImageList.Images.Add("YFrog", Resources.YFrog);
|
||||
uploadersImageList.Images.Add("Dropbox", Resources.Dropbox);
|
||||
uploadersImageList.Images.Add("Copy", Resources.Copy);
|
||||
uploadersImageList.Images.Add("GoogleDrive", Resources.GoogleDrive);
|
||||
|
@ -87,7 +84,7 @@ private void FormSettings()
|
|||
uploadersImageList.Images.Add("RapidShare", Resources.RapidShare);
|
||||
uploadersImageList.Images.Add("SendSpace", Resources.SendSpace);
|
||||
uploadersImageList.Images.Add("Gett", Resources.Gett);
|
||||
uploadersImageList.Images.Add("Localhostr", Resources.Localhostr);
|
||||
uploadersImageList.Images.Add("Hostr", Resources.Hostr);
|
||||
uploadersImageList.Images.Add("CustomUploader", Resources.globe_network);
|
||||
uploadersImageList.Images.Add("SharedFolders", Resources.server_network);
|
||||
uploadersImageList.Images.Add("Email", Resources.mail);
|
||||
|
@ -109,9 +106,6 @@ private void FormSettings()
|
|||
tpFlickr.ImageKey = "Flickr";
|
||||
tpPhotobucket.ImageKey = "Photobucket";
|
||||
tpPicasa.ImageKey = "Picasa";
|
||||
tpTwitPic.ImageKey = "TwitPic";
|
||||
tpTwitSnaps.ImageKey = "TwitSnaps";
|
||||
tpYFrog.ImageKey = "YFrog";
|
||||
tpDropbox.ImageKey = "Dropbox";
|
||||
tpCopy.ImageKey = "Copy";
|
||||
tpGoogleDrive.ImageKey = "GoogleDrive";
|
||||
|
@ -124,7 +118,7 @@ private void FormSettings()
|
|||
tpEmail.ImageKey = "Email";
|
||||
tpJira.ImageKey = "Jira";
|
||||
tpGe_tt.ImageKey = "Gett";
|
||||
tpHostr.ImageKey = "Localhostr";
|
||||
tpHostr.ImageKey = "Hostr";
|
||||
tpCustomUploaders.ImageKey = "CustomUploader";
|
||||
tpPastebin.ImageKey = "Pastebin";
|
||||
tpPushbullet.ImageKey = "Pushbullet";
|
||||
|
@ -177,19 +171,6 @@ public void LoadSettings(UploadersConfig uploadersConfig)
|
|||
{
|
||||
#region Image uploaders
|
||||
|
||||
// ImageShack
|
||||
|
||||
atcImageShackAccountType.SelectedAccountType = Config.ImageShackSettings.AccountType;
|
||||
txtImageShackUsername.Text = Config.ImageShackSettings.Username;
|
||||
txtImageShackPassword.Text = Config.ImageShackSettings.Password;
|
||||
cbImageShackIsPublic.Checked = Config.ImageShackSettings.IsPublic;
|
||||
|
||||
// TinyPic
|
||||
|
||||
atcTinyPicAccountType.SelectedAccountType = Config.TinyPicAccountType;
|
||||
txtTinyPicUsername.Text = Config.TinyPicUsername;
|
||||
txtTinyPicPassword.Text = Config.TinyPicPassword;
|
||||
|
||||
// Imgur
|
||||
|
||||
atcImgurAccountType.SelectedAccountType = Config.ImgurAccountType;
|
||||
|
@ -205,6 +186,24 @@ public void LoadSettings(UploadersConfig uploadersConfig)
|
|||
btnImgurRefreshAlbumList.Enabled = true;
|
||||
}
|
||||
|
||||
// ImageShack
|
||||
|
||||
atcImageShackAccountType.SelectedAccountType = Config.ImageShackSettings.AccountType;
|
||||
txtImageShackUsername.Text = Config.ImageShackSettings.Username;
|
||||
txtImageShackPassword.Text = Config.ImageShackSettings.Password;
|
||||
cbImageShackIsPublic.Checked = Config.ImageShackSettings.IsPublic;
|
||||
|
||||
// TinyPic
|
||||
|
||||
atcTinyPicAccountType.SelectedAccountType = Config.TinyPicAccountType;
|
||||
txtTinyPicUsername.Text = Config.TinyPicUsername;
|
||||
txtTinyPicPassword.Text = Config.TinyPicPassword;
|
||||
|
||||
// Flickr
|
||||
|
||||
pgFlickrAuthInfo.SelectedObject = Config.FlickrAuthInfo;
|
||||
pgFlickrSettings.SelectedObject = Config.FlickrSettings;
|
||||
|
||||
// Photobucket
|
||||
|
||||
if (OAuthInfo.CheckOAuth(Config.PhotobucketOAuthInfo))
|
||||
|
@ -237,23 +236,6 @@ public void LoadSettings(UploadersConfig uploadersConfig)
|
|||
|
||||
txtPicasaAlbumID.Text = Config.PicasaAlbumID;
|
||||
|
||||
// Flickr
|
||||
|
||||
pgFlickrAuthInfo.SelectedObject = Config.FlickrAuthInfo;
|
||||
pgFlickrSettings.SelectedObject = Config.FlickrSettings;
|
||||
|
||||
// TwitPic
|
||||
|
||||
chkTwitPicShowFull.Checked = Config.TwitPicShowFull;
|
||||
cboTwitPicThumbnailMode.Items.Clear();
|
||||
cboTwitPicThumbnailMode.Items.AddRange(Helpers.GetEnumDescriptions<TwitPicThumbnailType>());
|
||||
cboTwitPicThumbnailMode.SelectedIndex = (int)Config.TwitPicThumbnailMode;
|
||||
|
||||
// YFrog
|
||||
|
||||
txtYFrogUsername.Text = Config.YFrogUsername;
|
||||
txtYFrogPassword.Text = Config.YFrogPassword;
|
||||
|
||||
#endregion Image uploaders
|
||||
|
||||
#region Text uploaders
|
||||
|
@ -547,6 +529,58 @@ public void LoadSettings(UploadersConfig uploadersConfig)
|
|||
|
||||
#region Image Uploaders
|
||||
|
||||
#region Imgur
|
||||
|
||||
private void atcImgurAccountType_AccountTypeChanged(AccountType accountType)
|
||||
{
|
||||
Config.ImgurAccountType = accountType;
|
||||
}
|
||||
|
||||
private void cbImgurThumbnailType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
Config.ImgurThumbnailType = (ImgurThumbnailType)cbImgurThumbnailType.SelectedIndex;
|
||||
}
|
||||
|
||||
private void txtImgurAlbumID_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
Config.ImgurAlbumID = txtImgurAlbumID.Text;
|
||||
}
|
||||
|
||||
private void btnImgurRefreshAlbumList_Click(object sender, EventArgs e)
|
||||
{
|
||||
ImgurRefreshAlbumList();
|
||||
}
|
||||
|
||||
private void lvImgurAlbumList_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (lvImgurAlbumList.SelectedItems.Count > 0)
|
||||
{
|
||||
ListViewItem lvi = lvImgurAlbumList.SelectedItems[0];
|
||||
if (lvi.Tag is ImgurAlbumData)
|
||||
{
|
||||
ImgurAlbumData album = (ImgurAlbumData)lvi.Tag;
|
||||
txtImgurAlbumID.Text = album.id;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void oauth2Imgur_OpenButtonClicked()
|
||||
{
|
||||
ImgurAuthOpen();
|
||||
}
|
||||
|
||||
private void oauth2Imgur_CompleteButtonClicked(string code)
|
||||
{
|
||||
ImgurAuthComplete(code);
|
||||
}
|
||||
|
||||
private void oauth2Imgur_RefreshButtonClicked()
|
||||
{
|
||||
ImgurAuthRefresh();
|
||||
}
|
||||
|
||||
#endregion Imgur
|
||||
|
||||
#region ImageShack
|
||||
|
||||
private void atcImageShackAccountType_AccountTypeChanged(AccountType accountType)
|
||||
|
@ -670,57 +704,29 @@ private void btnTinyPicOpenMyImages_Click(object sender, EventArgs e)
|
|||
|
||||
#endregion TinyPic
|
||||
|
||||
#region Imgur
|
||||
#region Flickr
|
||||
|
||||
private void atcImgurAccountType_AccountTypeChanged(AccountType accountType)
|
||||
private void btnFlickrOpenAuthorize_Click(object sender, EventArgs e)
|
||||
{
|
||||
Config.ImgurAccountType = accountType;
|
||||
FlickrAuthOpen();
|
||||
}
|
||||
|
||||
private void cbImgurThumbnailType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
private void btnFlickrCompleteAuth_Click(object sender, EventArgs e)
|
||||
{
|
||||
Config.ImgurThumbnailType = (ImgurThumbnailType)cbImgurThumbnailType.SelectedIndex;
|
||||
FlickrAuthComplete();
|
||||
}
|
||||
|
||||
private void txtImgurAlbumID_TextChanged(object sender, EventArgs e)
|
||||
private void btnFlickrCheckToken_Click(object sender, EventArgs e)
|
||||
{
|
||||
Config.ImgurAlbumID = txtImgurAlbumID.Text;
|
||||
FlickrCheckToken();
|
||||
}
|
||||
|
||||
private void btnImgurRefreshAlbumList_Click(object sender, EventArgs e)
|
||||
private void btnFlickrOpenImages_Click(object sender, EventArgs e)
|
||||
{
|
||||
ImgurRefreshAlbumList();
|
||||
FlickrOpenImages();
|
||||
}
|
||||
|
||||
private void lvImgurAlbumList_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (lvImgurAlbumList.SelectedItems.Count > 0)
|
||||
{
|
||||
ListViewItem lvi = lvImgurAlbumList.SelectedItems[0];
|
||||
if (lvi.Tag is ImgurAlbumData)
|
||||
{
|
||||
ImgurAlbumData album = (ImgurAlbumData)lvi.Tag;
|
||||
txtImgurAlbumID.Text = album.id;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void oauth2Imgur_OpenButtonClicked()
|
||||
{
|
||||
ImgurAuthOpen();
|
||||
}
|
||||
|
||||
private void oauth2Imgur_CompleteButtonClicked(string code)
|
||||
{
|
||||
ImgurAuthComplete(code);
|
||||
}
|
||||
|
||||
private void oauth2Imgur_RefreshButtonClicked()
|
||||
{
|
||||
ImgurAuthRefresh();
|
||||
}
|
||||
|
||||
#endregion Imgur
|
||||
#endregion Flickr
|
||||
|
||||
#region Photobucket
|
||||
|
||||
|
@ -810,58 +816,6 @@ private void lvPicasaAlbumList_SelectedIndexChanged(object sender, EventArgs e)
|
|||
|
||||
#endregion Picasa
|
||||
|
||||
#region Flickr
|
||||
|
||||
private void btnFlickrOpenAuthorize_Click(object sender, EventArgs e)
|
||||
{
|
||||
FlickrAuthOpen();
|
||||
}
|
||||
|
||||
private void btnFlickrCompleteAuth_Click(object sender, EventArgs e)
|
||||
{
|
||||
FlickrAuthComplete();
|
||||
}
|
||||
|
||||
private void btnFlickrCheckToken_Click(object sender, EventArgs e)
|
||||
{
|
||||
FlickrCheckToken();
|
||||
}
|
||||
|
||||
private void btnFlickrOpenImages_Click(object sender, EventArgs e)
|
||||
{
|
||||
FlickrOpenImages();
|
||||
}
|
||||
|
||||
#endregion Flickr
|
||||
|
||||
#region TwitPic
|
||||
|
||||
private void cboTwitPicThumbnailMode_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
Config.TwitPicThumbnailMode = (TwitPicThumbnailType)cboTwitPicThumbnailMode.SelectedIndex;
|
||||
}
|
||||
|
||||
private void chkTwitPicShowFull_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
Config.TwitPicShowFull = chkTwitPicShowFull.Checked;
|
||||
}
|
||||
|
||||
#endregion TwitPic
|
||||
|
||||
#region YFrog
|
||||
|
||||
private void txtYFrogUsername_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
Config.YFrogUsername = txtYFrogUsername.Text;
|
||||
}
|
||||
|
||||
private void txtYFrogPassword_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
Config.YFrogPassword = txtYFrogPassword.Text;
|
||||
}
|
||||
|
||||
#endregion YFrog
|
||||
|
||||
#endregion Image Uploaders
|
||||
|
||||
#region Text Uploaders
|
||||
|
|
|
@ -39,7 +39,6 @@ You should have received a copy of the GNU General Public License
|
|||
using UploadersLib.GUI;
|
||||
using UploadersLib.HelperClasses;
|
||||
using UploadersLib.ImageUploaders;
|
||||
using UploadersLib.SocialServices;
|
||||
using UploadersLib.TextUploaders;
|
||||
using UploadersLib.URLShorteners;
|
||||
|
||||
|
|
|
@ -27,11 +27,12 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.SocialServices
|
||||
namespace UploadersLib.ImageUploaders
|
||||
{
|
||||
public class Twitter : Uploader, IOAuth
|
||||
public class Twitter : ImageUploader, IOAuth
|
||||
{
|
||||
private const string APIVersion = "1.1";
|
||||
private const int characters_reserved_per_media = 23;
|
||||
|
@ -57,6 +58,21 @@ public bool GetAccessToken(string verificationCode)
|
|||
return GetAccessToken("https://api.twitter.com/oauth/access_token", AuthInfo);
|
||||
}
|
||||
|
||||
public override UploadResult Upload(Stream stream, string fileName)
|
||||
{
|
||||
using (TwitterMsg twitterMsg = new TwitterMsg())
|
||||
{
|
||||
twitterMsg.Length = Twitter.MessageMediaLimit;
|
||||
|
||||
if (twitterMsg.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
return TweetMessageWithMedia(twitterMsg.Message, stream, fileName);
|
||||
}
|
||||
}
|
||||
|
||||
return new UploadResult() { IsURLExpected = false };
|
||||
}
|
||||
|
||||
public TwitterStatusResponse TweetMessage(string message)
|
||||
{
|
||||
if (message.Length > MessageLimit)
|
|
@ -1,62 +0,0 @@
|
|||
#region License Information (GPL v3)
|
||||
|
||||
/*
|
||||
ShareX - A program that allows you to take screenshots and share any file type
|
||||
Copyright (C) 2007-2014 ShareX Developers
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
Optionally you can also view the license at <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using UploadersLib.HelperClasses;
|
||||
using UploadersLib.SocialServices;
|
||||
|
||||
namespace UploadersLib.ImageUploaders
|
||||
{
|
||||
public sealed class TwitterUploader : ImageUploader
|
||||
{
|
||||
public OAuthInfo AuthInfo { get; set; }
|
||||
|
||||
public TwitterUploader(OAuthInfo oauth)
|
||||
{
|
||||
AuthInfo = oauth;
|
||||
}
|
||||
|
||||
public override UploadResult Upload(Stream stream, string fileName)
|
||||
{
|
||||
using (TwitterMsg twitterMsg = new TwitterMsg())
|
||||
{
|
||||
twitterMsg.Length = Twitter.MessageMediaLimit;
|
||||
|
||||
if (twitterMsg.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
Twitter twitter = new Twitter(AuthInfo);
|
||||
return twitter.TweetMessageWithMedia(twitterMsg.Message, stream, fileName);
|
||||
}
|
||||
}
|
||||
|
||||
return new UploadResult() { IsURLExpected = false };
|
||||
}
|
||||
}
|
||||
}
|
50
UploadersLib/Properties/Resources.Designer.cs
generated
50
UploadersLib/Properties/Resources.Designer.cs
generated
|
@ -240,6 +240,16 @@ internal static System.Drawing.Icon GoogleDrive {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon Hostr {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Hostr", resourceCulture);
|
||||
return ((System.Drawing.Icon)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
|
@ -270,16 +280,6 @@ internal static System.Drawing.Bitmap jira {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon Localhostr {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Localhostr", resourceCulture);
|
||||
return ((System.Drawing.Icon)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
@ -650,26 +650,6 @@ internal static System.Drawing.Icon TinyPic {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon TwitPic {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("TwitPic", resourceCulture);
|
||||
return ((System.Drawing.Icon)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon TwitSnaps {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("TwitSnaps", resourceCulture);
|
||||
return ((System.Drawing.Icon)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
|
@ -690,16 +670,6 @@ internal static System.Drawing.Icon Upaste {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon YFrog {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("YFrog", resourceCulture);
|
||||
return ((System.Drawing.Icon)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
|
|
|
@ -154,18 +154,9 @@
|
|||
<data name="TinyPic" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Favicons\TinyPic.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="TwitPic" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Favicons\TwitPic.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="TwitSnaps" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Favicons\TwitSnaps.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Twitter" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Favicons\Twitter.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="YFrog" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Favicons\YFrog.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="folder_gray" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\folder_gray.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
@ -286,9 +277,6 @@
|
|||
<data name="Picasa" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Favicons\Picasa.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Localhostr" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Favicons\Localhostr.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="GoogleDrive" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Favicons\GoogleDrive.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
@ -313,4 +301,7 @@
|
|||
<data name="GitHub" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Favicons\GitHub.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Hostr" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\favicons\hostr.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
|
@ -39,6 +39,13 @@ public class UploadersConfig : SettingsBase<UploadersConfig>
|
|||
{
|
||||
#region Image uploaders
|
||||
|
||||
// Imgur
|
||||
|
||||
public AccountType ImgurAccountType = AccountType.Anonymous;
|
||||
public ImgurThumbnailType ImgurThumbnailType = ImgurThumbnailType.Large_Thumbnail;
|
||||
public OAuth2Info ImgurOAuth2Info = null;
|
||||
public string ImgurAlbumID = string.Empty;
|
||||
|
||||
// ImageShack
|
||||
|
||||
public ImageShackOptions ImageShackSettings = new ImageShackOptions();
|
||||
|
@ -51,13 +58,6 @@ public class UploadersConfig : SettingsBase<UploadersConfig>
|
|||
public string TinyPicPassword = string.Empty;
|
||||
public bool TinyPicRememberUserPass = false;
|
||||
|
||||
// Imgur
|
||||
|
||||
public AccountType ImgurAccountType = AccountType.Anonymous;
|
||||
public ImgurThumbnailType ImgurThumbnailType = ImgurThumbnailType.Large_Thumbnail;
|
||||
public OAuth2Info ImgurOAuth2Info = null;
|
||||
public string ImgurAlbumID = string.Empty;
|
||||
|
||||
// Flickr
|
||||
|
||||
public FlickrAuthInfo FlickrAuthInfo = new FlickrAuthInfo();
|
||||
|
@ -68,16 +68,6 @@ public class UploadersConfig : SettingsBase<UploadersConfig>
|
|||
public OAuthInfo PhotobucketOAuthInfo = null;
|
||||
public PhotobucketAccountInfo PhotobucketAccountInfo = null;
|
||||
|
||||
// TwitPic
|
||||
|
||||
public bool TwitPicShowFull = false;
|
||||
public TwitPicThumbnailType TwitPicThumbnailMode = TwitPicThumbnailType.Thumb;
|
||||
|
||||
// YFrog
|
||||
|
||||
public string YFrogUsername = string.Empty;
|
||||
public string YFrogPassword = string.Empty;
|
||||
|
||||
// Picasa
|
||||
|
||||
public OAuth2Info PicasaOAuth2Info = null;
|
||||
|
@ -306,11 +296,6 @@ public bool IsActive(ImageDestination destination)
|
|||
return OAuth2Info.CheckOAuth(PicasaOAuth2Info);
|
||||
case ImageDestination.Twitter:
|
||||
return TwitterOAuthInfoList != null && TwitterOAuthInfoList.IsValidIndex(TwitterSelectedAccount);
|
||||
case ImageDestination.Twitpic:
|
||||
case ImageDestination.Twitsnaps:
|
||||
return TwitterOAuthInfoList != null && TwitterOAuthInfoList.IsValidIndex(TwitterSelectedAccount);
|
||||
case ImageDestination.yFrog:
|
||||
return !string.IsNullOrEmpty(YFrogUsername) && !string.IsNullOrEmpty(YFrogPassword);
|
||||
case ImageDestination.CustomImageUploader:
|
||||
return CustomUploadersList != null && CustomUploadersList.IsValidIndex(CustomImageUploaderSelected);
|
||||
default:
|
||||
|
|
|
@ -178,7 +178,6 @@
|
|||
<Compile Include="FileUploaders\Pushbullet.cs" />
|
||||
<Compile Include="FileUploaders\GfycatUploader.cs" />
|
||||
<Compile Include="HelperClasses\OAuth\IOAuthBase.cs" />
|
||||
<Compile Include="ImageUploaders\TwitterUploader.cs" />
|
||||
<Compile Include="TextUploaders\Upaste.cs" />
|
||||
<Compile Include="UploadersConfig.cs" />
|
||||
<Compile Include="GUI\UserPassBox.cs">
|
||||
|
@ -246,7 +245,7 @@
|
|||
<Compile Include="HelperClasses\CustomUploaderItem.cs" />
|
||||
<Compile Include="ImageUploaders\ImmioUploader.cs" />
|
||||
<Compile Include="ImageUploaders\Photobucket.cs" />
|
||||
<Compile Include="SocialServices\Twitter.cs" />
|
||||
<Compile Include="ImageUploaders\Twitter.cs" />
|
||||
<Compile Include="HelperClasses\ProgressManager.cs" />
|
||||
<Compile Include="HelperClasses\TCPClient.cs" />
|
||||
<Compile Include="ImageUploader.cs" />
|
||||
|
@ -366,17 +365,13 @@
|
|||
<None Include="Favicons\ImageShack.ico" />
|
||||
<None Include="Favicons\Imgur.ico" />
|
||||
<None Include="Favicons\Minus.ico" />
|
||||
<None Include="Favicons\Localhostr.ico" />
|
||||
<None Include="Favicons\jira.png" />
|
||||
<None Include="Favicons\Pastebin.ico" />
|
||||
<None Include="Favicons\Photobucket.ico" />
|
||||
<None Include="Favicons\RapidShare.ico" />
|
||||
<None Include="Favicons\SendSpace.ico" />
|
||||
<None Include="Favicons\TinyPic.ico" />
|
||||
<None Include="Favicons\TwitPic.ico" />
|
||||
<None Include="Favicons\TwitSnaps.ico" />
|
||||
<None Include="Favicons\Twitter.ico" />
|
||||
<None Include="Favicons\YFrog.ico" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Resources\server-network.png" />
|
||||
<None Include="Resources\mail.png" />
|
||||
|
@ -427,6 +422,7 @@
|
|||
<ItemGroup>
|
||||
<Content Include="Favicons\AmazonS3.ico" />
|
||||
<None Include="Favicons\GitHub.ico" />
|
||||
<Content Include="Favicons\Hostr.ico" />
|
||||
<Content Include="Favicons\Pushbullet.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
|
Loading…
Reference in a new issue