Added Pastebin syntax highlighting list

This commit is contained in:
Jaex 2014-09-26 05:56:41 +03:00
parent 6639ff35c2
commit 300317ddfd
3 changed files with 593 additions and 320 deletions

View file

@ -51,7 +51,6 @@ private void InitializeComponent()
this.lblCustomUploaderResponseType = new System.Windows.Forms.Label();
this.cbCustomUploaderURLShortener = new System.Windows.Forms.ComboBox();
this.gbCustomUploaders = new System.Windows.Forms.GroupBox();
this.eiCustomUploaders = new HelpersLib.ExportImportControl();
this.lbCustomUploaderList = new System.Windows.Forms.ListBox();
this.btnCustomUploaderRemove = new System.Windows.Forms.Button();
this.btnCustomUploaderClear = new System.Windows.Forms.Button();
@ -94,16 +93,12 @@ private void InitializeComponent()
this.txtCustomUploaderArgName = new System.Windows.Forms.TextBox();
this.tpTwitter = new System.Windows.Forms.TabPage();
this.btnTwitterLogin = new System.Windows.Forms.Button();
this.ucTwitterAccounts = new UploadersLib.AccountsControl();
this.tpURLShorteners = new System.Windows.Forms.TabPage();
this.tcURLShorteners = new System.Windows.Forms.TabControl();
this.tpBitly = new System.Windows.Forms.TabPage();
this.txtBitlyDomain = new System.Windows.Forms.TextBox();
this.lblBitlyDomain = new System.Windows.Forms.Label();
this.oauth2Bitly = new UploadersLib.OAuthControl();
this.tpGoogleURLShortener = new System.Windows.Forms.TabPage();
this.oauth2GoogleURLShortener = new UploadersLib.OAuthControl();
this.atcGoogleURLShortenerAccountType = new UploadersLib.AccountTypeControl();
this.tpYourls = new System.Windows.Forms.TabPage();
this.txtYourlsPassword = new System.Windows.Forms.TextBox();
this.txtYourlsUsername = new System.Windows.Forms.TextBox();
@ -123,7 +118,6 @@ private void InitializeComponent()
this.tpFileUploaders = new System.Windows.Forms.TabPage();
this.tcFileUploaders = new System.Windows.Forms.TabControl();
this.tpFTP = new System.Windows.Forms.TabPage();
this.eiFTP = new HelpersLib.ExportImportControl();
this.btnFtpClient = new System.Windows.Forms.Button();
this.lblFtpFiles = new System.Windows.Forms.Label();
this.lblFtpText = new System.Windows.Forms.Label();
@ -131,9 +125,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.tpDropbox = new System.Windows.Forms.TabPage();
this.oauth2Dropbox = new UploadersLib.OAuthControl();
this.cbDropboxURLType = new System.Windows.Forms.ComboBox();
this.cbDropboxAutoCreateShareableLink = new System.Windows.Forms.CheckBox();
this.btnDropboxShowFiles = new System.Windows.Forms.Button();
@ -147,20 +139,13 @@ private void InitializeComponent()
this.cbGoogleDriveUseFolder = new System.Windows.Forms.CheckBox();
this.txtGoogleDriveFolderID = new System.Windows.Forms.TextBox();
this.lblGoogleDriveFolderID = new System.Windows.Forms.Label();
this.lvGoogleDriveFoldersList = new HelpersLib.MyListView();
this.chGoogleDriveTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chGoogleDriveDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.btnGoogleDriveRefreshFolders = new System.Windows.Forms.Button();
this.cbGoogleDriveIsPublic = new System.Windows.Forms.CheckBox();
this.oauth2GoogleDrive = new UploadersLib.OAuthControl();
this.tpBox = new System.Windows.Forms.TabPage();
this.lblBoxFolderTip = new System.Windows.Forms.Label();
this.cbBoxShare = new System.Windows.Forms.CheckBox();
this.lvBoxFolders = new HelpersLib.MyListView();
this.chBoxFoldersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.lblBoxFolderID = new System.Windows.Forms.Label();
this.btnBoxRefreshFolders = new System.Windows.Forms.Button();
this.oauth2Box = new UploadersLib.OAuthControl();
this.tpCopy = new System.Windows.Forms.TabPage();
this.pbCopyLogo = new System.Windows.Forms.PictureBox();
this.lblCopyURLType = new System.Windows.Forms.Label();
@ -169,9 +154,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.OAuthControl();
this.tpOneDrive = new System.Windows.Forms.TabPage();
this.oAuth2OneDrive = new UploadersLib.OAuthControl();
this.tpAmazonS3 = new System.Windows.Forms.TabPage();
this.txtAmazonS3CustomDomain = new System.Windows.Forms.TextBox();
this.lblAmazonS3PathPreviewLabel = new System.Windows.Forms.Label();
@ -241,7 +224,6 @@ private void InitializeComponent()
this.lblSendSpaceUsername = new System.Windows.Forms.Label();
this.txtSendSpacePassword = new System.Windows.Forms.TextBox();
this.txtSendSpaceUserName = new System.Windows.Forms.TextBox();
this.atcSendSpaceAccountType = new UploadersLib.AccountTypeControl();
this.tpMediaCrush = new System.Windows.Forms.TabPage();
this.cbMediaCrushDirectLink = new System.Windows.Forms.CheckBox();
this.tpGe_tt = new System.Windows.Forms.TabPage();
@ -281,7 +263,6 @@ private void InitializeComponent()
this.txtJiraConfigHelp = new System.Windows.Forms.TextBox();
this.txtJiraHost = new System.Windows.Forms.TextBox();
this.lblJiraHost = new System.Windows.Forms.Label();
this.oAuthJira = new UploadersLib.OAuthControl();
this.tpEmail = new System.Windows.Forms.TabPage();
this.chkEmailConfirm = new System.Windows.Forms.CheckBox();
this.lblEmailSmtpServer = new System.Windows.Forms.Label();
@ -304,13 +285,11 @@ private void InitializeComponent()
this.lblSharedFolderImages = new System.Windows.Forms.Label();
this.cboSharedFolderText = new System.Windows.Forms.ComboBox();
this.cboSharedFolderImages = new System.Windows.Forms.ComboBox();
this.ucLocalhostAccounts = new UploadersLib.AccountsControl();
this.btnCopyShowFiles = new System.Windows.Forms.Button();
this.tpTextUploaders = new System.Windows.Forms.TabPage();
this.tcTextUploaders = new System.Windows.Forms.TabControl();
this.tpPastebin = new System.Windows.Forms.TabPage();
this.btnPastebinRegister = new System.Windows.Forms.Button();
this.txtPastebinSyntax = new System.Windows.Forms.TextBox();
this.lblPastebinSyntax = new System.Windows.Forms.Label();
this.lblPastebinExpiration = new System.Windows.Forms.Label();
this.lblPastebinPrivacy = new System.Windows.Forms.Label();
@ -329,8 +308,6 @@ private void InitializeComponent()
this.txtPaste_eeUserAPIKey = new System.Windows.Forms.TextBox();
this.tpGist = new System.Windows.Forms.TabPage();
this.chkGistPublishPublic = new System.Windows.Forms.CheckBox();
this.oAuth2Gist = new UploadersLib.OAuthControl();
this.atcGistAccountType = new UploadersLib.AccountTypeControl();
this.tpUpaste = new System.Windows.Forms.TabPage();
this.cbUpasteIsPublic = new System.Windows.Forms.CheckBox();
this.lblUpasteUserKey = new System.Windows.Forms.Label();
@ -340,8 +317,6 @@ private void InitializeComponent()
this.tpImgur = new System.Windows.Forms.TabPage();
this.cbImgurUploadSelectedAlbum = new System.Windows.Forms.CheckBox();
this.cbImgurDirectLink = new System.Windows.Forms.CheckBox();
this.atcImgurAccountType = new UploadersLib.AccountTypeControl();
this.oauth2Imgur = new UploadersLib.OAuthControl();
this.lvImgurAlbumList = new System.Windows.Forms.ListView();
this.chImgurID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chImgurTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
@ -359,7 +334,6 @@ private void InitializeComponent()
this.txtImageShackPassword = new System.Windows.Forms.TextBox();
this.lblImageShackPassword = new System.Windows.Forms.Label();
this.tpTinyPic = new System.Windows.Forms.TabPage();
this.atcTinyPicAccountType = new UploadersLib.AccountTypeControl();
this.btnTinyPicLogin = new System.Windows.Forms.Button();
this.txtTinyPicPassword = new System.Windows.Forms.TextBox();
this.lblTinyPicPassword = new System.Windows.Forms.Label();
@ -400,8 +374,8 @@ private void InitializeComponent()
this.chPicasaName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chPicasaDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.btnPicasaRefreshAlbumList = new System.Windows.Forms.Button();
this.oauth2Picasa = new UploadersLib.OAuthControl();
this.tpChevereto = new System.Windows.Forms.TabPage();
this.cbCheveretoDirectURL = new System.Windows.Forms.CheckBox();
this.lblCheveretoWebsiteTip = new System.Windows.Forms.Label();
this.lblCheveretoWebsite = new System.Windows.Forms.Label();
this.txtCheveretoWebsite = new System.Windows.Forms.TextBox();
@ -409,9 +383,35 @@ private void InitializeComponent()
this.lblCheveretoAPIKey = new System.Windows.Forms.Label();
this.tcUploaders = new System.Windows.Forms.TabControl();
this.lblWidthHint = new System.Windows.Forms.Label();
this.atcImgurAccountType = new UploadersLib.AccountTypeControl();
this.oauth2Imgur = new UploadersLib.OAuthControl();
this.atcTinyPicAccountType = new UploadersLib.AccountTypeControl();
this.oauth2Picasa = new UploadersLib.OAuthControl();
this.oAuth2Gist = new UploadersLib.OAuthControl();
this.atcGistAccountType = new UploadersLib.AccountTypeControl();
this.eiFTP = new HelpersLib.ExportImportControl();
this.ucFTPAccounts = new UploadersLib.AccountsControl();
this.oauth2Dropbox = new UploadersLib.OAuthControl();
this.lvGoogleDriveFoldersList = new HelpersLib.MyListView();
this.chGoogleDriveTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chGoogleDriveDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.oauth2GoogleDrive = new UploadersLib.OAuthControl();
this.lvBoxFolders = new HelpersLib.MyListView();
this.chBoxFoldersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.oauth2Box = new UploadersLib.OAuthControl();
this.oAuthCopy = new UploadersLib.OAuthControl();
this.oAuth2OneDrive = new UploadersLib.OAuthControl();
this.atcSendSpaceAccountType = new UploadersLib.AccountTypeControl();
this.oAuthJira = new UploadersLib.OAuthControl();
this.ucLocalhostAccounts = new UploadersLib.AccountsControl();
this.oauth2Bitly = new UploadersLib.OAuthControl();
this.oauth2GoogleURLShortener = new UploadersLib.OAuthControl();
this.atcGoogleURLShortenerAccountType = new UploadersLib.AccountTypeControl();
this.eiCustomUploaders = new HelpersLib.ExportImportControl();
this.ucTwitterAccounts = new UploadersLib.AccountsControl();
this.ttlvMain = new HelpersLib.TabToListView();
this.actRapidShareAccountType = new UploadersLib.AccountTypeControl();
this.cbCheveretoDirectURL = new System.Windows.Forms.CheckBox();
this.cbPastebinSyntax = new System.Windows.Forms.ComboBox();
this.tpOtherUploaders.SuspendLayout();
this.tcOtherUploaders.SuspendLayout();
this.tpCustomUploaders.SuspendLayout();
@ -721,16 +721,6 @@ private void InitializeComponent()
this.gbCustomUploaders.TabStop = false;
this.gbCustomUploaders.Text = "Uploaders";
//
// eiCustomUploaders
//
this.eiCustomUploaders.Location = new System.Drawing.Point(8, 328);
this.eiCustomUploaders.Name = "eiCustomUploaders";
this.eiCustomUploaders.ObjectType = null;
this.eiCustomUploaders.Size = new System.Drawing.Size(140, 26);
this.eiCustomUploaders.TabIndex = 5;
this.eiCustomUploaders.ExportRequested += new HelpersLib.ExportImportControl.ExportEventHandler(this.eiCustomUploaders_ExportRequested);
this.eiCustomUploaders.ImportRequested += new HelpersLib.ExportImportControl.ImportEventHandler(this.eiCustomUploaders_ImportRequested);
//
// lbCustomUploaderList
//
this.lbCustomUploaderList.FormattingEnabled = true;
@ -1129,15 +1119,6 @@ private void InitializeComponent()
this.btnTwitterLogin.UseVisualStyleBackColor = true;
this.btnTwitterLogin.Click += new System.EventHandler(this.btnTwitterLogin_Click);
//
// ucTwitterAccounts
//
this.ucTwitterAccounts.Dock = System.Windows.Forms.DockStyle.Fill;
this.ucTwitterAccounts.Location = new System.Drawing.Point(0, 0);
this.ucTwitterAccounts.Margin = new System.Windows.Forms.Padding(0);
this.ucTwitterAccounts.Name = "ucTwitterAccounts";
this.ucTwitterAccounts.Size = new System.Drawing.Size(972, 493);
this.ucTwitterAccounts.TabIndex = 0;
//
// tpURLShorteners
//
this.tpURLShorteners.Controls.Add(this.tcURLShorteners);
@ -1192,17 +1173,6 @@ private void InitializeComponent()
this.lblBitlyDomain.TabIndex = 1;
this.lblBitlyDomain.Text = "Domain:";
//
// oauth2Bitly
//
this.oauth2Bitly.IsRefreshable = false;
this.oauth2Bitly.Location = new System.Drawing.Point(16, 16);
this.oauth2Bitly.Name = "oauth2Bitly";
this.oauth2Bitly.Size = new System.Drawing.Size(328, 208);
this.oauth2Bitly.TabIndex = 0;
this.oauth2Bitly.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Bitly_OpenButtonClicked);
this.oauth2Bitly.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Bitly_CompleteButtonClicked);
this.oauth2Bitly.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Bitly_ClearButtonClicked);
//
// tpGoogleURLShortener
//
this.tpGoogleURLShortener.Controls.Add(this.oauth2GoogleURLShortener);
@ -1215,26 +1185,6 @@ private void InitializeComponent()
this.tpGoogleURLShortener.Text = "Google";
this.tpGoogleURLShortener.UseVisualStyleBackColor = true;
//
// oauth2GoogleURLShortener
//
this.oauth2GoogleURLShortener.Location = new System.Drawing.Point(16, 56);
this.oauth2GoogleURLShortener.Name = "oauth2GoogleURLShortener";
this.oauth2GoogleURLShortener.Size = new System.Drawing.Size(328, 240);
this.oauth2GoogleURLShortener.TabIndex = 1;
this.oauth2GoogleURLShortener.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleURLShortener_OpenButtonClicked);
this.oauth2GoogleURLShortener.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleURLShortener_CompleteButtonClicked);
this.oauth2GoogleURLShortener.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleURLShortener_ClearButtonClicked);
this.oauth2GoogleURLShortener.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleURLShortener_RefreshButtonClicked);
//
// atcGoogleURLShortenerAccountType
//
this.atcGoogleURLShortenerAccountType.Location = new System.Drawing.Point(8, 16);
this.atcGoogleURLShortenerAccountType.Name = "atcGoogleURLShortenerAccountType";
this.atcGoogleURLShortenerAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcGoogleURLShortenerAccountType.Size = new System.Drawing.Size(214, 29);
this.atcGoogleURLShortenerAccountType.TabIndex = 0;
this.atcGoogleURLShortenerAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGoogleURLShortenerAccountType_AccountTypeChanged);
//
// tpYourls
//
this.tpYourls.Controls.Add(this.txtYourlsPassword);
@ -1454,16 +1404,6 @@ private void InitializeComponent()
this.tpFTP.Text = "FTP";
this.tpFTP.UseVisualStyleBackColor = true;
//
// eiFTP
//
this.eiFTP.Location = new System.Drawing.Point(656, 48);
this.eiFTP.Name = "eiFTP";
this.eiFTP.ObjectType = null;
this.eiFTP.Size = new System.Drawing.Size(136, 24);
this.eiFTP.TabIndex = 8;
this.eiFTP.ExportRequested += new HelpersLib.ExportImportControl.ExportEventHandler(this.eiFTP_ExportRequested);
this.eiFTP.ImportRequested += new HelpersLib.ExportImportControl.ImportEventHandler(this.eiFTP_ImportRequested);
//
// btnFtpClient
//
this.btnFtpClient.Location = new System.Drawing.Point(584, 48);
@ -1531,16 +1471,6 @@ private void InitializeComponent()
this.cboFtpText.TabIndex = 3;
this.cboFtpText.SelectedIndexChanged += new System.EventHandler(this.cboFtpText_SelectedIndexChanged);
//
// ucFTPAccounts
//
this.ucFTPAccounts.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucFTPAccounts.Location = new System.Drawing.Point(8, 40);
this.ucFTPAccounts.Margin = new System.Windows.Forms.Padding(4);
this.ucFTPAccounts.Name = "ucFTPAccounts";
this.ucFTPAccounts.Size = new System.Drawing.Size(792, 448);
this.ucFTPAccounts.TabIndex = 6;
//
// tpDropbox
//
this.tpDropbox.Controls.Add(this.oauth2Dropbox);
@ -1561,17 +1491,6 @@ private void InitializeComponent()
this.tpDropbox.Text = "Dropbox";
this.tpDropbox.UseVisualStyleBackColor = true;
//
// oauth2Dropbox
//
this.oauth2Dropbox.IsRefreshable = false;
this.oauth2Dropbox.Location = new System.Drawing.Point(16, 88);
this.oauth2Dropbox.Name = "oauth2Dropbox";
this.oauth2Dropbox.Size = new System.Drawing.Size(328, 200);
this.oauth2Dropbox.TabIndex = 1;
this.oauth2Dropbox.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Dropbox_OpenButtonClicked);
this.oauth2Dropbox.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Dropbox_CompleteButtonClicked);
this.oauth2Dropbox.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Dropbox_ClearButtonClicked);
//
// cbDropboxURLType
//
this.cbDropboxURLType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
@ -1707,32 +1626,6 @@ private void InitializeComponent()
this.lblGoogleDriveFolderID.TabIndex = 8;
this.lblGoogleDriveFolderID.Text = "Folder ID:";
//
// lvGoogleDriveFoldersList
//
this.lvGoogleDriveFoldersList.AutoFillColumn = true;
this.lvGoogleDriveFoldersList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chGoogleDriveTitle,
this.chGoogleDriveDescription});
this.lvGoogleDriveFoldersList.FullRowSelect = true;
this.lvGoogleDriveFoldersList.Location = new System.Drawing.Point(352, 72);
this.lvGoogleDriveFoldersList.MultiSelect = false;
this.lvGoogleDriveFoldersList.Name = "lvGoogleDriveFoldersList";
this.lvGoogleDriveFoldersList.Size = new System.Drawing.Size(432, 392);
this.lvGoogleDriveFoldersList.TabIndex = 11;
this.lvGoogleDriveFoldersList.UseCompatibleStateImageBehavior = false;
this.lvGoogleDriveFoldersList.View = System.Windows.Forms.View.Details;
this.lvGoogleDriveFoldersList.SelectedIndexChanged += new System.EventHandler(this.lvGoogleDriveFoldersList_SelectedIndexChanged);
//
// chGoogleDriveTitle
//
this.chGoogleDriveTitle.Text = "Title";
this.chGoogleDriveTitle.Width = 200;
//
// chGoogleDriveDescription
//
this.chGoogleDriveDescription.Text = "Description";
this.chGoogleDriveDescription.Width = 228;
//
// btnGoogleDriveRefreshFolders
//
this.btnGoogleDriveRefreshFolders.Enabled = false;
@ -1755,17 +1648,6 @@ private void InitializeComponent()
this.cbGoogleDriveIsPublic.UseVisualStyleBackColor = true;
this.cbGoogleDriveIsPublic.CheckedChanged += new System.EventHandler(this.cbGoogleDriveIsPublic_CheckedChanged);
//
// oauth2GoogleDrive
//
this.oauth2GoogleDrive.Location = new System.Drawing.Point(16, 16);
this.oauth2GoogleDrive.Name = "oauth2GoogleDrive";
this.oauth2GoogleDrive.Size = new System.Drawing.Size(328, 240);
this.oauth2GoogleDrive.TabIndex = 0;
this.oauth2GoogleDrive.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleDrive_OpenButtonClicked);
this.oauth2GoogleDrive.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleDrive_CompleteButtonClicked);
this.oauth2GoogleDrive.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleDrive_ClearButtonClicked);
this.oauth2GoogleDrive.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleDrive_RefreshButtonClicked);
//
// tpBox
//
this.tpBox.Controls.Add(this.lblBoxFolderTip);
@ -1802,26 +1684,6 @@ private void InitializeComponent()
this.cbBoxShare.UseVisualStyleBackColor = true;
this.cbBoxShare.CheckedChanged += new System.EventHandler(this.cbBoxShare_CheckedChanged);
//
// lvBoxFolders
//
this.lvBoxFolders.AutoFillColumn = true;
this.lvBoxFolders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chBoxFoldersName});
this.lvBoxFolders.FullRowSelect = true;
this.lvBoxFolders.Location = new System.Drawing.Point(352, 48);
this.lvBoxFolders.Name = "lvBoxFolders";
this.lvBoxFolders.Size = new System.Drawing.Size(440, 368);
this.lvBoxFolders.TabIndex = 4;
this.lvBoxFolders.UseCompatibleStateImageBehavior = false;
this.lvBoxFolders.View = System.Windows.Forms.View.Details;
this.lvBoxFolders.SelectedIndexChanged += new System.EventHandler(this.lvBoxFolders_SelectedIndexChanged);
this.lvBoxFolders.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lvBoxFolders_MouseDoubleClick);
//
// chBoxFoldersName
//
this.chBoxFoldersName.Text = "Folder name";
this.chBoxFoldersName.Width = 435;
//
// lblBoxFolderID
//
this.lblBoxFolderID.AutoSize = true;
@ -1842,17 +1704,6 @@ private void InitializeComponent()
this.btnBoxRefreshFolders.UseVisualStyleBackColor = true;
this.btnBoxRefreshFolders.Click += new System.EventHandler(this.btnBoxRefreshFolders_Click);
//
// oauth2Box
//
this.oauth2Box.Location = new System.Drawing.Point(16, 16);
this.oauth2Box.Name = "oauth2Box";
this.oauth2Box.Size = new System.Drawing.Size(328, 240);
this.oauth2Box.TabIndex = 0;
this.oauth2Box.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Box_OpenButtonClicked);
this.oauth2Box.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Box_CompleteButtonClicked);
this.oauth2Box.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Box_ClearButtonClicked);
this.oauth2Box.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Box_RefreshButtonClicked);
//
// tpCopy
//
this.tpCopy.Controls.Add(this.pbCopyLogo);
@ -1938,17 +1789,6 @@ private void InitializeComponent()
this.txtCopyPath.TabIndex = 3;
this.txtCopyPath.TextChanged += new System.EventHandler(this.txtCopyPath_TextChanged);
//
// oAuthCopy
//
this.oAuthCopy.IsRefreshable = false;
this.oAuthCopy.Location = new System.Drawing.Point(16, 88);
this.oAuthCopy.Name = "oAuthCopy";
this.oAuthCopy.Size = new System.Drawing.Size(328, 208);
this.oAuthCopy.TabIndex = 1;
this.oAuthCopy.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuthCopy_OpenButtonClicked);
this.oAuthCopy.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuthCopy_CompleteButtonClicked);
this.oAuthCopy.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuthCopy_ClearButtonClicked);
//
// tpOneDrive
//
this.tpOneDrive.Controls.Add(this.oAuth2OneDrive);
@ -1960,17 +1800,6 @@ private void InitializeComponent()
this.tpOneDrive.Text = "OneDrive";
this.tpOneDrive.UseVisualStyleBackColor = true;
//
// oAuth2OneDrive
//
this.oAuth2OneDrive.IsRefreshable = false;
this.oAuth2OneDrive.Location = new System.Drawing.Point(16, 16);
this.oAuth2OneDrive.Name = "oAuth2OneDrive";
this.oAuth2OneDrive.Size = new System.Drawing.Size(328, 200);
this.oAuth2OneDrive.TabIndex = 2;
this.oAuth2OneDrive.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuth2OneDrive_OpenButtonClicked);
this.oAuth2OneDrive.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuth2OneDrive_CompleteButtonClicked);
this.oAuth2OneDrive.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2OneDrive_ClearButtonClicked);
//
// tpAmazonS3
//
this.tpAmazonS3.Controls.Add(this.txtAmazonS3CustomDomain);
@ -2680,15 +2509,6 @@ private void InitializeComponent()
this.txtSendSpaceUserName.TabIndex = 2;
this.txtSendSpaceUserName.TextChanged += new System.EventHandler(this.txtSendSpaceUserName_TextChanged);
//
// atcSendSpaceAccountType
//
this.atcSendSpaceAccountType.Location = new System.Drawing.Point(8, 16);
this.atcSendSpaceAccountType.Name = "atcSendSpaceAccountType";
this.atcSendSpaceAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcSendSpaceAccountType.Size = new System.Drawing.Size(214, 29);
this.atcSendSpaceAccountType.TabIndex = 0;
this.atcSendSpaceAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcSendSpaceAccountType_AccountTypeChanged);
//
// tpMediaCrush
//
this.tpMediaCrush.Controls.Add(this.cbMediaCrushDirectLink);
@ -3089,17 +2909,6 @@ private void InitializeComponent()
this.lblJiraHost.TabIndex = 0;
this.lblJiraHost.Text = "Jira host: ";
//
// oAuthJira
//
this.oAuthJira.Location = new System.Drawing.Point(473, 13);
this.oAuthJira.Name = "oAuthJira";
this.oAuthJira.Size = new System.Drawing.Size(328, 243);
this.oAuthJira.TabIndex = 1;
this.oAuthJira.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuthJira_OpenButtonClicked);
this.oAuthJira.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuthJira_CompleteButtonClicked);
this.oAuthJira.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuthJira_ClearButtonClicked);
this.oAuthJira.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oAuthJira_RefreshButtonClicked);
//
// tpEmail
//
this.tpEmail.Controls.Add(this.chkEmailConfirm);
@ -3335,16 +3144,6 @@ private void InitializeComponent()
this.cboSharedFolderImages.TabIndex = 1;
this.cboSharedFolderImages.SelectedIndexChanged += new System.EventHandler(this.cboSharedFolderImages_SelectedIndexChanged);
//
// ucLocalhostAccounts
//
this.ucLocalhostAccounts.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucLocalhostAccounts.Location = new System.Drawing.Point(8, 40);
this.ucLocalhostAccounts.Margin = new System.Windows.Forms.Padding(4);
this.ucLocalhostAccounts.Name = "ucLocalhostAccounts";
this.ucLocalhostAccounts.Size = new System.Drawing.Size(792, 430);
this.ucLocalhostAccounts.TabIndex = 6;
//
// btnCopyShowFiles
//
this.btnCopyShowFiles.Location = new System.Drawing.Point(0, 0);
@ -3378,8 +3177,8 @@ private void InitializeComponent()
//
// tpPastebin
//
this.tpPastebin.Controls.Add(this.cbPastebinSyntax);
this.tpPastebin.Controls.Add(this.btnPastebinRegister);
this.tpPastebin.Controls.Add(this.txtPastebinSyntax);
this.tpPastebin.Controls.Add(this.lblPastebinSyntax);
this.tpPastebin.Controls.Add(this.lblPastebinExpiration);
this.tpPastebin.Controls.Add(this.lblPastebinPrivacy);
@ -3411,14 +3210,6 @@ private void InitializeComponent()
this.btnPastebinRegister.UseVisualStyleBackColor = true;
this.btnPastebinRegister.Click += new System.EventHandler(this.btnPastebinRegister_Click);
//
// txtPastebinSyntax
//
this.txtPastebinSyntax.Location = new System.Drawing.Point(96, 140);
this.txtPastebinSyntax.Name = "txtPastebinSyntax";
this.txtPastebinSyntax.Size = new System.Drawing.Size(152, 20);
this.txtPastebinSyntax.TabIndex = 15;
this.txtPastebinSyntax.TextChanged += new System.EventHandler(this.txtPastebinSyntax_TextChanged);
//
// lblPastebinSyntax
//
this.lblPastebinSyntax.AutoSize = true;
@ -3590,27 +3381,6 @@ private void InitializeComponent()
this.chkGistPublishPublic.UseVisualStyleBackColor = true;
this.chkGistPublishPublic.CheckedChanged += new System.EventHandler(this.chkGistPublishPublic_CheckedChanged);
//
// oAuth2Gist
//
this.oAuth2Gist.Enabled = false;
this.oAuth2Gist.IsRefreshable = false;
this.oAuth2Gist.Location = new System.Drawing.Point(16, 51);
this.oAuth2Gist.Name = "oAuth2Gist";
this.oAuth2Gist.Size = new System.Drawing.Size(328, 205);
this.oAuth2Gist.TabIndex = 2;
this.oAuth2Gist.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuth2Gist_OpenButtonClicked);
this.oAuth2Gist.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuth2Gist_CompleteButtonClicked);
this.oAuth2Gist.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2Gist_ClearButtonClicked);
//
// atcGistAccountType
//
this.atcGistAccountType.Location = new System.Drawing.Point(15, 16);
this.atcGistAccountType.Name = "atcGistAccountType";
this.atcGistAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcGistAccountType.Size = new System.Drawing.Size(214, 29);
this.atcGistAccountType.TabIndex = 0;
this.atcGistAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGistAccountType_AccountTypeChanged);
//
// tpUpaste
//
this.tpUpaste.Controls.Add(this.cbUpasteIsPublic);
@ -3721,26 +3491,6 @@ private void InitializeComponent()
this.cbImgurDirectLink.UseVisualStyleBackColor = true;
this.cbImgurDirectLink.CheckedChanged += new System.EventHandler(this.cbImgurDirectLink_CheckedChanged);
//
// atcImgurAccountType
//
this.atcImgurAccountType.Location = new System.Drawing.Point(8, 260);
this.atcImgurAccountType.Name = "atcImgurAccountType";
this.atcImgurAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcImgurAccountType.Size = new System.Drawing.Size(208, 32);
this.atcImgurAccountType.TabIndex = 1;
this.atcImgurAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcImgurAccountType_AccountTypeChanged);
//
// oauth2Imgur
//
this.oauth2Imgur.Location = new System.Drawing.Point(16, 16);
this.oauth2Imgur.Name = "oauth2Imgur";
this.oauth2Imgur.Size = new System.Drawing.Size(328, 240);
this.oauth2Imgur.TabIndex = 0;
this.oauth2Imgur.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Imgur_OpenButtonClicked);
this.oauth2Imgur.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Imgur_CompleteButtonClicked);
this.oauth2Imgur.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Imgur_ClearButtonClicked);
this.oauth2Imgur.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Imgur_RefreshButtonClicked);
//
// lvImgurAlbumList
//
this.lvImgurAlbumList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
@ -3914,15 +3664,6 @@ private void InitializeComponent()
this.tpTinyPic.Text = "TinyPic";
this.tpTinyPic.UseVisualStyleBackColor = true;
//
// atcTinyPicAccountType
//
this.atcTinyPicAccountType.Location = new System.Drawing.Point(8, 8);
this.atcTinyPicAccountType.Name = "atcTinyPicAccountType";
this.atcTinyPicAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcTinyPicAccountType.Size = new System.Drawing.Size(272, 29);
this.atcTinyPicAccountType.TabIndex = 0;
this.atcTinyPicAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcTinyPicAccountType_AccountTypeChanged);
//
// btnTinyPicLogin
//
this.btnTinyPicLogin.Location = new System.Drawing.Point(296, 74);
@ -4319,17 +4060,6 @@ private void InitializeComponent()
this.btnPicasaRefreshAlbumList.UseVisualStyleBackColor = true;
this.btnPicasaRefreshAlbumList.Click += new System.EventHandler(this.btnPicasaRefreshAlbumList_Click);
//
// oauth2Picasa
//
this.oauth2Picasa.Location = new System.Drawing.Point(16, 16);
this.oauth2Picasa.Name = "oauth2Picasa";
this.oauth2Picasa.Size = new System.Drawing.Size(328, 240);
this.oauth2Picasa.TabIndex = 0;
this.oauth2Picasa.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Picasa_OpenButtonClicked);
this.oauth2Picasa.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Picasa_CompleteButtonClicked);
this.oauth2Picasa.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Picasa_ClearButtonClicked);
this.oauth2Picasa.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Picasa_RefreshButtonClicked);
//
// tpChevereto
//
this.tpChevereto.Controls.Add(this.cbCheveretoDirectURL);
@ -4346,6 +4076,17 @@ private void InitializeComponent()
this.tpChevereto.Text = "Chevereto";
this.tpChevereto.UseVisualStyleBackColor = true;
//
// cbCheveretoDirectURL
//
this.cbCheveretoDirectURL.AutoSize = true;
this.cbCheveretoDirectURL.Location = new System.Drawing.Point(16, 64);
this.cbCheveretoDirectURL.Name = "cbCheveretoDirectURL";
this.cbCheveretoDirectURL.Size = new System.Drawing.Size(79, 17);
this.cbCheveretoDirectURL.TabIndex = 5;
this.cbCheveretoDirectURL.Text = "Direct URL";
this.cbCheveretoDirectURL.UseVisualStyleBackColor = true;
this.cbCheveretoDirectURL.CheckedChanged += new System.EventHandler(this.cbCheveretoDirectURL_CheckedChanged);
//
// lblCheveretoWebsiteTip
//
this.lblCheveretoWebsiteTip.AutoSize = true;
@ -4413,6 +4154,268 @@ private void InitializeComponent()
this.lblWidthHint.TabIndex = 1;
this.lblWidthHint.Visible = false;
//
// atcImgurAccountType
//
this.atcImgurAccountType.Location = new System.Drawing.Point(8, 260);
this.atcImgurAccountType.Name = "atcImgurAccountType";
this.atcImgurAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcImgurAccountType.Size = new System.Drawing.Size(208, 32);
this.atcImgurAccountType.TabIndex = 1;
this.atcImgurAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcImgurAccountType_AccountTypeChanged);
//
// oauth2Imgur
//
this.oauth2Imgur.Location = new System.Drawing.Point(16, 16);
this.oauth2Imgur.Name = "oauth2Imgur";
this.oauth2Imgur.Size = new System.Drawing.Size(328, 240);
this.oauth2Imgur.TabIndex = 0;
this.oauth2Imgur.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Imgur_OpenButtonClicked);
this.oauth2Imgur.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Imgur_CompleteButtonClicked);
this.oauth2Imgur.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Imgur_ClearButtonClicked);
this.oauth2Imgur.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Imgur_RefreshButtonClicked);
//
// atcTinyPicAccountType
//
this.atcTinyPicAccountType.Location = new System.Drawing.Point(8, 8);
this.atcTinyPicAccountType.Name = "atcTinyPicAccountType";
this.atcTinyPicAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcTinyPicAccountType.Size = new System.Drawing.Size(272, 29);
this.atcTinyPicAccountType.TabIndex = 0;
this.atcTinyPicAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcTinyPicAccountType_AccountTypeChanged);
//
// oauth2Picasa
//
this.oauth2Picasa.Location = new System.Drawing.Point(16, 16);
this.oauth2Picasa.Name = "oauth2Picasa";
this.oauth2Picasa.Size = new System.Drawing.Size(328, 240);
this.oauth2Picasa.TabIndex = 0;
this.oauth2Picasa.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Picasa_OpenButtonClicked);
this.oauth2Picasa.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Picasa_CompleteButtonClicked);
this.oauth2Picasa.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Picasa_ClearButtonClicked);
this.oauth2Picasa.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Picasa_RefreshButtonClicked);
//
// oAuth2Gist
//
this.oAuth2Gist.Enabled = false;
this.oAuth2Gist.IsRefreshable = false;
this.oAuth2Gist.Location = new System.Drawing.Point(16, 51);
this.oAuth2Gist.Name = "oAuth2Gist";
this.oAuth2Gist.Size = new System.Drawing.Size(328, 205);
this.oAuth2Gist.TabIndex = 2;
this.oAuth2Gist.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuth2Gist_OpenButtonClicked);
this.oAuth2Gist.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuth2Gist_CompleteButtonClicked);
this.oAuth2Gist.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2Gist_ClearButtonClicked);
//
// atcGistAccountType
//
this.atcGistAccountType.Location = new System.Drawing.Point(15, 16);
this.atcGistAccountType.Name = "atcGistAccountType";
this.atcGistAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcGistAccountType.Size = new System.Drawing.Size(214, 29);
this.atcGistAccountType.TabIndex = 0;
this.atcGistAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGistAccountType_AccountTypeChanged);
//
// eiFTP
//
this.eiFTP.Location = new System.Drawing.Point(656, 48);
this.eiFTP.Name = "eiFTP";
this.eiFTP.ObjectType = null;
this.eiFTP.Size = new System.Drawing.Size(136, 24);
this.eiFTP.TabIndex = 8;
this.eiFTP.ExportRequested += new HelpersLib.ExportImportControl.ExportEventHandler(this.eiFTP_ExportRequested);
this.eiFTP.ImportRequested += new HelpersLib.ExportImportControl.ImportEventHandler(this.eiFTP_ImportRequested);
//
// 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;
//
// oauth2Dropbox
//
this.oauth2Dropbox.IsRefreshable = false;
this.oauth2Dropbox.Location = new System.Drawing.Point(16, 88);
this.oauth2Dropbox.Name = "oauth2Dropbox";
this.oauth2Dropbox.Size = new System.Drawing.Size(328, 200);
this.oauth2Dropbox.TabIndex = 1;
this.oauth2Dropbox.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Dropbox_OpenButtonClicked);
this.oauth2Dropbox.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Dropbox_CompleteButtonClicked);
this.oauth2Dropbox.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Dropbox_ClearButtonClicked);
//
// lvGoogleDriveFoldersList
//
this.lvGoogleDriveFoldersList.AutoFillColumn = true;
this.lvGoogleDriveFoldersList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chGoogleDriveTitle,
this.chGoogleDriveDescription});
this.lvGoogleDriveFoldersList.FullRowSelect = true;
this.lvGoogleDriveFoldersList.Location = new System.Drawing.Point(352, 72);
this.lvGoogleDriveFoldersList.MultiSelect = false;
this.lvGoogleDriveFoldersList.Name = "lvGoogleDriveFoldersList";
this.lvGoogleDriveFoldersList.Size = new System.Drawing.Size(432, 392);
this.lvGoogleDriveFoldersList.TabIndex = 11;
this.lvGoogleDriveFoldersList.UseCompatibleStateImageBehavior = false;
this.lvGoogleDriveFoldersList.View = System.Windows.Forms.View.Details;
this.lvGoogleDriveFoldersList.SelectedIndexChanged += new System.EventHandler(this.lvGoogleDriveFoldersList_SelectedIndexChanged);
//
// chGoogleDriveTitle
//
this.chGoogleDriveTitle.Text = "Title";
this.chGoogleDriveTitle.Width = 200;
//
// chGoogleDriveDescription
//
this.chGoogleDriveDescription.Text = "Description";
this.chGoogleDriveDescription.Width = 228;
//
// oauth2GoogleDrive
//
this.oauth2GoogleDrive.Location = new System.Drawing.Point(16, 16);
this.oauth2GoogleDrive.Name = "oauth2GoogleDrive";
this.oauth2GoogleDrive.Size = new System.Drawing.Size(328, 240);
this.oauth2GoogleDrive.TabIndex = 0;
this.oauth2GoogleDrive.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleDrive_OpenButtonClicked);
this.oauth2GoogleDrive.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleDrive_CompleteButtonClicked);
this.oauth2GoogleDrive.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleDrive_ClearButtonClicked);
this.oauth2GoogleDrive.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleDrive_RefreshButtonClicked);
//
// lvBoxFolders
//
this.lvBoxFolders.AutoFillColumn = true;
this.lvBoxFolders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chBoxFoldersName});
this.lvBoxFolders.FullRowSelect = true;
this.lvBoxFolders.Location = new System.Drawing.Point(352, 48);
this.lvBoxFolders.Name = "lvBoxFolders";
this.lvBoxFolders.Size = new System.Drawing.Size(440, 368);
this.lvBoxFolders.TabIndex = 4;
this.lvBoxFolders.UseCompatibleStateImageBehavior = false;
this.lvBoxFolders.View = System.Windows.Forms.View.Details;
this.lvBoxFolders.SelectedIndexChanged += new System.EventHandler(this.lvBoxFolders_SelectedIndexChanged);
this.lvBoxFolders.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lvBoxFolders_MouseDoubleClick);
//
// chBoxFoldersName
//
this.chBoxFoldersName.Text = "Folder name";
this.chBoxFoldersName.Width = 435;
//
// oauth2Box
//
this.oauth2Box.Location = new System.Drawing.Point(16, 16);
this.oauth2Box.Name = "oauth2Box";
this.oauth2Box.Size = new System.Drawing.Size(328, 240);
this.oauth2Box.TabIndex = 0;
this.oauth2Box.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Box_OpenButtonClicked);
this.oauth2Box.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Box_CompleteButtonClicked);
this.oauth2Box.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Box_ClearButtonClicked);
this.oauth2Box.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Box_RefreshButtonClicked);
//
// oAuthCopy
//
this.oAuthCopy.IsRefreshable = false;
this.oAuthCopy.Location = new System.Drawing.Point(16, 88);
this.oAuthCopy.Name = "oAuthCopy";
this.oAuthCopy.Size = new System.Drawing.Size(328, 208);
this.oAuthCopy.TabIndex = 1;
this.oAuthCopy.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuthCopy_OpenButtonClicked);
this.oAuthCopy.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuthCopy_CompleteButtonClicked);
this.oAuthCopy.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuthCopy_ClearButtonClicked);
//
// oAuth2OneDrive
//
this.oAuth2OneDrive.IsRefreshable = false;
this.oAuth2OneDrive.Location = new System.Drawing.Point(16, 16);
this.oAuth2OneDrive.Name = "oAuth2OneDrive";
this.oAuth2OneDrive.Size = new System.Drawing.Size(328, 200);
this.oAuth2OneDrive.TabIndex = 2;
this.oAuth2OneDrive.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuth2OneDrive_OpenButtonClicked);
this.oAuth2OneDrive.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuth2OneDrive_CompleteButtonClicked);
this.oAuth2OneDrive.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2OneDrive_ClearButtonClicked);
//
// atcSendSpaceAccountType
//
this.atcSendSpaceAccountType.Location = new System.Drawing.Point(8, 16);
this.atcSendSpaceAccountType.Name = "atcSendSpaceAccountType";
this.atcSendSpaceAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcSendSpaceAccountType.Size = new System.Drawing.Size(214, 29);
this.atcSendSpaceAccountType.TabIndex = 0;
this.atcSendSpaceAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcSendSpaceAccountType_AccountTypeChanged);
//
// oAuthJira
//
this.oAuthJira.Location = new System.Drawing.Point(473, 13);
this.oAuthJira.Name = "oAuthJira";
this.oAuthJira.Size = new System.Drawing.Size(328, 243);
this.oAuthJira.TabIndex = 1;
this.oAuthJira.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuthJira_OpenButtonClicked);
this.oAuthJira.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuthJira_CompleteButtonClicked);
this.oAuthJira.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuthJira_ClearButtonClicked);
this.oAuthJira.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oAuthJira_RefreshButtonClicked);
//
// ucLocalhostAccounts
//
this.ucLocalhostAccounts.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucLocalhostAccounts.Location = new System.Drawing.Point(8, 40);
this.ucLocalhostAccounts.Margin = new System.Windows.Forms.Padding(4);
this.ucLocalhostAccounts.Name = "ucLocalhostAccounts";
this.ucLocalhostAccounts.Size = new System.Drawing.Size(792, 430);
this.ucLocalhostAccounts.TabIndex = 6;
//
// oauth2Bitly
//
this.oauth2Bitly.IsRefreshable = false;
this.oauth2Bitly.Location = new System.Drawing.Point(16, 16);
this.oauth2Bitly.Name = "oauth2Bitly";
this.oauth2Bitly.Size = new System.Drawing.Size(328, 208);
this.oauth2Bitly.TabIndex = 0;
this.oauth2Bitly.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Bitly_OpenButtonClicked);
this.oauth2Bitly.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Bitly_CompleteButtonClicked);
this.oauth2Bitly.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Bitly_ClearButtonClicked);
//
// oauth2GoogleURLShortener
//
this.oauth2GoogleURLShortener.Location = new System.Drawing.Point(16, 56);
this.oauth2GoogleURLShortener.Name = "oauth2GoogleURLShortener";
this.oauth2GoogleURLShortener.Size = new System.Drawing.Size(328, 240);
this.oauth2GoogleURLShortener.TabIndex = 1;
this.oauth2GoogleURLShortener.OpenButtonClicked += new UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleURLShortener_OpenButtonClicked);
this.oauth2GoogleURLShortener.CompleteButtonClicked += new UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleURLShortener_CompleteButtonClicked);
this.oauth2GoogleURLShortener.ClearButtonClicked += new UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleURLShortener_ClearButtonClicked);
this.oauth2GoogleURLShortener.RefreshButtonClicked += new UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleURLShortener_RefreshButtonClicked);
//
// atcGoogleURLShortenerAccountType
//
this.atcGoogleURLShortenerAccountType.Location = new System.Drawing.Point(8, 16);
this.atcGoogleURLShortenerAccountType.Name = "atcGoogleURLShortenerAccountType";
this.atcGoogleURLShortenerAccountType.SelectedAccountType = UploadersLib.AccountType.Anonymous;
this.atcGoogleURLShortenerAccountType.Size = new System.Drawing.Size(214, 29);
this.atcGoogleURLShortenerAccountType.TabIndex = 0;
this.atcGoogleURLShortenerAccountType.AccountTypeChanged += new UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGoogleURLShortenerAccountType_AccountTypeChanged);
//
// eiCustomUploaders
//
this.eiCustomUploaders.Location = new System.Drawing.Point(8, 328);
this.eiCustomUploaders.Name = "eiCustomUploaders";
this.eiCustomUploaders.ObjectType = null;
this.eiCustomUploaders.Size = new System.Drawing.Size(140, 26);
this.eiCustomUploaders.TabIndex = 5;
this.eiCustomUploaders.ExportRequested += new HelpersLib.ExportImportControl.ExportEventHandler(this.eiCustomUploaders_ExportRequested);
this.eiCustomUploaders.ImportRequested += new HelpersLib.ExportImportControl.ImportEventHandler(this.eiCustomUploaders_ImportRequested);
//
// 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;
//
// ttlvMain
//
this.ttlvMain.Dock = System.Windows.Forms.DockStyle.Fill;
@ -4433,16 +4436,15 @@ private void InitializeComponent()
this.actRapidShareAccountType.Size = new System.Drawing.Size(214, 29);
this.actRapidShareAccountType.TabIndex = 16;
//
// cbCheveretoDirectURL
// cbPastebinSyntax
//
this.cbCheveretoDirectURL.AutoSize = true;
this.cbCheveretoDirectURL.Location = new System.Drawing.Point(16, 64);
this.cbCheveretoDirectURL.Name = "cbCheveretoDirectURL";
this.cbCheveretoDirectURL.Size = new System.Drawing.Size(79, 17);
this.cbCheveretoDirectURL.TabIndex = 5;
this.cbCheveretoDirectURL.Text = "Direct URL";
this.cbCheveretoDirectURL.UseVisualStyleBackColor = true;
this.cbCheveretoDirectURL.CheckedChanged += new System.EventHandler(this.cbCheveretoDirectURL_CheckedChanged);
this.cbPastebinSyntax.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbPastebinSyntax.FormattingEnabled = true;
this.cbPastebinSyntax.Location = new System.Drawing.Point(96, 140);
this.cbPastebinSyntax.Name = "cbPastebinSyntax";
this.cbPastebinSyntax.Size = new System.Drawing.Size(152, 21);
this.cbPastebinSyntax.TabIndex = 17;
this.cbPastebinSyntax.SelectedIndexChanged += new System.EventHandler(this.cbPastebinSyntax_SelectedIndexChanged);
//
// UploadersConfigForm
//
@ -4942,7 +4944,6 @@ private void InitializeComponent()
private System.Windows.Forms.Label lblPastebinUsername;
private System.Windows.Forms.ComboBox cbPastebinExpiration;
private System.Windows.Forms.ComboBox cbPastebinPrivacy;
private System.Windows.Forms.TextBox txtPastebinSyntax;
private System.Windows.Forms.Label lblPastebinSyntax;
private System.Windows.Forms.Button btnPastebinRegister;
private System.Windows.Forms.TabPage tpChevereto;
@ -4951,6 +4952,7 @@ private void InitializeComponent()
private System.Windows.Forms.TextBox txtCheveretoWebsite;
private System.Windows.Forms.TextBox txtCheveretoAPIKey;
private System.Windows.Forms.Label lblCheveretoAPIKey;
private System.Windows.Forms.CheckBox cbCheveretoDirectURL;
private System.Windows.Forms.CheckBox cbCheveretoDirectURL;
private System.Windows.Forms.ComboBox cbPastebinSyntax;
}
}

