Slightly altered the design of ErrorWindow

This commit is contained in:
Lukasz Baldyga committed 2020-10-25 11:13:32 +00:00
1 parent b3d7b5f722
commit 3aaafe25d8
1 file changed
+20 -19
@@ -23,28 +23,16 @@
/// the contents of this method with the code editor. /// the contents of this method with the code editor.
/// </summary> /// </summary>
private void InitializeComponent() { private void InitializeComponent() {
System.Windows.Forms.GroupBox groupBox1;
this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox(); groupBox1 = new System.Windows.Forms.GroupBox();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
groupBox1.SuspendLayout();
this.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 // pictureBox1
// //
this.pictureBox1.Image = global::Advanced_Software_Engineering.Properties.Resources.warning; this.pictureBox1.Image = global::Advanced_Software_Engineering.Properties.Resources.warning;
@@ -57,6 +45,7 @@
// //
// label1 // label1
// //
this.label1.AutoEllipsis = true;
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(68, 19); this.label1.Location = new System.Drawing.Point(68, 19);
this.label1.Name = "label1"; this.label1.Name = "label1";
@@ -86,12 +75,25 @@
this.button2.UseVisualStyleBackColor = true; this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click); 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 // ErrorWindow
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(336, 150); 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.button2);
this.Controls.Add(this.button1); this.Controls.Add(this.button1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
@@ -100,9 +102,9 @@
this.Name = "ErrorWindow"; this.Name = "ErrorWindow";
this.Text = "Error"; this.Text = "Error";
this.Load += new System.EventHandler(this.ErrorWindow_Load); this.Load += new System.EventHandler(this.ErrorWindow_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
groupBox1.ResumeLayout(false);
groupBox1.PerformLayout();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@@ -114,6 +116,5 @@
private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button2; private System.Windows.Forms.Button button2;
private System.Windows.Forms.GroupBox groupBox1;
} }
} }