Create form

This commit is contained in:
Matthew Burnett 2018-04-20 11:20:12 -04:00
parent d1c01ff207
commit 4b85a47537
3 changed files with 1561 additions and 8338 deletions

View file

@ -5,6 +5,7 @@
using System.Collections.Specialized;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
namespace ShareX.UploadersLib.FileUploaders
{
@ -26,6 +27,8 @@ public override GenericUploader CreateUploader(UploadersConfig config, TaskRefer
bucket = config.GoogleCloudStorageBucket
};
}
public override TabPage GetUploadersConfigTabPage(UploadersConfigForm form) => form.tpGoogleCloudStorage;
}
public sealed class GoogleCloudStorage : FileUploader, IOAuth2

View file

@ -302,6 +302,7 @@ private void InitializeComponent()
this.lblAmazonS3SecretKey = new System.Windows.Forms.Label();
this.lblAmazonS3AccessKey = new System.Windows.Forms.Label();
this.txtAmazonS3AccessKey = new System.Windows.Forms.TextBox();
this.tpGoogleCloudStorage = new System.Windows.Forms.TabPage();
this.tpAzureStorage = new System.Windows.Forms.TabPage();
this.cbAzureStorageEnvironment = new System.Windows.Forms.ComboBox();
this.lblAzureStorageEnvironment = new System.Windows.Forms.Label();
@ -1808,6 +1809,7 @@ private void InitializeComponent()
this.tcFileUploaders.Controls.Add(this.tpPuush);
this.tcFileUploaders.Controls.Add(this.tpBox);
this.tcFileUploaders.Controls.Add(this.tpAmazonS3);
this.tcFileUploaders.Controls.Add(this.tpGoogleCloudStorage);
this.tcFileUploaders.Controls.Add(this.tpAzureStorage);
this.tcFileUploaders.Controls.Add(this.tpGfycat);
this.tcFileUploaders.Controls.Add(this.tpMega);
@ -2774,6 +2776,12 @@ private void InitializeComponent()
this.txtAmazonS3AccessKey.Name = "txtAmazonS3AccessKey";
this.txtAmazonS3AccessKey.TextChanged += new System.EventHandler(this.txtAmazonS3AccessKey_TextChanged);
//
// tpGoogleCloudStorage
//
resources.ApplyResources(this.tpGoogleCloudStorage, "tpGoogleCloudStorage");
this.tpGoogleCloudStorage.Name = "tpGoogleCloudStorage";
this.tpGoogleCloudStorage.UseVisualStyleBackColor = true;
//
// tpAzureStorage
//
this.tpAzureStorage.BackColor = System.Drawing.SystemColors.Window;
@ -5977,5 +5985,6 @@ private void InitializeComponent()
private System.Windows.Forms.Label lblYouTubePrivacyType;
internal System.Windows.Forms.TabPage tpYouTube;
private System.Windows.Forms.CheckBox cbYouTubeUseShortenedLink;
internal System.Windows.Forms.TabPage tpGoogleCloudStorage;
}
}

File diff suppressed because it is too large Load diff