From 2ba67def841f08762ae51681940f56e0f6825cd0 Mon Sep 17 00:00:00 2001 From: Sean Chapman Date: Fri, 14 Nov 2014 21:55:38 +1300 Subject: [PATCH] Removed Email Address for Report Form. --- .../ExceptionDisplayForm.Designer.cs | 24 +------------------ .../ExceptionDisplayForm.cs | 1 - .../ExceptionDisplayForm.resx | 4 ++-- 3 files changed, 3 insertions(+), 26 deletions(-) diff --git a/FortyOne.AudioSwitcher/ExceptionDisplayForm.Designer.cs b/FortyOne.AudioSwitcher/ExceptionDisplayForm.Designer.cs index 10dde98..f9b4cf8 100644 --- a/FortyOne.AudioSwitcher/ExceptionDisplayForm.Designer.cs +++ b/FortyOne.AudioSwitcher/ExceptionDisplayForm.Designer.cs @@ -33,8 +33,6 @@ private void InitializeComponent() this.button1 = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.btnReport = new System.Windows.Forms.Button(); - this.txtEmail = new System.Windows.Forms.TextBox(); - this.label3 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // label1 @@ -55,7 +53,7 @@ private void InitializeComponent() this.txtErrorDetails.Multiline = true; this.txtErrorDetails.Name = "txtErrorDetails"; this.txtErrorDetails.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtErrorDetails.Size = new System.Drawing.Size(260, 118); + this.txtErrorDetails.Size = new System.Drawing.Size(260, 170); this.txtErrorDetails.TabIndex = 0; // // button1 @@ -87,29 +85,11 @@ private void InitializeComponent() this.btnReport.UseVisualStyleBackColor = true; this.btnReport.Click += new System.EventHandler(this.btnReport_Click); // - // txtEmail - // - this.txtEmail.Location = new System.Drawing.Point(12, 222); - this.txtEmail.Name = "txtEmail"; - this.txtEmail.Size = new System.Drawing.Size(260, 20); - this.txtEmail.TabIndex = 1; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(12, 193); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(160, 26); - this.label3.TabIndex = 7; - this.label3.Text = "Want to be notified when fixed? \r\nType your email here:"; - // // ExceptionDisplayForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(284, 279); - this.Controls.Add(this.label3); - this.Controls.Add(this.txtEmail); this.Controls.Add(this.btnReport); this.Controls.Add(this.label2); this.Controls.Add(this.button1); @@ -133,7 +113,5 @@ private void InitializeComponent() private System.Windows.Forms.Button button1; private System.Windows.Forms.Label label2; private System.Windows.Forms.Button btnReport; - private System.Windows.Forms.TextBox txtEmail; - private System.Windows.Forms.Label label3; } } \ No newline at end of file diff --git a/FortyOne.AudioSwitcher/ExceptionDisplayForm.cs b/FortyOne.AudioSwitcher/ExceptionDisplayForm.cs index ff56249..4bb8bff 100644 --- a/FortyOne.AudioSwitcher/ExceptionDisplayForm.cs +++ b/FortyOne.AudioSwitcher/ExceptionDisplayForm.cs @@ -90,7 +90,6 @@ private void btnReport_Click(object sender, EventArgs e) body += "Operating System: " + Environment.OSVersion + (IntPtr.Size == 8 ? " 64-bit" : " 32-bit") + Environment.NewLine; body += "Administrator Privileges: " + IsUserAdministrator() + Environment.NewLine; - body += "Client Email Address: " + txtEmail.Text + Environment.NewLine; string x = client.SendBugReport(guid, txtErrorDetails.Text, body, exception.ToString()); diff --git a/FortyOne.AudioSwitcher/ExceptionDisplayForm.resx b/FortyOne.AudioSwitcher/ExceptionDisplayForm.resx index 7080a7d..1af7de1 100644 --- a/FortyOne.AudioSwitcher/ExceptionDisplayForm.resx +++ b/FortyOne.AudioSwitcher/ExceptionDisplayForm.resx @@ -112,9 +112,9 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file