Почти готово
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Cruiser.MovementStrategy
|
|||||||
internal class DrawningObjectCar : IMoveableObject
|
internal class DrawningObjectCar : IMoveableObject
|
||||||
{
|
{
|
||||||
private readonly DrawningCruiser? _drawningCar = null;
|
private readonly DrawningCruiser? _drawningCar = null;
|
||||||
public DrawningObjectCar(DrawningPro drawningCar)
|
public DrawningObjectCar(DrawningCruiser drawningCar)
|
||||||
{
|
{
|
||||||
_drawningCar = drawningCar;
|
_drawningCar = drawningCar;
|
||||||
}
|
}
|
||||||
|
|||||||
7
Cruiser/Cruiser/Form1.Designer.cs
generated
7
Cruiser/Cruiser/Form1.Designer.cs
generated
@@ -52,6 +52,7 @@
|
|||||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||||
this.pictureBox1.TabIndex = 0;
|
this.pictureBox1.TabIndex = 0;
|
||||||
this.pictureBox1.TabStop = false;
|
this.pictureBox1.TabStop = false;
|
||||||
|
this.pictureBox1.Click += new System.EventHandler(this.buttonMove_Click);
|
||||||
//
|
//
|
||||||
// buttonDown
|
// buttonDown
|
||||||
//
|
//
|
||||||
@@ -63,6 +64,7 @@
|
|||||||
this.buttonDown.Size = new System.Drawing.Size(30, 30);
|
this.buttonDown.Size = new System.Drawing.Size(30, 30);
|
||||||
this.buttonDown.TabIndex = 1;
|
this.buttonDown.TabIndex = 1;
|
||||||
this.buttonDown.UseVisualStyleBackColor = true;
|
this.buttonDown.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonDown.Click += new System.EventHandler(this.buttonMove_Click);
|
||||||
//
|
//
|
||||||
// buttonLeft
|
// buttonLeft
|
||||||
//
|
//
|
||||||
@@ -74,6 +76,7 @@
|
|||||||
this.buttonLeft.Size = new System.Drawing.Size(30, 30);
|
this.buttonLeft.Size = new System.Drawing.Size(30, 30);
|
||||||
this.buttonLeft.TabIndex = 2;
|
this.buttonLeft.TabIndex = 2;
|
||||||
this.buttonLeft.UseVisualStyleBackColor = true;
|
this.buttonLeft.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonLeft.Click += new System.EventHandler(this.buttonMove_Click);
|
||||||
//
|
//
|
||||||
// buttonRight
|
// buttonRight
|
||||||
//
|
//
|
||||||
@@ -85,6 +88,7 @@
|
|||||||
this.buttonRight.Size = new System.Drawing.Size(30, 30);
|
this.buttonRight.Size = new System.Drawing.Size(30, 30);
|
||||||
this.buttonRight.TabIndex = 3;
|
this.buttonRight.TabIndex = 3;
|
||||||
this.buttonRight.UseVisualStyleBackColor = true;
|
this.buttonRight.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonRight.Click += new System.EventHandler(this.buttonMove_Click);
|
||||||
//
|
//
|
||||||
// buttonUp
|
// buttonUp
|
||||||
//
|
//
|
||||||
@@ -96,6 +100,7 @@
|
|||||||
this.buttonUp.Size = new System.Drawing.Size(30, 30);
|
this.buttonUp.Size = new System.Drawing.Size(30, 30);
|
||||||
this.buttonUp.TabIndex = 4;
|
this.buttonUp.TabIndex = 4;
|
||||||
this.buttonUp.UseVisualStyleBackColor = true;
|
this.buttonUp.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonUp.Click += new System.EventHandler(this.buttonMove_Click);
|
||||||
//
|
//
|
||||||
// buttonCreate
|
// buttonCreate
|
||||||
//
|
//
|
||||||
@@ -106,7 +111,7 @@
|
|||||||
this.buttonCreate.TabIndex = 5;
|
this.buttonCreate.TabIndex = 5;
|
||||||
this.buttonCreate.Text = "Создать Про";
|
this.buttonCreate.Text = "Создать Про";
|
||||||
this.buttonCreate.UseVisualStyleBackColor = true;
|
this.buttonCreate.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonCreate.Click += new System.EventHandler(this.buttonCreate_Click);
|
||||||
//
|
//
|
||||||
// button2
|
// button2
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user