From fdb53206b76134d0e07c0734b365e1c59957a892 Mon Sep 17 00:00:00 2001 From: Lukasz Baldyga Date: Sun, 25 Oct 2020 11:26:12 +0000 Subject: [PATCH] Fixed Microsoft code --- .../Windows/ErrorWindow.Designer.cs | 30 +++++++++---------- .../Windows/ErrorWindow.resx | 3 -- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/Advanced Software Engineering/Advanced Software Engineering/Windows/ErrorWindow.Designer.cs b/Advanced Software Engineering/Advanced Software Engineering/Windows/ErrorWindow.Designer.cs index b70e7d7..df3d96d 100644 --- a/Advanced Software Engineering/Advanced Software Engineering/Windows/ErrorWindow.Designer.cs +++ b/Advanced Software Engineering/Advanced Software Engineering/Windows/ErrorWindow.Designer.cs @@ -28,23 +28,10 @@ this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.groupBox1.SuspendLayout(); this.SuspendLayout(); // - // groupBox1 - // - this.groupBox1.AutoSize = true; - this.groupBox1.Controls.Add(this.pictureBox1); - this.groupBox1.Controls.Add(this.label1); - this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.groupBox1.Location = new System.Drawing.Point(0, 6); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(336, 98); - this.groupBox1.TabIndex = 4; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "Error"; - // // pictureBox1 // this.pictureBox1.Image = global::Advanced_Software_Engineering.Properties.Resources.warning; @@ -87,6 +74,19 @@ this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // + // groupBox1 + // + this.groupBox1.AutoSize = true; + this.groupBox1.Controls.Add(this.pictureBox1); + this.groupBox1.Controls.Add(this.label1); + this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.groupBox1.Location = new System.Drawing.Point(0, 6); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(336, 98); + this.groupBox1.TabIndex = 4; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Error"; + // // ErrorWindow // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -101,9 +101,9 @@ this.Name = "ErrorWindow"; this.Text = "Error"; this.Load += new System.EventHandler(this.ErrorWindow_Load); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); diff --git a/Advanced Software Engineering/Advanced Software Engineering/Windows/ErrorWindow.resx b/Advanced Software Engineering/Advanced Software Engineering/Windows/ErrorWindow.resx index 056d783..1af7de1 100644 --- a/Advanced Software Engineering/Advanced Software Engineering/Windows/ErrorWindow.resx +++ b/Advanced Software Engineering/Advanced Software Engineering/Windows/ErrorWindow.resx @@ -117,7 +117,4 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - False - \ No newline at end of file