diff --git a/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.Designer.cs b/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.Designer.cs index b4ead787b..657e7cfd9 100644 --- a/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.Designer.cs +++ b/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.Designer.cs @@ -45,7 +45,7 @@ private void InitializeComponent() this.tbOpusBitrate = new System.Windows.Forms.TrackBar(); this.nudGIFBayerScale = new System.Windows.Forms.NumericUpDown(); this.lblCodec = new System.Windows.Forms.Label(); - this.cboVideoCodec = new System.Windows.Forms.ComboBox(); + this.cbVideoCodec = new System.Windows.Forms.ComboBox(); this.lblx264Preset = new System.Windows.Forms.Label(); this.lblXvidQscale = new System.Windows.Forms.Label(); this.gbFFmpegExe = new System.Windows.Forms.GroupBox(); @@ -94,11 +94,11 @@ private void InitializeComponent() this.lblVorbisQuality = new System.Windows.Forms.Label(); this.tpMP3 = new System.Windows.Forms.TabPage(); this.lblMP3Quality = new System.Windows.Forms.Label(); - this.cboVideoSource = new System.Windows.Forms.ComboBox(); + this.cbVideoSource = new System.Windows.Forms.ComboBox(); this.lblVideoSource = new System.Windows.Forms.Label(); - this.cboAudioSource = new System.Windows.Forms.ComboBox(); + this.cbAudioSource = new System.Windows.Forms.ComboBox(); this.lblAudioSource = new System.Windows.Forms.Label(); - this.cboAudioCodec = new System.Windows.Forms.ComboBox(); + this.cbAudioCodec = new System.Windows.Forms.ComboBox(); this.lblAudioCodec = new System.Windows.Forms.Label(); this.gbSource = new System.Windows.Forms.GroupBox(); this.btnHelperDevicesHelp = new System.Windows.Forms.Button(); @@ -307,13 +307,13 @@ private void InitializeComponent() resources.ApplyResources(this.lblCodec, "lblCodec"); this.lblCodec.Name = "lblCodec"; // - // cboVideoCodec + // cbVideoCodec // - this.cboVideoCodec.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboVideoCodec.FormattingEnabled = true; - resources.ApplyResources(this.cboVideoCodec, "cboVideoCodec"); - this.cboVideoCodec.Name = "cboVideoCodec"; - this.cboVideoCodec.SelectedIndexChanged += new System.EventHandler(this.cboVideoCodec_SelectedIndexChanged); + this.cbVideoCodec.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbVideoCodec.FormattingEnabled = true; + resources.ApplyResources(this.cbVideoCodec, "cbVideoCodec"); + this.cbVideoCodec.Name = "cbVideoCodec"; + this.cbVideoCodec.SelectedIndexChanged += new System.EventHandler(this.cbVideoCodec_SelectedIndexChanged); // // lblx264Preset // @@ -706,39 +706,39 @@ private void InitializeComponent() resources.ApplyResources(this.lblMP3Quality, "lblMP3Quality"); this.lblMP3Quality.Name = "lblMP3Quality"; // - // cboVideoSource + // cbVideoSource // - this.cboVideoSource.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboVideoSource.FormattingEnabled = true; - resources.ApplyResources(this.cboVideoSource, "cboVideoSource"); - this.cboVideoSource.Name = "cboVideoSource"; - this.cboVideoSource.SelectedIndexChanged += new System.EventHandler(this.cboVideoSource_SelectedIndexChanged); + this.cbVideoSource.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbVideoSource.FormattingEnabled = true; + resources.ApplyResources(this.cbVideoSource, "cbVideoSource"); + this.cbVideoSource.Name = "cbVideoSource"; + this.cbVideoSource.SelectedIndexChanged += new System.EventHandler(this.cbVideoSource_SelectedIndexChanged); // // lblVideoSource // resources.ApplyResources(this.lblVideoSource, "lblVideoSource"); this.lblVideoSource.Name = "lblVideoSource"; // - // cboAudioSource + // cbAudioSource // - this.cboAudioSource.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboAudioSource.FormattingEnabled = true; - resources.ApplyResources(this.cboAudioSource, "cboAudioSource"); - this.cboAudioSource.Name = "cboAudioSource"; - this.cboAudioSource.SelectedIndexChanged += new System.EventHandler(this.cboAudioSource_SelectedIndexChanged); + this.cbAudioSource.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbAudioSource.FormattingEnabled = true; + resources.ApplyResources(this.cbAudioSource, "cbAudioSource"); + this.cbAudioSource.Name = "cbAudioSource"; + this.cbAudioSource.SelectedIndexChanged += new System.EventHandler(this.cbAudioSource_SelectedIndexChanged); // // lblAudioSource // resources.ApplyResources(this.lblAudioSource, "lblAudioSource"); this.lblAudioSource.Name = "lblAudioSource"; // - // cboAudioCodec + // cbAudioCodec // - this.cboAudioCodec.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboAudioCodec.FormattingEnabled = true; - resources.ApplyResources(this.cboAudioCodec, "cboAudioCodec"); - this.cboAudioCodec.Name = "cboAudioCodec"; - this.cboAudioCodec.SelectedIndexChanged += new System.EventHandler(this.cboAudioCodec_SelectedIndexChanged); + this.cbAudioCodec.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbAudioCodec.FormattingEnabled = true; + resources.ApplyResources(this.cbAudioCodec, "cbAudioCodec"); + this.cbAudioCodec.Name = "cbAudioCodec"; + this.cbAudioCodec.SelectedIndexChanged += new System.EventHandler(this.cbAudioCodec_SelectedIndexChanged); // // lblAudioCodec // @@ -750,9 +750,9 @@ private void InitializeComponent() this.gbSource.Controls.Add(this.btnHelperDevicesHelp); this.gbSource.Controls.Add(this.lblHelperDevices); this.gbSource.Controls.Add(this.btnInstallHelperDevices); - this.gbSource.Controls.Add(this.cboVideoSource); + this.gbSource.Controls.Add(this.cbVideoSource); this.gbSource.Controls.Add(this.lblVideoSource); - this.gbSource.Controls.Add(this.cboAudioSource); + this.gbSource.Controls.Add(this.cbAudioSource); this.gbSource.Controls.Add(this.lblAudioSource); this.gbSource.Controls.Add(this.btnRefreshSources); resources.ApplyResources(this.gbSource, "gbSource"); @@ -788,9 +788,9 @@ private void InitializeComponent() // gbCodecs // this.gbCodecs.Controls.Add(this.pbAudioCodecWarning); - this.gbCodecs.Controls.Add(this.cboAudioCodec); + this.gbCodecs.Controls.Add(this.cbAudioCodec); this.gbCodecs.Controls.Add(this.lblAudioCodec); - this.gbCodecs.Controls.Add(this.cboVideoCodec); + this.gbCodecs.Controls.Add(this.cbVideoCodec); this.gbCodecs.Controls.Add(this.lblCodec); this.gbCodecs.Controls.Add(this.tcFFmpegAudioCodecs); this.gbCodecs.Controls.Add(this.tcFFmpegVideoCodecs); @@ -885,7 +885,7 @@ private void InitializeComponent() private System.Windows.Forms.NumericUpDown nudx264CRF; private System.Windows.Forms.ToolTip ttHelpTip; private System.Windows.Forms.Label lblCodec; - private System.Windows.Forms.ComboBox cboVideoCodec; + private System.Windows.Forms.ComboBox cbVideoCodec; private System.Windows.Forms.ComboBox cbx264Preset; private System.Windows.Forms.Label lblx264Preset; private System.Windows.Forms.NumericUpDown nudXvidQscale; @@ -907,11 +907,11 @@ private void InitializeComponent() private System.Windows.Forms.TabControl tcFFmpegAudioCodecs; private System.Windows.Forms.TabPage tpVorbis; private System.Windows.Forms.TabPage tpMP3; - private System.Windows.Forms.ComboBox cboVideoSource; + private System.Windows.Forms.ComboBox cbVideoSource; private System.Windows.Forms.Label lblVideoSource; - private System.Windows.Forms.ComboBox cboAudioSource; + private System.Windows.Forms.ComboBox cbAudioSource; private System.Windows.Forms.Label lblAudioSource; - private System.Windows.Forms.ComboBox cboAudioCodec; + private System.Windows.Forms.ComboBox cbAudioCodec; private System.Windows.Forms.Label lblAudioCodec; private System.Windows.Forms.GroupBox gbSource; private System.Windows.Forms.GroupBox gbCodecs; diff --git a/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.cs b/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.cs index 38a102514..0b67ff518 100644 --- a/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.cs +++ b/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.cs @@ -51,8 +51,8 @@ public FFmpegOptionsForm(ScreencastOptions options) ShareXResources.ApplyTheme(this); eiFFmpeg.ObjectType = typeof(FFmpegOptions); - cboVideoCodec.Items.AddRange(Helpers.GetEnumDescriptions()); - cboAudioCodec.Items.AddRange(Helpers.GetEnumDescriptions()); + cbVideoCodec.Items.AddRange(Helpers.GetEnumDescriptions()); + cbAudioCodec.Items.AddRange(Helpers.GetEnumDescriptions()); cbx264Preset.Items.AddRange(Helpers.GetEnumDescriptions()); cbGIFStatsMode.Items.AddRange(Helpers.GetEnumDescriptions()); cbNVENCPreset.Items.AddRange(Helpers.GetEnums().Select(x => $"{x} ({x.GetDescription()})").ToArray()); @@ -86,8 +86,8 @@ private async Task SettingsLoad() lblHelperDevices.Visible = false; #endif - cboVideoCodec.SelectedIndex = (int)Options.FFmpeg.VideoCodec; - cboAudioCodec.SelectedIndex = (int)Options.FFmpeg.AudioCodec; + cbVideoCodec.SelectedIndex = (int)Options.FFmpeg.VideoCodec; + cbAudioCodec.SelectedIndex = (int)Options.FFmpeg.AudioCodec; tbUserArgs.Text = Options.FFmpeg.UserArgs; @@ -161,39 +161,39 @@ await Task.Run(() => if (!IsDisposed) { - cboVideoSource.Items.Clear(); - cboVideoSource.Items.Add(FFmpegCLIManager.SourceNone); - cboVideoSource.Items.Add(FFmpegCLIManager.SourceGDIGrab); - cboAudioSource.Items.Clear(); - cboAudioSource.Items.Add(FFmpegCLIManager.SourceNone); + cbVideoSource.Items.Clear(); + cbVideoSource.Items.Add(FFmpegCLIManager.SourceNone); + cbVideoSource.Items.Add(FFmpegCLIManager.SourceGDIGrab); + cbAudioSource.Items.Clear(); + cbAudioSource.Items.Add(FFmpegCLIManager.SourceNone); if (devices != null) { - cboVideoSource.Items.AddRange(devices.VideoDevices.ToArray()); - cboAudioSource.Items.AddRange(devices.AudioDevices.ToArray()); + cbVideoSource.Items.AddRange(devices.VideoDevices.ToArray()); + cbAudioSource.Items.AddRange(devices.AudioDevices.ToArray()); } - if (selectDevices && cboVideoSource.Items.Contains(FFmpegCLIManager.SourceVideoDevice)) + if (selectDevices && cbVideoSource.Items.Contains(FFmpegCLIManager.SourceVideoDevice)) { Options.FFmpeg.VideoSource = FFmpegCLIManager.SourceVideoDevice; } - else if (!cboVideoSource.Items.Contains(Options.FFmpeg.VideoSource)) + else if (!cbVideoSource.Items.Contains(Options.FFmpeg.VideoSource)) { Options.FFmpeg.VideoSource = FFmpegCLIManager.SourceGDIGrab; } - cboVideoSource.Text = Options.FFmpeg.VideoSource; + cbVideoSource.Text = Options.FFmpeg.VideoSource; - if (selectDevices && cboAudioSource.Items.Contains(FFmpegCLIManager.SourceAudioDevice)) + if (selectDevices && cbAudioSource.Items.Contains(FFmpegCLIManager.SourceAudioDevice)) { Options.FFmpeg.AudioSource = FFmpegCLIManager.SourceAudioDevice; } - else if (!cboAudioSource.Items.Contains(Options.FFmpeg.AudioSource)) + else if (!cbAudioSource.Items.Contains(Options.FFmpeg.AudioSource)) { Options.FFmpeg.AudioSource = FFmpegCLIManager.SourceNone; } - cboAudioSource.Text = Options.FFmpeg.AudioSource; + cbAudioSource.Text = Options.FFmpeg.AudioSource; btnRefreshSources.Enabled = true; } @@ -209,11 +209,11 @@ private void UpdateUI() lblOpusQuality.Text = string.Format(Resources.FFmpegOptionsForm_UpdateUI_Bitrate___0_k, Options.FFmpeg.Opus_bitrate); bool isValidAudioCodec = true; - FFmpegVideoCodec videoCodec = (FFmpegVideoCodec)cboVideoCodec.SelectedIndex; + FFmpegVideoCodec videoCodec = (FFmpegVideoCodec)cbVideoCodec.SelectedIndex; if (videoCodec == FFmpegVideoCodec.libvpx) { - FFmpegAudioCodec audioCodec = (FFmpegAudioCodec)cboAudioCodec.SelectedIndex; + FFmpegAudioCodec audioCodec = (FFmpegAudioCodec)cbAudioCodec.SelectedIndex; if (audioCodec != FFmpegAudioCodec.libvorbis && audioCodec != FFmpegAudioCodec.libopus) { @@ -287,15 +287,15 @@ private async void btnRefreshSources_Click(object sender, EventArgs e) await RefreshSourcesAsync(); } - private void cboVideoSource_SelectedIndexChanged(object sender, EventArgs e) + private void cbVideoSource_SelectedIndexChanged(object sender, EventArgs e) { - Options.FFmpeg.VideoSource = cboVideoSource.Text; + Options.FFmpeg.VideoSource = cbVideoSource.Text; UpdateUI(); } - private void cboAudioSource_SelectedIndexChanged(object sender, EventArgs e) + private void cbAudioSource_SelectedIndexChanged(object sender, EventArgs e) { - Options.FFmpeg.AudioSource = cboAudioSource.Text; + Options.FFmpeg.AudioSource = cbAudioSource.Text; UpdateUI(); } @@ -342,11 +342,11 @@ private void btnHelperDevicesHelp_Click(object sender, EventArgs e) URLHelpers.OpenURL("https://github.com/rdp/screen-capture-recorder-to-video-windows-free"); } - private void cboVideoCodec_SelectedIndexChanged(object sender, EventArgs e) + private void cbVideoCodec_SelectedIndexChanged(object sender, EventArgs e) { - Options.FFmpeg.VideoCodec = (FFmpegVideoCodec)cboVideoCodec.SelectedIndex; + Options.FFmpeg.VideoCodec = (FFmpegVideoCodec)cbVideoCodec.SelectedIndex; - if (cboVideoCodec.SelectedIndex >= 0) + if (cbVideoCodec.SelectedIndex >= 0) { switch (Options.FFmpeg.VideoCodec) { @@ -383,11 +383,11 @@ private void cboVideoCodec_SelectedIndexChanged(object sender, EventArgs e) UpdateUI(); } - private void cboAudioCodec_SelectedIndexChanged(object sender, EventArgs e) + private void cbAudioCodec_SelectedIndexChanged(object sender, EventArgs e) { - Options.FFmpeg.AudioCodec = (FFmpegAudioCodec)cboAudioCodec.SelectedIndex; + Options.FFmpeg.AudioCodec = (FFmpegAudioCodec)cbAudioCodec.SelectedIndex; - if (cboAudioCodec.SelectedIndex >= 0) + if (cbAudioCodec.SelectedIndex >= 0) { switch (Options.FFmpeg.AudioCodec) { diff --git a/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.resx b/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.resx index e8913bcc9..a0695e0b2 100644 --- a/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.resx +++ b/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.resx @@ -133,7 +133,6 @@ CRF: - @Invariant lblx264CRF @@ -147,6 +146,9 @@ 2 + + 17, 17 + 144, 12 @@ -160,9 +162,6 @@ Center - - 17, 17 - Constant Rate Factor (CRF): The value can be between 0-51, where 0 is lossless, 30 is default, and 51 is the worst possible. A higher value means bad quality, but a low file size. @@ -179,6 +178,9 @@ A higher value means bad quality, but a low file size. 1 + + 17, 17 + 144, 12 @@ -506,25 +508,25 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 4 - + 120, 20 - + 160, 21 - + 1 - - cboVideoCodec + + cbVideoCodec - + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + gbCodecs - + 3 @@ -581,18 +583,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 1 - - 552, 22 - - - 88, 24 - - - 2 - - - Download - btnDownload @@ -605,19 +595,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 0 - - 512, 22 - - - 32, 24 - - - 1 - - - ... - @Invariant - btnFFmpegBrowse @@ -630,15 +607,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 1 - - 8, 24 - - - 496, 20 - - - 0 - txtFFmpegPath @@ -675,6 +643,75 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 7 + + 552, 22 + + + 88, 24 + + + 2 + + + Download + + + btnDownload + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbFFmpegExe + + + 0 + + + 512, 22 + + + 32, 24 + + + 1 + + + ... + + + btnFFmpegBrowse + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbFFmpegExe + + + 1 + + + 8, 24 + + + 496, 20 + + + 0 + + + txtFFmpegPath + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbFFmpegExe + + + 2 + True @@ -702,6 +739,57 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 0 + + cbCustomCommands + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbCommandLinePreview + + + 0 + + + txtCommandLinePreview + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbCommandLinePreview + + + 1 + + + 8, 409 + + + 8, 8, 8, 8 + + + 648, 96 + + + 6 + + + Command line preview + + + gbCommandLinePreview + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 6 + True @@ -762,45 +850,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 1 - - 8, 409 - - - 8, 8, 8, 8 - - - 648, 96 - - - 6 - - - Command line preview - - - gbCommandLinePreview - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 6 - - - Top, Left, Right - - - 8, 24 - - - 632, 20 - - - 0 - tbUserArgs @@ -837,6 +886,135 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 8 + + Top, Left, Right + + + 8, 24 + + + 632, 20 + + + 0 + + + tbUserArgs + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbCommandLineArgs + + + 0 + + + tpX264 + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcFFmpegVideoCodecs + + + 0 + + + tpVpx + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcFFmpegVideoCodecs + + + 1 + + + tpXvid + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcFFmpegVideoCodecs + + + 2 + + + tpNVENC + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcFFmpegVideoCodecs + + + 3 + + + tpGIF + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcFFmpegVideoCodecs + + + 4 + + + tbAMF + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcFFmpegVideoCodecs + + + 5 + + + tbQSV + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcFFmpegVideoCodecs + + + 6 + + + 8, 56 + + + 312, 96 + + + 3 + + + tcFFmpegVideoCodecs + + + System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbCodecs + + + 6 + 4, 22 @@ -851,7 +1029,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< x264 / x265 - @Invariant tpX264 @@ -865,6 +1042,66 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 0 + + lblVP8BitrateK + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpVpx + + + 0 + + + nudVP8Bitrate + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpVpx + + + 1 + + + lblVP8Bitrate + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpVpx + + + 2 + + + 4, 22 + + + 304, 70 + + + 2 + + + VP8 + + + tpVpx + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcFFmpegVideoCodecs + + + 1 + True @@ -882,7 +1119,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< kbit/s - @Invariant lblVP8BitrateK @@ -947,31 +1183,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 2 - - 4, 22 - - - 304, 70 - - - 2 - - - VP8 - @Invariant - - - tpVpx - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcFFmpegVideoCodecs - - - 1 - 4, 22 @@ -983,7 +1194,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< Xvid - @Invariant tpXvid @@ -997,6 +1207,81 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 2 + + cbNVENCPreset + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpNVENC + + + 0 + + + lblNVENCPreset + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpNVENC + + + 1 + + + nudNVENCBitrate + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpNVENC + + + 2 + + + lblNVENCBitrate + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpNVENC + + + 3 + + + 4, 22 + + + 3, 3, 3, 3 + + + 304, 70 + + + 5 + + + NVENC + + + tpNVENC + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcFFmpegVideoCodecs + + + 3 + 96, 12 @@ -1096,33 +1381,56 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 3 - + + lblGIFDither + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpGIF + + + 2 + + + lblGIFStatsMode + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpGIF + + + 4 + + 4, 22 - + 3, 3, 3, 3 - + 304, 70 - - 5 + + 4 - - NVENC - @Invariant + + GIF - - tpNVENC + + tpGIF - + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + tcFFmpegVideoCodecs - - 3 + + 4 True @@ -1181,33 +1489,80 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 4 - + + cbAMFQuality + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tbAMF + + + 0 + + + lblAMFQuality + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tbAMF + + + 1 + + + cbAMFUsage + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tbAMF + + + 2 + + + lblAMFUsage + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tbAMF + + + 3 + + 4, 22 - + 3, 3, 3, 3 - + 304, 70 - - 4 + + 6 - - GIF - @Invariant + + AMF - - tpGIF + + tbAMF - + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + tcFFmpegVideoCodecs - - 4 + + 5 95, 40 @@ -1311,33 +1666,80 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 3 - + + cbQSVPreset + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tbQSV + + + 0 + + + lblQSVPreset + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tbQSV + + + 1 + + + nudQSVBitrate + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tbQSV + + + 2 + + + lblQSVBitrate + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tbQSV + + + 3 + + 4, 22 - + 3, 3, 3, 3 - + 304, 70 - - 6 + + 7 - - AMF - @Invariant + + QuickSync - - tbAMF + + tbQSV - + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + tcFFmpegVideoCodecs - - 5 + + 6 96, 13 @@ -1444,55 +1846,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 3 - - 4, 22 - - - 3, 3, 3, 3 - - - 304, 70 - - - 7 - - - QuickSync - @Invariant - - - tbQSV - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcFFmpegVideoCodecs - - - 6 - - - 8, 56 - - - 312, 96 - - - 3 - - - tcFFmpegVideoCodecs - - - System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - gbCodecs - - - 6 - 176, 404 @@ -1541,49 +1894,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 4 - - True - - - 16, 16 - - - 40, 13 - - - 0 - - - Bitrate: - - - lblAACQuality - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpAAC - - - 1 - - - 4, 22 - - - 3, 3, 3, 3 - - - 304, 70 - - - 3 - - - AAC - @Invariant - tpAAC @@ -1596,52 +1906,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 0 - - True - - - NoControl - - - 16, 16 - - - 40, 13 - - - 2 - - - Bitrate: - - - lblOpusQuality - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpOpus - - - 1 - - - 4, 22 - - - 3, 3, 3, 3 - - - 304, 70 - - - 4 - - - Opus - @Invariant - tpOpus @@ -1654,49 +1918,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 1 - - True - - - 16, 16 - - - 42, 13 - - - 0 - - - Quality: - - - lblVorbisQuality - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpVorbis - - - 1 - - - 4, 22 - - - 3, 3, 3, 3 - - - 304, 70 - - - 0 - - - Vorbis - @Invariant - tpVorbis @@ -1709,49 +1930,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 2 - - True - - - 16, 16 - - - 42, 13 - - - 0 - - - Quality: - - - lblMP3Quality - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpMP3 - - - 1 - - - 4, 22 - - - 3, 3, 3, 3 - - - 304, 70 - - - 2 - - - MP3 - @Invariant - tpMP3 @@ -1785,25 +1963,292 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 5 - - 184, 25 + + lblAACQuality - - 184, 21 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + tpAAC + + + 1 + + + 4, 22 + + + 3, 3, 3, 3 + + + 304, 70 + + + 3 + + + AAC + + + tpAAC + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcFFmpegAudioCodecs + + + 0 + + + True + + + 16, 16 + + + 40, 13 + + + 0 + + + Bitrate: + + + lblAACQuality + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpAAC + + + 1 + + + lblOpusQuality + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOpus + + + 1 + + + 4, 22 + + + 3, 3, 3, 3 + + + 304, 70 + + + 4 + + + Opus + + + tpOpus + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcFFmpegAudioCodecs + + + 1 + + + True + + + NoControl + + + 16, 16 + + + 40, 13 + + 2 - - cboVideoSource + + Bitrate: - + + lblOpusQuality + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOpus + + + 1 + + + lblVorbisQuality + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpVorbis + + + 1 + + + 4, 22 + + + 3, 3, 3, 3 + + + 304, 70 + + + 0 + + + Vorbis + + + tpVorbis + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcFFmpegAudioCodecs + + + 2 + + + True + + + 16, 16 + + + 42, 13 + + + 0 + + + Quality: + + + lblVorbisQuality + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpVorbis + + + 1 + + + lblMP3Quality + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpMP3 + + + 1 + + + 4, 22 + + + 3, 3, 3, 3 + + + 304, 70 + + + 2 + + + MP3 + + + tpMP3 + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcFFmpegAudioCodecs + + + 3 + + + True + + + 16, 16 + + + 42, 13 + + + 0 + + + Quality: + + + lblMP3Quality + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpMP3 + + + 1 + + + 184, 25 + + + 184, 21 + + + 2 + + + cbVideoSource + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + gbSource - + 3 @@ -1833,25 +2278,25 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 4 - + 456, 25 - + 184, 21 - + 4 - - cboAudioSource + + cbAudioSource - + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + gbSource - + 5 @@ -1881,25 +2326,25 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 6 - + 440, 20 - + 104, 21 - + 3 - - cboAudioCodec + + cbAudioCodec - + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + gbCodecs - + 1 @@ -1929,6 +2374,78 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 2 + + btnHelperDevicesHelp + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbSource + + + 0 + + + lblHelperDevices + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbSource + + + 1 + + + btnInstallHelperDevices + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbSource + + + 2 + + + btnRefreshSources + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbSource + + + 7 + + + 8, 68 + + + 648, 92 + + + 1 + + + Sources + + + gbSource + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 3 + 168, 56 @@ -1940,7 +2457,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< ? - @Invariant btnHelperDevicesHelp @@ -2029,30 +2545,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< 7 - - 8, 68 - - - 648, 92 - - - 1 - - - Sources - - - gbSource - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 3 - 8, 168 @@ -2090,7 +2582,7 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< eiFFmpeg - ShareX.HelpersLib.ExportImportControl, ShareX.HelpersLib, Version=13.2.2.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.ExportImportControl, ShareX.HelpersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null $this diff --git a/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs b/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs index 438f4c561..78cf703e9 100644 --- a/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs +++ b/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs @@ -71,6 +71,7 @@ private void InitializeComponent() this.lblTwitterDefaultMessage = new System.Windows.Forms.Label(); this.txtTwitterDefaultMessage = new System.Windows.Forms.TextBox(); this.cbTwitterSkipMessageBox = new System.Windows.Forms.CheckBox(); + this.oauthTwitter = new ShareX.UploadersLib.OAuthControl(); this.txtTwitterDescription = new System.Windows.Forms.TextBox(); this.lblTwitterDescription = new System.Windows.Forms.Label(); this.btnTwitterRemove = new System.Windows.Forms.Button(); @@ -80,6 +81,7 @@ private void InitializeComponent() this.tpBitly = new System.Windows.Forms.TabPage(); this.txtBitlyDomain = new System.Windows.Forms.TextBox(); this.lblBitlyDomain = new System.Windows.Forms.Label(); + this.oauth2Bitly = new ShareX.UploadersLib.OAuthControl(); this.tpYourls = new System.Windows.Forms.TabPage(); this.txtYourlsPassword = new System.Windows.Forms.TextBox(); this.txtYourlsUsername = new System.Windows.Forms.TextBox(); @@ -120,6 +122,11 @@ private void InitializeComponent() this.txtKuttHost = new System.Windows.Forms.TextBox(); this.lblKuttAPIKey = new System.Windows.Forms.Label(); this.lblKuttHost = new System.Windows.Forms.Label(); + this.tpZeroWidthShortener = new System.Windows.Forms.TabPage(); + this.txtZWSToken = new System.Windows.Forms.TextBox(); + this.txtZWSURL = new System.Windows.Forms.TextBox(); + this.lblZWSToken = new System.Windows.Forms.Label(); + this.lblZWSURL = new System.Windows.Forms.Label(); this.tpFileUploaders = new System.Windows.Forms.TabPage(); this.tcFileUploaders = new System.Windows.Forms.TabControl(); this.tpFTP = new System.Windows.Forms.TabPage(); @@ -137,6 +144,7 @@ private void InitializeComponent() this.cbFTPRemoveFileExtension = new System.Windows.Forms.CheckBox(); this.txtFTPName = new System.Windows.Forms.TextBox(); this.lblFTPHost = new System.Windows.Forms.Label(); + this.eiFTP = new ShareX.HelpersLib.ExportImportControl(); this.pFTPTransferMode = new System.Windows.Forms.Panel(); this.rbFTPTransferModeActive = new System.Windows.Forms.RadioButton(); this.rbFTPTransferModePassive = new System.Windows.Forms.RadioButton(); @@ -181,18 +189,24 @@ private void InitializeComponent() this.cbDropboxAutoCreateShareableLink = new System.Windows.Forms.CheckBox(); this.lblDropboxPath = new System.Windows.Forms.Label(); this.txtDropboxPath = new System.Windows.Forms.TextBox(); + this.oauth2Dropbox = new ShareX.UploadersLib.OAuthControl(); this.tpOneDrive = new System.Windows.Forms.TabPage(); this.tvOneDrive = new System.Windows.Forms.TreeView(); this.lblOneDriveFolderID = new System.Windows.Forms.Label(); this.cbOneDriveCreateShareableLink = new System.Windows.Forms.CheckBox(); + this.oAuth2OneDrive = new ShareX.UploadersLib.OAuthControl(); this.tpGoogleDrive = new System.Windows.Forms.TabPage(); this.cbGoogleDriveSharedDrive = new System.Windows.Forms.ComboBox(); this.cbGoogleDriveDirectLink = new System.Windows.Forms.CheckBox(); this.cbGoogleDriveUseFolder = new System.Windows.Forms.CheckBox(); this.txtGoogleDriveFolderID = new System.Windows.Forms.TextBox(); this.lblGoogleDriveFolderID = new System.Windows.Forms.Label(); + this.lvGoogleDriveFoldersList = new ShareX.HelpersLib.MyListView(); + this.chGoogleDriveTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.chGoogleDriveDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.btnGoogleDriveRefreshFolders = new System.Windows.Forms.Button(); this.cbGoogleDriveIsPublic = new System.Windows.Forms.CheckBox(); + this.oauth2GoogleDrive = new ShareX.UploadersLib.OAuthControl(); this.tpPuush = new System.Windows.Forms.TabPage(); this.lblPuushAPIKey = new System.Windows.Forms.Label(); this.txtPuushAPIKey = new System.Windows.Forms.TextBox(); @@ -207,8 +221,11 @@ private void InitializeComponent() this.cbBoxShare = new System.Windows.Forms.CheckBox(); this.cbBoxShareAccessLevel = new System.Windows.Forms.ComboBox(); this.lblBoxShareAccessLevel = new System.Windows.Forms.Label(); + this.lvBoxFolders = new ShareX.HelpersLib.MyListView(); + this.chBoxFoldersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.lblBoxFolderID = new System.Windows.Forms.Label(); this.btnBoxRefreshFolders = new System.Windows.Forms.Button(); + this.oauth2Box = new ShareX.UploadersLib.OAuthControl(); this.tpAmazonS3 = new System.Windows.Forms.TabPage(); this.gbAmazonS3Advanced = new System.Windows.Forms.GroupBox(); this.cbAmazonS3SignedPayload = new System.Windows.Forms.CheckBox(); @@ -255,6 +272,7 @@ private void InitializeComponent() this.txtGoogleCloudStorageDomain = new System.Windows.Forms.TextBox(); this.lblGoogleCloudStorageBucket = new System.Windows.Forms.Label(); this.txtGoogleCloudStorageBucket = new System.Windows.Forms.TextBox(); + this.oauth2GoogleCloudStorage = new ShareX.UploadersLib.OAuthControl(); this.tpAzureStorage = new System.Windows.Forms.TabPage(); this.lblAzureStorageURLPreview = new System.Windows.Forms.Label(); this.lblAzureStorageURLPreviewLabel = new System.Windows.Forms.Label(); @@ -284,6 +302,8 @@ private void InitializeComponent() this.lblGfycatTitle = new System.Windows.Forms.Label(); this.cbGfycatKeepAudio = new System.Windows.Forms.CheckBox(); this.cbGfycatIsPublic = new System.Windows.Forms.CheckBox(); + this.atcGfycatAccountType = new ShareX.UploadersLib.AccountTypeControl(); + this.oauth2Gfycat = new ShareX.UploadersLib.OAuthControl(); this.tpMega = new System.Windows.Forms.TabPage(); this.btnMegaRefreshFolders = new System.Windows.Forms.Button(); this.lblMegaStatus = new System.Windows.Forms.Label(); @@ -323,7 +343,7 @@ private void InitializeComponent() this.lblMediaFireEmail = new System.Windows.Forms.Label(); this.tpPushbullet = new System.Windows.Forms.TabPage(); this.lblPushbulletDevices = new System.Windows.Forms.Label(); - this.cboPushbulletDevices = new System.Windows.Forms.ComboBox(); + this.cbPushbulletDevices = new System.Windows.Forms.ComboBox(); this.btnPushbulletGetDeviceList = new System.Windows.Forms.Button(); this.lblPushbulletUserKey = new System.Windows.Forms.Label(); this.txtPushbulletUserKey = new System.Windows.Forms.TextBox(); @@ -333,6 +353,7 @@ private void InitializeComponent() this.lblSendSpaceUsername = new System.Windows.Forms.Label(); this.txtSendSpacePassword = new System.Windows.Forms.TextBox(); this.txtSendSpaceUserName = new System.Windows.Forms.TextBox(); + this.atcSendSpaceAccountType = new ShareX.UploadersLib.AccountTypeControl(); this.tpHostr = new System.Windows.Forms.TabPage(); this.cbLocalhostrDirectURL = new System.Windows.Forms.CheckBox(); this.lblLocalhostrPassword = new System.Windows.Forms.Label(); @@ -346,6 +367,7 @@ private void InitializeComponent() this.txtJiraConfigHelp = new System.Windows.Forms.TextBox(); this.txtJiraHost = new System.Windows.Forms.TextBox(); this.lblJiraHost = new System.Windows.Forms.Label(); + this.oAuthJira = new ShareX.UploadersLib.OAuthControl(); this.tpLambda = new System.Windows.Forms.TabPage(); this.lblLambdaInfo = new System.Windows.Forms.Label(); this.lblLambdaApiKey = new System.Windows.Forms.Label(); @@ -366,6 +388,7 @@ private void InitializeComponent() this.cbTeknikEncrypt = new System.Windows.Forms.CheckBox(); this.lblTeknikUploadAPIUrl = new System.Windows.Forms.Label(); this.tbTeknikUploadAPIUrl = new System.Windows.Forms.TextBox(); + this.oauthTeknik = new ShareX.UploadersLib.OAuthControl(); this.tpPomf = new System.Windows.Forms.TabPage(); this.txtPomfResultURL = new System.Windows.Forms.TextBox(); this.txtPomfUploadURL = new System.Windows.Forms.TextBox(); @@ -381,6 +404,10 @@ private void InitializeComponent() this.btnSeafileLibraryPasswordValidate = new System.Windows.Forms.Button(); this.txtSeafileLibraryPassword = new System.Windows.Forms.TextBox(); this.lblSeafileLibraryPassword = new System.Windows.Forms.Label(); + this.lvSeafileLibraries = new ShareX.HelpersLib.MyListView(); + this.colSeafileLibraryName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.colSeafileLibrarySize = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.colSeafileLibraryEncrypted = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.btnSeafilePathValidate = new System.Windows.Forms.Button(); this.txtSeafileDirectoryPath = new System.Windows.Forms.TextBox(); this.lblSeafileWritePermNotif = new System.Windows.Forms.Label(); @@ -450,6 +477,7 @@ private void InitializeComponent() this.cbYouTubeUseShortenedLink = new System.Windows.Forms.CheckBox(); this.cbYouTubePrivacyType = new System.Windows.Forms.ComboBox(); this.lblYouTubePrivacyType = new System.Windows.Forms.Label(); + this.oauth2YouTube = new ShareX.UploadersLib.OAuthControl(); this.tpSharedFolder = new System.Windows.Forms.TabPage(); this.lbSharedFolderAccounts = new System.Windows.Forms.ListBox(); this.pgSharedFolderAccount = new System.Windows.Forms.PropertyGrid(); @@ -458,10 +486,10 @@ private void InitializeComponent() this.btnSharedFolderAdd = new System.Windows.Forms.Button(); this.lblSharedFolderFiles = new System.Windows.Forms.Label(); this.lblSharedFolderText = new System.Windows.Forms.Label(); - this.cboSharedFolderFiles = new System.Windows.Forms.ComboBox(); + this.cbSharedFolderFiles = new System.Windows.Forms.ComboBox(); this.lblSharedFolderImages = new System.Windows.Forms.Label(); - this.cboSharedFolderText = new System.Windows.Forms.ComboBox(); - this.cboSharedFolderImages = new System.Windows.Forms.ComboBox(); + this.cbSharedFolderText = new System.Windows.Forms.ComboBox(); + this.cbSharedFolderImages = new System.Windows.Forms.ComboBox(); this.tpEmail = new System.Windows.Forms.TabPage(); this.txtEmailAutomaticSendTo = new System.Windows.Forms.TextBox(); this.cbEmailAutomaticSend = new System.Windows.Forms.CheckBox(); @@ -509,6 +537,7 @@ private void InitializeComponent() this.txtGistCustomURL = new System.Windows.Forms.TextBox(); this.cbGistUseRawURL = new System.Windows.Forms.CheckBox(); this.cbGistPublishPublic = new System.Windows.Forms.CheckBox(); + this.oAuth2Gist = new ShareX.UploadersLib.OAuthControl(); this.tpUpaste = new System.Windows.Forms.TabPage(); this.cbUpasteIsPublic = new System.Windows.Forms.CheckBox(); this.lblUpasteUserKey = new System.Windows.Forms.Label(); @@ -532,6 +561,12 @@ private void InitializeComponent() this.cbImgurUseGIFV = new System.Windows.Forms.CheckBox(); this.cbImgurUploadSelectedAlbum = new System.Windows.Forms.CheckBox(); this.cbImgurDirectLink = new System.Windows.Forms.CheckBox(); + this.atcImgurAccountType = new ShareX.UploadersLib.AccountTypeControl(); + this.oauth2Imgur = new ShareX.UploadersLib.OAuthControl(); + this.lvImgurAlbumList = new ShareX.HelpersLib.MyListView(); + this.chImgurID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.chImgurTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.chImgurDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.btnImgurRefreshAlbumList = new System.Windows.Forms.Button(); this.cbImgurThumbnailType = new System.Windows.Forms.ComboBox(); this.lblImgurThumbnailType = new System.Windows.Forms.Label(); @@ -546,11 +581,12 @@ private void InitializeComponent() this.lblImageShackPassword = new System.Windows.Forms.Label(); this.tpFlickr = new System.Windows.Forms.TabPage(); this.cbFlickrDirectLink = new System.Windows.Forms.CheckBox(); + this.oauthFlickr = new ShareX.UploadersLib.OAuthControl(); this.tpPhotobucket = new System.Windows.Forms.TabPage(); this.gbPhotobucketAlbumPath = new System.Windows.Forms.GroupBox(); this.btnPhotobucketAddAlbum = new System.Windows.Forms.Button(); this.btnPhotobucketRemoveAlbum = new System.Windows.Forms.Button(); - this.cboPhotobucketAlbumPaths = new System.Windows.Forms.ComboBox(); + this.cbPhotobucketAlbumPaths = new System.Windows.Forms.ComboBox(); this.gbPhotobucketAlbums = new System.Windows.Forms.GroupBox(); this.lblPhotobucketNewAlbumName = new System.Windows.Forms.Label(); this.lblPhotobucketParentAlbumPath = new System.Windows.Forms.Label(); @@ -577,6 +613,7 @@ private void InitializeComponent() this.chPicasaName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.chPicasaDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.btnPicasaRefreshAlbumList = new System.Windows.Forms.Button(); + this.oauth2Picasa = new ShareX.UploadersLib.OAuthControl(); this.tpChevereto = new System.Windows.Forms.TabPage(); this.lblCheveretoUploadURLExample = new System.Windows.Forms.Label(); this.cbCheveretoDirectURL = new System.Windows.Forms.CheckBox(); @@ -589,43 +626,6 @@ private void InitializeComponent() this.txtVgymeUserKey = new System.Windows.Forms.TextBox(); this.lvlVgymeUserKey = new System.Windows.Forms.Label(); this.tcUploaders = new System.Windows.Forms.TabControl(); - this.tpZeroWidthShortener = new System.Windows.Forms.TabPage(); - this.lblZWSURL = new System.Windows.Forms.Label(); - this.lblZWSToken = new System.Windows.Forms.Label(); - this.txtZWSURL = new System.Windows.Forms.TextBox(); - this.txtZWSToken = new System.Windows.Forms.TextBox(); - this.atcImgurAccountType = new ShareX.UploadersLib.AccountTypeControl(); - this.oauth2Imgur = new ShareX.UploadersLib.OAuthControl(); - this.lvImgurAlbumList = new ShareX.HelpersLib.MyListView(); - this.chImgurID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.chImgurTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.chImgurDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.oauthFlickr = new ShareX.UploadersLib.OAuthControl(); - this.oauth2Picasa = new ShareX.UploadersLib.OAuthControl(); - this.oAuth2Gist = new ShareX.UploadersLib.OAuthControl(); - this.eiFTP = new ShareX.HelpersLib.ExportImportControl(); - this.oauth2Dropbox = new ShareX.UploadersLib.OAuthControl(); - this.oAuth2OneDrive = new ShareX.UploadersLib.OAuthControl(); - this.lvGoogleDriveFoldersList = new ShareX.HelpersLib.MyListView(); - this.chGoogleDriveTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.chGoogleDriveDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.oauth2GoogleDrive = new ShareX.UploadersLib.OAuthControl(); - this.lvBoxFolders = new ShareX.HelpersLib.MyListView(); - this.chBoxFoldersName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.oauth2Box = new ShareX.UploadersLib.OAuthControl(); - this.oauth2GoogleCloudStorage = new ShareX.UploadersLib.OAuthControl(); - this.oauthTwitter = new ShareX.UploadersLib.OAuthControl(); - this.oauth2Bitly = new ShareX.UploadersLib.OAuthControl(); - this.atcGfycatAccountType = new ShareX.UploadersLib.AccountTypeControl(); - this.oauth2Gfycat = new ShareX.UploadersLib.OAuthControl(); - this.atcSendSpaceAccountType = new ShareX.UploadersLib.AccountTypeControl(); - this.oAuthJira = new ShareX.UploadersLib.OAuthControl(); - this.oauthTeknik = new ShareX.UploadersLib.OAuthControl(); - 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.oauth2YouTube = new ShareX.UploadersLib.OAuthControl(); this.tttvMain = new ShareX.HelpersLib.TabToTreeView(); this.actRapidShareAccountType = new ShareX.UploadersLib.AccountTypeControl(); this.tpOtherUploaders.SuspendLayout(); @@ -639,6 +639,7 @@ private void InitializeComponent() this.tpPolr.SuspendLayout(); this.tpFirebaseDynamicLinks.SuspendLayout(); this.tpKutt.SuspendLayout(); + this.tpZeroWidthShortener.SuspendLayout(); this.tpFileUploaders.SuspendLayout(); this.tcFileUploaders.SuspendLayout(); this.tpFTP.SuspendLayout(); @@ -711,7 +712,6 @@ private void InitializeComponent() this.tpChevereto.SuspendLayout(); this.tpVgyme.SuspendLayout(); this.tcUploaders.SuspendLayout(); - this.tpZeroWidthShortener.SuspendLayout(); this.SuspendLayout(); // // txtRapidSharePremiumUserName @@ -843,6 +843,16 @@ private void InitializeComponent() this.cbTwitterSkipMessageBox.UseVisualStyleBackColor = true; this.cbTwitterSkipMessageBox.CheckedChanged += new System.EventHandler(this.cbTwitterSkipMessageBox_CheckedChanged); // + // oauthTwitter + // + resources.ApplyResources(this.oauthTwitter, "oauthTwitter"); + this.oauthTwitter.IsRefreshable = false; + this.oauthTwitter.Name = "oauthTwitter"; + this.oauthTwitter.UserInfo = null; + this.oauthTwitter.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauthTwitter_OpenButtonClicked); + this.oauthTwitter.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauthTwitter_CompleteButtonClicked); + this.oauthTwitter.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauthTwitter_ClearButtonClicked); + // // txtTwitterDescription // resources.ApplyResources(this.txtTwitterDescription, "txtTwitterDescription"); @@ -907,6 +917,16 @@ private void InitializeComponent() resources.ApplyResources(this.lblBitlyDomain, "lblBitlyDomain"); this.lblBitlyDomain.Name = "lblBitlyDomain"; // + // oauth2Bitly + // + this.oauth2Bitly.IsRefreshable = false; + resources.ApplyResources(this.oauth2Bitly, "oauth2Bitly"); + this.oauth2Bitly.Name = "oauth2Bitly"; + this.oauth2Bitly.UserInfo = null; + this.oauth2Bitly.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Bitly_OpenButtonClicked); + this.oauth2Bitly.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Bitly_CompleteButtonClicked); + this.oauth2Bitly.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Bitly_ClearButtonClicked); + // // tpYourls // this.tpYourls.BackColor = System.Drawing.SystemColors.Window; @@ -1178,6 +1198,39 @@ private void InitializeComponent() resources.ApplyResources(this.lblKuttHost, "lblKuttHost"); this.lblKuttHost.Name = "lblKuttHost"; // + // tpZeroWidthShortener + // + this.tpZeroWidthShortener.Controls.Add(this.txtZWSToken); + this.tpZeroWidthShortener.Controls.Add(this.txtZWSURL); + this.tpZeroWidthShortener.Controls.Add(this.lblZWSToken); + this.tpZeroWidthShortener.Controls.Add(this.lblZWSURL); + resources.ApplyResources(this.tpZeroWidthShortener, "tpZeroWidthShortener"); + this.tpZeroWidthShortener.Name = "tpZeroWidthShortener"; + this.tpZeroWidthShortener.UseVisualStyleBackColor = true; + // + // txtZWSToken + // + resources.ApplyResources(this.txtZWSToken, "txtZWSToken"); + this.txtZWSToken.Name = "txtZWSToken"; + this.txtZWSToken.UseSystemPasswordChar = true; + this.txtZWSToken.TextChanged += new System.EventHandler(this.txtZWSToken_TextChanged); + // + // txtZWSURL + // + resources.ApplyResources(this.txtZWSURL, "txtZWSURL"); + this.txtZWSURL.Name = "txtZWSURL"; + this.txtZWSURL.TextChanged += new System.EventHandler(this.txtZWSURL_TextChanged); + // + // lblZWSToken + // + resources.ApplyResources(this.lblZWSToken, "lblZWSToken"); + this.lblZWSToken.Name = "lblZWSToken"; + // + // lblZWSURL + // + resources.ApplyResources(this.lblZWSURL, "lblZWSURL"); + this.lblZWSURL.Name = "lblZWSURL"; + // // tpFileUploaders // this.tpFileUploaders.BackColor = System.Drawing.SystemColors.Window; @@ -1355,6 +1408,16 @@ private void InitializeComponent() resources.ApplyResources(this.lblFTPHost, "lblFTPHost"); this.lblFTPHost.Name = "lblFTPHost"; // + // eiFTP + // + this.eiFTP.DefaultFileName = null; + resources.ApplyResources(this.eiFTP, "eiFTP"); + this.eiFTP.Name = "eiFTP"; + this.eiFTP.ObjectType = null; + this.eiFTP.SerializationBinder = null; + this.eiFTP.ExportRequested += new ShareX.HelpersLib.ExportImportControl.ExportEventHandler(this.eiFTP_ExportRequested); + this.eiFTP.ImportRequested += new ShareX.HelpersLib.ExportImportControl.ImportEventHandler(this.eiFTP_ImportRequested); + // // pFTPTransferMode // resources.ApplyResources(this.pFTPTransferMode, "pFTPTransferMode"); @@ -1660,6 +1723,16 @@ private void InitializeComponent() this.txtDropboxPath.Name = "txtDropboxPath"; this.txtDropboxPath.TextChanged += new System.EventHandler(this.txtDropboxPath_TextChanged); // + // oauth2Dropbox + // + this.oauth2Dropbox.IsRefreshable = false; + resources.ApplyResources(this.oauth2Dropbox, "oauth2Dropbox"); + this.oauth2Dropbox.Name = "oauth2Dropbox"; + this.oauth2Dropbox.UserInfo = null; + this.oauth2Dropbox.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Dropbox_OpenButtonClicked); + this.oauth2Dropbox.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Dropbox_CompleteButtonClicked); + this.oauth2Dropbox.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Dropbox_ClearButtonClicked); + // // tpOneDrive // this.tpOneDrive.BackColor = System.Drawing.SystemColors.Window; @@ -1689,6 +1762,16 @@ private void InitializeComponent() this.cbOneDriveCreateShareableLink.UseVisualStyleBackColor = true; this.cbOneDriveCreateShareableLink.CheckedChanged += new System.EventHandler(this.cbOneDriveCreateShareableLink_CheckedChanged); // + // oAuth2OneDrive + // + resources.ApplyResources(this.oAuth2OneDrive, "oAuth2OneDrive"); + this.oAuth2OneDrive.Name = "oAuth2OneDrive"; + this.oAuth2OneDrive.UserInfo = null; + this.oAuth2OneDrive.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuth2OneDrive_OpenButtonClicked); + this.oAuth2OneDrive.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuth2OneDrive_CompleteButtonClicked); + this.oAuth2OneDrive.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2OneDrive_ClearButtonClicked); + this.oAuth2OneDrive.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oAuth2OneDrive_RefreshButtonClicked); + // // tpGoogleDrive // this.tpGoogleDrive.BackColor = System.Drawing.SystemColors.Window; @@ -1737,6 +1820,29 @@ private void InitializeComponent() resources.ApplyResources(this.lblGoogleDriveFolderID, "lblGoogleDriveFolderID"); this.lblGoogleDriveFolderID.Name = "lblGoogleDriveFolderID"; // + // lvGoogleDriveFoldersList + // + this.lvGoogleDriveFoldersList.AutoFillColumn = true; + this.lvGoogleDriveFoldersList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.chGoogleDriveTitle, + this.chGoogleDriveDescription}); + this.lvGoogleDriveFoldersList.FullRowSelect = true; + this.lvGoogleDriveFoldersList.HideSelection = false; + resources.ApplyResources(this.lvGoogleDriveFoldersList, "lvGoogleDriveFoldersList"); + this.lvGoogleDriveFoldersList.MultiSelect = false; + this.lvGoogleDriveFoldersList.Name = "lvGoogleDriveFoldersList"; + this.lvGoogleDriveFoldersList.UseCompatibleStateImageBehavior = false; + this.lvGoogleDriveFoldersList.View = System.Windows.Forms.View.Details; + this.lvGoogleDriveFoldersList.SelectedIndexChanged += new System.EventHandler(this.lvGoogleDriveFoldersList_SelectedIndexChanged); + // + // chGoogleDriveTitle + // + resources.ApplyResources(this.chGoogleDriveTitle, "chGoogleDriveTitle"); + // + // chGoogleDriveDescription + // + resources.ApplyResources(this.chGoogleDriveDescription, "chGoogleDriveDescription"); + // // btnGoogleDriveRefreshFolders // resources.ApplyResources(this.btnGoogleDriveRefreshFolders, "btnGoogleDriveRefreshFolders"); @@ -1751,6 +1857,16 @@ private void InitializeComponent() this.cbGoogleDriveIsPublic.UseVisualStyleBackColor = true; this.cbGoogleDriveIsPublic.CheckedChanged += new System.EventHandler(this.cbGoogleDriveIsPublic_CheckedChanged); // + // oauth2GoogleDrive + // + resources.ApplyResources(this.oauth2GoogleDrive, "oauth2GoogleDrive"); + this.oauth2GoogleDrive.Name = "oauth2GoogleDrive"; + this.oauth2GoogleDrive.UserInfo = null; + this.oauth2GoogleDrive.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleDrive_OpenButtonClicked); + this.oauth2GoogleDrive.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleDrive_CompleteButtonClicked); + this.oauth2GoogleDrive.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleDrive_ClearButtonClicked); + this.oauth2GoogleDrive.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleDrive_RefreshButtonClicked); + // // tpPuush // this.tpPuush.BackColor = System.Drawing.SystemColors.Window; @@ -1851,6 +1967,24 @@ private void InitializeComponent() resources.ApplyResources(this.lblBoxShareAccessLevel, "lblBoxShareAccessLevel"); this.lblBoxShareAccessLevel.Name = "lblBoxShareAccessLevel"; // + // lvBoxFolders + // + this.lvBoxFolders.AutoFillColumn = true; + this.lvBoxFolders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.chBoxFoldersName}); + this.lvBoxFolders.FullRowSelect = true; + this.lvBoxFolders.HideSelection = false; + resources.ApplyResources(this.lvBoxFolders, "lvBoxFolders"); + this.lvBoxFolders.Name = "lvBoxFolders"; + this.lvBoxFolders.UseCompatibleStateImageBehavior = false; + this.lvBoxFolders.View = System.Windows.Forms.View.Details; + this.lvBoxFolders.SelectedIndexChanged += new System.EventHandler(this.lvBoxFolders_SelectedIndexChanged); + this.lvBoxFolders.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lvBoxFolders_MouseDoubleClick); + // + // chBoxFoldersName + // + resources.ApplyResources(this.chBoxFoldersName, "chBoxFoldersName"); + // // lblBoxFolderID // resources.ApplyResources(this.lblBoxFolderID, "lblBoxFolderID"); @@ -1863,6 +1997,16 @@ private void InitializeComponent() this.btnBoxRefreshFolders.UseVisualStyleBackColor = true; this.btnBoxRefreshFolders.Click += new System.EventHandler(this.btnBoxRefreshFolders_Click); // + // oauth2Box + // + resources.ApplyResources(this.oauth2Box, "oauth2Box"); + this.oauth2Box.Name = "oauth2Box"; + this.oauth2Box.UserInfo = null; + this.oauth2Box.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Box_OpenButtonClicked); + this.oauth2Box.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Box_CompleteButtonClicked); + this.oauth2Box.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Box_ClearButtonClicked); + this.oauth2Box.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Box_RefreshButtonClicked); + // // tpAmazonS3 // this.tpAmazonS3.BackColor = System.Drawing.SystemColors.Window; @@ -2186,6 +2330,16 @@ private void InitializeComponent() this.txtGoogleCloudStorageBucket.Name = "txtGoogleCloudStorageBucket"; this.txtGoogleCloudStorageBucket.TextChanged += new System.EventHandler(this.txtGoogleCloudStorageBucket_TextChanged); // + // oauth2GoogleCloudStorage + // + resources.ApplyResources(this.oauth2GoogleCloudStorage, "oauth2GoogleCloudStorage"); + this.oauth2GoogleCloudStorage.Name = "oauth2GoogleCloudStorage"; + this.oauth2GoogleCloudStorage.UserInfo = null; + this.oauth2GoogleCloudStorage.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleCloudStorage_OpenButtonClicked); + this.oauth2GoogleCloudStorage.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleCloudStorage_CompleteButtonClicked); + this.oauth2GoogleCloudStorage.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleCloudStorage_ClearButtonClicked); + this.oauth2GoogleCloudStorage.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleCloudStorage_RefreshButtonClicked); + // // tpAzureStorage // this.tpAzureStorage.BackColor = System.Drawing.SystemColors.Window; @@ -2391,6 +2545,23 @@ private void InitializeComponent() this.cbGfycatIsPublic.UseVisualStyleBackColor = true; this.cbGfycatIsPublic.CheckedChanged += new System.EventHandler(this.cbGfycatIsPublic_CheckedChanged); // + // atcGfycatAccountType + // + resources.ApplyResources(this.atcGfycatAccountType, "atcGfycatAccountType"); + this.atcGfycatAccountType.Name = "atcGfycatAccountType"; + this.atcGfycatAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; + this.atcGfycatAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGfycatAccountType_AccountTypeChanged); + // + // oauth2Gfycat + // + resources.ApplyResources(this.oauth2Gfycat, "oauth2Gfycat"); + this.oauth2Gfycat.Name = "oauth2Gfycat"; + this.oauth2Gfycat.UserInfo = null; + this.oauth2Gfycat.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Gfycat_OpenButtonClicked); + this.oauth2Gfycat.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Gfycat_CompleteButtonClicked); + this.oauth2Gfycat.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Gfycat_ClearButtonClicked); + this.oauth2Gfycat.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Gfycat_RefreshButtonClicked); + // // tpMega // this.tpMega.BackColor = System.Drawing.SystemColors.Window; @@ -2667,7 +2838,7 @@ private void InitializeComponent() // this.tpPushbullet.BackColor = System.Drawing.SystemColors.Window; this.tpPushbullet.Controls.Add(this.lblPushbulletDevices); - this.tpPushbullet.Controls.Add(this.cboPushbulletDevices); + this.tpPushbullet.Controls.Add(this.cbPushbulletDevices); this.tpPushbullet.Controls.Add(this.btnPushbulletGetDeviceList); this.tpPushbullet.Controls.Add(this.lblPushbulletUserKey); this.tpPushbullet.Controls.Add(this.txtPushbulletUserKey); @@ -2679,13 +2850,13 @@ private void InitializeComponent() resources.ApplyResources(this.lblPushbulletDevices, "lblPushbulletDevices"); this.lblPushbulletDevices.Name = "lblPushbulletDevices"; // - // cboPushbulletDevices + // cbPushbulletDevices // - this.cboPushbulletDevices.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - resources.ApplyResources(this.cboPushbulletDevices, "cboPushbulletDevices"); - this.cboPushbulletDevices.FormattingEnabled = true; - this.cboPushbulletDevices.Name = "cboPushbulletDevices"; - this.cboPushbulletDevices.SelectedIndexChanged += new System.EventHandler(this.cboPushbulletDevices_SelectedIndexChanged); + this.cbPushbulletDevices.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + resources.ApplyResources(this.cbPushbulletDevices, "cbPushbulletDevices"); + this.cbPushbulletDevices.FormattingEnabled = true; + this.cbPushbulletDevices.Name = "cbPushbulletDevices"; + this.cbPushbulletDevices.SelectedIndexChanged += new System.EventHandler(this.cbPushbulletDevices_SelectedIndexChanged); // // btnPushbulletGetDeviceList // @@ -2748,6 +2919,13 @@ private void InitializeComponent() this.txtSendSpaceUserName.Name = "txtSendSpaceUserName"; this.txtSendSpaceUserName.TextChanged += new System.EventHandler(this.txtSendSpaceUserName_TextChanged); // + // atcSendSpaceAccountType + // + resources.ApplyResources(this.atcSendSpaceAccountType, "atcSendSpaceAccountType"); + this.atcSendSpaceAccountType.Name = "atcSendSpaceAccountType"; + this.atcSendSpaceAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; + this.atcSendSpaceAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcSendSpaceAccountType_AccountTypeChanged); + // // tpHostr // this.tpHostr.BackColor = System.Drawing.SystemColors.Window; @@ -2837,6 +3015,16 @@ private void InitializeComponent() resources.ApplyResources(this.lblJiraHost, "lblJiraHost"); this.lblJiraHost.Name = "lblJiraHost"; // + // oAuthJira + // + resources.ApplyResources(this.oAuthJira, "oAuthJira"); + this.oAuthJira.Name = "oAuthJira"; + this.oAuthJira.UserInfo = null; + this.oAuthJira.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuthJira_OpenButtonClicked); + this.oAuthJira.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuthJira_CompleteButtonClicked); + this.oAuthJira.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuthJira_ClearButtonClicked); + this.oAuthJira.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oAuthJira_RefreshButtonClicked); + // // tpLambda // this.tpLambda.BackColor = System.Drawing.SystemColors.Window; @@ -2981,6 +3169,16 @@ private void InitializeComponent() this.tbTeknikUploadAPIUrl.Name = "tbTeknikUploadAPIUrl"; this.tbTeknikUploadAPIUrl.TextChanged += new System.EventHandler(this.tbTeknikUploadAPIUrl_TextChanged); // + // oauthTeknik + // + resources.ApplyResources(this.oauthTeknik, "oauthTeknik"); + this.oauthTeknik.Name = "oauthTeknik"; + this.oauthTeknik.UserInfo = null; + this.oauthTeknik.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauthTeknik_OpenButtonClicked); + this.oauthTeknik.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauthTeknik_CompleteButtonClicked); + this.oauthTeknik.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauthTeknik_ClearButtonClicked); + this.oauthTeknik.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauthTeknik_RefreshButtonClicked); + // // tpPomf // this.tpPomf.BackColor = System.Drawing.SystemColors.Window; @@ -3113,6 +3311,35 @@ private void InitializeComponent() resources.ApplyResources(this.lblSeafileLibraryPassword, "lblSeafileLibraryPassword"); this.lblSeafileLibraryPassword.Name = "lblSeafileLibraryPassword"; // + // lvSeafileLibraries + // + this.lvSeafileLibraries.AllowColumnSort = true; + this.lvSeafileLibraries.AutoFillColumn = true; + this.lvSeafileLibraries.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.colSeafileLibraryName, + this.colSeafileLibrarySize, + this.colSeafileLibraryEncrypted}); + this.lvSeafileLibraries.DisableDeselect = true; + this.lvSeafileLibraries.FullRowSelect = true; + this.lvSeafileLibraries.HideSelection = false; + resources.ApplyResources(this.lvSeafileLibraries, "lvSeafileLibraries"); + this.lvSeafileLibraries.Name = "lvSeafileLibraries"; + this.lvSeafileLibraries.UseCompatibleStateImageBehavior = false; + this.lvSeafileLibraries.View = System.Windows.Forms.View.Details; + this.lvSeafileLibraries.SelectedIndexChanged += new System.EventHandler(this.lvSeafileLibraries_SelectedIndexChanged); + // + // colSeafileLibraryName + // + resources.ApplyResources(this.colSeafileLibraryName, "colSeafileLibraryName"); + // + // colSeafileLibrarySize + // + resources.ApplyResources(this.colSeafileLibrarySize, "colSeafileLibrarySize"); + // + // colSeafileLibraryEncrypted + // + resources.ApplyResources(this.colSeafileLibraryEncrypted, "colSeafileLibraryEncrypted"); + // // btnSeafilePathValidate // resources.ApplyResources(this.btnSeafilePathValidate, "btnSeafilePathValidate"); @@ -3327,7 +3554,7 @@ private void InitializeComponent() resources.ApplyResources(this.cbStreamableAnonymous, "cbStreamableAnonymous"); this.cbStreamableAnonymous.Name = "cbStreamableAnonymous"; this.cbStreamableAnonymous.UseVisualStyleBackColor = true; - this.cbStreamableAnonymous.CheckedChanged += new System.EventHandler(this.cboxStreamableAnonymous_CheckedChanged); + this.cbStreamableAnonymous.CheckedChanged += new System.EventHandler(this.cbStreamableAnonymous_CheckedChanged); // // tpSul // @@ -3605,6 +3832,16 @@ private void InitializeComponent() resources.ApplyResources(this.lblYouTubePrivacyType, "lblYouTubePrivacyType"); this.lblYouTubePrivacyType.Name = "lblYouTubePrivacyType"; // + // oauth2YouTube + // + resources.ApplyResources(this.oauth2YouTube, "oauth2YouTube"); + this.oauth2YouTube.Name = "oauth2YouTube"; + this.oauth2YouTube.UserInfo = null; + this.oauth2YouTube.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2YouTube_OpenButtonClicked); + this.oauth2YouTube.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2YouTube_CompleteButtonClicked); + this.oauth2YouTube.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2YouTube_ClearButtonClicked); + this.oauth2YouTube.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2YouTube_RefreshButtonClicked); + // // tpSharedFolder // this.tpSharedFolder.BackColor = System.Drawing.SystemColors.Window; @@ -3615,10 +3852,10 @@ private void InitializeComponent() this.tpSharedFolder.Controls.Add(this.btnSharedFolderAdd); this.tpSharedFolder.Controls.Add(this.lblSharedFolderFiles); this.tpSharedFolder.Controls.Add(this.lblSharedFolderText); - this.tpSharedFolder.Controls.Add(this.cboSharedFolderFiles); + this.tpSharedFolder.Controls.Add(this.cbSharedFolderFiles); this.tpSharedFolder.Controls.Add(this.lblSharedFolderImages); - this.tpSharedFolder.Controls.Add(this.cboSharedFolderText); - this.tpSharedFolder.Controls.Add(this.cboSharedFolderImages); + this.tpSharedFolder.Controls.Add(this.cbSharedFolderText); + this.tpSharedFolder.Controls.Add(this.cbSharedFolderImages); resources.ApplyResources(this.tpSharedFolder, "tpSharedFolder"); this.tpSharedFolder.Name = "tpSharedFolder"; // @@ -3668,34 +3905,34 @@ private void InitializeComponent() resources.ApplyResources(this.lblSharedFolderText, "lblSharedFolderText"); this.lblSharedFolderText.Name = "lblSharedFolderText"; // - // cboSharedFolderFiles + // cbSharedFolderFiles // - this.cboSharedFolderFiles.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboSharedFolderFiles.FormattingEnabled = true; - resources.ApplyResources(this.cboSharedFolderFiles, "cboSharedFolderFiles"); - this.cboSharedFolderFiles.Name = "cboSharedFolderFiles"; - this.cboSharedFolderFiles.SelectedIndexChanged += new System.EventHandler(this.cboSharedFolderFiles_SelectedIndexChanged); + this.cbSharedFolderFiles.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbSharedFolderFiles.FormattingEnabled = true; + resources.ApplyResources(this.cbSharedFolderFiles, "cbSharedFolderFiles"); + this.cbSharedFolderFiles.Name = "cbSharedFolderFiles"; + this.cbSharedFolderFiles.SelectedIndexChanged += new System.EventHandler(this.cbSharedFolderFiles_SelectedIndexChanged); // // lblSharedFolderImages // resources.ApplyResources(this.lblSharedFolderImages, "lblSharedFolderImages"); this.lblSharedFolderImages.Name = "lblSharedFolderImages"; // - // cboSharedFolderText + // cbSharedFolderText // - this.cboSharedFolderText.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboSharedFolderText.FormattingEnabled = true; - resources.ApplyResources(this.cboSharedFolderText, "cboSharedFolderText"); - this.cboSharedFolderText.Name = "cboSharedFolderText"; - this.cboSharedFolderText.SelectedIndexChanged += new System.EventHandler(this.cboSharedFolderText_SelectedIndexChanged); + this.cbSharedFolderText.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbSharedFolderText.FormattingEnabled = true; + resources.ApplyResources(this.cbSharedFolderText, "cbSharedFolderText"); + this.cbSharedFolderText.Name = "cbSharedFolderText"; + this.cbSharedFolderText.SelectedIndexChanged += new System.EventHandler(this.cbSharedFolderText_SelectedIndexChanged); // - // cboSharedFolderImages + // cbSharedFolderImages // - this.cboSharedFolderImages.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboSharedFolderImages.FormattingEnabled = true; - resources.ApplyResources(this.cboSharedFolderImages, "cboSharedFolderImages"); - this.cboSharedFolderImages.Name = "cboSharedFolderImages"; - this.cboSharedFolderImages.SelectedIndexChanged += new System.EventHandler(this.cboSharedFolderImages_SelectedIndexChanged); + this.cbSharedFolderImages.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbSharedFolderImages.FormattingEnabled = true; + resources.ApplyResources(this.cbSharedFolderImages, "cbSharedFolderImages"); + this.cbSharedFolderImages.Name = "cbSharedFolderImages"; + this.cbSharedFolderImages.SelectedIndexChanged += new System.EventHandler(this.cbSharedFolderImages_SelectedIndexChanged); // // tpEmail // @@ -4037,6 +4274,16 @@ private void InitializeComponent() this.cbGistPublishPublic.UseVisualStyleBackColor = true; this.cbGistPublishPublic.CheckedChanged += new System.EventHandler(this.cbGistPublishPublic_CheckedChanged); // + // oAuth2Gist + // + this.oAuth2Gist.IsRefreshable = false; + resources.ApplyResources(this.oAuth2Gist, "oAuth2Gist"); + this.oAuth2Gist.Name = "oAuth2Gist"; + this.oAuth2Gist.UserInfo = null; + this.oAuth2Gist.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuth2Gist_OpenButtonClicked); + this.oAuth2Gist.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuth2Gist_CompleteButtonClicked); + this.oAuth2Gist.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2Gist_ClearButtonClicked); + // // tpUpaste // this.tpUpaste.BackColor = System.Drawing.SystemColors.Window; @@ -4208,6 +4455,52 @@ private void InitializeComponent() this.cbImgurDirectLink.UseVisualStyleBackColor = true; this.cbImgurDirectLink.CheckedChanged += new System.EventHandler(this.cbImgurDirectLink_CheckedChanged); // + // atcImgurAccountType + // + resources.ApplyResources(this.atcImgurAccountType, "atcImgurAccountType"); + this.atcImgurAccountType.Name = "atcImgurAccountType"; + this.atcImgurAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; + this.atcImgurAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcImgurAccountType_AccountTypeChanged); + // + // oauth2Imgur + // + resources.ApplyResources(this.oauth2Imgur, "oauth2Imgur"); + this.oauth2Imgur.Name = "oauth2Imgur"; + this.oauth2Imgur.UserInfo = null; + this.oauth2Imgur.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Imgur_OpenButtonClicked); + this.oauth2Imgur.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Imgur_CompleteButtonClicked); + this.oauth2Imgur.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Imgur_ClearButtonClicked); + this.oauth2Imgur.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Imgur_RefreshButtonClicked); + // + // lvImgurAlbumList + // + this.lvImgurAlbumList.AllowColumnSort = true; + this.lvImgurAlbumList.AutoFillColumn = true; + this.lvImgurAlbumList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.chImgurID, + this.chImgurTitle, + this.chImgurDescription}); + this.lvImgurAlbumList.FullRowSelect = true; + this.lvImgurAlbumList.HideSelection = false; + resources.ApplyResources(this.lvImgurAlbumList, "lvImgurAlbumList"); + this.lvImgurAlbumList.MultiSelect = false; + this.lvImgurAlbumList.Name = "lvImgurAlbumList"; + this.lvImgurAlbumList.UseCompatibleStateImageBehavior = false; + this.lvImgurAlbumList.View = System.Windows.Forms.View.Details; + this.lvImgurAlbumList.SelectedIndexChanged += new System.EventHandler(this.lvImgurAlbumList_SelectedIndexChanged); + // + // chImgurID + // + resources.ApplyResources(this.chImgurID, "chImgurID"); + // + // chImgurTitle + // + resources.ApplyResources(this.chImgurTitle, "chImgurTitle"); + // + // chImgurDescription + // + resources.ApplyResources(this.chImgurDescription, "chImgurDescription"); + // // btnImgurRefreshAlbumList // resources.ApplyResources(this.btnImgurRefreshAlbumList, "btnImgurRefreshAlbumList"); @@ -4308,6 +4601,16 @@ private void InitializeComponent() this.cbFlickrDirectLink.UseVisualStyleBackColor = true; this.cbFlickrDirectLink.CheckedChanged += new System.EventHandler(this.cbFlickrDirectLink_CheckedChanged); // + // oauthFlickr + // + this.oauthFlickr.IsRefreshable = false; + resources.ApplyResources(this.oauthFlickr, "oauthFlickr"); + this.oauthFlickr.Name = "oauthFlickr"; + this.oauthFlickr.UserInfo = null; + this.oauthFlickr.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauthFlickr_OpenButtonClicked); + this.oauthFlickr.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauthFlickr_CompleteButtonClicked); + this.oauthFlickr.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauthFlickr_ClearButtonClicked); + // // tpPhotobucket // this.tpPhotobucket.BackColor = System.Drawing.SystemColors.Window; @@ -4321,7 +4624,7 @@ private void InitializeComponent() // this.gbPhotobucketAlbumPath.Controls.Add(this.btnPhotobucketAddAlbum); this.gbPhotobucketAlbumPath.Controls.Add(this.btnPhotobucketRemoveAlbum); - this.gbPhotobucketAlbumPath.Controls.Add(this.cboPhotobucketAlbumPaths); + this.gbPhotobucketAlbumPath.Controls.Add(this.cbPhotobucketAlbumPaths); resources.ApplyResources(this.gbPhotobucketAlbumPath, "gbPhotobucketAlbumPath"); this.gbPhotobucketAlbumPath.Name = "gbPhotobucketAlbumPath"; this.gbPhotobucketAlbumPath.TabStop = false; @@ -4340,12 +4643,12 @@ private void InitializeComponent() this.btnPhotobucketRemoveAlbum.UseVisualStyleBackColor = true; this.btnPhotobucketRemoveAlbum.Click += new System.EventHandler(this.btnPhotobucketRemoveAlbum_Click); // - // cboPhotobucketAlbumPaths + // cbPhotobucketAlbumPaths // - this.cboPhotobucketAlbumPaths.FormattingEnabled = true; - resources.ApplyResources(this.cboPhotobucketAlbumPaths, "cboPhotobucketAlbumPaths"); - this.cboPhotobucketAlbumPaths.Name = "cboPhotobucketAlbumPaths"; - this.cboPhotobucketAlbumPaths.SelectedIndexChanged += new System.EventHandler(this.cboPhotobucketAlbumPaths_SelectedIndexChanged); + this.cbPhotobucketAlbumPaths.FormattingEnabled = true; + resources.ApplyResources(this.cbPhotobucketAlbumPaths, "cbPhotobucketAlbumPaths"); + this.cbPhotobucketAlbumPaths.Name = "cbPhotobucketAlbumPaths"; + this.cbPhotobucketAlbumPaths.SelectedIndexChanged += new System.EventHandler(this.cbPhotobucketAlbumPaths_SelectedIndexChanged); // // gbPhotobucketAlbums // @@ -4522,6 +4825,16 @@ private void InitializeComponent() this.btnPicasaRefreshAlbumList.UseVisualStyleBackColor = true; this.btnPicasaRefreshAlbumList.Click += new System.EventHandler(this.btnPicasaRefreshAlbumList_Click); // + // oauth2Picasa + // + resources.ApplyResources(this.oauth2Picasa, "oauth2Picasa"); + this.oauth2Picasa.Name = "oauth2Picasa"; + this.oauth2Picasa.UserInfo = null; + this.oauth2Picasa.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Picasa_OpenButtonClicked); + this.oauth2Picasa.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Picasa_CompleteButtonClicked); + this.oauth2Picasa.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Picasa_ClearButtonClicked); + this.oauth2Picasa.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Picasa_RefreshButtonClicked); + // // tpChevereto // this.tpChevereto.BackColor = System.Drawing.SystemColors.Window; @@ -4608,319 +4921,6 @@ private void InitializeComponent() this.tcUploaders.Name = "tcUploaders"; this.tcUploaders.SelectedIndex = 0; // - // tpZeroWidthShortener - // - this.tpZeroWidthShortener.Controls.Add(this.txtZWSToken); - this.tpZeroWidthShortener.Controls.Add(this.txtZWSURL); - this.tpZeroWidthShortener.Controls.Add(this.lblZWSToken); - this.tpZeroWidthShortener.Controls.Add(this.lblZWSURL); - resources.ApplyResources(this.tpZeroWidthShortener, "tpZeroWidthShortener"); - this.tpZeroWidthShortener.Name = "tpZeroWidthShortener"; - this.tpZeroWidthShortener.UseVisualStyleBackColor = true; - // - // lblZWSURL - // - resources.ApplyResources(this.lblZWSURL, "lblZWSURL"); - this.lblZWSURL.Name = "lblZWSURL"; - // - // lblZWSToken - // - resources.ApplyResources(this.lblZWSToken, "lblZWSToken"); - this.lblZWSToken.Name = "lblZWSToken"; - // - // txtZWSURL - // - resources.ApplyResources(this.txtZWSURL, "txtZWSURL"); - this.txtZWSURL.Name = "txtZWSURL"; - this.txtZWSURL.TextChanged += new System.EventHandler(this.txtZWSURL_TextChanged); - // - // txtZWSToken - // - resources.ApplyResources(this.txtZWSToken, "txtZWSToken"); - this.txtZWSToken.Name = "txtZWSToken"; - this.txtZWSToken.UseSystemPasswordChar = true; - this.txtZWSToken.TextChanged += new System.EventHandler(this.txtZWSToken_TextChanged); - // - // atcImgurAccountType - // - resources.ApplyResources(this.atcImgurAccountType, "atcImgurAccountType"); - this.atcImgurAccountType.Name = "atcImgurAccountType"; - this.atcImgurAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; - this.atcImgurAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcImgurAccountType_AccountTypeChanged); - // - // oauth2Imgur - // - resources.ApplyResources(this.oauth2Imgur, "oauth2Imgur"); - this.oauth2Imgur.Name = "oauth2Imgur"; - this.oauth2Imgur.UserInfo = null; - this.oauth2Imgur.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Imgur_OpenButtonClicked); - this.oauth2Imgur.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Imgur_CompleteButtonClicked); - this.oauth2Imgur.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Imgur_ClearButtonClicked); - this.oauth2Imgur.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Imgur_RefreshButtonClicked); - // - // lvImgurAlbumList - // - this.lvImgurAlbumList.AllowColumnSort = true; - this.lvImgurAlbumList.AutoFillColumn = true; - this.lvImgurAlbumList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.chImgurID, - this.chImgurTitle, - this.chImgurDescription}); - this.lvImgurAlbumList.FullRowSelect = true; - this.lvImgurAlbumList.HideSelection = false; - resources.ApplyResources(this.lvImgurAlbumList, "lvImgurAlbumList"); - this.lvImgurAlbumList.MultiSelect = false; - this.lvImgurAlbumList.Name = "lvImgurAlbumList"; - this.lvImgurAlbumList.UseCompatibleStateImageBehavior = false; - this.lvImgurAlbumList.View = System.Windows.Forms.View.Details; - this.lvImgurAlbumList.SelectedIndexChanged += new System.EventHandler(this.lvImgurAlbumList_SelectedIndexChanged); - // - // chImgurID - // - resources.ApplyResources(this.chImgurID, "chImgurID"); - // - // chImgurTitle - // - resources.ApplyResources(this.chImgurTitle, "chImgurTitle"); - // - // chImgurDescription - // - resources.ApplyResources(this.chImgurDescription, "chImgurDescription"); - // - // oauthFlickr - // - this.oauthFlickr.IsRefreshable = false; - resources.ApplyResources(this.oauthFlickr, "oauthFlickr"); - this.oauthFlickr.Name = "oauthFlickr"; - this.oauthFlickr.UserInfo = null; - this.oauthFlickr.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauthFlickr_OpenButtonClicked); - this.oauthFlickr.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauthFlickr_CompleteButtonClicked); - this.oauthFlickr.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauthFlickr_ClearButtonClicked); - // - // oauth2Picasa - // - resources.ApplyResources(this.oauth2Picasa, "oauth2Picasa"); - this.oauth2Picasa.Name = "oauth2Picasa"; - this.oauth2Picasa.UserInfo = null; - this.oauth2Picasa.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Picasa_OpenButtonClicked); - this.oauth2Picasa.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Picasa_CompleteButtonClicked); - this.oauth2Picasa.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Picasa_ClearButtonClicked); - this.oauth2Picasa.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Picasa_RefreshButtonClicked); - // - // oAuth2Gist - // - this.oAuth2Gist.IsRefreshable = false; - resources.ApplyResources(this.oAuth2Gist, "oAuth2Gist"); - this.oAuth2Gist.Name = "oAuth2Gist"; - this.oAuth2Gist.UserInfo = null; - this.oAuth2Gist.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuth2Gist_OpenButtonClicked); - this.oAuth2Gist.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuth2Gist_CompleteButtonClicked); - this.oAuth2Gist.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2Gist_ClearButtonClicked); - // - // eiFTP - // - this.eiFTP.DefaultFileName = null; - resources.ApplyResources(this.eiFTP, "eiFTP"); - this.eiFTP.Name = "eiFTP"; - this.eiFTP.ObjectType = null; - this.eiFTP.SerializationBinder = null; - this.eiFTP.ExportRequested += new ShareX.HelpersLib.ExportImportControl.ExportEventHandler(this.eiFTP_ExportRequested); - this.eiFTP.ImportRequested += new ShareX.HelpersLib.ExportImportControl.ImportEventHandler(this.eiFTP_ImportRequested); - // - // oauth2Dropbox - // - this.oauth2Dropbox.IsRefreshable = false; - resources.ApplyResources(this.oauth2Dropbox, "oauth2Dropbox"); - this.oauth2Dropbox.Name = "oauth2Dropbox"; - this.oauth2Dropbox.UserInfo = null; - this.oauth2Dropbox.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Dropbox_OpenButtonClicked); - this.oauth2Dropbox.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Dropbox_CompleteButtonClicked); - this.oauth2Dropbox.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Dropbox_ClearButtonClicked); - // - // oAuth2OneDrive - // - resources.ApplyResources(this.oAuth2OneDrive, "oAuth2OneDrive"); - this.oAuth2OneDrive.Name = "oAuth2OneDrive"; - this.oAuth2OneDrive.UserInfo = null; - this.oAuth2OneDrive.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuth2OneDrive_OpenButtonClicked); - this.oAuth2OneDrive.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuth2OneDrive_CompleteButtonClicked); - this.oAuth2OneDrive.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuth2OneDrive_ClearButtonClicked); - this.oAuth2OneDrive.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oAuth2OneDrive_RefreshButtonClicked); - // - // lvGoogleDriveFoldersList - // - this.lvGoogleDriveFoldersList.AutoFillColumn = true; - this.lvGoogleDriveFoldersList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.chGoogleDriveTitle, - this.chGoogleDriveDescription}); - this.lvGoogleDriveFoldersList.FullRowSelect = true; - this.lvGoogleDriveFoldersList.HideSelection = false; - resources.ApplyResources(this.lvGoogleDriveFoldersList, "lvGoogleDriveFoldersList"); - this.lvGoogleDriveFoldersList.MultiSelect = false; - this.lvGoogleDriveFoldersList.Name = "lvGoogleDriveFoldersList"; - this.lvGoogleDriveFoldersList.UseCompatibleStateImageBehavior = false; - this.lvGoogleDriveFoldersList.View = System.Windows.Forms.View.Details; - this.lvGoogleDriveFoldersList.SelectedIndexChanged += new System.EventHandler(this.lvGoogleDriveFoldersList_SelectedIndexChanged); - // - // chGoogleDriveTitle - // - resources.ApplyResources(this.chGoogleDriveTitle, "chGoogleDriveTitle"); - // - // chGoogleDriveDescription - // - resources.ApplyResources(this.chGoogleDriveDescription, "chGoogleDriveDescription"); - // - // oauth2GoogleDrive - // - resources.ApplyResources(this.oauth2GoogleDrive, "oauth2GoogleDrive"); - this.oauth2GoogleDrive.Name = "oauth2GoogleDrive"; - this.oauth2GoogleDrive.UserInfo = null; - this.oauth2GoogleDrive.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleDrive_OpenButtonClicked); - this.oauth2GoogleDrive.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleDrive_CompleteButtonClicked); - this.oauth2GoogleDrive.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleDrive_ClearButtonClicked); - this.oauth2GoogleDrive.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleDrive_RefreshButtonClicked); - // - // lvBoxFolders - // - this.lvBoxFolders.AutoFillColumn = true; - this.lvBoxFolders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.chBoxFoldersName}); - this.lvBoxFolders.FullRowSelect = true; - this.lvBoxFolders.HideSelection = false; - resources.ApplyResources(this.lvBoxFolders, "lvBoxFolders"); - this.lvBoxFolders.Name = "lvBoxFolders"; - this.lvBoxFolders.UseCompatibleStateImageBehavior = false; - this.lvBoxFolders.View = System.Windows.Forms.View.Details; - this.lvBoxFolders.SelectedIndexChanged += new System.EventHandler(this.lvBoxFolders_SelectedIndexChanged); - this.lvBoxFolders.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lvBoxFolders_MouseDoubleClick); - // - // chBoxFoldersName - // - resources.ApplyResources(this.chBoxFoldersName, "chBoxFoldersName"); - // - // oauth2Box - // - resources.ApplyResources(this.oauth2Box, "oauth2Box"); - this.oauth2Box.Name = "oauth2Box"; - this.oauth2Box.UserInfo = null; - this.oauth2Box.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Box_OpenButtonClicked); - this.oauth2Box.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Box_CompleteButtonClicked); - this.oauth2Box.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Box_ClearButtonClicked); - this.oauth2Box.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Box_RefreshButtonClicked); - // - // oauth2GoogleCloudStorage - // - resources.ApplyResources(this.oauth2GoogleCloudStorage, "oauth2GoogleCloudStorage"); - this.oauth2GoogleCloudStorage.Name = "oauth2GoogleCloudStorage"; - this.oauth2GoogleCloudStorage.UserInfo = null; - this.oauth2GoogleCloudStorage.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2GoogleCloudStorage_OpenButtonClicked); - this.oauth2GoogleCloudStorage.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2GoogleCloudStorage_CompleteButtonClicked); - this.oauth2GoogleCloudStorage.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2GoogleCloudStorage_ClearButtonClicked); - this.oauth2GoogleCloudStorage.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2GoogleCloudStorage_RefreshButtonClicked); - // - // oauthTwitter - // - resources.ApplyResources(this.oauthTwitter, "oauthTwitter"); - this.oauthTwitter.IsRefreshable = false; - this.oauthTwitter.Name = "oauthTwitter"; - this.oauthTwitter.UserInfo = null; - this.oauthTwitter.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauthTwitter_OpenButtonClicked); - this.oauthTwitter.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauthTwitter_CompleteButtonClicked); - this.oauthTwitter.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauthTwitter_ClearButtonClicked); - // - // oauth2Bitly - // - this.oauth2Bitly.IsRefreshable = false; - resources.ApplyResources(this.oauth2Bitly, "oauth2Bitly"); - this.oauth2Bitly.Name = "oauth2Bitly"; - this.oauth2Bitly.UserInfo = null; - this.oauth2Bitly.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Bitly_OpenButtonClicked); - this.oauth2Bitly.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Bitly_CompleteButtonClicked); - this.oauth2Bitly.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Bitly_ClearButtonClicked); - // - // atcGfycatAccountType - // - resources.ApplyResources(this.atcGfycatAccountType, "atcGfycatAccountType"); - this.atcGfycatAccountType.Name = "atcGfycatAccountType"; - this.atcGfycatAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; - this.atcGfycatAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcGfycatAccountType_AccountTypeChanged); - // - // oauth2Gfycat - // - resources.ApplyResources(this.oauth2Gfycat, "oauth2Gfycat"); - this.oauth2Gfycat.Name = "oauth2Gfycat"; - this.oauth2Gfycat.UserInfo = null; - this.oauth2Gfycat.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2Gfycat_OpenButtonClicked); - this.oauth2Gfycat.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2Gfycat_CompleteButtonClicked); - this.oauth2Gfycat.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2Gfycat_ClearButtonClicked); - this.oauth2Gfycat.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2Gfycat_RefreshButtonClicked); - // - // atcSendSpaceAccountType - // - resources.ApplyResources(this.atcSendSpaceAccountType, "atcSendSpaceAccountType"); - this.atcSendSpaceAccountType.Name = "atcSendSpaceAccountType"; - this.atcSendSpaceAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; - this.atcSendSpaceAccountType.AccountTypeChanged += new ShareX.UploadersLib.AccountTypeControl.AccountTypeChangedEventHandler(this.atcSendSpaceAccountType_AccountTypeChanged); - // - // oAuthJira - // - resources.ApplyResources(this.oAuthJira, "oAuthJira"); - this.oAuthJira.Name = "oAuthJira"; - this.oAuthJira.UserInfo = null; - this.oAuthJira.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oAuthJira_OpenButtonClicked); - this.oAuthJira.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oAuthJira_CompleteButtonClicked); - this.oAuthJira.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oAuthJira_ClearButtonClicked); - this.oAuthJira.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oAuthJira_RefreshButtonClicked); - // - // oauthTeknik - // - resources.ApplyResources(this.oauthTeknik, "oauthTeknik"); - this.oauthTeknik.Name = "oauthTeknik"; - this.oauthTeknik.UserInfo = null; - this.oauthTeknik.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauthTeknik_OpenButtonClicked); - this.oauthTeknik.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauthTeknik_CompleteButtonClicked); - this.oauthTeknik.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauthTeknik_ClearButtonClicked); - this.oauthTeknik.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauthTeknik_RefreshButtonClicked); - // - // 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"); - // - // oauth2YouTube - // - resources.ApplyResources(this.oauth2YouTube, "oauth2YouTube"); - this.oauth2YouTube.Name = "oauth2YouTube"; - this.oauth2YouTube.UserInfo = null; - this.oauth2YouTube.OpenButtonClicked += new ShareX.UploadersLib.OAuthControl.OpenButtonClickedEventHandler(this.oauth2YouTube_OpenButtonClicked); - this.oauth2YouTube.CompleteButtonClicked += new ShareX.UploadersLib.OAuthControl.CompleteButtonClickedEventHandler(this.oauth2YouTube_CompleteButtonClicked); - this.oauth2YouTube.ClearButtonClicked += new ShareX.UploadersLib.OAuthControl.ClearButtonclickedEventHandler(this.oauth2YouTube_ClearButtonClicked); - this.oauth2YouTube.RefreshButtonClicked += new ShareX.UploadersLib.OAuthControl.RefreshButtonClickedEventHandler(this.oauth2YouTube_RefreshButtonClicked); - // // tttvMain // this.tttvMain.AutoSelectChild = true; @@ -4967,6 +4967,8 @@ private void InitializeComponent() this.tpFirebaseDynamicLinks.PerformLayout(); this.tpKutt.ResumeLayout(false); this.tpKutt.PerformLayout(); + this.tpZeroWidthShortener.ResumeLayout(false); + this.tpZeroWidthShortener.PerformLayout(); this.tpFileUploaders.ResumeLayout(false); this.tcFileUploaders.ResumeLayout(false); this.tpFTP.ResumeLayout(false); @@ -5095,8 +5097,6 @@ private void InitializeComponent() this.tpVgyme.ResumeLayout(false); this.tpVgyme.PerformLayout(); this.tcUploaders.ResumeLayout(false); - this.tpZeroWidthShortener.ResumeLayout(false); - this.tpZeroWidthShortener.PerformLayout(); this.ResumeLayout(false); } @@ -5161,7 +5161,7 @@ private void InitializeComponent() private System.Windows.Forms.Label lblAmazonS3AccessKey; private System.Windows.Forms.TextBox txtAmazonS3AccessKey; private System.Windows.Forms.Label lblPushbulletDevices; - private System.Windows.Forms.ComboBox cboPushbulletDevices; + private System.Windows.Forms.ComboBox cbPushbulletDevices; private System.Windows.Forms.Button btnPushbulletGetDeviceList; private System.Windows.Forms.Label lblPushbulletUserKey; private System.Windows.Forms.TextBox txtPushbulletUserKey; @@ -5210,9 +5210,9 @@ private void InitializeComponent() private System.Windows.Forms.Label lblSharedFolderFiles; private System.Windows.Forms.Label lblSharedFolderText; private System.Windows.Forms.Label lblSharedFolderImages; - private System.Windows.Forms.ComboBox cboSharedFolderFiles; - private System.Windows.Forms.ComboBox cboSharedFolderText; - private System.Windows.Forms.ComboBox cboSharedFolderImages; + private System.Windows.Forms.ComboBox cbSharedFolderFiles; + private System.Windows.Forms.ComboBox cbSharedFolderText; + private System.Windows.Forms.ComboBox cbSharedFolderImages; private System.Windows.Forms.TabPage tpTextUploaders; private System.Windows.Forms.TabControl tcTextUploaders; private System.Windows.Forms.Button btnPastebinLogin; @@ -5245,7 +5245,7 @@ private void InitializeComponent() private System.Windows.Forms.GroupBox gbPhotobucketAlbumPath; private System.Windows.Forms.Button btnPhotobucketAddAlbum; private System.Windows.Forms.Button btnPhotobucketRemoveAlbum; - private System.Windows.Forms.ComboBox cboPhotobucketAlbumPaths; + private System.Windows.Forms.ComboBox cbPhotobucketAlbumPaths; private System.Windows.Forms.GroupBox gbPhotobucketAlbums; private System.Windows.Forms.Label lblPhotobucketNewAlbumName; private System.Windows.Forms.Label lblPhotobucketParentAlbumPath; diff --git a/ShareX.UploadersLib/Forms/UploadersConfigForm.cs b/ShareX.UploadersLib/Forms/UploadersConfigForm.cs index 38f9fd612..1cc0ba1fc 100644 --- a/ShareX.UploadersLib/Forms/UploadersConfigForm.cs +++ b/ShareX.UploadersLib/Forms/UploadersConfigForm.cs @@ -212,12 +212,12 @@ private void LoadImageUploaderSettings() lblPhotobucketParentAlbumPath.Text = Resources.UploadersConfigForm_LoadSettings_Parent_album_path_e_g_ + " " + Config.PhotobucketAccountInfo.AlbumID + "/Personal/" + DateTime.Now.Year; - cboPhotobucketAlbumPaths.Items.Clear(); + cbPhotobucketAlbumPaths.Items.Clear(); if (Config.PhotobucketAccountInfo.AlbumList.Count > 0) { - cboPhotobucketAlbumPaths.Items.AddRange(Config.PhotobucketAccountInfo.AlbumList.ToArray()); - cboPhotobucketAlbumPaths.SelectedIndex = Config.PhotobucketAccountInfo.ActiveAlbumID. + cbPhotobucketAlbumPaths.Items.AddRange(Config.PhotobucketAccountInfo.AlbumList.ToArray()); + cbPhotobucketAlbumPaths.SelectedIndex = Config.PhotobucketAccountInfo.ActiveAlbumID. BetweenOrDefault(0, Config.PhotobucketAccountInfo.AlbumList.Count - 1); } } @@ -522,15 +522,15 @@ private void LoadFileUploaderSettings() if (Config.PushbulletSettings.DeviceList.Count > 0) { - Config.PushbulletSettings.DeviceList.ForEach(x => cboPushbulletDevices.Items.Add(x.Name ?? Resources.UploadersConfigForm_LoadSettings_Invalid_device_name)); + Config.PushbulletSettings.DeviceList.ForEach(x => cbPushbulletDevices.Items.Add(x.Name ?? Resources.UploadersConfigForm_LoadSettings_Invalid_device_name)); if (Config.PushbulletSettings.DeviceList.IsValidIndex(Config.PushbulletSettings.SelectedDevice)) { - cboPushbulletDevices.SelectedIndex = Config.PushbulletSettings.SelectedDevice; + cbPushbulletDevices.SelectedIndex = Config.PushbulletSettings.SelectedDevice; } else { - cboPushbulletDevices.SelectedIndex = 0; + cbPushbulletDevices.SelectedIndex = 0; } } @@ -1026,30 +1026,30 @@ private void btnPhotobucketCreateAlbum_Click(object sender, EventArgs e) PhotobucketCreateAlbum(); } - private void cboPhotobucketAlbumPaths_SelectedIndexChanged(object sender, EventArgs e) + private void cbPhotobucketAlbumPaths_SelectedIndexChanged(object sender, EventArgs e) { if (Config.PhotobucketAccountInfo != null) { - Config.PhotobucketAccountInfo.ActiveAlbumID = cboPhotobucketAlbumPaths.SelectedIndex; + Config.PhotobucketAccountInfo.ActiveAlbumID = cbPhotobucketAlbumPaths.SelectedIndex; } } private void btnPhotobucketAddAlbum_Click(object sender, EventArgs e) { - string albumPath = cboPhotobucketAlbumPaths.Text; + string albumPath = cbPhotobucketAlbumPaths.Text; if (!Config.PhotobucketAccountInfo.AlbumList.Contains(albumPath)) { Config.PhotobucketAccountInfo.AlbumList.Add(albumPath); - cboPhotobucketAlbumPaths.Items.Add(albumPath); + cbPhotobucketAlbumPaths.Items.Add(albumPath); } } private void btnPhotobucketRemoveAlbum_Click(object sender, EventArgs e) { - if (cboPhotobucketAlbumPaths.Items.Count > 1) + if (cbPhotobucketAlbumPaths.Items.Count > 1) { - cboPhotobucketAlbumPaths.Items.RemoveAt(cboPhotobucketAlbumPaths.SelectedIndex); - cboPhotobucketAlbumPaths.SelectedIndex = cboPhotobucketAlbumPaths.Items.Count - 1; + cbPhotobucketAlbumPaths.Items.RemoveAt(cbPhotobucketAlbumPaths.SelectedIndex); + cbPhotobucketAlbumPaths.SelectedIndex = cbPhotobucketAlbumPaths.Items.Count - 1; } } @@ -2315,15 +2315,15 @@ private void txtPushbulletUserKey_TextChanged(object sender, EventArgs e) { bool enable = !string.IsNullOrEmpty(txtPushbulletUserKey.Text.Trim()); - cboPushbulletDevices.Enabled = enable; + cbPushbulletDevices.Enabled = enable; btnPushbulletGetDeviceList.Enabled = enable; Config.PushbulletSettings.UserAPIKey = txtPushbulletUserKey.Text; } - private void cboPushbulletDevices_SelectedIndexChanged(object sender, EventArgs e) + private void cbPushbulletDevices_SelectedIndexChanged(object sender, EventArgs e) { - Config.PushbulletSettings.SelectedDevice = cboPushbulletDevices.SelectedIndex; + Config.PushbulletSettings.SelectedDevice = cbPushbulletDevices.SelectedIndex; } private void btnPushbulletGetDeviceList_Click(object sender, EventArgs e) @@ -2335,19 +2335,19 @@ private void btnPushbulletGetDeviceList_Click(object sender, EventArgs e) #region Shared folder - private void cboSharedFolderImages_SelectedIndexChanged(object sender, EventArgs e) + private void cbSharedFolderImages_SelectedIndexChanged(object sender, EventArgs e) { - Config.LocalhostSelectedImages = cboSharedFolderImages.SelectedIndex; + Config.LocalhostSelectedImages = cbSharedFolderImages.SelectedIndex; } - private void cboSharedFolderText_SelectedIndexChanged(object sender, EventArgs e) + private void cbSharedFolderText_SelectedIndexChanged(object sender, EventArgs e) { - Config.LocalhostSelectedText = cboSharedFolderText.SelectedIndex; + Config.LocalhostSelectedText = cbSharedFolderText.SelectedIndex; } - private void cboSharedFolderFiles_SelectedIndexChanged(object sender, EventArgs e) + private void cbSharedFolderFiles_SelectedIndexChanged(object sender, EventArgs e) { - Config.LocalhostSelectedFiles = cboSharedFolderFiles.SelectedIndex; + Config.LocalhostSelectedFiles = cbSharedFolderFiles.SelectedIndex; } private void btnSharedFolderAdd_Click(object sender, EventArgs e) @@ -2771,7 +2771,7 @@ private void txtSeafileSharePassword_TextChanged(object sender, EventArgs e) #region Streamable - private void cboxStreamableAnonymous_CheckedChanged(object sender, EventArgs e) + private void cbStreamableAnonymous_CheckedChanged(object sender, EventArgs e) { Config.StreamableAnonymous = cbStreamableAnonymous.Checked; txtStreamableUsername.Enabled = !Config.StreamableAnonymous; diff --git a/ShareX.UploadersLib/Forms/UploadersConfigForm.resx b/ShareX.UploadersLib/Forms/UploadersConfigForm.resx index 4f0631939..787cf0090 100644 --- a/ShareX.UploadersLib/Forms/UploadersConfigForm.resx +++ b/ShareX.UploadersLib/Forms/UploadersConfigForm.resx @@ -489,7 +489,7 @@ when you made the application key. oauthTwitter - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpTwitter @@ -616,7 +616,6 @@ when you made the application key. Twitter - @Invariant tpTwitter @@ -745,7 +744,7 @@ when you made the application key. oauth2Bitly - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpBitly @@ -767,7 +766,6 @@ when you made the application key. bit.ly - @Invariant tpBitly @@ -1022,14 +1020,13 @@ when you made the application key. 3, 3, 3, 3 - 803, 543 + 178, 42 2 YOURLS - @Invariant tpYourls @@ -1182,14 +1179,13 @@ when you made the application key. 3, 3, 3, 3 - 803, 543 + 178, 42 3 adf.ly - @Invariant tpAdFly @@ -1369,14 +1365,13 @@ when you made the application key. 4, 22 - 803, 543 + 178, 42 6 Polr - @Invariant tpPolr @@ -1559,14 +1554,13 @@ when you made the application key. 3, 3, 3, 3 - 803, 543 + 178, 42 7 Firebase Dynamic Links - @Invariant tpFirebaseDynamicLinks @@ -1821,14 +1815,13 @@ when you made the application key. 3, 3, 3, 3 - 803, 543 + 178, 42 8 Kutt - @Invariant tpKutt @@ -1951,14 +1944,13 @@ when you made the application key. 3, 3, 3, 3 - 803, 543 + 178, 42 9 Zero Width Shortener - @Invariant tpZeroWidthShortener @@ -2058,7 +2050,6 @@ when you made the application key. ... - @Invariant btnSFTPKeyLocationBrowse @@ -2164,7 +2155,6 @@ when you made the application key. SFTP - @Invariant gbSFTP @@ -2389,7 +2379,7 @@ when you made the application key. eiFTP - ShareX.HelpersLib.ExportImportControl, ShareX.HelpersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.ExportImportControl, ShareX.HelpersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null gbFTPAccount @@ -2522,7 +2512,6 @@ when you made the application key. FTP - @Invariant rbFTPProtocolFTP @@ -2553,7 +2542,6 @@ when you made the application key. FTPS - @Invariant rbFTPProtocolFTPS @@ -2584,7 +2572,6 @@ when you made the application key. SFTP - @Invariant rbFTPProtocolSFTP @@ -2999,7 +2986,6 @@ when you made the application key. ... - @Invariant btnFTPSCertificateLocationBrowse @@ -3126,7 +3112,6 @@ when you made the application key. FTPS - @Invariant gbFTPS @@ -3450,20 +3435,19 @@ when you made the application key. 11 - 4, 22 + 4, 58 3, 3, 3, 3 - 803, 543 + 803, 507 4 FTP / FTPS / SFTP - @Invariant tpFTP @@ -3601,7 +3585,7 @@ when you made the application key. oauth2Dropbox - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpDropbox @@ -3610,20 +3594,19 @@ when you made the application key. 4 - 4, 22 + 4, 220 3, 3, 3, 3 - 803, 543 + 178, 0 0 Dropbox - @Invariant tpDropbox @@ -3734,7 +3717,7 @@ when you made the application key. oAuth2OneDrive - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpOneDrive @@ -3743,20 +3726,19 @@ when you made the application key. 3 - 4, 22 + 4, 220 3, 3, 3, 3 - 803, 543 + 178, 0 17 OneDrive - @Invariant tpOneDrive @@ -3927,7 +3909,7 @@ when you made the application key. lvGoogleDriveFoldersList - ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpGoogleDrive @@ -4008,7 +3990,7 @@ when you made the application key. oauth2GoogleDrive - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpGoogleDrive @@ -4017,20 +3999,19 @@ when you made the application key. 8 - 4, 22 + 4, 220 3, 3, 3, 3 - 803, 543 + 178, 0 1 Google Drive - @Invariant tpGoogleDrive @@ -4255,20 +4236,19 @@ when you made the application key. 7 - 4, 22 + 4, 220 3, 3, 3, 3 - 803, 543 + 178, 0 26 puush - @Invariant tpPuush @@ -4415,7 +4395,7 @@ when you made the application key. lvBoxFolders - ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpBox @@ -4496,7 +4476,7 @@ when you made the application key. oauth2Box - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpBox @@ -4505,20 +4485,19 @@ when you made the application key. 7 - 4, 22 + 4, 220 3, 3, 3, 3 - 803, 543 + 178, 0 2 Box - @Invariant tpBox @@ -4777,7 +4756,6 @@ when you made the application key. ? - @Invariant btnAmazonS3StorageClassHelp @@ -5042,7 +5020,6 @@ when you made the application key. ... - @Invariant btnAmazonS3BucketNameOpen @@ -5070,7 +5047,6 @@ when you made the application key. ... - @Invariant btnAmazonS3AccessKeyOpen @@ -5340,20 +5316,19 @@ when you made the application key. 20 - 4, 22 + 4, 220 3, 3, 3, 3 - 803, 543 + 178, 0 13 Amazon S3 - @Invariant tpAmazonS3 @@ -5767,7 +5742,7 @@ when you made the application key. oauth2GoogleCloudStorage - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpGoogleCloudStorage @@ -5776,20 +5751,19 @@ when you made the application key. 9 - 4, 58 + 4, 220 3, 3, 3, 3 - 803, 507 + 178, 0 32 Google Cloud Storage - @Invariant tpGoogleCloudStorage @@ -5916,19 +5890,15 @@ when you made the application key. blob.core.windows.net - @Invariant blob.core.usgovcloudapi.net - @Invariant blob.core.chinacloudapi.cn - @Invariant blob.core.cloudapi.de - @Invariant 16, 173 @@ -5995,7 +5965,6 @@ when you made the application key. ... - @Invariant btnAzureStoragePortal @@ -6220,20 +6189,19 @@ when you made the application key. 14 - 4, 22 + 4, 220 3, 3, 3, 3 - 803, 543 + 178, 0 28 Azure Storage - @Invariant tpAzureStorage @@ -6458,20 +6426,19 @@ when you made the application key. 11 - 4, 22 + 4, 220 3, 3, 3, 3 - 803, 543 + 178, 0 33 Backblaze B2 - @Invariant tpBackblazeB2 @@ -6609,7 +6576,7 @@ when you made the application key. atcGfycatAccountType - ShareX.UploadersLib.AccountTypeControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.AccountTypeControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpGfycat @@ -6630,7 +6597,7 @@ when you made the application key. oauth2Gfycat - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpGfycat @@ -6639,20 +6606,19 @@ when you made the application key. 5 - 4, 22 + 4, 220 3, 3, 3, 3 - 803, 543 + 178, 0 30 Gfycat - @Invariant tpGfycat @@ -6961,17 +6927,16 @@ when you made the application key. 10 - 4, 22 + 4, 220 - 803, 543 + 178, 0 12 Mega - @Invariant tpMega @@ -7421,20 +7386,19 @@ when you made the application key. 15 - 4, 40 + 4, 220 3, 3, 3, 3 - 803, 525 + 178, 0 15 ownCloud / Nextcloud - @Invariant tpOwnCloud @@ -7632,20 +7596,19 @@ when you made the application key. 6 - 4, 40 + 4, 220 3, 3, 3, 3 - 803, 525 + 178, 0 16 MediaFire - @Invariant tpMediaFire @@ -7689,28 +7652,28 @@ when you made the application key. 0 - + False - + 16, 80 - + 346, 21 - + 3 - - cboPushbulletDevices + + cbPushbulletDevices - + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + tpPushbullet - + 1 @@ -7795,20 +7758,19 @@ when you made the application key. 4 - 4, 40 + 4, 58 3, 3, 3, 3 - 803, 525 + 803, 507 14 Pushbullet - @Invariant tpPushbullet @@ -7964,7 +7926,7 @@ when you made the application key. atcSendSpaceAccountType - ShareX.UploadersLib.AccountTypeControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.AccountTypeControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpSendSpace @@ -7973,20 +7935,19 @@ when you made the application key. 5 - 4, 40 + 4, 220 3, 3, 3, 3 - 803, 525 + 178, 0 6 SendSpace - @Invariant tpSendSpace @@ -8133,20 +8094,19 @@ when you made the application key. 4 - 4, 40 + 4, 220 3, 3, 3, 3 - 803, 525 + 178, 0 8 Hostr - @Invariant tpHostr @@ -8158,7 +8118,7 @@ when you made the application key. tcFileUploaders - 17 + 16 472, 277 @@ -8171,7 +8131,6 @@ when you made the application key. PROJECT- - @Invariant txtJiraIssuePrefix @@ -8256,7 +8215,6 @@ when you made the application key. http:// - @Invariant txtJiraHost @@ -8337,7 +8295,7 @@ when you made the application key. oAuthJira - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpJira @@ -8346,17 +8304,16 @@ when you made the application key. 3 - 4, 40 + 4, 220 - 803, 525 + 178, 0 11 Atlassian Jira - @Invariant tpJira @@ -8368,7 +8325,7 @@ when you made the application key. tcFileUploaders - 18 + 17 True @@ -8503,20 +8460,19 @@ when you made the application key. 4 - 4, 40 + 4, 220 3, 3, 3, 3 - 803, 525 + 178, 0 20 Lambda - @Invariant tpLambda @@ -8528,7 +8484,7 @@ when you made the application key. tcFileUploaders - 19 + 18 144, 320 @@ -8882,7 +8838,7 @@ when you made the application key. oauthTeknik - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpTeknik @@ -8891,20 +8847,19 @@ when you made the application key. 13 - 4, 40 + 4, 220 3, 3, 3, 3 - 803, 525 + 178, 0 34 Teknik - @Invariant tpTeknik @@ -8916,7 +8871,7 @@ when you made the application key. tcFileUploaders - 20 + 19 16, 80 @@ -9021,20 +8976,19 @@ when you made the application key. 3 - 4, 40 + 4, 220 3, 3, 3, 3 - 803, 525 + 178, 0 22 Pomf - @Invariant tpPomf @@ -9046,15 +9000,13 @@ when you made the application key. tcFileUploaders - 21 + 20 https://seacloud.cc/api2/ - @Invariant https://cloud.mein-seafile.de/api2/ - @Invariant 16, 32 @@ -9309,7 +9261,7 @@ when you made the application key. lvSeafileLibraries - ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpSeafile @@ -10015,20 +9967,19 @@ Using an encrypted library disables sharing. 21 - 4, 40 + 4, 220 3, 3, 3, 3 - 803, 525 + 178, 0 23 Seafile - @Invariant tpSeafile @@ -10040,7 +9991,7 @@ Using an encrypted library disables sharing. tcFileUploaders - 22 + 21 True @@ -10220,17 +10171,16 @@ Using an encrypted library disables sharing. 5 - 4, 40 + 4, 58 - 803, 525 + 803, 507 24 Streamable - @Invariant tpStreamable @@ -10242,7 +10192,7 @@ Using an encrypted library disables sharing. tcFileUploaders - 23 + 22 NoControl @@ -10323,20 +10273,19 @@ Using an encrypted library disables sharing. 2 - 4, 40 + 4, 220 3, 3, 3, 3 - 803, 525 + 178, 0 25 s-ul - @Invariant tpSul @@ -10348,7 +10297,7 @@ Using an encrypted library disables sharing. tcFileUploaders - 24 + 23 NoControl @@ -10558,20 +10507,19 @@ Using an encrypted library disables sharing. 7 - 4, 40 + 4, 220 3, 3, 3, 3 - 803, 525 + 178, 0 20 Lithiio - @Invariant tpLithiio @@ -10583,7 +10531,7 @@ Using an encrypted library disables sharing. tcFileUploaders - 25 + 24 True @@ -11066,20 +11014,19 @@ Using an encrypted library disables sharing. 1 - 4, 58 + 4, 220 3, 3, 3, 3 - 803, 507 + 178, 0 29 Plik - @Invariant tpPlik @@ -11091,7 +11038,7 @@ Using an encrypted library disables sharing. tcFileUploaders - 26 + 25 True @@ -11187,7 +11134,7 @@ Using an encrypted library disables sharing. oauth2YouTube - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpYouTube @@ -11196,17 +11143,16 @@ Using an encrypted library disables sharing. 3 - 4, 58 + 4, 220 - 803, 507 + 178, 0 31 YouTube - @Invariant tpYouTube @@ -11218,7 +11164,7 @@ Using an encrypted library disables sharing. tcFileUploaders - 27 + 26 False @@ -11406,25 +11352,25 @@ Using an encrypted library disables sharing. 6 - + 608, 12 - + 184, 21 - + 5 - - cboSharedFolderFiles + + cbSharedFolderFiles - + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + tpSharedFolder - + 7 @@ -11457,46 +11403,46 @@ Using an encrypted library disables sharing. 8 - + 344, 12 - + 184, 21 - + 3 - - cboSharedFolderText + + cbSharedFolderText - + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + tpSharedFolder - + 9 - + 80, 12 - + 184, 21 - + 1 - - cboSharedFolderImages + + cbSharedFolderImages - + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + tpSharedFolder - + 10 @@ -11524,7 +11470,7 @@ Using an encrypted library disables sharing. tcFileUploaders - 28 + 27 16, 408 @@ -11920,13 +11866,13 @@ Using an encrypted library disables sharing. 14 - 4, 58 + 4, 220 3, 3, 3, 3 - 803, 507 + 178, 0 10 @@ -11944,7 +11890,7 @@ Using an encrypted library disables sharing. tcFileUploaders - 29 + 28 Fill @@ -12449,7 +12395,6 @@ Using an encrypted library disables sharing. Pastebin - @Invariant tpPastebin @@ -12548,14 +12493,13 @@ Using an encrypted library disables sharing. 3, 3, 3, 3 - 803, 543 + 178, 42 1 Paste.ee - @Invariant tpPaste_ee @@ -12753,7 +12697,7 @@ Using an encrypted library disables sharing. oAuth2Gist - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpGist @@ -12765,14 +12709,13 @@ Using an encrypted library disables sharing. 4, 22 - 803, 543 + 178, 42 2 GitHub Gist - @Invariant tpGist @@ -12874,14 +12817,13 @@ Using an encrypted library disables sharing. 3, 3, 3, 3 - 803, 543 + 178, 42 3 uPaste - @Invariant tpUpaste @@ -13034,14 +12976,13 @@ Using an encrypted library disables sharing. 3, 3, 3, 3 - 803, 543 + 178, 42 4 Hastebin - @Invariant tpHastebin @@ -13164,14 +13105,13 @@ Using an encrypted library disables sharing. 3, 3, 3, 3 - 803, 543 + 178, 42 5 OneTimeSecret - @Invariant tpOneTimeSecret @@ -13222,14 +13162,13 @@ Using an encrypted library disables sharing. 3, 3, 3, 3 - 803, 543 + 178, 42 6 Pastie - @Invariant tpPastie @@ -13397,7 +13336,7 @@ Using an encrypted library disables sharing. atcImgurAccountType - ShareX.UploadersLib.AccountTypeControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.AccountTypeControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpImgur @@ -13418,7 +13357,7 @@ Using an encrypted library disables sharing. oauth2Imgur - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpImgur @@ -13454,7 +13393,7 @@ Using an encrypted library disables sharing. lvImgurAlbumList - ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpImgur @@ -13557,7 +13496,6 @@ Using an encrypted library disables sharing. Imgur - @Invariant tpImgur @@ -13798,7 +13736,6 @@ Using an encrypted library disables sharing. ImageShack - @Invariant tpImageShack @@ -13855,7 +13792,7 @@ Using an encrypted library disables sharing. oauthFlickr - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpFlickr @@ -13877,7 +13814,6 @@ Using an encrypted library disables sharing. Flickr - @Invariant tpFlickr @@ -13945,25 +13881,25 @@ Using an encrypted library disables sharing. 1 - + 16, 24 - + 440, 21 - + 0 - - cboPhotobucketAlbumPaths + + cbPhotobucketAlbumPaths - + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + gbPhotobucketAlbumPath - + 2 @@ -14367,7 +14303,6 @@ Using an encrypted library disables sharing. Photobucket - @Invariant tpPhotobucket @@ -14622,7 +14557,7 @@ Using an encrypted library disables sharing. oauth2Picasa - ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.OAuthControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null tpGooglePhotos @@ -14644,7 +14579,6 @@ Using an encrypted library disables sharing. Google Photos - @Invariant tpGooglePhotos @@ -14834,7 +14768,6 @@ Using an encrypted library disables sharing. Chevereto - @Invariant tpChevereto @@ -14943,7 +14876,6 @@ Using an encrypted library disables sharing. vgy.me - @Invariant tpVgyme @@ -15057,7 +14989,7 @@ Using an encrypted library disables sharing. tttvMain - ShareX.HelpersLib.TabToTreeView, ShareX.HelpersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.TabToTreeView, ShareX.HelpersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null $this @@ -15078,7 +15010,7 @@ Using an encrypted library disables sharing. actRapidShareAccountType - ShareX.UploadersLib.AccountTypeControl, ShareX.UploadersLib, Version=13.4.1.0, Culture=neutral, PublicKeyToken=null + ShareX.UploadersLib.AccountTypeControl, ShareX.UploadersLib, Version=13.5.1.0, Culture=neutral, PublicKeyToken=null True @@ -15092,9 +15024,6 @@ Using an encrypted library disables sharing. 1044, 601 - - NoControl - 840, 572 @@ -15110,42 +15039,6 @@ Using an encrypted library disables sharing. System.Windows.Forms.ToolTip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - chPicasaID - - - System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - chPicasaName - - - System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - chPicasaDescription - - - System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - chImgurID - - - System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - chImgurTitle - - - System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - chImgurDescription - - - System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - chGoogleDriveTitle @@ -15182,6 +15075,42 @@ Using an encrypted library disables sharing. System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + chImgurID + + + System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + chImgurTitle + + + System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + chImgurDescription + + + System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + chPicasaID + + + System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + chPicasaName + + + System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + chPicasaDescription + + + System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + UploadersConfigForm diff --git a/ShareX.UploadersLib/Forms/UploadersConfigFormHelper.cs b/ShareX.UploadersLib/Forms/UploadersConfigFormHelper.cs index 89122bc23..ccdf5722b 100644 --- a/ShareX.UploadersLib/Forms/UploadersConfigFormHelper.cs +++ b/ShareX.UploadersLib/Forms/UploadersConfigFormHelper.cs @@ -173,8 +173,8 @@ public void PhotobucketAuthComplete() lblPhotobucketAccountStatus.Text = Resources.UploadersConfigForm_Login_successful; txtPhotobucketDefaultAlbumName.Text = Config.PhotobucketAccountInfo.AlbumID; Config.PhotobucketAccountInfo.AlbumList.Add(Config.PhotobucketAccountInfo.AlbumID); - cboPhotobucketAlbumPaths.Items.Add(Config.PhotobucketAccountInfo.AlbumID); - cboPhotobucketAlbumPaths.SelectedIndex = 0; + cbPhotobucketAlbumPaths.Items.Add(Config.PhotobucketAccountInfo.AlbumID); + cbPhotobucketAlbumPaths.SelectedIndex = 0; MessageBox.Show(Resources.UploadersConfigForm_Login_successful, "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Information); } else @@ -197,7 +197,7 @@ public void PhotobucketCreateAlbum() { string albumPath = txtPhotobucketParentAlbumPath.Text + "/" + txtPhotobucketNewAlbumName.Text; Config.PhotobucketAccountInfo.AlbumList.Add(albumPath); - cboPhotobucketAlbumPaths.Items.Add(albumPath); + cbPhotobucketAlbumPaths.Items.Add(albumPath); MessageBox.Show(string.Format(Resources.UploadersConfigForm_PhotobucketCreateAlbum__0__successfully_created_, albumPath), "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Information); } @@ -764,8 +764,8 @@ public void UpdatePastebinStatus() public void PushbulletGetDevices() { - cboPushbulletDevices.Items.Clear(); - cboPushbulletDevices.ResetText(); + cbPushbulletDevices.Items.Clear(); + cbPushbulletDevices.ResetText(); Pushbullet pushbullet = new Pushbullet(Config.PushbulletSettings); Config.PushbulletSettings.DeviceList = pushbullet.GetDeviceList(); @@ -774,17 +774,17 @@ public void PushbulletGetDevices() { Config.PushbulletSettings.SelectedDevice = 0; - cboPushbulletDevices.Enabled = true; + cbPushbulletDevices.Enabled = true; Config.PushbulletSettings.DeviceList.ForEach(pbDevice => { if (!string.IsNullOrEmpty(pbDevice.Name)) { - cboPushbulletDevices.Items.Add(pbDevice.Name); + cbPushbulletDevices.Items.Add(pbDevice.Name); } }); - cboPushbulletDevices.SelectedIndex = 0; + cbPushbulletDevices.SelectedIndex = 0; } } @@ -975,24 +975,24 @@ private void SharedFolderUpdateControls() int selected = lbSharedFolderAccounts.SelectedIndex; lbSharedFolderAccounts.Items.Clear(); - cboSharedFolderImages.Items.Clear(); - cboSharedFolderText.Items.Clear(); - cboSharedFolderFiles.Items.Clear(); + cbSharedFolderImages.Items.Clear(); + cbSharedFolderText.Items.Clear(); + cbSharedFolderFiles.Items.Clear(); if (Config.LocalhostAccountList.Count > 0) { foreach (LocalhostAccount account in Config.LocalhostAccountList) { lbSharedFolderAccounts.Items.Add(account); - cboSharedFolderImages.Items.Add(account); - cboSharedFolderText.Items.Add(account); - cboSharedFolderFiles.Items.Add(account); + cbSharedFolderImages.Items.Add(account); + cbSharedFolderText.Items.Add(account); + cbSharedFolderFiles.Items.Add(account); } lbSharedFolderAccounts.SelectedIndex = selected.Clamp(0, Config.LocalhostAccountList.Count - 1); - cboSharedFolderImages.SelectedIndex = Config.LocalhostSelectedImages.Clamp(0, Config.LocalhostAccountList.Count - 1); - cboSharedFolderText.SelectedIndex = Config.LocalhostSelectedText.Clamp(0, Config.LocalhostAccountList.Count - 1); - cboSharedFolderFiles.SelectedIndex = Config.LocalhostSelectedFiles.Clamp(0, Config.LocalhostAccountList.Count - 1); + cbSharedFolderImages.SelectedIndex = Config.LocalhostSelectedImages.Clamp(0, Config.LocalhostAccountList.Count - 1); + cbSharedFolderText.SelectedIndex = Config.LocalhostSelectedText.Clamp(0, Config.LocalhostAccountList.Count - 1); + cbSharedFolderFiles.SelectedIndex = Config.LocalhostSelectedFiles.Clamp(0, Config.LocalhostAccountList.Count - 1); } SharedFolderUpdateEnabledStates(); @@ -1000,7 +1000,7 @@ private void SharedFolderUpdateControls() private void SharedFolderUpdateEnabledStates() { - cboSharedFolderImages.Enabled = cboSharedFolderText.Enabled = cboSharedFolderFiles.Enabled = Config.LocalhostAccountList.Count > 0; + cbSharedFolderImages.Enabled = cbSharedFolderText.Enabled = cbSharedFolderFiles.Enabled = Config.LocalhostAccountList.Count > 0; btnSharedFolderRemove.Enabled = btnSharedFolderDuplicate.Enabled = lbSharedFolderAccounts.SelectedIndex > -1; }