Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb2fd7ac9f | ||
|
|
eda0bc77d9 |
@@ -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;
|
||||
|
||||
2
AirFighter/AirFighter/FormAirFighter.Designer.cs
generated
2
AirFighter/AirFighter/FormAirFighter.Designer.cs
generated
@@ -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);
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user