Почти готово

This commit is contained in:
Alenka 2023-10-12 19:01:51 +04:00
parent 5543d1951e
commit 5309de6c2f
2 changed files with 7 additions and 2 deletions

View File

@ -11,7 +11,7 @@ namespace Cruiser.MovementStrategy
internal class DrawningObjectCar : IMoveableObject
{
private readonly DrawningCruiser? _drawningCar = null;
public DrawningObjectCar(DrawningPro drawningCar)
public DrawningObjectCar(DrawningCruiser drawningCar)
{
_drawningCar = drawningCar;
}

View File

@ -52,6 +52,7 @@
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.buttonMove_Click);
//
// buttonDown
//
@ -63,6 +64,7 @@
this.buttonDown.Size = new System.Drawing.Size(30, 30);
this.buttonDown.TabIndex = 1;
this.buttonDown.UseVisualStyleBackColor = true;
this.buttonDown.Click += new System.EventHandler(this.buttonMove_Click);
//
// buttonLeft
//
@ -74,6 +76,7 @@
this.buttonLeft.Size = new System.Drawing.Size(30, 30);
this.buttonLeft.TabIndex = 2;
this.buttonLeft.UseVisualStyleBackColor = true;
this.buttonLeft.Click += new System.EventHandler(this.buttonMove_Click);
//
// buttonRight
//
@ -85,6 +88,7 @@
this.buttonRight.Size = new System.Drawing.Size(30, 30);
this.buttonRight.TabIndex = 3;
this.buttonRight.UseVisualStyleBackColor = true;
this.buttonRight.Click += new System.EventHandler(this.buttonMove_Click);
//
// buttonUp
//
@ -96,6 +100,7 @@
this.buttonUp.Size = new System.Drawing.Size(30, 30);
this.buttonUp.TabIndex = 4;
this.buttonUp.UseVisualStyleBackColor = true;
this.buttonUp.Click += new System.EventHandler(this.buttonMove_Click);
//
// buttonCreate
//
@ -106,7 +111,7 @@
this.buttonCreate.TabIndex = 5;
this.buttonCreate.Text = "Создать Про";
this.buttonCreate.UseVisualStyleBackColor = true;
this.buttonCreate.Click += new System.EventHandler(this.buttonCreate_Click);
//
// button2
//