Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
077a99d63a | |||
|
cb2fd7ac9f | ||
|
eda0bc77d9 |
@ -29,10 +29,8 @@ namespace AirFighter
|
|||||||
{
|
{
|
||||||
if (width < _airFighterWidth || height < _airFighterHeight) return;
|
if (width < _airFighterWidth || height < _airFighterHeight) return;
|
||||||
|
|
||||||
if (_startPosX + _airFighterWidth > _pictureWidth) return;
|
if (x + _airFighterWidth > width || x < 0) return;
|
||||||
if (_startPosX < 0) return;
|
if (y + _airFighterHeight > height || y < 0) return;
|
||||||
if (_startPosY < 0) return;
|
|
||||||
if (_startPosY + _airFighterHeight > _pictureHeight) return;
|
|
||||||
|
|
||||||
_startPosX = x;
|
_startPosX = x;
|
||||||
_startPosY = y;
|
_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.Name = "CreateButton";
|
||||||
this.CreateButton.Size = new System.Drawing.Size(94, 29);
|
this.CreateButton.Size = new System.Drawing.Size(94, 29);
|
||||||
this.CreateButton.TabIndex = 0;
|
this.CreateButton.TabIndex = 0;
|
||||||
this.CreateButton.Text = "create";
|
this.CreateButton.Text = "создать";
|
||||||
this.CreateButton.UseVisualStyleBackColor = true;
|
this.CreateButton.UseVisualStyleBackColor = true;
|
||||||
this.CreateButton.Click += new System.EventHandler(this.CreateButton_Click);
|
this.CreateButton.Click += new System.EventHandler(this.CreateButton_Click);
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user