From abd68886fe756c07f9daa5f31da4d7d2dc31b28e Mon Sep 17 00:00:00 2001 From: Fionn Date: Wed, 26 Jan 2022 09:03:12 +0100 Subject: [PATCH] did ui --- .../Form1.Designer.cs | 282 +++++++++++++++++- .../Lernprogramm3_Matchinggame/Form1.resx | 62 +--- 2 files changed, 280 insertions(+), 64 deletions(-) diff --git a/Lernprogramm3_Matchinggame/Lernprogramm3_Matchinggame/Form1.Designer.cs b/Lernprogramm3_Matchinggame/Lernprogramm3_Matchinggame/Form1.Designer.cs index 877e78c..df0037f 100644 --- a/Lernprogramm3_Matchinggame/Lernprogramm3_Matchinggame/Form1.Designer.cs +++ b/Lernprogramm3_Matchinggame/Lernprogramm3_Matchinggame/Form1.Designer.cs @@ -28,12 +28,288 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.label9 = new System.Windows.Forms.Label(); + this.label10 = new System.Windows.Forms.Label(); + this.label11 = new System.Windows.Forms.Label(); + this.label12 = new System.Windows.Forms.Label(); + this.label13 = new System.Windows.Forms.Label(); + this.label14 = new System.Windows.Forms.Label(); + this.label15 = new System.Windows.Forms.Label(); + this.label16 = new System.Windows.Forms.Label(); + this.tableLayoutPanel1.SuspendLayout(); + this.SuspendLayout(); + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanel1.BackColor = System.Drawing.Color.CornflowerBlue; + this.tableLayoutPanel1.ColumnCount = 4; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel1.Controls.Add(this.label16, 3, 3); + this.tableLayoutPanel1.Controls.Add(this.label15, 2, 3); + this.tableLayoutPanel1.Controls.Add(this.label14, 1, 3); + this.tableLayoutPanel1.Controls.Add(this.label13, 0, 3); + this.tableLayoutPanel1.Controls.Add(this.label12, 3, 2); + this.tableLayoutPanel1.Controls.Add(this.label11, 2, 2); + this.tableLayoutPanel1.Controls.Add(this.label10, 1, 2); + this.tableLayoutPanel1.Controls.Add(this.label9, 0, 2); + this.tableLayoutPanel1.Controls.Add(this.label8, 3, 1); + this.tableLayoutPanel1.Controls.Add(this.label7, 2, 1); + this.tableLayoutPanel1.Controls.Add(this.label6, 1, 1); + this.tableLayoutPanel1.Controls.Add(this.label5, 0, 1); + this.tableLayoutPanel1.Controls.Add(this.label4, 3, 0); + this.tableLayoutPanel1.Controls.Add(this.label3, 2, 0); + this.tableLayoutPanel1.Controls.Add(this.label2, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 4; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(534, 511); + this.tableLayoutPanel1.TabIndex = 0; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Dock = System.Windows.Forms.DockStyle.Fill; + this.label1.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label1.Location = new System.Drawing.Point(3, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(127, 127); + this.label1.TabIndex = 0; + this.label1.Text = "label1"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Dock = System.Windows.Forms.DockStyle.Fill; + this.label2.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label2.Location = new System.Drawing.Point(136, 0); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(127, 127); + this.label2.TabIndex = 1; + this.label2.Text = "label2"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Dock = System.Windows.Forms.DockStyle.Fill; + this.label3.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label3.Location = new System.Drawing.Point(269, 0); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(127, 127); + this.label3.TabIndex = 2; + this.label3.Text = "label3"; + this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Dock = System.Windows.Forms.DockStyle.Fill; + this.label4.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label4.Location = new System.Drawing.Point(402, 0); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(129, 127); + this.label4.TabIndex = 3; + this.label4.Text = "label4"; + this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Dock = System.Windows.Forms.DockStyle.Fill; + this.label5.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label5.Location = new System.Drawing.Point(3, 127); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(127, 127); + this.label5.TabIndex = 4; + this.label5.Text = "label5"; + this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Dock = System.Windows.Forms.DockStyle.Fill; + this.label6.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label6.Location = new System.Drawing.Point(136, 127); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(127, 127); + this.label6.TabIndex = 5; + this.label6.Text = "label6"; + this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Dock = System.Windows.Forms.DockStyle.Fill; + this.label7.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label7.Location = new System.Drawing.Point(269, 127); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(127, 127); + this.label7.TabIndex = 6; + this.label7.Text = "label7"; + this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Dock = System.Windows.Forms.DockStyle.Fill; + this.label8.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label8.Location = new System.Drawing.Point(402, 127); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(129, 127); + this.label8.TabIndex = 7; + this.label8.Text = "label8"; + this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Dock = System.Windows.Forms.DockStyle.Fill; + this.label9.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label9.Location = new System.Drawing.Point(3, 254); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(127, 127); + this.label9.TabIndex = 8; + this.label9.Text = "label9"; + this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Dock = System.Windows.Forms.DockStyle.Fill; + this.label10.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label10.Location = new System.Drawing.Point(136, 254); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(127, 127); + this.label10.TabIndex = 9; + this.label10.Text = "label10"; + this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Dock = System.Windows.Forms.DockStyle.Fill; + this.label11.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label11.Location = new System.Drawing.Point(269, 254); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(127, 127); + this.label11.TabIndex = 10; + this.label11.Text = "label11"; + this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Dock = System.Windows.Forms.DockStyle.Fill; + this.label12.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label12.Location = new System.Drawing.Point(402, 254); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(129, 127); + this.label12.TabIndex = 11; + this.label12.Text = "label12"; + this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Dock = System.Windows.Forms.DockStyle.Fill; + this.label13.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label13.Location = new System.Drawing.Point(3, 381); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(127, 130); + this.label13.TabIndex = 12; + this.label13.Text = "label13"; + this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Dock = System.Windows.Forms.DockStyle.Fill; + this.label14.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label14.Location = new System.Drawing.Point(136, 381); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(127, 130); + this.label14.TabIndex = 13; + this.label14.Text = "label14"; + this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Dock = System.Windows.Forms.DockStyle.Fill; + this.label15.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label15.Location = new System.Drawing.Point(269, 381); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(127, 130); + this.label15.TabIndex = 14; + this.label15.Text = "label15"; + this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Dock = System.Windows.Forms.DockStyle.Fill; + this.label16.Font = new System.Drawing.Font("Webdings", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.label16.Location = new System.Drawing.Point(402, 381); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(129, 130); + this.label16.TabIndex = 15; + this.label16.Text = "label16"; + this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - this.Text = "Form1"; + this.ClientSize = new System.Drawing.Size(534, 511); + this.Controls.Add(this.tableLayoutPanel1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.Name = "Form1"; + this.Text = "Lernprogramm 3: MatchingGame"; + this.Load += new System.EventHandler(this.Form1_Load); + this.tableLayoutPanel1.ResumeLayout(false); + this.tableLayoutPanel1.PerformLayout(); + this.ResumeLayout(false); + } #endregion + + private TableLayoutPanel tableLayoutPanel1; + private Label label16; + private Label label15; + private Label label14; + private Label label13; + private Label label12; + private Label label11; + private Label label10; + private Label label9; + private Label label8; + private Label label7; + private Label label6; + private Label label5; + private Label label4; + private Label label3; + private Label label2; + private Label label1; } } \ No newline at end of file diff --git a/Lernprogramm3_Matchinggame/Lernprogramm3_Matchinggame/Form1.resx b/Lernprogramm3_Matchinggame/Lernprogramm3_Matchinggame/Form1.resx index 1af7de1..f298a7b 100644 --- a/Lernprogramm3_Matchinggame/Lernprogramm3_Matchinggame/Form1.resx +++ b/Lernprogramm3_Matchinggame/Lernprogramm3_Matchinggame/Form1.resx @@ -1,64 +1,4 @@ - - - +