2 Commits

Author SHA1 Message Date
MaxKarme
cb2fd7ac9f rename button 2022-10-04 21:50:16 +03:00
MaxKarme
eda0bc77d9 change checks 2022-10-04 16:31:14 +03:00
2 changed files with 3 additions and 5 deletions

View File

@@ -29,10 +29,8 @@ namespace AirFighter
{
if (width < _airFighterWidth || height < _airFighterHeight) return;
if (_startPosX + _airFighterWidth > _pictureWidth) return;
if (_startPosX < 0) return;
if (_startPosY < 0) return;
if (_startPosY + _airFighterHeight > _pictureHeight) return;
if (x + _airFighterWidth > width || x < 0) return;
if (y + _airFighterHeight > height || y < 0) return;
_startPosX = x;
_startPosY = y;

View File

@@ -49,7 +49,7 @@
this.CreateButton.Name = "CreateButton";
this.CreateButton.Size = new System.Drawing.Size(94, 29);
this.CreateButton.TabIndex = 0;
this.CreateButton.Text = "create";
this.CreateButton.Text = "создать";
this.CreateButton.UseVisualStyleBackColor = true;
this.CreateButton.Click += new System.EventHandler(this.CreateButton_Click);
//