From 22d0a11c11f5f30bacfd8159ebbe62756a2bd71a Mon Sep 17 00:00:00 2001 From: Pavel_Sorokin Date: Tue, 27 Sep 2022 16:05:45 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D0=BD=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D1=84=D0=BE=D1=80=D0=BC=D1=8B(FormMap)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Liner/Liner/AbstractMap.cs | 4 ++++ Liner/Liner/FormMap.Designer.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Liner/Liner/AbstractMap.cs b/Liner/Liner/AbstractMap.cs index 94a906b..942fb3e 100644 --- a/Liner/Liner/AbstractMap.cs +++ b/Liner/Liner/AbstractMap.cs @@ -109,6 +109,10 @@ namespace Liner } while (result); startX = x; startY += _size_y; + if (startY > 100) + { + break; + } } return false; diff --git a/Liner/Liner/FormMap.Designer.cs b/Liner/Liner/FormMap.Designer.cs index 5962354..4e97c18 100644 --- a/Liner/Liner/FormMap.Designer.cs +++ b/Liner/Liner/FormMap.Designer.cs @@ -184,7 +184,7 @@ this.Controls.Add(this.pictureBoxShip); this.Controls.Add(this.statusStrip); this.Name = "FormMap"; - this.Text = "Form1"; + this.Text = "Карта"; ((System.ComponentModel.ISupportInitialize)(this.pictureBoxShip)).EndInit(); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout();