From 3aaafe25d8020ae25d1f45d9a7bcdb8de43fc426 Mon Sep 17 00:00:00 2001 From: Lukasz Baldyga Date: Sun, 25 Oct 2020 11:13:32 +0000 Subject: [PATCH] Slightly altered the design of ErrorWindow --- .../Windows/ErrorWindow.Designer.cs | 39 ++++++++++--------- 1 file changed, 20 insertions(+), 19 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 a83584f..9831a96 100644 --- a/Advanced Software Engineering/Advanced Software Engineering/Windows/ErrorWindow.Designer.cs +++ b/Advanced Software Engineering/Advanced Software Engineering/Windows/ErrorWindow.Designer.cs @@ -23,28 +23,16 @@ /// the contents of this method with the code editor. /// private void InitializeComponent() { + System.Windows.Forms.GroupBox groupBox1; this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.label1 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.groupBox1.SuspendLayout(); + groupBox1 = new System.Windows.Forms.GroupBox(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + 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; @@ -57,6 +45,7 @@ // // label1 // + this.label1.AutoEllipsis = true; this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(68, 19); this.label1.Name = "label1"; @@ -86,12 +75,25 @@ this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // + // groupBox1 + // + groupBox1.AutoSize = true; + groupBox1.Controls.Add(this.pictureBox1); + groupBox1.Controls.Add(this.label1); + groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; + groupBox1.Location = new System.Drawing.Point(0, 6); + groupBox1.Name = "groupBox1"; + groupBox1.Size = new System.Drawing.Size(336, 98); + groupBox1.TabIndex = 4; + groupBox1.TabStop = false; + groupBox1.Text = "Error"; + // // ErrorWindow // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(336, 150); - this.Controls.Add(this.groupBox1); + this.Controls.Add(groupBox1); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; @@ -100,9 +102,9 @@ this.Name = "ErrorWindow"; this.Text = "Error"; this.Load += new System.EventHandler(this.ErrorWindow_Load); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + groupBox1.ResumeLayout(false); + groupBox1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -114,6 +116,5 @@ private System.Windows.Forms.Button button1; private System.Windows.Forms.Label label1; private System.Windows.Forms.Button button2; - private System.Windows.Forms.GroupBox groupBox1; } } \ No newline at end of file