private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.btnMain = new Kids_vs_IceCream.RoundButton(); this.btnNext = new Kids_vs_IceCream.RoundButton(); this.btnExit = new Kids_vs_IceCream.RoundButton(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(230)))), ((int)(((byte)(255))))); this.label1.Font = new System.Drawing.Font("Tempus Sans ITC", 18F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(19, 196); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(121, 31); this.label1.TabIndex = 0; this.label1.Text = "You lost!!"; // // label2 // this.label2.AutoSize = true; this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(230)))), ((int)(((byte)(255))))); this.label2.Font = new System.Drawing.Font("Tempus Sans ITC", 18F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(118, 40); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(142, 31); this.label2.TabIndex = 1; this.label2.Text = "Level Failed"; // // btnMain // this.btnMain.BackColor = System.Drawing.Color.PaleGreen; this.btnMain.Location = new System.Drawing.Point(204, 123); this.btnMain.Name = "btnMain"; this.btnMain.Size = new System.Drawing.Size(83, 88); this.btnMain.TabIndex = 3; this.btnMain.Text = "Main menu"; this.btnMain.UseVisualStyleBackColor = false; this.btnMain.Click += new System.EventHandler(this.btnMain_Click); this.btnMain.MouseEnter += new System.EventHandler(this.btnMain_MouseHover); this.btnMain.MouseLeave += new System.EventHandler(this.btnMain_MouseLeave); // // btnNext // this.btnNext.BackColor = System.Drawing.Color.MistyRose; this.btnNext.Location = new System.Drawing.Point(131, 90); this.btnNext.Name = "btnNext"; this.btnNext.Size = new System.Drawing.Size(82, 80); this.btnNext.TabIndex = 2; this.btnNext.Text = "Try Again"; this.btnNext.UseVisualStyleBackColor = false; this.btnNext.Click += new System.EventHandler(this.btnAgain_Click); this.btnNext.MouseEnter += new System.EventHandler(this.btnAgain_MouseHover); this.btnNext.MouseLeave += new System.EventHandler(this.btnAgain_MouseLeave); // // btnExit // this.btnExit.BackColor = System.Drawing.Color.LavenderBlush; this.btnExit.Location = new System.Drawing.Point(146, 162); this.btnExit.Name = "btnExit"; this.btnExit.Size = new System.Drawing.Size(82, 79); this.btnExit.TabIndex = 4; this.btnExit.Text = "Exit"; this.btnExit.UseVisualStyleBackColor = false; this.btnExit.Click += new System.EventHandler(this.btnExit_Click); this.btnExit.MouseEnter += new System.EventHandler(this.btnExit_MouseHover); this.btnExit.MouseLeave += new System.EventHandler(this.btnExit_MouseLeave); // // GameOverWindow // this.ClientSize = new System.Drawing.Size(284, 262); this.Controls.Add(this.btnExit); this.Controls.Add(this.btnMain); this.Controls.Add(this.btnNext); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Name = "GameOverWindow"; this.Text = "Game over"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.GameOverWindow_FormClosing); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { 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.myButtonObject1 = new Kids_vs_IceCream.RoundButton(); this.SuspendLayout(); // // label1 // this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(230)))), ((int)(((byte)(255))))); this.label1.Font = new System.Drawing.Font("Tempus Sans ITC", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; this.label1.Location = new System.Drawing.Point(105, 51); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(167, 98); this.label1.TabIndex = 0; this.label1.Text = "The object of the game is to splatter kids with ice cream before get to your truc" + "k."; // // label2 // this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(230)))), ((int)(((byte)(255))))); this.label2.Font = new System.Drawing.Font("Tempus Sans ITC", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; this.label2.Location = new System.Drawing.Point(105, 149); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(167, 65); this.label2.TabIndex = 1; this.label2.Text = "To shoot ice cream, simply click the mouse"; // // label3 // this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(230)))), ((int)(((byte)(255))))); this.label3.Font = new System.Drawing.Font("Tempus Sans ITC", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; this.label3.Location = new System.Drawing.Point(12, 211); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(158, 54); this.label3.TabIndex = 2; this.label3.Text = "Thanks for playing and enjoy!!"; // // label4 // this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(230)))), ((int)(((byte)(255))))); this.label4.Font = new System.Drawing.Font("Tempus Sans ITC", 15.75F, ((System.Drawing.FontStyle)(((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic) | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; this.label4.Location = new System.Drawing.Point(109, 9); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(151, 32); this.label4.TabIndex = 3; this.label4.Text = "How to play"; // // myButtonObject1 // this.myButtonObject1.BackColor = System.Drawing.Color.LemonChiffon; this.myButtonObject1.Location = new System.Drawing.Point(194, 180); this.myButtonObject1.Name = "myButtonObject1"; this.myButtonObject1.Size = new System.Drawing.Size(79, 85); this.myButtonObject1.TabIndex = 4; this.myButtonObject1.Text = "Main menu"; this.myButtonObject1.UseVisualStyleBackColor = false; this.myButtonObject1.Click += new System.EventHandler(this.myButtonObject1_Click); this.myButtonObject1.MouseEnter += new System.EventHandler(this.myButtonObject1_MouseHover); this.myButtonObject1.MouseLeave += new System.EventHandler(this.myButtonObject1_MouseLeave); // // HowToPlayWindow // this.ClientSize = new System.Drawing.Size(284, 262); this.Controls.Add(this.myButtonObject1); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Name = "HowToPlayWindow"; this.Text = "How to play"; this.ResumeLayout(false); }