Use .sxcu extension on export import control

This commit is contained in:
Jaex 2017-01-16 23:49:08 +03:00
parent 06b5f0e881
commit 25688d52c0
4 changed files with 291 additions and 273 deletions

View file

@ -52,6 +52,9 @@ public partial class ExportImportControl : UserControl
[DefaultValue(false)] [DefaultValue(false)]
public bool ExportIgnoreNull { get; set; } public bool ExportIgnoreNull { get; set; }
[DefaultValue("")]
public string CustomFilter { get; set; } = "";
public ExportImportControl() public ExportImportControl()
{ {
InitializeComponent(); InitializeComponent();
@ -116,7 +119,14 @@ private void tsmiExportFile_Click(object sender, EventArgs e)
if (!string.IsNullOrEmpty(json)) if (!string.IsNullOrEmpty(json))
{ {
using (SaveFileDialog sfd = new SaveFileDialog() { Filter = "Settings (*.json)|*.json" }) string filter = "Settings (*.json)|*.json";
if (!string.IsNullOrEmpty(CustomFilter))
{
filter = CustomFilter + "|" + filter;
}
using (SaveFileDialog sfd = new SaveFileDialog() { Filter = filter })
{ {
if (sfd.ShowDialog() == DialogResult.OK) if (sfd.ShowDialog() == DialogResult.OK)
{ {
@ -195,7 +205,14 @@ private void tsmiImportFile_Click(object sender, EventArgs e)
{ {
if (ImportRequested != null) if (ImportRequested != null)
{ {
using (OpenFileDialog ofd = new OpenFileDialog() { Filter = "Settings (*.json)|*.json|All files (*.*)|*.*", Multiselect = true }) string filter = "Settings (*.json)|*.json|All files (*.*)|*.*";
if (!string.IsNullOrEmpty(CustomFilter))
{
filter = CustomFilter + "|" + filter;
}
using (OpenFileDialog ofd = new OpenFileDialog() { Filter = filter, Multiselect = true })
{ {
if (ofd.ShowDialog() == DialogResult.OK) if (ofd.ShowDialog() == DialogResult.OK)
{ {

View file

@ -55,8 +55,6 @@ private void InitializeComponent()
this.btnCustomUploaderRegexpUpdate = new System.Windows.Forms.Button(); this.btnCustomUploaderRegexpUpdate = new System.Windows.Forms.Button();
this.btnCustomUploaderRegexpAdd = new System.Windows.Forms.Button(); this.btnCustomUploaderRegexpAdd = new System.Windows.Forms.Button();
this.btnCustomUploaderRegexpRemove = new System.Windows.Forms.Button(); this.btnCustomUploaderRegexpRemove = new System.Windows.Forms.Button();
this.lvCustomUploaderRegexps = new ShareX.HelpersLib.MyListView();
this.lvRegexpsColumn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.tpCustomUploaderJsonParse = new System.Windows.Forms.TabPage(); this.tpCustomUploaderJsonParse = new System.Windows.Forms.TabPage();
this.btnCustomUploaderJsonAddSyntax = new System.Windows.Forms.Button(); this.btnCustomUploaderJsonAddSyntax = new System.Windows.Forms.Button();
this.btnCustomUploadJsonPathHelp = new System.Windows.Forms.Button(); this.btnCustomUploadJsonPathHelp = new System.Windows.Forms.Button();
@ -76,18 +74,12 @@ private void InitializeComponent()
this.txtCustomUploaderArgValue = new System.Windows.Forms.TextBox(); this.txtCustomUploaderArgValue = new System.Windows.Forms.TextBox();
this.btnCustomUploaderArgAdd = new System.Windows.Forms.Button(); this.btnCustomUploaderArgAdd = new System.Windows.Forms.Button();
this.btnCustomUploaderArgRemove = new System.Windows.Forms.Button(); this.btnCustomUploaderArgRemove = new System.Windows.Forms.Button();
this.lvCustomUploaderArguments = new ShareX.HelpersLib.MyListView();
this.chCustomUploaderArgumentsName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCustomUploaderArgumentsValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.tpCustomUploaderHeaders = new System.Windows.Forms.TabPage(); this.tpCustomUploaderHeaders = new System.Windows.Forms.TabPage();
this.btnCustomUploaderHeaderUpdate = new System.Windows.Forms.Button(); this.btnCustomUploaderHeaderUpdate = new System.Windows.Forms.Button();
this.txtCustomUploaderHeaderName = new System.Windows.Forms.TextBox(); this.txtCustomUploaderHeaderName = new System.Windows.Forms.TextBox();
this.txtCustomUploaderHeaderValue = new System.Windows.Forms.TextBox(); this.txtCustomUploaderHeaderValue = new System.Windows.Forms.TextBox();
this.btnCustomUploaderHeaderAdd = new System.Windows.Forms.Button(); this.btnCustomUploaderHeaderAdd = new System.Windows.Forms.Button();
this.btnCustomUploaderHeaderRemove = new System.Windows.Forms.Button(); this.btnCustomUploaderHeaderRemove = new System.Windows.Forms.Button();
this.lvCustomUploaderHeaders = new ShareX.HelpersLib.MyListView();
this.chCustomUploaderHeadersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCustomUploaderHeadersValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.btnCustomUploaderExamples = new System.Windows.Forms.Button(); this.btnCustomUploaderExamples = new System.Windows.Forms.Button();
this.btnCustomUploaderHelp = new System.Windows.Forms.Button(); this.btnCustomUploaderHelp = new System.Windows.Forms.Button();
this.btnCustomUploaderClear = new System.Windows.Forms.Button(); this.btnCustomUploaderClear = new System.Windows.Forms.Button();
@ -103,9 +95,9 @@ private void InitializeComponent()
this.lblCustomUploaderResponseType = new System.Windows.Forms.Label(); this.lblCustomUploaderResponseType = new System.Windows.Forms.Label();
this.cbCustomUploaderURLShortener = new System.Windows.Forms.ComboBox(); this.cbCustomUploaderURLShortener = new System.Windows.Forms.ComboBox();
this.gbCustomUploaders = new System.Windows.Forms.GroupBox(); this.gbCustomUploaders = new System.Windows.Forms.GroupBox();
this.cmsCustomUploaderDestinationType = new System.Windows.Forms.ContextMenuStrip(this.components);
this.btnCustomUploadersExportAll = new System.Windows.Forms.Button(); this.btnCustomUploadersExportAll = new System.Windows.Forms.Button();
this.btnCustomUploaderClearUploaders = new System.Windows.Forms.Button(); this.btnCustomUploaderClearUploaders = new System.Windows.Forms.Button();
this.eiCustomUploaders = new ShareX.HelpersLib.ExportImportControl();
this.lbCustomUploaderList = new System.Windows.Forms.ListBox(); this.lbCustomUploaderList = new System.Windows.Forms.ListBox();
this.btnCustomUploaderRemove = new System.Windows.Forms.Button(); this.btnCustomUploaderRemove = new System.Windows.Forms.Button();
this.btnCustomUploaderUpdate = new System.Windows.Forms.Button(); this.btnCustomUploaderUpdate = new System.Windows.Forms.Button();
@ -164,7 +156,6 @@ private void InitializeComponent()
this.tpFileUploaders = new System.Windows.Forms.TabPage(); this.tpFileUploaders = new System.Windows.Forms.TabPage();
this.tcFileUploaders = new System.Windows.Forms.TabControl(); this.tcFileUploaders = new System.Windows.Forms.TabControl();
this.tpFTP = new System.Windows.Forms.TabPage(); this.tpFTP = new System.Windows.Forms.TabPage();
this.eiFTP = new ShareX.HelpersLib.ExportImportControl();
this.btnFtpClient = new System.Windows.Forms.Button(); this.btnFtpClient = new System.Windows.Forms.Button();
this.lblFtpFiles = new System.Windows.Forms.Label(); this.lblFtpFiles = new System.Windows.Forms.Label();
this.lblFtpText = new System.Windows.Forms.Label(); this.lblFtpText = new System.Windows.Forms.Label();
@ -189,9 +180,6 @@ private void InitializeComponent()
this.cbGoogleDriveUseFolder = new System.Windows.Forms.CheckBox(); this.cbGoogleDriveUseFolder = new System.Windows.Forms.CheckBox();
this.txtGoogleDriveFolderID = new System.Windows.Forms.TextBox(); this.txtGoogleDriveFolderID = new System.Windows.Forms.TextBox();
this.lblGoogleDriveFolderID = new System.Windows.Forms.Label(); this.lblGoogleDriveFolderID = new System.Windows.Forms.Label();
this.lvGoogleDriveFoldersList = new ShareX.HelpersLib.MyListView();
this.chGoogleDriveTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chGoogleDriveDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.btnGoogleDriveRefreshFolders = new System.Windows.Forms.Button(); this.btnGoogleDriveRefreshFolders = new System.Windows.Forms.Button();
this.cbGoogleDriveIsPublic = new System.Windows.Forms.CheckBox(); this.cbGoogleDriveIsPublic = new System.Windows.Forms.CheckBox();
this.tpPuush = new System.Windows.Forms.TabPage(); this.tpPuush = new System.Windows.Forms.TabPage();
@ -208,8 +196,6 @@ private void InitializeComponent()
this.tpBox = new System.Windows.Forms.TabPage(); this.tpBox = new System.Windows.Forms.TabPage();
this.lblBoxFolderTip = new System.Windows.Forms.Label(); this.lblBoxFolderTip = new System.Windows.Forms.Label();
this.cbBoxShare = new System.Windows.Forms.CheckBox(); this.cbBoxShare = new System.Windows.Forms.CheckBox();
this.lvBoxFolders = new ShareX.HelpersLib.MyListView();
this.chBoxFoldersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.lblBoxFolderID = new System.Windows.Forms.Label(); this.lblBoxFolderID = new System.Windows.Forms.Label();
this.btnBoxRefreshFolders = new System.Windows.Forms.Button(); this.btnBoxRefreshFolders = new System.Windows.Forms.Button();
this.tpAmazonS3 = new System.Windows.Forms.TabPage(); this.tpAmazonS3 = new System.Windows.Forms.TabPage();
@ -334,10 +320,6 @@ private void InitializeComponent()
this.btnSeafileLibraryPasswordValidate = new System.Windows.Forms.Button(); this.btnSeafileLibraryPasswordValidate = new System.Windows.Forms.Button();
this.txtSeafileLibraryPassword = new System.Windows.Forms.TextBox(); this.txtSeafileLibraryPassword = new System.Windows.Forms.TextBox();
this.lblSeafileLibraryPassword = new System.Windows.Forms.Label(); this.lblSeafileLibraryPassword = new System.Windows.Forms.Label();
this.lvSeafileLibraries = new ShareX.HelpersLib.MyListView();
this.colSeafileLibraryName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colSeafileLibrarySize = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colSeafileLibraryEncrypted = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.btnSeafilePathValidate = new System.Windows.Forms.Button(); this.btnSeafilePathValidate = new System.Windows.Forms.Button();
this.txtSeafileDirectoryPath = new System.Windows.Forms.TextBox(); this.txtSeafileDirectoryPath = new System.Windows.Forms.TextBox();
this.lblSeafileWritePermNotif = new System.Windows.Forms.Label(); this.lblSeafileWritePermNotif = new System.Windows.Forms.Label();
@ -542,27 +524,45 @@ private void InitializeComponent()
this.cbSomeImageDirectURL = new System.Windows.Forms.CheckBox(); this.cbSomeImageDirectURL = new System.Windows.Forms.CheckBox();
this.tcUploaders = new System.Windows.Forms.TabControl(); this.tcUploaders = new System.Windows.Forms.TabControl();
this.lblWidthHint = new System.Windows.Forms.Label(); this.lblWidthHint = new System.Windows.Forms.Label();
this.ttlvMain = new ShareX.HelpersLib.TabToListView();
this.mbCustomUploaderDestinationType = new ShareX.HelpersLib.MenuButton();
this.cmsCustomUploaderDestinationType = new System.Windows.Forms.ContextMenuStrip(this.components);
this.atcImgurAccountType = new ShareX.UploadersLib.AccountTypeControl(); this.atcImgurAccountType = new ShareX.UploadersLib.AccountTypeControl();
this.oauth2Imgur = new ShareX.UploadersLib.OAuthControl(); this.oauth2Imgur = new ShareX.UploadersLib.OAuthControl();
this.atcTinyPicAccountType = new ShareX.UploadersLib.AccountTypeControl(); this.atcTinyPicAccountType = new ShareX.UploadersLib.AccountTypeControl();
this.oauth2Picasa = new ShareX.UploadersLib.OAuthControl(); this.oauth2Picasa = new ShareX.UploadersLib.OAuthControl();
this.oAuth2Gist = new ShareX.UploadersLib.OAuthControl(); this.oAuth2Gist = new ShareX.UploadersLib.OAuthControl();
this.atcGistAccountType = new ShareX.UploadersLib.AccountTypeControl(); this.atcGistAccountType = new ShareX.UploadersLib.AccountTypeControl();
this.eiFTP = new ShareX.HelpersLib.ExportImportControl();
this.ucFTPAccounts = new ShareX.UploadersLib.AccountsControl(); this.ucFTPAccounts = new ShareX.UploadersLib.AccountsControl();
this.oauth2Dropbox = new ShareX.UploadersLib.OAuthControl(); this.oauth2Dropbox = new ShareX.UploadersLib.OAuthControl();
this.oAuth2OneDrive = new ShareX.UploadersLib.OAuthControl(); this.oAuth2OneDrive = new ShareX.UploadersLib.OAuthControl();
this.lvGoogleDriveFoldersList = new ShareX.HelpersLib.MyListView();
this.chGoogleDriveTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chGoogleDriveDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.oauth2GoogleDrive = new ShareX.UploadersLib.OAuthControl(); this.oauth2GoogleDrive = new ShareX.UploadersLib.OAuthControl();
this.lvBoxFolders = new ShareX.HelpersLib.MyListView();
this.chBoxFoldersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.oauth2Box = new ShareX.UploadersLib.OAuthControl(); this.oauth2Box = new ShareX.UploadersLib.OAuthControl();
this.atcSendSpaceAccountType = new ShareX.UploadersLib.AccountTypeControl(); this.atcSendSpaceAccountType = new ShareX.UploadersLib.AccountTypeControl();
this.oAuthJira = new ShareX.UploadersLib.OAuthControl(); this.oAuthJira = new ShareX.UploadersLib.OAuthControl();
this.oauthTwitter = new ShareX.UploadersLib.OAuthControl(); this.oauthTwitter = new ShareX.UploadersLib.OAuthControl();
this.lvCustomUploaderRegexps = new ShareX.HelpersLib.MyListView();
this.lvRegexpsColumn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.lvCustomUploaderArguments = new ShareX.HelpersLib.MyListView();
this.chCustomUploaderArgumentsName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCustomUploaderArgumentsValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.lvCustomUploaderHeaders = new ShareX.HelpersLib.MyListView();
this.chCustomUploaderHeadersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCustomUploaderHeadersValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.mbCustomUploaderDestinationType = new ShareX.HelpersLib.MenuButton();
this.eiCustomUploaders = new ShareX.HelpersLib.ExportImportControl();
this.oauth2Bitly = new ShareX.UploadersLib.OAuthControl(); this.oauth2Bitly = new ShareX.UploadersLib.OAuthControl();
this.oauth2GoogleURLShortener = new ShareX.UploadersLib.OAuthControl(); this.oauth2GoogleURLShortener = new ShareX.UploadersLib.OAuthControl();
this.atcGoogleURLShortenerAccountType = new ShareX.UploadersLib.AccountTypeControl(); this.atcGoogleURLShortenerAccountType = new ShareX.UploadersLib.AccountTypeControl();
this.lvSeafileLibraries = new ShareX.HelpersLib.MyListView();
this.colSeafileLibraryName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colSeafileLibrarySize = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colSeafileLibraryEncrypted = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.ucLocalhostAccounts = new ShareX.UploadersLib.AccountsControl(); this.ucLocalhostAccounts = new ShareX.UploadersLib.AccountsControl();
this.ttlvMain = new ShareX.HelpersLib.TabToListView();
this.actRapidShareAccountType = new ShareX.UploadersLib.AccountTypeControl(); this.actRapidShareAccountType = new ShareX.UploadersLib.AccountTypeControl();
this.tpOtherUploaders.SuspendLayout(); this.tpOtherUploaders.SuspendLayout();
this.tcOtherUploaders.SuspendLayout(); this.tcOtherUploaders.SuspendLayout();
@ -871,28 +871,6 @@ private void InitializeComponent()
this.btnCustomUploaderRegexpRemove.UseVisualStyleBackColor = true; this.btnCustomUploaderRegexpRemove.UseVisualStyleBackColor = true;
this.btnCustomUploaderRegexpRemove.Click += new System.EventHandler(this.btnCustomUploaderRegexpRemove_Click); this.btnCustomUploaderRegexpRemove.Click += new System.EventHandler(this.btnCustomUploaderRegexpRemove_Click);
// //
// lvCustomUploaderRegexps
//
this.lvCustomUploaderRegexps.AllowDrop = true;
this.lvCustomUploaderRegexps.AllowItemDrag = true;
this.lvCustomUploaderRegexps.AutoFillColumn = true;
this.lvCustomUploaderRegexps.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.lvRegexpsColumn});
this.lvCustomUploaderRegexps.FullRowSelect = true;
this.lvCustomUploaderRegexps.GridLines = true;
this.lvCustomUploaderRegexps.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
this.lvCustomUploaderRegexps.HideSelection = false;
resources.ApplyResources(this.lvCustomUploaderRegexps, "lvCustomUploaderRegexps");
this.lvCustomUploaderRegexps.MultiSelect = false;
this.lvCustomUploaderRegexps.Name = "lvCustomUploaderRegexps";
this.lvCustomUploaderRegexps.UseCompatibleStateImageBehavior = false;
this.lvCustomUploaderRegexps.View = System.Windows.Forms.View.Details;
this.lvCustomUploaderRegexps.SelectedIndexChanged += new System.EventHandler(this.lvCustomUploaderRegexps_SelectedIndexChanged);
//
// lvRegexpsColumn
//
resources.ApplyResources(this.lvRegexpsColumn, "lvRegexpsColumn");
//
// tpCustomUploaderJsonParse // tpCustomUploaderJsonParse
// //
this.tpCustomUploaderJsonParse.Controls.Add(this.btnCustomUploaderJsonAddSyntax); this.tpCustomUploaderJsonParse.Controls.Add(this.btnCustomUploaderJsonAddSyntax);
@ -1026,33 +1004,6 @@ private void InitializeComponent()
this.btnCustomUploaderArgRemove.UseVisualStyleBackColor = true; this.btnCustomUploaderArgRemove.UseVisualStyleBackColor = true;
this.btnCustomUploaderArgRemove.Click += new System.EventHandler(this.btnCustomUploaderArgRemove_Click); this.btnCustomUploaderArgRemove.Click += new System.EventHandler(this.btnCustomUploaderArgRemove_Click);
// //
// lvCustomUploaderArguments
//
this.lvCustomUploaderArguments.AllowDrop = true;
this.lvCustomUploaderArguments.AllowItemDrag = true;
this.lvCustomUploaderArguments.AutoFillColumn = true;
this.lvCustomUploaderArguments.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chCustomUploaderArgumentsName,
this.chCustomUploaderArgumentsValue});
this.lvCustomUploaderArguments.FullRowSelect = true;
this.lvCustomUploaderArguments.GridLines = true;
this.lvCustomUploaderArguments.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.lvCustomUploaderArguments.HideSelection = false;
resources.ApplyResources(this.lvCustomUploaderArguments, "lvCustomUploaderArguments");
this.lvCustomUploaderArguments.MultiSelect = false;
this.lvCustomUploaderArguments.Name = "lvCustomUploaderArguments";
this.lvCustomUploaderArguments.UseCompatibleStateImageBehavior = false;
this.lvCustomUploaderArguments.View = System.Windows.Forms.View.Details;
this.lvCustomUploaderArguments.SelectedIndexChanged += new System.EventHandler(this.lvCustomUploaderArguments_SelectedIndexChanged);
//
// chCustomUploaderArgumentsName
//
resources.ApplyResources(this.chCustomUploaderArgumentsName, "chCustomUploaderArgumentsName");
//
// chCustomUploaderArgumentsValue
//
resources.ApplyResources(this.chCustomUploaderArgumentsValue, "chCustomUploaderArgumentsValue");
//
// tpCustomUploaderHeaders // tpCustomUploaderHeaders
// //
this.tpCustomUploaderHeaders.Controls.Add(this.btnCustomUploaderHeaderUpdate); this.tpCustomUploaderHeaders.Controls.Add(this.btnCustomUploaderHeaderUpdate);
@ -1096,33 +1047,6 @@ private void InitializeComponent()
this.btnCustomUploaderHeaderRemove.UseVisualStyleBackColor = true; this.btnCustomUploaderHeaderRemove.UseVisualStyleBackColor = true;
this.btnCustomUploaderHeaderRemove.Click += new System.EventHandler(this.btnCustomUploaderHeaderRemove_Click); this.btnCustomUploaderHeaderRemove.Click += new System.EventHandler(this.btnCustomUploaderHeaderRemove_Click);
// //
// lvCustomUploaderHeaders
//
this.lvCustomUploaderHeaders.AllowDrop = true;
this.lvCustomUploaderHeaders.AllowItemDrag = true;
this.lvCustomUploaderHeaders.AutoFillColumn = true;
this.lvCustomUploaderHeaders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chCustomUploaderHeadersName,
this.chCustomUploaderHeadersValue});
this.lvCustomUploaderHeaders.FullRowSelect = true;
this.lvCustomUploaderHeaders.GridLines = true;
this.lvCustomUploaderHeaders.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.lvCustomUploaderHeaders.HideSelection = false;
resources.ApplyResources(this.lvCustomUploaderHeaders, "lvCustomUploaderHeaders");
this.lvCustomUploaderHeaders.MultiSelect = false;
this.lvCustomUploaderHeaders.Name = "lvCustomUploaderHeaders";
this.lvCustomUploaderHeaders.UseCompatibleStateImageBehavior = false;
this.lvCustomUploaderHeaders.View = System.Windows.Forms.View.Details;
this.lvCustomUploaderHeaders.SelectedIndexChanged += new System.EventHandler(this.lvCustomUploaderHeaders_SelectedIndexChanged);
//
// chCustomUploaderHeadersName
//
resources.ApplyResources(this.chCustomUploaderHeadersName, "chCustomUploaderHeadersName");
//
// chCustomUploaderHeadersValue
//
resources.ApplyResources(this.chCustomUploaderHeadersValue, "chCustomUploaderHeadersValue");
//
// btnCustomUploaderExamples // btnCustomUploaderExamples
// //
resources.ApplyResources(this.btnCustomUploaderExamples, "btnCustomUploaderExamples"); resources.ApplyResources(this.btnCustomUploaderExamples, "btnCustomUploaderExamples");
@ -1227,6 +1151,11 @@ private void InitializeComponent()
this.gbCustomUploaders.Name = "gbCustomUploaders"; this.gbCustomUploaders.Name = "gbCustomUploaders";
this.gbCustomUploaders.TabStop = false; this.gbCustomUploaders.TabStop = false;
// //
// cmsCustomUploaderDestinationType
//
this.cmsCustomUploaderDestinationType.Name = "cmsCustomUploaderDestinationType";
resources.ApplyResources(this.cmsCustomUploaderDestinationType, "cmsCustomUploaderDestinationType");
//
// btnCustomUploadersExportAll // btnCustomUploadersExportAll
// //
resources.ApplyResources(this.btnCustomUploadersExportAll, "btnCustomUploadersExportAll"); resources.ApplyResources(this.btnCustomUploadersExportAll, "btnCustomUploadersExportAll");
@ -1241,15 +1170,6 @@ private void InitializeComponent()
this.btnCustomUploaderClearUploaders.UseVisualStyleBackColor = true; this.btnCustomUploaderClearUploaders.UseVisualStyleBackColor = true;
this.btnCustomUploaderClearUploaders.Click += new System.EventHandler(this.btnCustomUploaderClearUploaders_Click); this.btnCustomUploaderClearUploaders.Click += new System.EventHandler(this.btnCustomUploaderClearUploaders_Click);
// //
// eiCustomUploaders
//
this.eiCustomUploaders.ExportIgnoreNull = true;
resources.ApplyResources(this.eiCustomUploaders, "eiCustomUploaders");
this.eiCustomUploaders.Name = "eiCustomUploaders";
this.eiCustomUploaders.ObjectType = null;
this.eiCustomUploaders.ExportRequested += new ShareX.HelpersLib.ExportImportControl.ExportEventHandler(this.eiCustomUploaders_ExportRequested);
this.eiCustomUploaders.ImportRequested += new ShareX.HelpersLib.ExportImportControl.ImportEventHandler(this.eiCustomUploaders_ImportRequested);
//
// lbCustomUploaderList // lbCustomUploaderList
// //
this.lbCustomUploaderList.FormattingEnabled = true; this.lbCustomUploaderList.FormattingEnabled = true;
@ -1667,14 +1587,6 @@ private void InitializeComponent()
this.tpFTP.Name = "tpFTP"; this.tpFTP.Name = "tpFTP";
this.tpFTP.UseVisualStyleBackColor = true; this.tpFTP.UseVisualStyleBackColor = true;
// //
// eiFTP
//
resources.ApplyResources(this.eiFTP, "eiFTP");
this.eiFTP.Name = "eiFTP";
this.eiFTP.ObjectType = null;
this.eiFTP.ExportRequested += new ShareX.HelpersLib.ExportImportControl.ExportEventHandler(this.eiFTP_ExportRequested);
this.eiFTP.ImportRequested += new ShareX.HelpersLib.ExportImportControl.ImportEventHandler(this.eiFTP_ImportRequested);
//
// btnFtpClient // btnFtpClient
// //
resources.ApplyResources(this.btnFtpClient, "btnFtpClient"); resources.ApplyResources(this.btnFtpClient, "btnFtpClient");
@ -1847,28 +1759,6 @@ private void InitializeComponent()
resources.ApplyResources(this.lblGoogleDriveFolderID, "lblGoogleDriveFolderID"); resources.ApplyResources(this.lblGoogleDriveFolderID, "lblGoogleDriveFolderID");
this.lblGoogleDriveFolderID.Name = "lblGoogleDriveFolderID"; this.lblGoogleDriveFolderID.Name = "lblGoogleDriveFolderID";
// //
// lvGoogleDriveFoldersList
//
this.lvGoogleDriveFoldersList.AutoFillColumn = true;
this.lvGoogleDriveFoldersList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chGoogleDriveTitle,
this.chGoogleDriveDescription});
this.lvGoogleDriveFoldersList.FullRowSelect = true;
resources.ApplyResources(this.lvGoogleDriveFoldersList, "lvGoogleDriveFoldersList");
this.lvGoogleDriveFoldersList.MultiSelect = false;
this.lvGoogleDriveFoldersList.Name = "lvGoogleDriveFoldersList";
this.lvGoogleDriveFoldersList.UseCompatibleStateImageBehavior = false;
this.lvGoogleDriveFoldersList.View = System.Windows.Forms.View.Details;
this.lvGoogleDriveFoldersList.SelectedIndexChanged += new System.EventHandler(this.lvGoogleDriveFoldersList_SelectedIndexChanged);
//
// chGoogleDriveTitle
//
resources.ApplyResources(this.chGoogleDriveTitle, "chGoogleDriveTitle");
//
// chGoogleDriveDescription
//
resources.ApplyResources(this.chGoogleDriveDescription, "chGoogleDriveDescription");
//
// btnGoogleDriveRefreshFolders // btnGoogleDriveRefreshFolders
// //
resources.ApplyResources(this.btnGoogleDriveRefreshFolders, "btnGoogleDriveRefreshFolders"); resources.ApplyResources(this.btnGoogleDriveRefreshFolders, "btnGoogleDriveRefreshFolders");
@ -1986,23 +1876,6 @@ private void InitializeComponent()
this.cbBoxShare.UseVisualStyleBackColor = true; this.cbBoxShare.UseVisualStyleBackColor = true;
this.cbBoxShare.CheckedChanged += new System.EventHandler(this.cbBoxShare_CheckedChanged); this.cbBoxShare.CheckedChanged += new System.EventHandler(this.cbBoxShare_CheckedChanged);
// //
// lvBoxFolders
//
this.lvBoxFolders.AutoFillColumn = true;
this.lvBoxFolders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chBoxFoldersName});
this.lvBoxFolders.FullRowSelect = true;
resources.ApplyResources(this.lvBoxFolders, "lvBoxFolders");
this.lvBoxFolders.Name = "lvBoxFolders";
this.lvBoxFolders.UseCompatibleStateImageBehavior = false;
this.lvBoxFolders.View = System.Windows.Forms.View.Details;
this.lvBoxFolders.SelectedIndexChanged += new System.EventHandler(this.lvBoxFolders_SelectedIndexChanged);
this.lvBoxFolders.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lvBoxFolders_MouseDoubleClick);
//
// chBoxFoldersName
//
resources.ApplyResources(this.chBoxFoldersName, "chBoxFoldersName");
//
// lblBoxFolderID // lblBoxFolderID
// //
resources.ApplyResources(this.lblBoxFolderID, "lblBoxFolderID"); resources.ApplyResources(this.lblBoxFolderID, "lblBoxFolderID");
@ -2889,35 +2762,6 @@ private void InitializeComponent()
resources.ApplyResources(this.lblSeafileLibraryPassword, "lblSeafileLibraryPassword"); resources.ApplyResources(this.lblSeafileLibraryPassword, "lblSeafileLibraryPassword");
this.lblSeafileLibraryPassword.Name = "lblSeafileLibraryPassword"; this.lblSeafileLibraryPassword.Name = "lblSeafileLibraryPassword";
// //
// lvSeafileLibraries
//
this.lvSeafileLibraries.AllowColumnSort = true;
this.lvSeafileLibraries.AutoFillColumn = true;
this.lvSeafileLibraries.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.colSeafileLibraryName,
this.colSeafileLibrarySize,
this.colSeafileLibraryEncrypted});
this.lvSeafileLibraries.DisableDeselect = true;
this.lvSeafileLibraries.FullRowSelect = true;
this.lvSeafileLibraries.HideSelection = false;
resources.ApplyResources(this.lvSeafileLibraries, "lvSeafileLibraries");
this.lvSeafileLibraries.Name = "lvSeafileLibraries";
this.lvSeafileLibraries.UseCompatibleStateImageBehavior = false;
this.lvSeafileLibraries.View = System.Windows.Forms.View.Details;
this.lvSeafileLibraries.SelectedIndexChanged += new System.EventHandler(this.lvSeafileLibraries_SelectedIndexChanged);
//
// colSeafileLibraryName
//
resources.ApplyResources(this.colSeafileLibraryName, "colSeafileLibraryName");
//
// colSeafileLibrarySize
//
resources.ApplyResources(this.colSeafileLibrarySize, "colSeafileLibrarySize");
//
// colSeafileLibraryEncrypted
//
resources.ApplyResources(this.colSeafileLibraryEncrypted, "colSeafileLibraryEncrypted");
//
// btnSeafilePathValidate // btnSeafilePathValidate
// //
resources.ApplyResources(this.btnSeafilePathValidate, "btnSeafilePathValidate"); resources.ApplyResources(this.btnSeafilePathValidate, "btnSeafilePathValidate");
@ -4362,26 +4206,6 @@ private void InitializeComponent()
resources.ApplyResources(this.lblWidthHint, "lblWidthHint"); resources.ApplyResources(this.lblWidthHint, "lblWidthHint");
this.lblWidthHint.Name = "lblWidthHint"; this.lblWidthHint.Name = "lblWidthHint";
// //
// ttlvMain
//
resources.ApplyResources(this.ttlvMain, "ttlvMain");
this.ttlvMain.ImageList = null;
this.ttlvMain.ListViewSize = 180;
this.ttlvMain.MainTabControl = null;
this.ttlvMain.Name = "ttlvMain";
//
// mbCustomUploaderDestinationType
//
resources.ApplyResources(this.mbCustomUploaderDestinationType, "mbCustomUploaderDestinationType");
this.mbCustomUploaderDestinationType.Menu = this.cmsCustomUploaderDestinationType;
this.mbCustomUploaderDestinationType.Name = "mbCustomUploaderDestinationType";
this.mbCustomUploaderDestinationType.UseVisualStyleBackColor = true;
//
// cmsCustomUploaderDestinationType
//
this.cmsCustomUploaderDestinationType.Name = "cmsCustomUploaderDestinationType";
resources.ApplyResources(this.cmsCustomUploaderDestinationType, "cmsCustomUploaderDestinationType");
//
// atcImgurAccountType // atcImgurAccountType
// //
resources.ApplyResources(this.atcImgurAccountType, "atcImgurAccountType"); resources.ApplyResources(this.atcImgurAccountType, "atcImgurAccountType");
@ -4430,6 +4254,14 @@ private void InitializeComponent()
this.atcGistAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; this.atcGistAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous;
this.atcGistAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGistAccountType_AccountTypeChanged); this.atcGistAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGistAccountType_AccountTypeChanged);
// //
// eiFTP
//
resources.ApplyResources(this.eiFTP, "eiFTP");
this.eiFTP.Name = "eiFTP";
this.eiFTP.ObjectType = null;
this.eiFTP.ExportRequested += new ShareX.HelpersLib.ExportImportControl.ExportEventHandler(this.eiFTP_ExportRequested);
this.eiFTP.ImportRequested += new ShareX.HelpersLib.ExportImportControl.ImportEventHandler(this.eiFTP_ImportRequested);
//
// ucFTPAccounts // ucFTPAccounts
// //
resources.ApplyResources(this.ucFTPAccounts, "ucFTPAccounts"); resources.ApplyResources(this.ucFTPAccounts, "ucFTPAccounts");
@ -4453,6 +4285,28 @@ private void InitializeComponent()
this.oAuth2OneDrive.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2OneDrive_ClearButtonClicked); this.oAuth2OneDrive.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2OneDrive_ClearButtonClicked);
this.oAuth2OneDrive.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oAuth2OneDrive_RefreshButtonClicked); this.oAuth2OneDrive.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oAuth2OneDrive_RefreshButtonClicked);
// //
// lvGoogleDriveFoldersList
//
this.lvGoogleDriveFoldersList.AutoFillColumn = true;
this.lvGoogleDriveFoldersList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chGoogleDriveTitle,
this.chGoogleDriveDescription});
this.lvGoogleDriveFoldersList.FullRowSelect = true;
resources.ApplyResources(this.lvGoogleDriveFoldersList, "lvGoogleDriveFoldersList");
this.lvGoogleDriveFoldersList.MultiSelect = false;
this.lvGoogleDriveFoldersList.Name = "lvGoogleDriveFoldersList";
this.lvGoogleDriveFoldersList.UseCompatibleStateImageBehavior = false;
this.lvGoogleDriveFoldersList.View = System.Windows.Forms.View.Details;
this.lvGoogleDriveFoldersList.SelectedIndexChanged += new System.EventHandler(this.lvGoogleDriveFoldersList_SelectedIndexChanged);
//
// chGoogleDriveTitle
//
resources.ApplyResources(this.chGoogleDriveTitle, "chGoogleDriveTitle");
//
// chGoogleDriveDescription
//
resources.ApplyResources(this.chGoogleDriveDescription, "chGoogleDriveDescription");
//
// oauth2GoogleDrive // oauth2GoogleDrive
// //
resources.ApplyResources(this.oauth2GoogleDrive, "oauth2GoogleDrive"); resources.ApplyResources(this.oauth2GoogleDrive, "oauth2GoogleDrive");
@ -4462,6 +4316,23 @@ private void InitializeComponent()
this.oauth2GoogleDrive.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleDrive_ClearButtonClicked); this.oauth2GoogleDrive.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleDrive_ClearButtonClicked);
this.oauth2GoogleDrive.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleDrive_RefreshButtonClicked); this.oauth2GoogleDrive.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleDrive_RefreshButtonClicked);
// //
// lvBoxFolders
//
this.lvBoxFolders.AutoFillColumn = true;
this.lvBoxFolders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chBoxFoldersName});
this.lvBoxFolders.FullRowSelect = true;
resources.ApplyResources(this.lvBoxFolders, "lvBoxFolders");
this.lvBoxFolders.Name = "lvBoxFolders";
this.lvBoxFolders.UseCompatibleStateImageBehavior = false;
this.lvBoxFolders.View = System.Windows.Forms.View.Details;
this.lvBoxFolders.SelectedIndexChanged += new System.EventHandler(this.lvBoxFolders_SelectedIndexChanged);
this.lvBoxFolders.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lvBoxFolders_MouseDoubleClick);
//
// chBoxFoldersName
//
resources.ApplyResources(this.chBoxFoldersName, "chBoxFoldersName");
//
// oauth2Box // oauth2Box
// //
resources.ApplyResources(this.oauth2Box, "oauth2Box"); resources.ApplyResources(this.oauth2Box, "oauth2Box");
@ -4496,6 +4367,99 @@ private void InitializeComponent()
this.oauthTwitter.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauthTwitter_CompleteButtonClicked); this.oauthTwitter.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauthTwitter_CompleteButtonClicked);
this.oauthTwitter.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauthTwitter_ClearButtonClicked); this.oauthTwitter.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauthTwitter_ClearButtonClicked);
// //
// lvCustomUploaderRegexps
//
this.lvCustomUploaderRegexps.AllowDrop = true;
this.lvCustomUploaderRegexps.AllowItemDrag = true;
this.lvCustomUploaderRegexps.AutoFillColumn = true;
this.lvCustomUploaderRegexps.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.lvRegexpsColumn});
this.lvCustomUploaderRegexps.FullRowSelect = true;
this.lvCustomUploaderRegexps.GridLines = true;
this.lvCustomUploaderRegexps.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
this.lvCustomUploaderRegexps.HideSelection = false;
resources.ApplyResources(this.lvCustomUploaderRegexps, "lvCustomUploaderRegexps");
this.lvCustomUploaderRegexps.MultiSelect = false;
this.lvCustomUploaderRegexps.Name = "lvCustomUploaderRegexps";
this.lvCustomUploaderRegexps.UseCompatibleStateImageBehavior = false;
this.lvCustomUploaderRegexps.View = System.Windows.Forms.View.Details;
this.lvCustomUploaderRegexps.SelectedIndexChanged += new System.EventHandler(this.lvCustomUploaderRegexps_SelectedIndexChanged);
//
// lvRegexpsColumn
//
resources.ApplyResources(this.lvRegexpsColumn, "lvRegexpsColumn");
//
// lvCustomUploaderArguments
//
this.lvCustomUploaderArguments.AllowDrop = true;
this.lvCustomUploaderArguments.AllowItemDrag = true;
this.lvCustomUploaderArguments.AutoFillColumn = true;
this.lvCustomUploaderArguments.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chCustomUploaderArgumentsName,
this.chCustomUploaderArgumentsValue});
this.lvCustomUploaderArguments.FullRowSelect = true;
this.lvCustomUploaderArguments.GridLines = true;
this.lvCustomUploaderArguments.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.lvCustomUploaderArguments.HideSelection = false;
resources.ApplyResources(this.lvCustomUploaderArguments, "lvCustomUploaderArguments");
this.lvCustomUploaderArguments.MultiSelect = false;
this.lvCustomUploaderArguments.Name = "lvCustomUploaderArguments";
this.lvCustomUploaderArguments.UseCompatibleStateImageBehavior = false;
this.lvCustomUploaderArguments.View = System.Windows.Forms.View.Details;
this.lvCustomUploaderArguments.SelectedIndexChanged += new System.EventHandler(this.lvCustomUploaderArguments_SelectedIndexChanged);
//
// chCustomUploaderArgumentsName
//
resources.ApplyResources(this.chCustomUploaderArgumentsName, "chCustomUploaderArgumentsName");
//
// chCustomUploaderArgumentsValue
//
resources.ApplyResources(this.chCustomUploaderArgumentsValue, "chCustomUploaderArgumentsValue");
//
// lvCustomUploaderHeaders
//
this.lvCustomUploaderHeaders.AllowDrop = true;
this.lvCustomUploaderHeaders.AllowItemDrag = true;
this.lvCustomUploaderHeaders.AutoFillColumn = true;
this.lvCustomUploaderHeaders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chCustomUploaderHeadersName,
this.chCustomUploaderHeadersValue});
this.lvCustomUploaderHeaders.FullRowSelect = true;
this.lvCustomUploaderHeaders.GridLines = true;
this.lvCustomUploaderHeaders.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.lvCustomUploaderHeaders.HideSelection = false;
resources.ApplyResources(this.lvCustomUploaderHeaders, "lvCustomUploaderHeaders");
this.lvCustomUploaderHeaders.MultiSelect = false;
this.lvCustomUploaderHeaders.Name = "lvCustomUploaderHeaders";
this.lvCustomUploaderHeaders.UseCompatibleStateImageBehavior = false;
this.lvCustomUploaderHeaders.View = System.Windows.Forms.View.Details;
this.lvCustomUploaderHeaders.SelectedIndexChanged += new System.EventHandler(this.lvCustomUploaderHeaders_SelectedIndexChanged);
//
// chCustomUploaderHeadersName
//
resources.ApplyResources(this.chCustomUploaderHeadersName, "chCustomUploaderHeadersName");
//
// chCustomUploaderHeadersValue
//
resources.ApplyResources(this.chCustomUploaderHeadersValue, "chCustomUploaderHeadersValue");
//
// mbCustomUploaderDestinationType
//
resources.ApplyResources(this.mbCustomUploaderDestinationType, "mbCustomUploaderDestinationType");
this.mbCustomUploaderDestinationType.Menu = this.cmsCustomUploaderDestinationType;
this.mbCustomUploaderDestinationType.Name = "mbCustomUploaderDestinationType";
this.mbCustomUploaderDestinationType.UseVisualStyleBackColor = true;
//
// eiCustomUploaders
//
this.eiCustomUploaders.CustomFilter = "ShareX custom uploader (*.sxcu)|*.sxcu";
this.eiCustomUploaders.ExportIgnoreNull = true;
resources.ApplyResources(this.eiCustomUploaders, "eiCustomUploaders");
this.eiCustomUploaders.Name = "eiCustomUploaders";
this.eiCustomUploaders.ObjectType = null;
this.eiCustomUploaders.ExportRequested += new ShareX.HelpersLib.ExportImportControl.ExportEventHandler(this.eiCustomUploaders_ExportRequested);
this.eiCustomUploaders.ImportRequested += new ShareX.HelpersLib.ExportImportControl.ImportEventHandler(this.eiCustomUploaders_ImportRequested);
//
// oauth2Bitly // oauth2Bitly
// //
this.oauth2Bitly.IsRefreshable = false; this.oauth2Bitly.IsRefreshable = false;
@ -4521,11 +4485,48 @@ private void InitializeComponent()
this.atcGoogleURLShortenerAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; this.atcGoogleURLShortenerAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous;
this.atcGoogleURLShortenerAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGoogleURLShortenerAccountType_AccountTypeChanged); this.atcGoogleURLShortenerAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGoogleURLShortenerAccountType_AccountTypeChanged);
// //
// lvSeafileLibraries
//
this.lvSeafileLibraries.AllowColumnSort = true;
this.lvSeafileLibraries.AutoFillColumn = true;
this.lvSeafileLibraries.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.colSeafileLibraryName,
this.colSeafileLibrarySize,
this.colSeafileLibraryEncrypted});
this.lvSeafileLibraries.DisableDeselect = true;
this.lvSeafileLibraries.FullRowSelect = true;
this.lvSeafileLibraries.HideSelection = false;
resources.ApplyResources(this.lvSeafileLibraries, "lvSeafileLibraries");
this.lvSeafileLibraries.Name = "lvSeafileLibraries";
this.lvSeafileLibraries.UseCompatibleStateImageBehavior = false;
this.lvSeafileLibraries.View = System.Windows.Forms.View.Details;
this.lvSeafileLibraries.SelectedIndexChanged += new System.EventHandler(this.lvSeafileLibraries_SelectedIndexChanged);
//
// colSeafileLibraryName
//
resources.ApplyResources(this.colSeafileLibraryName, "colSeafileLibraryName");
//
// colSeafileLibrarySize
//
resources.ApplyResources(this.colSeafileLibrarySize, "colSeafileLibrarySize");
//
// colSeafileLibraryEncrypted
//
resources.ApplyResources(this.colSeafileLibraryEncrypted, "colSeafileLibraryEncrypted");
//
// ucLocalhostAccounts // ucLocalhostAccounts
// //
resources.ApplyResources(this.ucLocalhostAccounts, "ucLocalhostAccounts"); resources.ApplyResources(this.ucLocalhostAccounts, "ucLocalhostAccounts");
this.ucLocalhostAccounts.Name = "ucLocalhostAccounts"; this.ucLocalhostAccounts.Name = "ucLocalhostAccounts";
// //
// ttlvMain
//
resources.ApplyResources(this.ttlvMain, "ttlvMain");
this.ttlvMain.ImageList = null;
this.ttlvMain.ListViewSize = 180;
this.ttlvMain.MainTabControl = null;
this.ttlvMain.Name = "ttlvMain";
//
// actRapidShareAccountType // actRapidShareAccountType
// //
resources.ApplyResources(this.actRapidShareAccountType, "actRapidShareAccountType"); resources.ApplyResources(this.actRapidShareAccountType, "actRapidShareAccountType");

