diff --git a/WarmlyShip/WarmlyShip/Entities/EntityWarmlyShip.cs b/WarmlyShip/WarmlyShip/Entities/EntityWarmlyShip.cs index 6f49cfc..96fc542 100644 --- a/WarmlyShip/WarmlyShip/Entities/EntityWarmlyShip.cs +++ b/WarmlyShip/WarmlyShip/Entities/EntityWarmlyShip.cs @@ -50,14 +50,14 @@ public class EntityWarmlyShip : EntityShip } public override string[] GetStringRepresentation() { - return new[] { nameof(EntityShip), Speed.ToString(), Weight.ToString(), BodyColor.Name, + return new[] { nameof(EntityWarmlyShip), Speed.ToString(), Weight.ToString(), BodyColor.Name, SeckondColor.Name, FuelHole.ToString(), Pipes.ToString() }; } public static EntityShip? CreateEntityWarmlyShip(string[] strs) { - if (strs.Length != 7 || strs[0] != nameof(EntityShip)) + if (strs.Length != 7 || strs[0] != nameof(EntityWarmlyShip)) { return null; } diff --git a/WarmlyShip/WarmlyShip/FormShipCollection.Designer.cs b/WarmlyShip/WarmlyShip/FormShipCollection.Designer.cs index cbb9dfc..794aec9 100644 --- a/WarmlyShip/WarmlyShip/FormShipCollection.Designer.cs +++ b/WarmlyShip/WarmlyShip/FormShipCollection.Designer.cs @@ -68,7 +68,7 @@ groupBoxTools.Dock = DockStyle.Right; groupBoxTools.Location = new Point(961, 24); groupBoxTools.Name = "groupBoxTools"; - groupBoxTools.Size = new Size(187, 497); + groupBoxTools.Size = new Size(187, 554); groupBoxTools.TabIndex = 0; groupBoxTools.TabStop = false; groupBoxTools.Text = "Инструменты"; @@ -245,7 +245,7 @@ pictureBox.Dock = DockStyle.Fill; pictureBox.Location = new Point(0, 24); pictureBox.Name = "pictureBox"; - pictureBox.Size = new Size(961, 497); + pictureBox.Size = new Size(961, 554); pictureBox.TabIndex = 3; pictureBox.TabStop = false; // @@ -294,7 +294,7 @@ // AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(1148, 521); + ClientSize = new Size(1148, 578); Controls.Add(pictureBox); Controls.Add(groupBoxTools); Controls.Add(menuStrip);