View file

@ -250,7 +250,17 @@ public void LoadSettings(UploadersConfig uploadersConfig)
cbPastebinPrivacy.SelectedIndex = (int)Config.PastebinSettings.Exposure;
cbPastebinExpiration.Items.AddRange(Helpers.GetEnumDescriptions<PastebinExpiration>());
cbPastebinExpiration.SelectedIndex = (int)Config.PastebinSettings.Expiration;
txtPastebinSyntax.Text = Config.PastebinSettings.TextFormat;
cbPastebinSyntax.Items.AddRange(Pastebin.GetSyntaxList().ToArray());
cbPastebinSyntax.SelectedIndex = 0;
for (int i = 0; i < cbPastebinSyntax.Items.Count; i++)
{
PastebinSyntaxInfo pastebinSyntaxInfo = (PastebinSyntaxInfo)cbPastebinSyntax.Items[i];
if (pastebinSyntaxInfo.Value.Equals(Config.PastebinSettings.TextFormat, StringComparison.InvariantCultureIgnoreCase))
{
cbPastebinSyntax.SelectedIndex = i;
break;
}
}
txtPastebinTitle.Text = Config.PastebinSettings.Title;
// Paste.ee
@ -917,9 +927,9 @@ private void cbPastebinExpiration_SelectedIndexChanged(object sender, EventArgs
Config.PastebinSettings.Expiration = (PastebinExpiration)cbPastebinExpiration.SelectedIndex;
}
private void txtPastebinSyntax_TextChanged(object sender, EventArgs e)
private void cbPastebinSyntax_SelectedIndexChanged(object sender, EventArgs e)
{
Config.PastebinSettings.TextFormat = txtPastebinSyntax.Text;
Config.PastebinSettings.TextFormat = ((PastebinSyntaxInfo)cbPastebinSyntax.SelectedItem).Value;
}
private void txtPastebinTitle_TextChanged(object sender, EventArgs e)