View file

@ -3743,7 +3743,7 @@ store.book[0].title</value>
<value>4, 4, 4, 4</value> <value>4, 4, 4, 4</value>
</data> </data>
<data name="ucFTPAccounts.Size" type="System.Drawing.Size, System.Drawing"> <data name="ucFTPAccounts.Size" type="System.Drawing.Size, System.Drawing">
<value>792, 414</value> <value>792, 396</value>
</data> </data>
<data name="ucFTPAccounts.TabIndex" type="System.Int32, mscorlib"> <data name="ucFTPAccounts.TabIndex" type="System.Int32, mscorlib">
<value>6</value> <value>6</value>
@ -13891,72 +13891,6 @@ Using an encrypted library disables sharing.</value>
<data name="&gt;&gt;ttHelpTip.Type" xml:space="preserve"> <data name="&gt;&gt;ttHelpTip.Type" xml:space="preserve">
<value>System.Windows.Forms.ToolTip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Windows.Forms.ToolTip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data> </data>
<data name="&gt;&gt;lvRegexpsColumn.Name" xml:space="preserve">
<value>lvRegexpsColumn</value>
</data>
<data name="&gt;&gt;lvRegexpsColumn.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;chCustomUploaderArgumentsName.Name" xml:space="preserve">
<value>chCustomUploaderArgumentsName</value>
</data>
<data name="&gt;&gt;chCustomUploaderArgumentsName.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;chCustomUploaderArgumentsValue.Name" xml:space="preserve">
<value>chCustomUploaderArgumentsValue</value>
</data>
<data name="&gt;&gt;chCustomUploaderArgumentsValue.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;chCustomUploaderHeadersName.Name" xml:space="preserve">
<value>chCustomUploaderHeadersName</value>
</data>
<data name="&gt;&gt;chCustomUploaderHeadersName.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;chCustomUploaderHeadersValue.Name" xml:space="preserve">
<value>chCustomUploaderHeadersValue</value>
</data>
<data name="&gt;&gt;chCustomUploaderHeadersValue.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;chGoogleDriveTitle.Name" xml:space="preserve">
<value>chGoogleDriveTitle</value>
</data>
<data name="&gt;&gt;chGoogleDriveTitle.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;chGoogleDriveDescription.Name" xml:space="preserve">
<value>chGoogleDriveDescription</value>
</data>
<data name="&gt;&gt;chGoogleDriveDescription.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;chBoxFoldersName.Name" xml:space="preserve">
<value>chBoxFoldersName</value>
</data>
<data name="&gt;&gt;chBoxFoldersName.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;colSeafileLibraryName.Name" xml:space="preserve">
<value>colSeafileLibraryName</value>
</data>
<data name="&gt;&gt;colSeafileLibraryName.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;colSeafileLibrarySize.Name" xml:space="preserve">
<value>colSeafileLibrarySize</value>
</data>
<data name="&gt;&gt;colSeafileLibrarySize.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;colSeafileLibraryEncrypted.Name" xml:space="preserve">
<value>colSeafileLibraryEncrypted</value>
</data>
<data name="&gt;&gt;colSeafileLibraryEncrypted.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;chImgurID.Name" xml:space="preserve"> <data name="&gt;&gt;chImgurID.Name" xml:space="preserve">
<value>chImgurID</value> <value>chImgurID</value>
</data> </data>
@ -13993,6 +13927,72 @@ Using an encrypted library disables sharing.</value>
<data name="&gt;&gt;chPicasaDescription.Type" xml:space="preserve"> <data name="&gt;&gt;chPicasaDescription.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data> </data>
<data name="&gt;&gt;chGoogleDriveTitle.Name" xml:space="preserve">
<value>chGoogleDriveTitle</value>
</data>
<data name="&gt;&gt;chGoogleDriveTitle.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;chGoogleDriveDescription.Name" xml:space="preserve">
<value>chGoogleDriveDescription</value>
</data>
<data name="&gt;&gt;chGoogleDriveDescription.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;chBoxFoldersName.Name" xml:space="preserve">
<value>chBoxFoldersName</value>
</data>
<data name="&gt;&gt;chBoxFoldersName.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;lvRegexpsColumn.Name" xml:space="preserve">
<value>lvRegexpsColumn</value>
</data>
<data name="&gt;&gt;lvRegexpsColumn.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;chCustomUploaderArgumentsName.Name" xml:space="preserve">
<value>chCustomUploaderArgumentsName</value>
</data>
<data name="&gt;&gt;chCustomUploaderArgumentsName.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;chCustomUploaderArgumentsValue.Name" xml:space="preserve">
<value>chCustomUploaderArgumentsValue</value>
</data>
<data name="&gt;&gt;chCustomUploaderArgumentsValue.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;chCustomUploaderHeadersName.Name" xml:space="preserve">
<value>chCustomUploaderHeadersName</value>
</data>
<data name="&gt;&gt;chCustomUploaderHeadersName.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;chCustomUploaderHeadersValue.Name" xml:space="preserve">
<value>chCustomUploaderHeadersValue</value>
</data>
<data name="&gt;&gt;chCustomUploaderHeadersValue.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;colSeafileLibraryName.Name" xml:space="preserve">
<value>colSeafileLibraryName</value>
</data>
<data name="&gt;&gt;colSeafileLibraryName.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;colSeafileLibrarySize.Name" xml:space="preserve">
<value>colSeafileLibrarySize</value>
</data>
<data name="&gt;&gt;colSeafileLibrarySize.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;colSeafileLibraryEncrypted.Name" xml:space="preserve">
<value>colSeafileLibraryEncrypted</value>
</data>
<data name="&gt;&gt;colSeafileLibraryEncrypted.Type" xml:space="preserve">
<value>System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve"> <data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>UploadersConfigForm</value> <value>UploadersConfigForm</value>
</data> </data>

View file

@ -1647,7 +1647,7 @@ private void CustomUploaderExportAll()
foreach (CustomUploaderItem item in Config.CustomUploadersList) foreach (CustomUploaderItem item in Config.CustomUploadersList)
{ {
string json = eiCustomUploaders.Serialize(item); string json = eiCustomUploaders.Serialize(item);
string filepath = Path.Combine(fsd.FileName, item.Name + ".json"); string filepath = Path.Combine(fsd.FileName, item.Name + ".sxcu");
File.WriteAllText(filepath, json, Encoding.UTF8); File.WriteAllText(filepath, json, Encoding.UTF8);
} }
} }