2018-01-09 13:49:11 +01:00
|
|
|
|
using System.Drawing;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
namespace Bonhomme02
|
2018-01-03 13:18:01 +01:00
|
|
|
|
{
|
|
|
|
|
partial class Form1
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Variable nécessaire au concepteur.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Nettoyage des ressources utilisées.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true si les ressources managées doivent être supprimées ; sinon, false.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Code généré par le Concepteur Windows Form
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
|
|
|
|
|
/// le contenu de cette méthode avec l'éditeur de code.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
|
this.timerImage = new System.Windows.Forms.Timer(this.components);
|
|
|
|
|
this.btnEffacer = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnStopDeplacerCTick = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnCreationCarrosse = new System.Windows.Forms.Button();
|
2018-01-09 20:19:49 +01:00
|
|
|
|
this.NyanCatGif = new System.Windows.Forms.PictureBox();
|
|
|
|
|
this.Obstacle = new System.Windows.Forms.PictureBox();
|
2018-01-05 22:18:28 +01:00
|
|
|
|
this.Sol = new System.Windows.Forms.PictureBox();
|
2018-01-09 13:49:11 +01:00
|
|
|
|
this.TV = new System.Windows.Forms.PictureBox();
|
2018-01-09 20:19:49 +01:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.NyanCatGif)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Obstacle)).BeginInit();
|
2018-01-05 22:18:28 +01:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Sol)).BeginInit();
|
2018-01-09 13:49:11 +01:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.TV)).BeginInit();
|
2018-01-03 13:18:01 +01:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// timerImage
|
|
|
|
|
//
|
|
|
|
|
this.timerImage.Interval = 500;
|
|
|
|
|
this.timerImage.Tick += new System.EventHandler(this.timerImage_Tick);
|
|
|
|
|
//
|
|
|
|
|
// btnEffacer
|
|
|
|
|
//
|
2018-01-04 14:03:06 +01:00
|
|
|
|
this.btnEffacer.Location = new System.Drawing.Point(13, 497);
|
2018-01-03 13:18:01 +01:00
|
|
|
|
this.btnEffacer.Name = "btnEffacer";
|
2018-01-09 13:49:11 +01:00
|
|
|
|
this.btnEffacer.Size = new System.Drawing.Size(567, 23);
|
2018-01-03 13:18:01 +01:00
|
|
|
|
this.btnEffacer.TabIndex = 10;
|
|
|
|
|
this.btnEffacer.Text = "Effacer Tout";
|
|
|
|
|
this.btnEffacer.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnEffacer.Click += new System.EventHandler(this.btnEffacer_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnStopDeplacerCTick
|
|
|
|
|
//
|
|
|
|
|
this.btnStopDeplacerCTick.Enabled = false;
|
2018-01-09 13:49:11 +01:00
|
|
|
|
this.btnStopDeplacerCTick.Location = new System.Drawing.Point(584, 497);
|
2018-01-03 13:18:01 +01:00
|
|
|
|
this.btnStopDeplacerCTick.Name = "btnStopDeplacerCTick";
|
2018-01-09 13:49:11 +01:00
|
|
|
|
this.btnStopDeplacerCTick.Size = new System.Drawing.Size(565, 23);
|
2018-01-03 13:18:01 +01:00
|
|
|
|
this.btnStopDeplacerCTick.TabIndex = 9;
|
|
|
|
|
this.btnStopDeplacerCTick.Text = "Stop Tick";
|
|
|
|
|
this.btnStopDeplacerCTick.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnStopDeplacerCTick.Click += new System.EventHandler(this.btnStopDeplacerCTick_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnCreationCarrosse
|
|
|
|
|
//
|
2018-01-04 14:03:06 +01:00
|
|
|
|
this.btnCreationCarrosse.Location = new System.Drawing.Point(13, 468);
|
2018-01-03 13:18:01 +01:00
|
|
|
|
this.btnCreationCarrosse.Name = "btnCreationCarrosse";
|
2018-01-09 13:49:11 +01:00
|
|
|
|
this.btnCreationCarrosse.Size = new System.Drawing.Size(1136, 23);
|
2018-01-03 13:18:01 +01:00
|
|
|
|
this.btnCreationCarrosse.TabIndex = 11;
|
|
|
|
|
this.btnCreationCarrosse.Text = "Creer Carrosse";
|
|
|
|
|
this.btnCreationCarrosse.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnCreationCarrosse.Click += new System.EventHandler(this.btnCreationCarrosse_Click);
|
|
|
|
|
//
|
2018-01-09 20:19:49 +01:00
|
|
|
|
// NyanCatGif
|
2018-01-09 13:49:11 +01:00
|
|
|
|
//
|
2018-01-09 20:19:49 +01:00
|
|
|
|
this.NyanCatGif.BackColor = System.Drawing.Color.Black;
|
|
|
|
|
this.NyanCatGif.Location = new System.Drawing.Point(995, 13);
|
|
|
|
|
this.NyanCatGif.Name = "NyanCatGif";
|
|
|
|
|
this.NyanCatGif.Size = new System.Drawing.Size(154, 105);
|
|
|
|
|
this.NyanCatGif.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
|
|
|
|
this.NyanCatGif.TabIndex = 14;
|
|
|
|
|
this.NyanCatGif.TabStop = false;
|
2018-01-09 13:49:11 +01:00
|
|
|
|
//
|
2018-01-09 20:19:49 +01:00
|
|
|
|
// Obstacle
|
2018-01-09 13:49:11 +01:00
|
|
|
|
//
|
2018-01-09 20:19:49 +01:00
|
|
|
|
this.Obstacle.BackColor = System.Drawing.Color.Silver;
|
|
|
|
|
this.Obstacle.Location = new System.Drawing.Point(750, 224);
|
|
|
|
|
this.Obstacle.Name = "Obstacle";
|
|
|
|
|
this.Obstacle.Size = new System.Drawing.Size(10, 192);
|
|
|
|
|
this.Obstacle.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
|
|
|
|
this.Obstacle.TabIndex = 13;
|
|
|
|
|
this.Obstacle.TabStop = false;
|
2018-01-09 13:49:11 +01:00
|
|
|
|
//
|
2018-01-05 22:18:28 +01:00
|
|
|
|
// Sol
|
|
|
|
|
//
|
|
|
|
|
this.Sol.BackgroundImage = global::Bonhomme02.Properties.Resources.moon;
|
|
|
|
|
this.Sol.InitialImage = global::Bonhomme02.Properties.Resources.moon;
|
|
|
|
|
this.Sol.Location = new System.Drawing.Point(12, 415);
|
|
|
|
|
this.Sol.Name = "Sol";
|
2018-01-09 13:49:11 +01:00
|
|
|
|
this.Sol.Size = new System.Drawing.Size(1137, 47);
|
2018-01-05 22:18:28 +01:00
|
|
|
|
this.Sol.TabIndex = 12;
|
|
|
|
|
this.Sol.TabStop = false;
|
|
|
|
|
//
|
2018-01-09 13:49:11 +01:00
|
|
|
|
// TV
|
|
|
|
|
//
|
2018-01-09 20:19:49 +01:00
|
|
|
|
this.TV.BackColor = System.Drawing.Color.Black;
|
2018-01-09 13:49:11 +01:00
|
|
|
|
this.TV.Location = new System.Drawing.Point(12, 13);
|
|
|
|
|
this.TV.Name = "TV";
|
|
|
|
|
this.TV.Size = new System.Drawing.Size(1137, 449);
|
|
|
|
|
this.TV.TabIndex = 0;
|
|
|
|
|
this.TV.TabStop = false;
|
|
|
|
|
//
|
2018-01-04 14:03:06 +01:00
|
|
|
|
// Form1
|
2018-01-03 13:18:01 +01:00
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
2018-01-09 13:49:11 +01:00
|
|
|
|
this.ClientSize = new System.Drawing.Size(1161, 538);
|
2018-01-09 20:19:49 +01:00
|
|
|
|
this.Controls.Add(this.NyanCatGif);
|
|
|
|
|
this.Controls.Add(this.Obstacle);
|
2018-01-05 22:18:28 +01:00
|
|
|
|
this.Controls.Add(this.Sol);
|
2018-01-03 13:18:01 +01:00
|
|
|
|
this.Controls.Add(this.btnCreationCarrosse);
|
|
|
|
|
this.Controls.Add(this.btnEffacer);
|
|
|
|
|
this.Controls.Add(this.btnStopDeplacerCTick);
|
|
|
|
|
this.Controls.Add(this.TV);
|
2018-01-09 20:19:49 +01:00
|
|
|
|
this.DoubleBuffered = true;
|
2018-01-04 14:03:06 +01:00
|
|
|
|
this.Name = "Form1";
|
2018-01-03 13:18:01 +01:00
|
|
|
|
this.Text = "Dessins Animés";
|
2018-01-05 22:18:28 +01:00
|
|
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
|
|
|
this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Form1_MouseMove);
|
2018-01-09 20:19:49 +01:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.NyanCatGif)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Obstacle)).EndInit();
|
2018-01-05 22:18:28 +01:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Sol)).EndInit();
|
2018-01-09 13:49:11 +01:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.TV)).EndInit();
|
2018-01-03 13:18:01 +01:00
|
|
|
|
this.ResumeLayout(false);
|
2018-01-09 13:49:11 +01:00
|
|
|
|
this.PerformLayout();
|
2018-01-03 13:18:01 +01:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.PictureBox TV;
|
|
|
|
|
private System.Windows.Forms.Timer timerImage;
|
|
|
|
|
private System.Windows.Forms.Button btnEffacer;
|
|
|
|
|
private System.Windows.Forms.Button btnStopDeplacerCTick;
|
|
|
|
|
private System.Windows.Forms.Button btnCreationCarrosse;
|
2018-01-05 22:18:28 +01:00
|
|
|
|
private System.Windows.Forms.PictureBox Sol;
|
2018-01-09 20:19:49 +01:00
|
|
|
|
private System.Windows.Forms.PictureBox Obstacle;
|
|
|
|
|
private System.Windows.Forms.PictureBox NyanCatGif;
|
2018-01-03 13:18:01 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|