View file

@ -26,6 +26,7 @@
using HelpersLib;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
namespace UploadersLib.TextUploaders
{
@ -144,6 +145,245 @@ private string GetExpiration(PastebinExpiration expiration)
return "1M";
}
}
public static List<PastebinSyntaxInfo> GetSyntaxList()
{
string syntaxList = @"4cs = 4CS
6502acme = 6502 ACME Cross Assembler
6502kickass = 6502 Kick Assembler
6502tasm = 6502 TASM/64TASS
abap = ABAP
actionscript = ActionScript
actionscript3 = ActionScript 3
ada = Ada
algol68 = ALGOL 68
apache = Apache Log
applescript = AppleScript
apt_sources = APT Sources
arm = ARM
asm = ASM (NASM)
asp = ASP
asymptote = Asymptote
autoconf = autoconf
autohotkey = Autohotkey
autoit = AutoIt
avisynth = Avisynth
awk = Awk
bascomavr = BASCOM AVR
bash = Bash
basic4gl = Basic4GL
bibtex = BibTeX
blitzbasic = Blitz Basic
bnf = BNF
boo = BOO
bf = BrainFuck
c = C
c_mac = C for Macs
cil = C Intermediate Language
csharp = C#
cpp = C++
cpp-qt = C++ (with QT extensions)
c_loadrunner = C: Loadrunner
caddcl = CAD DCL
cadlisp = CAD Lisp
cfdg = CFDG
chaiscript = ChaiScript
clojure = Clojure
klonec = Clone C
klonecpp = Clone C++
cmake = CMake
cobol = COBOL
coffeescript = CoffeeScript
cfm = ColdFusion
css = CSS
cuesheet = Cuesheet
d = D
dcl = DCL
dcpu16 = DCPU-16
dcs = DCS
delphi = Delphi
oxygene = Delphi Prism (Oxygene)
diff = Diff
div = DIV
dos = DOS
dot = DOT
e = E
ecmascript = ECMAScript
eiffel = Eiffel
email = Email
epc = EPC
erlang = Erlang
fsharp = F#
falcon = Falcon
fo = FO Language
f1 = Formula One
fortran = Fortran
freebasic = FreeBasic
freeswitch = FreeSWITCH
gambas = GAMBAS
gml = Game Maker
gdb = GDB
genero = Genero
genie = Genie
gettext = GetText
go = Go
groovy = Groovy
gwbasic = GwBasic
haskell = Haskell
haxe = Haxe
hicest = HicEst
hq9plus = HQ9 Plus
html4strict = HTML
html5 = HTML 5
icon = Icon
idl = IDL
ini = INI file
inno = Inno Script
intercal = INTERCAL
io = IO
j = J
java = Java
java5 = Java 5
javascript = JavaScript
jquery = jQuery
kixtart = KiXtart
latex = Latex
ldif = LDIF
lb = Liberty BASIC
lsl2 = Linden Scripting
lisp = Lisp
llvm = LLVM
locobasic = Loco Basic
logtalk = Logtalk
lolcode = LOL Code
lotusformulas = Lotus Formulas
lotusscript = Lotus Script
lscript = LScript
lua = Lua
m68k = M68000 Assembler
magiksf = MagikSF
make = Make
mapbasic = MapBasic
matlab = MatLab
mirc = mIRC
mmix = MIX Assembler
modula2 = Modula 2
modula3 = Modula 3
68000devpac = Motorola 68000 HiSoft Dev
mpasm = MPASM
mxml = MXML
mysql = MySQL
nagios = Nagios
newlisp = newLISP
nsis = NullSoft Installer
oberon2 = Oberon 2
objeck = Objeck Programming Langua
objc = Objective C
ocaml-brief = OCalm Brief
ocaml = OCaml
octave = Octave
pf = OpenBSD PACKET FILTER
glsl = OpenGL Shading
oobas = Openoffice BASIC
oracle11 = Oracle 11
oracle8 = Oracle 8
oz = Oz
parasail = ParaSail
parigp = PARI/GP
pascal = Pascal
pawn = PAWN
pcre = PCRE
per = Per
perl = Perl
perl6 = Perl 6
php = PHP
php-brief = PHP Brief
pic16 = Pic 16
pike = Pike
pixelbender = Pixel Bender
plsql = PL/SQL
postgresql = PostgreSQL
povray = POV-Ray
powershell = Power Shell
powerbuilder = PowerBuilder
proftpd = ProFTPd
progress = Progress
prolog = Prolog
properties = Properties
providex = ProvideX
purebasic = PureBasic
pycon = PyCon
python = Python
pys60 = Python for S60
q = q/kdb+
qbasic = QBasic
rsplus = R
rails = Rails
rebol = REBOL
reg = REG
rexx = Rexx
robots = Robots
rpmspec = RPM Spec
ruby = Ruby
gnuplot = Ruby Gnuplot
sas = SAS
scala = Scala
scheme = Scheme
scilab = Scilab
sdlbasic = SdlBasic
smalltalk = Smalltalk
smarty = Smarty
spark = SPARK
sparql = SPARQL
sql = SQL
stonescript = StoneScript
systemverilog = SystemVerilog
tsql = T-SQL
tcl = TCL
teraterm = Tera Term
thinbasic = thinBasic
typoscript = TypoScript
unicon = Unicon
uscript = UnrealScript
ups = UPC
urbi = Urbi
vala = Vala
vbnet = VB.NET
vedit = Vedit
verilog = VeriLog
vhdl = VHDL
vim = VIM
visualprolog = Visual Pro Log
vb = VisualBasic
visualfoxpro = VisualFoxPro
whitespace = WhiteSpace
whois = WHOIS
winbatch = Winbatch
xbasic = XBasic
xml = XML
xorg_conf = Xorg Config
xpp = XPP
yaml = YAML
z80 = Z80 Assembler
zxbasic = ZXBasic";
List<PastebinSyntaxInfo> result = new List<PastebinSyntaxInfo>();
result.Add(new PastebinSyntaxInfo("None", "text"));
foreach (string line in syntaxList.Lines().Select(x => x.Trim()))
{
int index = line.IndexOf('=');
if (index > 0)
{
PastebinSyntaxInfo syntaxInfo = new PastebinSyntaxInfo();
syntaxInfo.Value = line.Remove(index).Trim();
syntaxInfo.Name = line.Substring(index + 1).Trim();
result.Add(syntaxInfo);
}
}
return result;
}
}
public enum PastebinPrivacy
@ -152,7 +392,7 @@ public enum PastebinPrivacy
Public,
[Description("Unlisted")]
Unlisted,
[Description("Private (Only you can see)")]
[Description("Private (members only)")]
Private
}
@ -160,20 +400,41 @@ public enum PastebinExpiration
{
[Description("Never")]
N,
[Description("10 minutes")]
[Description("10 Minutes")]
M10,
[Description("1 hour")]
[Description("1 Hour")]
H1,
[Description("1 day")]
[Description("1 Day")]
D1,
[Description("1 week")]
[Description("1 Week")]
W1,
[Description("2 weeks")]
[Description("2 Weeks")]
W2,
[Description("1 month")]
[Description("1 Month")]
M1
}
public class PastebinSyntaxInfo
{
public string Name { get; set; }
public string Value { get; set; }
public PastebinSyntaxInfo()
{
}
public PastebinSyntaxInfo(string name, string value)
{
Name = name;
Value = value;
}
public override string ToString()
{
return Name;
}
}
public class PastebinSettings
{
public string Username { get; set; }