Skip to content
Snippets Groups Projects
Commit d4946bf4 authored by DIAW EVA's avatar DIAW EVA
Browse files

update formMainMenu

parent 1a89fe3a
Branches
Tags
No related merge requests found
......@@ -33,53 +33,90 @@
this.btnPlay = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.btnAide = new System.Windows.Forms.Button();
this.lbltitre = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// btnPlay
//
this.btnPlay.Location = new System.Drawing.Point(245, 52);
this.btnPlay.BackColor = System.Drawing.Color.Transparent;
this.btnPlay.FlatAppearance.BorderSize = 3;
this.btnPlay.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Moccasin;
this.btnPlay.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnPlay.Font = new System.Drawing.Font("DejaVu Sans Condensed", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnPlay.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.btnPlay.Location = new System.Drawing.Point(193, 87);
this.btnPlay.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnPlay.Name = "btnPlay";
this.btnPlay.Size = new System.Drawing.Size(292, 103);
this.btnPlay.Size = new System.Drawing.Size(219, 84);
this.btnPlay.TabIndex = 0;
this.btnPlay.Text = "Jouer";
this.btnPlay.UseVisualStyleBackColor = true;
this.btnPlay.UseVisualStyleBackColor = false;
this.btnPlay.Click += new System.EventHandler(this.btnPlay_Click);
//
// button1
//
this.button1.Location = new System.Drawing.Point(245, 270);
this.button1.BackColor = System.Drawing.Color.Transparent;
this.button1.FlatAppearance.BorderSize = 3;
this.button1.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Moccasin;
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button1.Font = new System.Drawing.Font("DejaVu Sans Condensed", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button1.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.button1.Location = new System.Drawing.Point(193, 269);
this.button1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(292, 103);
this.button1.Size = new System.Drawing.Size(219, 84);
this.button1.TabIndex = 1;
this.button1.Text = "Quitter";
this.button1.UseVisualStyleBackColor = true;
this.button1.UseVisualStyleBackColor = false;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// btnAide
//
this.btnAide.Location = new System.Drawing.Point(245, 161);
this.btnAide.BackColor = System.Drawing.Color.Transparent;
this.btnAide.FlatAppearance.BorderSize = 3;
this.btnAide.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Moccasin;
this.btnAide.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnAide.Font = new System.Drawing.Font("DejaVu Sans Condensed", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnAide.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.btnAide.Location = new System.Drawing.Point(193, 177);
this.btnAide.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnAide.Name = "btnAide";
this.btnAide.Size = new System.Drawing.Size(292, 103);
this.btnAide.Size = new System.Drawing.Size(219, 84);
this.btnAide.TabIndex = 2;
this.btnAide.Text = "Aide";
this.btnAide.UseVisualStyleBackColor = true;
this.btnAide.UseVisualStyleBackColor = false;
this.btnAide.Click += new System.EventHandler(this.btnAide_Click);
//
// lbltitre
//
this.lbltitre.AutoSize = true;
this.lbltitre.BackColor = System.Drawing.Color.Transparent;
this.lbltitre.Font = new System.Drawing.Font("ISOCTEUR", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbltitre.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.lbltitre.Location = new System.Drawing.Point(106, 6);
this.lbltitre.Name = "lbltitre";
this.lbltitre.Size = new System.Drawing.Size(402, 79);
this.lbltitre.TabIndex = 3;
this.lbltitre.Text = "Wanderer";
//
// FormMainMenu
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ClientSize = new System.Drawing.Size(800, 450);
this.ClientSize = new System.Drawing.Size(600, 358);
this.Controls.Add(this.lbltitre);
this.Controls.Add(this.btnAide);
this.Controls.Add(this.button1);
this.Controls.Add(this.btnPlay);
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "FormMainMenu";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Form1";
this.Text = "s";
this.Load += new System.EventHandler(this.FormMainMenu_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
......@@ -88,5 +125,6 @@
private System.Windows.Forms.Button btnPlay;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button btnAide;
private System.Windows.Forms.Label lbltitre;
}
}
\ No newline at end of file
......@@ -39,5 +39,11 @@ namespace Wanderer
{
}
private void btnPlay_MouseEnter(object sender, EventArgs e)
{
Button btn = sender as Button;
btn.BackColor = Color.Yellow;
}
}
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment