From c4ef1e4174be831b2aab64ce8a30c488f5e44d89 Mon Sep 17 00:00:00 2001 From: Plenyx Date: Wed, 22 May 2019 00:18:33 +0200 Subject: [PATCH] Build n. 37 --- Forms/FormArcVersions.Designer.cs | 61 ++++++++++++-------- Forms/FormCustomName.Designer.cs | 80 +++++++++++++++----------- Forms/FormCustomName.resx | 20 +++---- Forms/FormDiscordWebhooks.cs | 19 +++--- Forms/FormMain.cs | 41 ++++--------- Forms/FormPings.cs | 28 ++++++--- MAKE-CUSTOM-REMOTE-SERVER-README.md | 2 +- Tools/HttpClientController.cs | 5 +- TwitchIRCClient/IrcChangedEventArgs.cs | 2 +- TwitchIRCClient/IrcMessageEventArgs.cs | 2 +- TwitchIRCClient/IrcStates.cs | 2 +- TwitchIRCClient/TwitchIrcClient.cs | 20 ++----- VERSION | 2 +- 13 files changed, 144 insertions(+), 140 deletions(-) diff --git a/Forms/FormArcVersions.Designer.cs b/Forms/FormArcVersions.Designer.cs index de38bb1..88ce89f 100644 --- a/Forms/FormArcVersions.Designer.cs +++ b/Forms/FormArcVersions.Designer.cs @@ -33,12 +33,13 @@ private void InitializeComponent() this.timerCheckNewArcversion = new System.Windows.Forms.Timer(this.components); this.buttonCheckNow = new System.Windows.Forms.Button(); this.groupBoxUpdating = new System.Windows.Forms.GroupBox(); + this.radioButtonUpdateAll = new System.Windows.Forms.RadioButton(); + this.radioButtonDownloadAll = new System.Windows.Forms.RadioButton(); this.labelInformation = new System.Windows.Forms.Label(); this.buttonUpdate = new System.Windows.Forms.Button(); this.groupBoxSettings = new System.Windows.Forms.GroupBox(); this.buttonEnabler = new System.Windows.Forms.Button(); - this.radioButtonDownloadAll = new System.Windows.Forms.RadioButton(); - this.radioButtonUpdateAll = new System.Windows.Forms.RadioButton(); + this.labelIssues = new System.Windows.Forms.Label(); this.groupBoxUpdating.SuspendLayout(); this.groupBoxSettings.SuspendLayout(); this.SuspendLayout(); @@ -82,6 +83,29 @@ private void InitializeComponent() this.groupBoxUpdating.TabStop = false; this.groupBoxUpdating.Text = "Update process"; // + // radioButtonUpdateAll + // + this.radioButtonUpdateAll.AutoSize = true; + this.radioButtonUpdateAll.Checked = true; + this.radioButtonUpdateAll.Location = new System.Drawing.Point(139, 51); + this.radioButtonUpdateAll.Name = "radioButtonUpdateAll"; + this.radioButtonUpdateAll.Size = new System.Drawing.Size(143, 17); + this.radioButtonUpdateAll.TabIndex = 3; + this.radioButtonUpdateAll.TabStop = true; + this.radioButtonUpdateAll.Text = "Update installed modules"; + this.radioButtonUpdateAll.UseVisualStyleBackColor = true; + // + // radioButtonDownloadAll + // + this.radioButtonDownloadAll.AutoSize = true; + this.radioButtonDownloadAll.Location = new System.Drawing.Point(6, 51); + this.radioButtonDownloadAll.Name = "radioButtonDownloadAll"; + this.radioButtonDownloadAll.Size = new System.Drawing.Size(128, 17); + this.radioButtonDownloadAll.TabIndex = 2; + this.radioButtonDownloadAll.TabStop = true; + this.radioButtonDownloadAll.Text = "Download all modules"; + this.radioButtonDownloadAll.UseVisualStyleBackColor = true; + // // labelInformation // this.labelInformation.Location = new System.Drawing.Point(3, 77); @@ -124,34 +148,22 @@ private void InitializeComponent() this.buttonEnabler.UseVisualStyleBackColor = true; this.buttonEnabler.Click += new System.EventHandler(this.buttonEnabler_Click); // - // radioButtonDownloadAll - // - this.radioButtonDownloadAll.AutoSize = true; - this.radioButtonDownloadAll.Location = new System.Drawing.Point(6, 51); - this.radioButtonDownloadAll.Name = "radioButtonDownloadAll"; - this.radioButtonDownloadAll.Size = new System.Drawing.Size(128, 17); - this.radioButtonDownloadAll.TabIndex = 2; - this.radioButtonDownloadAll.TabStop = true; - this.radioButtonDownloadAll.Text = "Download all modules"; - this.radioButtonDownloadAll.UseVisualStyleBackColor = true; - // - // radioButtonUpdateAll + // labelIssues // - this.radioButtonUpdateAll.AutoSize = true; - this.radioButtonUpdateAll.Checked = true; - this.radioButtonUpdateAll.Location = new System.Drawing.Point(139, 51); - this.radioButtonUpdateAll.Name = "radioButtonUpdateAll"; - this.radioButtonUpdateAll.Size = new System.Drawing.Size(143, 17); - this.radioButtonUpdateAll.TabIndex = 3; - this.radioButtonUpdateAll.TabStop = true; - this.radioButtonUpdateAll.Text = "Update installed modules"; - this.radioButtonUpdateAll.UseVisualStyleBackColor = true; + this.labelIssues.Location = new System.Drawing.Point(12, 115); + this.labelIssues.Name = "labelIssues"; + this.labelIssues.Size = new System.Drawing.Size(436, 37); + this.labelIssues.TabIndex = 4; + this.labelIssues.Text = "If you are experiencing issues with these settings please disable checking so you" + + " are not bothered by notifications and contact me on Discord or Github"; + this.labelIssues.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // FormArcVersions // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(460, 118); + this.ClientSize = new System.Drawing.Size(460, 155); + this.Controls.Add(this.labelIssues); this.Controls.Add(this.groupBoxSettings); this.Controls.Add(this.groupBoxUpdating); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; @@ -182,5 +194,6 @@ private void InitializeComponent() private System.Windows.Forms.Label labelInformation; private System.Windows.Forms.RadioButton radioButtonUpdateAll; private System.Windows.Forms.RadioButton radioButtonDownloadAll; + private System.Windows.Forms.Label labelIssues; } } \ No newline at end of file diff --git a/Forms/FormCustomName.Designer.cs b/Forms/FormCustomName.Designer.cs index 2f621c9..a60413f 100644 --- a/Forms/FormCustomName.Designer.cs +++ b/Forms/FormCustomName.Designer.cs @@ -28,14 +28,14 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormCustomName)); this.checkBoxCustomNameEnable = new System.Windows.Forms.CheckBox(); this.groupBoxCustomNameSettings = new System.Windows.Forms.GroupBox(); - this.textBoxCustomName = new System.Windows.Forms.TextBox(); - this.textBoxCustomOAuth = new System.Windows.Forms.TextBox(); - this.labelCustomName = new System.Windows.Forms.Label(); - this.labelCustomOAuth = new System.Windows.Forms.Label(); this.linkLabelGetOAuth = new System.Windows.Forms.LinkLabel(); + this.labelCustomOAuth = new System.Windows.Forms.Label(); + this.labelCustomName = new System.Windows.Forms.Label(); + this.textBoxCustomOAuth = new System.Windows.Forms.TextBox(); + this.textBoxCustomName = new System.Windows.Forms.TextBox(); + this.labelInformation = new System.Windows.Forms.Label(); this.groupBoxCustomNameSettings.SuspendLayout(); this.SuspendLayout(); // @@ -65,20 +65,26 @@ private void InitializeComponent() this.groupBoxCustomNameSettings.TabStop = false; this.groupBoxCustomNameSettings.Text = "Custom name settings"; // - // textBoxCustomName + // linkLabelGetOAuth // - this.textBoxCustomName.Location = new System.Drawing.Point(6, 32); - this.textBoxCustomName.Name = "textBoxCustomName"; - this.textBoxCustomName.Size = new System.Drawing.Size(254, 20); - this.textBoxCustomName.TabIndex = 0; + this.linkLabelGetOAuth.AutoSize = true; + this.linkLabelGetOAuth.Location = new System.Drawing.Point(170, 55); + this.linkLabelGetOAuth.Name = "linkLabelGetOAuth"; + this.linkLabelGetOAuth.Size = new System.Drawing.Size(90, 13); + this.linkLabelGetOAuth.TabIndex = 4; + this.linkLabelGetOAuth.TabStop = true; + this.linkLabelGetOAuth.Text = "Generate OAuth2"; + this.linkLabelGetOAuth.VisitedLinkColor = System.Drawing.Color.Blue; + this.linkLabelGetOAuth.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelGetOAuth_LinkClicked); // - // textBoxCustomOAuth + // labelCustomOAuth // - this.textBoxCustomOAuth.Location = new System.Drawing.Point(6, 71); - this.textBoxCustomOAuth.Name = "textBoxCustomOAuth"; - this.textBoxCustomOAuth.PasswordChar = '*'; - this.textBoxCustomOAuth.Size = new System.Drawing.Size(254, 20); - this.textBoxCustomOAuth.TabIndex = 1; + this.labelCustomOAuth.AutoSize = true; + this.labelCustomOAuth.Location = new System.Drawing.Point(6, 55); + this.labelCustomOAuth.Name = "labelCustomOAuth"; + this.labelCustomOAuth.Size = new System.Drawing.Size(94, 13); + this.labelCustomOAuth.TabIndex = 3; + this.labelCustomOAuth.Text = "OAuth2 password:"; // // labelCustomName // @@ -89,36 +95,39 @@ private void InitializeComponent() this.labelCustomName.TabIndex = 2; this.labelCustomName.Text = "Custom name:"; // - // labelCustomOAuth + // textBoxCustomOAuth // - this.labelCustomOAuth.AutoSize = true; - this.labelCustomOAuth.Location = new System.Drawing.Point(6, 55); - this.labelCustomOAuth.Name = "labelCustomOAuth"; - this.labelCustomOAuth.Size = new System.Drawing.Size(94, 13); - this.labelCustomOAuth.TabIndex = 3; - this.labelCustomOAuth.Text = "OAuth2 password:"; + this.textBoxCustomOAuth.Location = new System.Drawing.Point(6, 71); + this.textBoxCustomOAuth.Name = "textBoxCustomOAuth"; + this.textBoxCustomOAuth.PasswordChar = '*'; + this.textBoxCustomOAuth.Size = new System.Drawing.Size(254, 20); + this.textBoxCustomOAuth.TabIndex = 1; // - // linkLabelGetOAuth + // textBoxCustomName // - this.linkLabelGetOAuth.AutoSize = true; - this.linkLabelGetOAuth.Location = new System.Drawing.Point(170, 55); - this.linkLabelGetOAuth.Name = "linkLabelGetOAuth"; - this.linkLabelGetOAuth.Size = new System.Drawing.Size(90, 13); - this.linkLabelGetOAuth.TabIndex = 4; - this.linkLabelGetOAuth.TabStop = true; - this.linkLabelGetOAuth.Text = "Generate OAuth2"; - this.linkLabelGetOAuth.VisitedLinkColor = System.Drawing.Color.Blue; - this.linkLabelGetOAuth.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelGetOAuth_LinkClicked); + this.textBoxCustomName.Location = new System.Drawing.Point(6, 32); + this.textBoxCustomName.Name = "textBoxCustomName"; + this.textBoxCustomName.Size = new System.Drawing.Size(254, 20); + this.textBoxCustomName.TabIndex = 0; + // + // labelInformation + // + this.labelInformation.Location = new System.Drawing.Point(12, 146); + this.labelInformation.Name = "labelInformation"; + this.labelInformation.Size = new System.Drawing.Size(270, 26); + this.labelInformation.TabIndex = 2; + this.labelInformation.Text = "This feature requires a use of another Twitch account"; + this.labelInformation.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // FormCustomName // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(289, 146); + this.ClientSize = new System.Drawing.Size(289, 179); + this.Controls.Add(this.labelInformation); this.Controls.Add(this.groupBoxCustomNameSettings); this.Controls.Add(this.checkBoxCustomNameEnable); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormCustomName"; @@ -140,5 +149,6 @@ private void InitializeComponent() public System.Windows.Forms.TextBox textBoxCustomOAuth; public System.Windows.Forms.TextBox textBoxCustomName; private System.Windows.Forms.LinkLabel linkLabelGetOAuth; + private System.Windows.Forms.Label labelInformation; } } \ No newline at end of file diff --git a/Forms/FormCustomName.resx b/Forms/FormCustomName.resx index b00f8bd..1af7de1 100644 --- a/Forms/FormCustomName.resx +++ b/Forms/FormCustomName.resx @@ -2,16 +2,16 @@